/system/media/opensles/libopensles/ |
D | sles.c | 32 assert(NULL != this); in IsInterfaceInitialized() 35 assert(NULL != class__); in IsInterfaceInitialized() 56 assert(NULL != this); in IObjectToObjectID() 69 if (NULL == object) { in AcquireStrongRef() 122 assert(NULL != object); in ReleaseStrongRef() 147 assert(NULL != class__ && NULL != pExposedMask); in checkInterfaces() 159 if (NULL != MPH_init_table[interfaces[i].mMPH].mInit) { in checkInterfaces() 174 if (NULL == pInterfaceIds || NULL == pInterfaceRequired) { in checkInterfaces() 181 if (NULL == iid) { in checkInterfaces() 187 (NULL == MPH_init_table[MPH].mInit) || in checkInterfaces() [all …]
|
D | IEngineCapabilities.c | 27 if (NULL == pProfilesSupported) { in IEngineCapabilities_QuerySupportedProfiles() 51 if (NULL != pNumMaxVoices) in IEngineCapabilities_QueryAvailableVoices() 53 if (NULL != pIsAbsoluteMax) in IEngineCapabilities_QueryAvailableVoices() 55 if (NULL != pNumFreeVoices) in IEngineCapabilities_QueryAvailableVoices() 73 if (NULL == pNum) { in IEngineCapabilities_QueryNumberOfMIDISynthesizers() 89 if (!(NULL != pMajor && NULL != pMinor && NULL != pStep)) { in IEngineCapabilities_QueryAPIVersion() 110 if (NULL != pIndex) { in IEngineCapabilities_QueryLEDCapabilities() 112 if (NULL != pLEDDeviceID || NULL != pDescriptor) { in IEngineCapabilities_QueryLEDCapabilities() 118 if (NULL != pLEDDeviceID) in IEngineCapabilities_QueryLEDCapabilities() 120 if (NULL != pDescriptor) in IEngineCapabilities_QueryLEDCapabilities() [all …]
|
D | IEngine.c | 28 if ((NULL == pDevice) || (SL_DEFAULTDEVICEID_LED != deviceID)) { in IEngine_CreateLEDDevice() 31 *pDevice = NULL; in IEngine_CreateLEDDevice() 34 if (NULL == pCLEDDevice_class) { in IEngine_CreateLEDDevice() 42 if (NULL == this) { in IEngine_CreateLEDDevice() 66 if ((NULL == pDevice) || (SL_DEFAULTDEVICEID_VIBRA != deviceID)) { in IEngine_CreateVibraDevice() 69 *pDevice = NULL; in IEngine_CreateVibraDevice() 72 if (NULL == pCVibraDevice_class) { in IEngine_CreateVibraDevice() 80 if (NULL == this) { in IEngine_CreateVibraDevice() 104 if (NULL == pPlayer) { in IEngine_CreateAudioPlayer() 107 *pPlayer = NULL; in IEngine_CreateAudioPlayer() [all …]
|
D | IAudioIODeviceCapabilities.c | 29 if (NULL == pNumInputs) { in IAudioIODeviceCapabilities_GetAvailableAudioInputs() 33 if (NULL != pInputDeviceIDs) { in IAudioIODeviceCapabilities_GetAvailableAudioInputs() 52 if (NULL == pDescriptor) { in IAudioIODeviceCapabilities_QueryAudioInputCapabilities() 92 if (NULL == pNumOutputs) { in IAudioIODeviceCapabilities_GetAvailableAudioOutputs() 96 if (NULL != pOutputDeviceIDs) { in IAudioIODeviceCapabilities_GetAvailableAudioOutputs() 118 if (NULL == pDescriptor) { in IAudioIODeviceCapabilities_QueryAudioOutputCapabilities() 180 if (NULL == pNumAudioInputs) { in IAudioIODeviceCapabilities_GetAssociatedAudioInputs() 198 if (NULL == pNumAudioOutputs) { in IAudioIODeviceCapabilities_GetAssociatedAudioOutputs() 216 if (NULL == pNumAudioDevices) { in IAudioIODeviceCapabilities_GetDefaultAudioDevices() 223 if (NULL != pAudioDeviceIDs) { in IAudioIODeviceCapabilities_GetDefaultAudioDevices() [all …]
|
D | ThreadPool.c | 26 assert(NULL != tp); in ThreadPool_start() 30 if (NULL == pClosure) in ThreadPool_start() 37 assert(NULL != handler); in ThreadPool_start() 40 return NULL; in ThreadPool_start() 57 assert(NULL != tp); in ThreadPool_init() 66 err = pthread_mutex_init(&tp->mMutex, (const pthread_mutexattr_t *) NULL); in ThreadPool_init() 71 err = pthread_cond_init(&tp->mCondNotFull, (const pthread_condattr_t *) NULL); in ThreadPool_init() 76 err = pthread_cond_init(&tp->mCondNotEmpty, (const pthread_condattr_t *) NULL); in ThreadPool_init() 97 if (NULL == tp->mClosureArray) { in ThreadPool_init() 110 if (NULL == tp->mThreadArray) { in ThreadPool_init() [all …]
|
/system/media/opensles/tests/sandbox/ |
D | engine.c | 31 result = slQueryNumSupportedEngineInterfaces(NULL); in main() 36 assert(engine_ids != NULL); in main() 38 assert(engine_req != NULL); in main() 55 result = slQuerySupportedEngineInterfaces(index, NULL); in main() 63 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, engine_ids, NULL); in main() 65 assert(NULL == engineObject); in main() 66 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, NULL, engine_req); in main() 68 assert(NULL == engineObject); in main() 72 result = slCreateEngine(NULL, 0, NULL, numSupportedInterfaces, engine_ids, engine_req); in main() 76 SLInterfaceID null_id[1] = {NULL}; in main() [all …]
|
D | srcsink.c | 30 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 57 loc_outmix.outputMix = NULL; in main() 60 audioSnk.pFormat = NULL; in main() 69 assert(NULL == playerObject); in main() 76 assert(NULL == playerObject); in main() 80 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); in main() 88 assert(NULL == playerObject); in main() 98 assert(NULL != playerObject); in main() 110 assert(NULL == playerObject); in main() 115 assert(NULL == playerObject); in main() [all …]
|
D | object.c | 31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 50 if (NULL != string) in main() 53 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, objectID, NULL); in main() 64 assert(NULL == interfaceID); in main() 70 result = (*engineEngine)->QuerySupportedInterfaces(engineEngine, objectID, i, NULL); in main() 84 result = (*engineEngine)->QueryNumSupportedExtensions(engineEngine, NULL); in main() 93 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, extensionName, NULL); in main() 96 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, NULL, &nameLength); in main() 147 result = (*engineEngine)->IsExtensionSupported(engineEngine, NULL, &isSupported); in main() 151 result = (*engineEngine)->IsExtensionSupported(engineEngine, unsupportedExt, NULL); in main() [all …]
|
D | dim.c | 40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 50 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); in main() 58 assert(NULL == outputMixDIM); in main() 68 assert(NULL != outputMixDIM); in main() 71 result = (*outputMixDIM)->RegisterCallback(outputMixDIM, NULL, NULL); in main() 79 assert(NULL == outputMixEnvironmentalReverb); in main() 90 assert(NULL == outputMixEnvironmentalReverb); in main() 101 assert(NULL != outputMixEnvironmentalReverb); in main() 122 assert(NULL == outputMixEnvironmentalReverb); in main() 131 assert(NULL != outputMixEnvironmentalReverb); in main() [all …]
|
D | multithread.c | 58 result = (*ta->mEngineEngine)->CreateOutputMix(ta->mEngineEngine, &myMixObject, 0, NULL, in thread_start() 59 NULL); in thread_start() 70 SLDataFormat_MIME dfMIME = {SL_DATAFORMAT_MIME, NULL, SL_CONTAINERTYPE_UNSPECIFIED}; in thread_start() 73 SLDataSink audioSnk = {&locOutputMix, NULL}; in thread_start() 76 &audioSrc, &audioSnk, 0, NULL, NULL); in thread_start() 100 return NULL; in thread_start() 115 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 125 result = (*engineEngine)->CreateOutputMix(engineEngine, &mixObject, 0, NULL, NULL); in main() 140 ta->mURI = NULL; in main() 142 ta->mMixObject = NULL; in main() [all …]
|
/system/wlan/ti/wilink_6_1/TWD/TWDriver/ |
D | TWDriverCtrl.c | 73 …dBld_CfgRtsThreshold (pTWD->hCmdBld, pParamInfo->content.halCtrlRtsThreshold, NULL, NULL) == TI_OK) in TWD_SetParam() 81 … return cmdBld_CfgCtsProtection (pTWD->hCmdBld, pParamInfo->content.halCtrlCtsToSelf, NULL, NULL); in TWD_SetParam() 84 …fgServicePeriodTimeout (pTWD->hCmdBld, &pParamInfo->content.halCtrlRxTimeOut, NULL, NULL) == TI_OK) in TWD_SetParam() 96 … cmdBld_CfgFragmentThreshold (pTWD->hCmdBld, pParamInfo->content.halCtrlFragThreshold, NULL, NULL); in TWD_SetParam() 100 …cmdBld_CfgRxMsduLifeTime (pTWD->hCmdBld, pParamInfo->content.halCtrlMaxRxMsduLifetime, NULL, NULL); in TWD_SetParam() 104 if (cmdBld_CfgStatisitics (pTWD->hCmdBld, NULL, NULL) != TI_OK) in TWD_SetParam() 120 if (cmdBld_CfgAid (pTWD->hCmdBld, pParamInfo->content.halCtrlAid, NULL, NULL) != TI_OK) in TWD_SetParam() 128 …Bld_CfgHwEncDecEnable (pTWD->hCmdBld, pParamInfo->content.rsnHwEncDecrEnable, NULL, NULL) != TI_OK) in TWD_SetParam() 169 …reMode (pTWD->hCmdBld, (ECipherSuite)pParamInfo->content.rsnEncryptionStatus, NULL, NULL) != TI_OK) in TWD_SetParam() 183 …mdBld_CfgHwEncDecEnable (pTWD->hCmdBld, !pParamInfo->content.rsnXCCSwEncFlag, NULL, NULL) != TI_OK) in TWD_SetParam() [all …]
|
/system/wlan/ti/wilink_6_1/platforms/os/linux/src/ |
D | WlanDrvWext.c | 68 (iw_handler) NULL, /* SIOCSIWCOMMIT */ 70 (iw_handler) NULL, /* SIOCSIWNWID */ 71 (iw_handler) NULL, /* SIOCGIWNWID */ 78 (iw_handler) NULL, /* SIOCSIWRANGE - not used */ 80 (iw_handler) NULL, /* SIOCSIWPRIV - not used */ 81 (iw_handler) NULL, /* SIOCGIWPRIV - kernel code */ 82 (iw_handler) NULL, /* SIOCSIWSTATS - not used */ 83 (iw_handler) NULL, /* SIOCGIWSTATS - kernel code */ 84 (iw_handler) NULL, /* SIOCSIWSPY */ 85 (iw_handler) NULL, /* SIOCGIWSPY */ [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/Data_Srv/Tx_Ctrl_Blk/ |
D | TNETW_Driver.c | 99 if (pTnetwDrv == NULL) in TnetwDrv_Create() 100 return NULL; in TnetwDrv_Create() 108 if (pTnetwDrv->hHalCtrl == NULL) in TnetwDrv_Create() 112 return NULL; in TnetwDrv_Create() 119 if (pTnetwDrv->hMacServices == NULL) in TnetwDrv_Create() 123 return NULL; in TnetwDrv_Create() 128 if (pTnetwDrv->hCmdQueue == NULL) in TnetwDrv_Create() 132 return NULL; in TnetwDrv_Create() 140 if (pTnetwDrv->hTxXfer == NULL) in TnetwDrv_Create() 144 return NULL; in TnetwDrv_Create() [all …]
|
/system/wlan/ti/wilink_6_1/stad/src/Data_link/ |
D | GeneralUtil.c | 72 if( hOs == NULL ) in List_create() 75 return NULL; in List_create() 80 if(List == NULL) in List_create() 81 return NULL; in List_create() 86 if(List->ElementList == NULL) in List_create() 89 return NULL; in List_create() 96 if(List->ElementList[index].Container == NULL) in List_create() 107 return NULL; in List_create() 134 if(List!=NULL) in List_Destroy() 136 if(List->ElementList != NULL) in List_Destroy() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Ctrl/TrafficMonitor/ |
D | GeneralUtil.c | 72 if( hOs == NULL ) in List_create() 75 return NULL; in List_create() 80 if(List == NULL) in List_create() 81 return NULL; in List_create() 86 if(List->ElementList == NULL) in List_create() 89 return NULL; in List_create() 96 if(List->ElementList[index].Container == NULL) in List_create() 107 return NULL; in List_create() 134 if(List!=NULL) in List_Destroy() 136 if(List->ElementList != NULL) in List_Destroy() [all …]
|
/system/core/fastboot/ |
D | usb_windows.c | 93 if (NULL == ret) in do_usb_open() 94 return NULL; in do_usb_open() 99 if (NULL == ret->adb_interface) { in do_usb_open() 102 return NULL; in do_usb_open() 110 if (NULL != ret->adb_read_pipe) { in do_usb_open() 116 if (NULL != ret->adb_write_pipe) { in do_usb_open() 122 NULL, in do_usb_open() 128 if (NULL != ret->interface_name) { in do_usb_open() 150 return NULL; in do_usb_open() 160 if (NULL != handle) { in usb_write() [all …]
|
D | util_windows.c | 43 GetModuleFileName( NULL, exe, PATH_MAX-1 ); in get_my_path() 60 NULL, in load_file() 63 NULL ); in load_file() 66 return NULL; in load_file() 68 file_size = GetFileSize( file, NULL ); in load_file() 69 data = NULL; in load_file() 73 if (data == NULL) { in load_file() 79 if ( !ReadFile( file, data, file_size, &out_bytes, NULL ) || in load_file() 84 data = NULL; in load_file()
|
/system/core/adb/ |
D | usb_windows.c | 119 if (NULL != dev_name) { in known_device_locked() 123 if((NULL != usb->interface_name) && in known_device_locked() 136 if (NULL != dev_name) { in known_device() 146 if (NULL == handle) in register_new_device() 176 return NULL; in device_poll_thread() 182 if(adb_thread_create(&tid, device_poll_thread, NULL)) { in usb_init() 193 if (NULL == ret) in do_usb_open() 194 return NULL; in do_usb_open() 203 if (NULL == ret->adb_interface) { in do_usb_open() 206 return NULL; in do_usb_open() [all …]
|
/system/core/sh/ |
D | options.c | 97 if (*argptr == NULL && minusc == NULL) in procargs() 110 if (sflag == 0 && minusc == NULL) { in procargs() 117 if (minusc != NULL) { in procargs() 118 if (argptr == NULL || *argptr == NULL) in procargs() 160 minusc = NULL; in options() 161 while ((p = *argptr) != NULL) { in options() 171 else if (*argptr == NULL) in options() 221 if (name == NULL) { in minus_o() 283 *ap = NULL; in setparam() 288 shellparam.optnext = NULL; in setparam() [all …]
|
/system/bluetooth/tools/ |
D | pipetest.c | 158 pthread_create(&t1, NULL, (void *)thread_poll, NULL); in do_poll_poll_close() 159 pthread_create(&t2, NULL, (void *)thread_poll, NULL); in do_poll_poll_close() 165 pthread_join(t1, NULL); in do_poll_poll_close() 166 pthread_join(t2, NULL); in do_poll_poll_close() 177 pthread_create(&t, NULL, (void *)thread_poll, (void *)fd[1]); in do_socketpair_poll1_shutdown2() 187 pthread_join(t, NULL); in do_socketpair_poll1_shutdown2() 198 pthread_create(&t, NULL, (void *)thread_poll, (void *)fd[0]); in do_socketpair_poll1_shutdown1() 208 pthread_join(t, NULL); in do_socketpair_poll1_shutdown1() 219 pthread_create(&t, NULL, (void *)thread_poll, (void *)fd[0]); in do_socketpair_poll1_close1() 225 pthread_join(t, NULL); in do_socketpair_poll1_close1() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/UtilityAdapter/ |
D | CTI_Adapter.cpp | 48 _AdapterItem* CTI_WLAN_AdapterAPI::m_pAdaptersList = NULL; 56 m_pSupplicant = NULL; in CTI_WLAN_AdapterAPI() 58 m_pszAdapterName = NULL; in CTI_WLAN_AdapterAPI() 99 if ( m_pSupplicant == NULL ) in StartSM() 115 if (m_bSupplicantInUse && m_pSupplicant != NULL ) in StopSM() 118 m_pSupplicant = NULL; in StopSM() 137 m_pIPCmod = NULL; in ~CTI_WLAN_AdapterAPI() 144 m_pRegistry = NULL; in ~CTI_WLAN_AdapterAPI() 150 m_pOSLib = NULL; in ~CTI_WLAN_AdapterAPI() 156 m_pszAdapterName = NULL; in ~CTI_WLAN_AdapterAPI() [all …]
|
/system/core/libcutils/ |
D | dir_hash.c | 73 if (f == NULL) { in get_file_hash() 131 struct list *list = NULL; in recurse() 137 if (d == NULL) { in recurse() 141 while ((de = readdir(d)) != NULL) { in recurse() 152 if (name == NULL || node == NULL) { in recurse() 154 for (f = list; f != NULL; f = next) { in recurse() 174 for (f = list; f != NULL; f = f->next) { in recurse() 182 if (name == NULL) { in recurse() 184 for (f = list; f != NULL; f = f->next) { in recurse() 189 for (f = *out; f != NULL; f = f->next) { in recurse() [all …]
|
D | hashmap.c | 45 assert(hash != NULL); in hashmapCreate() 46 assert(equals != NULL); in hashmapCreate() 49 if (map == NULL) { in hashmapCreate() 50 return NULL; in hashmapCreate() 62 if (map->buckets == NULL) { in hashmapCreate() 64 return NULL; in hashmapCreate() 107 if (newBuckets == NULL) { in expandIfNecessary() 116 while (entry != NULL) { in expandIfNecessary() 144 while (entry != NULL) { in hashmapFree() 168 if (entry == NULL) { in createEntry() [all …]
|
/system/extras/tests/bionic/libc/bionic/ |
D | test_pthread_cond.c | 71 pthread_cond_init(&cond1, NULL); in main() 72 pthread_cond_init(&cond2, NULL); in main() 73 pthread_create( &t[0], NULL, thread1_func, (void *)1 ); in main() 74 pthread_create( &t[1], NULL, thread2_func, (void *)2 ); in main() 75 pthread_create( &t[2], NULL, thread3_func, (void *)3 ); in main() 76 pthread_create( &t[3], NULL, thread4_func, (void *)4 ); in main() 78 pthread_join(t[0], NULL); in main() 79 pthread_join(t[1], NULL); in main() 80 pthread_join(t[2], NULL); in main() 81 pthread_join(t[3], NULL); in main()
|
/system/extras/tests/bionic/libc/common/ |
D | test_pthread_join.c | 48 return NULL; in thread2_func() 60 return NULL; in thread3_func() 67 pthread_create( &t1, NULL, thread1_func, NULL ); in main() 68 pthread_create( &t2, NULL, thread2_func, (void*)t1 ); in main() 69 pthread_create( &t3, NULL, thread3_func, (void*)t1 ); in main() 71 pthread_join(t2, NULL); in main() 72 pthread_join(t3, NULL); in main()
|