Home
last modified time | relevance | path

Searched refs:strncpy (Results 1 – 25 of 80) sorted by relevance

1234

/utopia/UTPA2-700.0.x/modules/pq/drv/pq/
H A DdrvPQ.c900strncpy(DefaltPath,pPQResourcePrivate->stPQBin_Path.pm_PQ_DEFAULT_PATH,PQ_FILE_PATH_LENGTH); in _MDrv_PQ_LoadPQBin()
904 strncpy(DefaltPath,DefaltPath_Ini,strlen(DefaltPath_Ini)); in _MDrv_PQ_LoadPQBin()
909strncpy(CustomerPath,pPQResourcePrivate->stPQBin_Path.pm_PQ_CUSTOMER_PATH,PQ_FILE_PATH_LENGTH); in _MDrv_PQ_LoadPQBin()
913 strncpy(CustomerPath,CustomerPath_Ini,strlen(CustomerPath_Ini)); in _MDrv_PQ_LoadPQBin()
918 strncpy(IniPath,pPQResourcePrivate->stPQBin_Path.pm_PQ_INI_PATH,PQ_FILE_PATH_LENGTH); in _MDrv_PQ_LoadPQBin()
927 strncpy(pm_PQBinFilePathName, CustomerPath, strlen(CustomerPath)); in _MDrv_PQ_LoadPQBin()
933 strncpy(pm_PQBinFilePathName, IniPath, strlen(IniPath)); in _MDrv_PQ_LoadPQBin()
939 strncpy(pm_PQBinFilePathName, DefaltPath, strlen(DefaltPath)); in _MDrv_PQ_LoadPQBin()
965 strncpy(pm_PQBinFilePathName, CustomerPath, strlen(CustomerPath)); in _MDrv_PQ_LoadPQBin()
971 strncpy(pm_PQBinFilePathName, IniPath, strlen(IniPath)); in _MDrv_PQ_LoadPQBin()
[all …]
/utopia/UTPA2-700.0.x/modules/mfe/drv/mfe/cModel/
H A Dvlc.c344 strncpy(sym->tracestring,tracestring,TRACESTRING_SIZE); in ue_v()
388 strncpy(sym->tracestring,tracestring,TRACESTRING_SIZE); in se_v()
433 strncpy(sym->tracestring,tracestring,TRACESTRING_SIZE); in u_1()
480 strncpy(sym->tracestring,tracestring,TRACESTRING_SIZE); in u_v()
/utopia/UTPA2-700.0.x/modules/mfe/drv/mfe_ex/cModel/
H A Dvlc.c364 strncpy(sym->tracestring,tracestring,TRACESTRING_SIZE); in ue_v()
408 strncpy(sym->tracestring,tracestring,TRACESTRING_SIZE); in se_v()
453 strncpy(sym->tracestring,tracestring,TRACESTRING_SIZE); in u_1()
500 strncpy(sym->tracestring,tracestring,TRACESTRING_SIZE); in u_v()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/linux/
H A Dutopia.c143 strncpy(source, pFindString, size); in UtopiaParserBootArg()
147 strncpy(source, pFindString, u32ReadCount); in UtopiaParserBootArg()
203 strncpy(sModule,pch,len); in UtopiaConfigReadFile()
206 strncpy(sEqual,pch,len); in UtopiaConfigReadFile()
H A Dutopia_dapi.c226 strncpy(shm_info_table[u32RetShmID].name in shm_malloc()
463 strncpy(pModuleShm->shmid_self.name, moduleNames[u32ModuleID] in UtopiaModuleCreate()
749 strncpy(pRPool->shmid_self.name, rpoolName in UtopiaResourceRegister()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvMassStor.c285 strncpy(ms_us->vendor, unusual_dev->vendorName, sizeof(ms_us->vendor)-1); in ms_usb_set_subclass()
289 strncpy(ms_us->vendor, "Unknown", sizeof(ms_us->vendor)); in ms_usb_set_subclass()
307 strncpy(ms_us->product, unusual_dev->productName, sizeof(ms_us->product)-1); in ms_usb_set_protocol()
311 strncpy(ms_us->product, "Unknown", sizeof(ms_us->product)); in ms_usb_set_protocol()
560 strncpy(ms_us->serial, "None", sizeof(ms_us->serial)); in ms_usb_msc_probe()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvMassStor.c585 strncpy(us->vendor, unusual_dev->vendorName, in get_device_info()
588 strncpy(us->vendor, "Unknown", sizeof(us->vendor)); in get_device_info()
592 strncpy(us->product, unusual_dev->productName, in get_device_info()
595 strncpy(us->product, "Unknown", sizeof(us->product)); in get_device_info()
598 strncpy(us->serial, "None", sizeof(us->serial)); in get_device_info()
H A DdrvHCD.c284 strncpy(buf, hcd->self.bus_name, sizeof(buf)); in rh_string()
288 strncpy(buf, hcd->product_desc, sizeof(buf)); in rh_string()
2036 strncpy(s,"", 1); in hcd_endpoint_disable()
2039 strncpy(s,"-bulk", strlen("-bulk")); in hcd_endpoint_disable()
2042 strncpy(s,"-intr", strlen("-intr")); in hcd_endpoint_disable()
2045 strncpy(s,"-iso", strlen("-iso")); in hcd_endpoint_disable()
H A DdrvEhciHcd_2.c348 strncpy(ehci_hcd_cpe_driver_Port2.drv.name, "cpe_ehci_2", sizeof("cpe_ehci_2")); in ehci_hcd_cpe_ehci_init_Port2()
369 strncpy(cpe_ehci_dev_Port2.dev.name,"CPE_EHCI HC 2", sizeof("CPE_EHCI HC 2")); in ehci_cpe_dev_init_Port2()
370 strncpy(cpe_ehci_dev_Port2.dev.bus_id,"AHB0_EHCI_2", sizeof("AHB0_EHCI_2")); in ehci_cpe_dev_init_Port2()
H A DdrvEhciHcd.c9573 strncpy(ehci_hcd_cpe_driver.drv.name, "cpe_ehci", sizeof("cpe_ehci")); in ehci_hcd_cpe_ehci_init()
9594 strncpy(cpe_ehci_dev.dev.name,"CPE_EHCI HC", sizeof("CPE_EHCI HC")); //USB_2 in ehci_cpe_dev_init()
9595 strncpy(cpe_ehci_dev.dev.bus_id,"AHB0_EHCI", sizeof("AHB0_EHCI")); in ehci_cpe_dev_init()
9817 strncpy(ehci_hcd_cpe_driver.drv.name, "cpe_ehci_drv", sizeof("cpe_ehci_drv")); in ehci_hcd_cpe_driver_init_EX()
9838strncpy(dev->dev.name,p_rootHub->cpe_dev_info.devname, sizeof(p_rootHub->cpe_dev_info.devname)); in ehci_cpe_dev_init_EX()
9839 strncpy(dev->dev.bus_id,"AHB_EHCI", sizeof("AHB_EHCI")); in ehci_cpe_dev_init_EX()
/utopia/UTPA2-700.0.x/modules/sys/drv/sys/
H A DdrvSYS.c718 strncpy( in MDrv_SYS_GetSoftwareVersion()
724 strncpy( in MDrv_SYS_GetSoftwareVersion()
1698 strncpy(utopia_mode, value, sizeof(utopia_mode)-1); in _MDrv_SYS_ParserCmdLine()
1701 strncpy(tee_mode, value, sizeof(tee_mode)-1); in _MDrv_SYS_ParserCmdLine()
1746 strncpy(tee_mode, "optee", sizeof(tee_mode)-1); in MDrv_SYS_SetTEEInfo()
1749 strncpy(tee_mode, "nuttx", sizeof(tee_mode)-1); in MDrv_SYS_SetTEEInfo()
1752 strncpy(tee_mode, "notee", sizeof(tee_mode)-1); in MDrv_SYS_SetTEEInfo()
/utopia/UTPA2-700.0.x/modules/dmx/api/dmx/
H A DInternal_DMX_debug.c181 strncpy(_u8Tmp, _pCh_, 128); \
194 strncpy(_u8Tmp, _pCh_, 128); \
210 strncpy(_u8Tmp, _pCh_, 128); \
587 strncpy(_u8Tmp, param1, 128); in _DMX_DBG_Log()
648 strncpy(tmp, param1, 128); in _DMX_DBG_Pvr()
853 strncpy(tmp, param1, 128); in _DMX_DBG_Flt()
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A DMsOS_linux.c1249 strncpy(_MsOS_Task_Info[s32Id].pTaskName,pTaskName,(MAX_NAME - 1)); in MsOS_CreateTask()
1634 strncpy((char*)pMutexName, (const char*)pMutexName1, u32MaxLen); in MsOS_CreateMutex()
1673strncpy((char*)_MsOS_Mutex_Info[s32LstUnused].u8Name, (const char*)pMutexName,MIN(strlen((const ch… in MsOS_CreateMutex()
1691strncpy((char*)_MsOS_Mutex_Info[s32LstUnused].u8Name, (const char*)pMutexName,MIN(strlen((const ch… in MsOS_CreateMutex()
1704strncpy((char*)_MsOS_Mutex_Info[s32LstUnused].u8Name, (const char*)pMutexName,MIN(strlen((const ch… in MsOS_CreateMutex()
1962strncpy(pMutexName, (const char*)_MsOS_Mutex_Info[s32MutexId].u8Name,MIN(strlen((const char*)_MsOS… in MsOS_InfoMutex()
3553 strncpy((char*)pClientName, (const char*)pu8ClientName, u32CopyLen); in MsOS_SHM_GetId()
3626strncpy((char*)pClient->u8ClientName, (const char*)pClientName,MIN(strlen((const char*)pClientName… in MsOS_SHM_GetId()
/utopia/UTPA2-700.0.x/modules/hsl/api/hsl/
H A Dfrhsl_autotest.c392 strncpy(obj.atCmd, a_atCmd, sizeof(obj.atCmd) - 1); in PackAtCmdEchoIntoHslCmdResp()
427 strncpy(container.U_Resp.atResponse, (char*) a_body,strLength); in PackIntoHslCmdResp()
446 strncpy(container.U_Resp.atCmdEcho.atCmd, (char*) cmdEchoPtr->atCmd,strLength); in PackIntoHslCmdResp()
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/bits/
H A Dstring3.h36 # undef strncpy
119 __NTH (strncpy (char *__restrict __dest, __const char *__restrict __src, in __NTH()
H A Dstring2.h761 # define strncpy(dest, src, n) __builtin_strncpy (dest, src, n) macro
763 # define strncpy(dest, src, n) \ macro
767 : strncpy (dest, src, n)) \
768 : strncpy (dest, src, n)))
/utopia/UTPA2-700.0.x/modules/ipauth/drv/ipauth/
H A DdrvIPAUTH.c549 strncpy(t, (char*)string + 16, 32); in MApi_AUTH_Process()
555 strncpy(t, (char*)string, 16); in MApi_AUTH_Process()
556 strncpy(t+16, (char*)string+48, 32); in MApi_AUTH_Process()
558 strncpy((char*)string, t, 49); in MApi_AUTH_Process()
/utopia/UTPA2-700.0.x/projects/build/scripts/dtc/
H A Ddata.c78 strncpy(x, s + *i, 3); in get_oct_char()
95 strncpy(x, s + *i, 2); in get_hex_char()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/linux_kernel/
H A Dutopia_dapi.c172 strncpy(shm_info_table[u32RetShmID].name in shm_malloc()
540 strncpy(pModuleShm->shmid_self.name, moduleNames[u32ModuleID] in UtopiaModuleCreate()
916 strncpy(pRPool->shmid_self.name, rpoolName in UtopiaResourceRegister()
/utopia/UTPA2-700.0.x/modules/audio/hal/maldives/audio/
H A DhalAUDIO.c8553strncpy((char *)pPcmInfo->u8Name, (char *)g_PCM[s32DeviceId]->u8Name, AUDIO_COMMON_PCM_IO_NAME_LEN… in HAL_AUDIO_PCM_Init()
8845 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader1_Open()
8901 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader1_Close()
9798 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader2_Open()
9849 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader2_Close()
10756 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_SwDma_Reader1_Open()
10804 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_SwDma_Reader1_Close()
11746 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader1_Open()
11814 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader1_Close()
12797 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader2_Open()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/mustang/audio/
H A DhalAUDIO.c9288strncpy((char *)pPcmInfo->u8Name, (char *)g_PCM[s32DeviceId]->u8Name, AUDIO_COMMON_PCM_IO_NAME_LEN… in HAL_AUDIO_PCM_Init()
9580 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader1_Open()
9636 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader1_Close()
10533 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader2_Open()
10584 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader2_Close()
11491 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_SwDma_Reader1_Open()
11539 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_SwDma_Reader1_Close()
12481 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader1_Open()
12549 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader1_Close()
13532 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader2_Open()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/macan/audio/
H A DhalAUDIO.c8839strncpy((char *)pPcmInfo->u8Name, (char *)g_PCM[s32DeviceId]->u8Name, AUDIO_COMMON_PCM_IO_NAME_LEN… in HAL_AUDIO_PCM_Init()
9131 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader1_Open()
9187 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader1_Close()
10084 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader2_Open()
10135 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader2_Close()
11042 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_SwDma_Reader1_Open()
11090 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_SwDma_Reader1_Close()
12032 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader1_Open()
12100 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader1_Close()
13083 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader2_Open()
[all …]
/utopia/UTPA2-700.0.x/modules/mbx/drv/mbx/api_mbx/
H A DapiMBX.c173 strncpy(Tab_DMBX_Class[Count_DMBX_Class].name, temp_name, MAX_DMBX_NAME_LEN); in _MApi_Conduct_GenerateClass()
445 strncpy(Tab_DMBX_Class[Count_DMBX_Class].name, name, MAX_DMBX_NAME_LEN); in _MApi_MBX_DynamicClass()
/utopia/UTPA2-700.0.x/modules/audio/hal/mooney/audio/
H A DhalAUDIO.c8677 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader1_Open()
8678 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader1_Open()
9548 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader2_Open()
9549 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_HwDma_Reader2_Open()
10428 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_SwDma_Reader1_Open()
10429 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_SwDma_Reader1_Open()
11350 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader1_Open()
11351 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader1_Open()
12331 strncpy((char *)pPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader2_Open()
12332 strncpy((char *)pUserPcmInfo->u8Name, (char *)pPCM->u8Name, AUDIO_COMMON_PCM_IO_NAME_LENGTH); in HAL_AUDIO_PCM_R2Dma_Reader2_Open()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/nuttx/
H A DMsOS_nuttx.c842 strncpy((char*)pMutexName, (const char*)pMutexName1, u32MaxLen); in MsOS_CreateMutex()
875strncpy((char*)_MsOS_Mutex_Info[s32LstUnused].u8Name, (const char*)pMutexName,MIN(strlen((const ch… in MsOS_CreateMutex()
1033strncpy(pMutexName, (const char*)_MsOS_Mutex_Info[s32MutexId].u8Name,MIN(strlen((const char*)_MsOS… in MsOS_InfoMutex()

1234