/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipphelper.c | 97 if (op_to_set == NULL) { in set_ipp_version() 121 if (http == NULL) { in determine_ipp_version() 140 ipp_t *request = NULL; in test_and_set_ipp_version() 152 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, printer_uri); in test_and_set_ipp_version() 155 NULL, __request_ipp_version); in test_and_set_ipp_version() 156 if ((response = cupsDoRequest(http, request, http_resource)) == NULL) { in test_and_set_ipp_version() 221 if (response != NULL) ippDelete(response); in test_and_set_ipp_version() 235 ipp_t *request = NULL; in get_PrinterState() 236 ipp_t *response = NULL; in get_PrinterState() 242 if (printer_state_dyn == NULL) { in get_PrinterState() [all …]
|
D | ipp_print.c | 43 .send_data = _send_data, .end_job = _end_job, .destroy = _destroy, .enable_timeout = NULL, 65 if (ipp_job == NULL) { in ipp_get_print_ifc() 66 return NULL; in ipp_get_print_ifc() 83 if (this_p == NULL) { in _init() 88 if (ipp_job->http != NULL) { in _init() 92 if ((printer_uri == NULL) || (strlen(printer_uri) == 0)) { in _init() 101 ipp_scheme, NULL, printer_address, ippPortNumber, printer_uri); in _init() 107 if (ipp_job->http == NULL) { in _init() 114 httpSetTimeout(ipp_job->http, DEFAULT_IPP_TIMEOUT, NULL, 0); in _init() 122 if (this_p == NULL) { in _destroy() [all …]
|
D | ippstatus_monitor.c | 74 monitor->http = NULL; in ipp_status_get_monitor_ifc() 83 if (this_p == NULL) { in _init() 96 if (monitor->http != NULL) { in _init() 119 if (this_p == NULL) { in _destroy() 134 if (monitor->http != NULL) { in _destroy() 150 if (printer_state_dyn == NULL) { in _get_status() 161 if (this_p == NULL) { in _get_status() 172 if (monitor->http == NULL) { in _get_status() 192 ipp_monitor_t *monitor = NULL; in _start() 209 if (status_cb != NULL) { in _start() [all …]
|
D | ippstatus_capabilities.c | 78 .init = _init, .get_capabilities = _get_capabilities, .get_margins = NULL, 91 if (caps == NULL) { in ipp_status_get_capabilities_ifc() 92 return NULL; in ipp_status_get_capabilities_ifc() 96 caps->http = NULL; in ipp_status_get_capabilities_ifc() 107 if (this_p == NULL) { in _init() 112 if (caps->http != NULL) { in _init() 120 if (caps->http == NULL) { in _init() 130 ipp_capabilities_t *caps = NULL; in _get_capabilities() 131 ipp_t *request = NULL; // IPP request object in _get_capabilities() 132 ipp_t *response = NULL; // IPP response object in _get_capabilities() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 38 dicInfo->handle = NULL; in clearDictionaryStructure() 62 src = ( const unsigned char* )( ( *env )->GetStringUTFChars( env, srcJ, NULL ) ); in convertStringToNjChar() 63 if( src != NULL ) { in convertStringToNjChar() 197 …return ( *dstJ == NULL ) ? NJ_SET_ERR_VAL(NJ_FUNC_JNI_CONVERT_NJC_TO_STR, NJ_ERR_JNI_FUNC_FAILED) … in convertNjCharToString() 212 if( work != NULL ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork() 225 if( dicLibPathJ == NULL || in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork() 226 ( dicLibPath = ( *env )->GetStringUTFChars( env, dicLibPathJ, 0 ) ) == NULL ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork() 234 if( work->dicLibHandle == NULL ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork() 243 if( dic_size == NULL || dic_type == NULL || dic_data == NULL ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork() 257 if( con_data != NULL ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_createWnnWork() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | PeerToPeer.cpp | 138 if ( (mServers[i] != NULL) in findServerLocked() 146 return NULL; in findServerLocked() 165 if ( (mServers[i] != NULL) in findServerLocked() 173 return NULL; in findServerLocked() 192 if ( (mServers[i] != NULL) && (mServers[i]->mServiceName.compare(serviceName) == 0) ) in findServerLocked() 197 return NULL; in findServerLocked() 216 sp<P2pServer> pSrv = NULL; in registerServer() 220 if ((pSrv = findServerLocked(serviceName)) != NULL) in registerServer() 232 if (mServers[ii] == NULL) in registerServer() 242 if (pSrv == NULL) in registerServer() [all …]
|
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
D | phNxpExtns_MifareStd.c | 29 phFriNfc_sNdefSmtCrdFmt_t *NdefSmtCrdFmt = NULL; 30 phFriNfc_NdefMap_t *NdefMap = NULL; 94 if(NdefMap != NULL) in phNxpExtns_MfcModuleDeInit() 96 if( NdefMap->psRemoteDevInfo != NULL ) in phNxpExtns_MfcModuleDeInit() 99 NdefMap->psRemoteDevInfo = NULL; in phNxpExtns_MfcModuleDeInit() 101 if( NdefMap->SendRecvBuf != NULL ) in phNxpExtns_MfcModuleDeInit() 104 NdefMap->SendRecvBuf = NULL; in phNxpExtns_MfcModuleDeInit() 106 if( NdefMap->SendRecvLength != NULL ) in phNxpExtns_MfcModuleDeInit() 109 NdefMap->SendRecvLength = NULL; in phNxpExtns_MfcModuleDeInit() 111 if( NdefMap->DataCount != NULL ) in phNxpExtns_MfcModuleDeInit() [all …]
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpegstream.cpp | 35 if (env->ExceptionCheck() || thisClass == NULL) { in OutputStream_setup() 40 if (NULL == fidNumber || env->ExceptionCheck()) { in OutputStream_setup() 88 if (env->ExceptionCheck() || thisClass == NULL) { in InputStream_setup() 91 jmethodID setMethod = NULL; in InputStream_setup() 94 if (dimens != NULL) { in InputStream_setup() 96 if (env->ExceptionCheck() || pointClass == NULL) { in InputStream_setup() 100 if (env->ExceptionCheck() || setMethod == NULL) { in InputStream_setup() 106 if (NULL == fidNumber || env->ExceptionCheck()) { in InputStream_setup() 131 if (dimens != NULL) { in InputStream_setup() 150 if (env->ExceptionCheck() || thisClass == NULL) { in getWPtr() [all …]
|
D | stream_wrapper.cpp | 22 StreamWrapper::StreamWrapper() : mEnv(NULL), in StreamWrapper() 23 mStream(NULL), in StreamWrapper() 24 mByteArray(NULL), in StreamWrapper() 25 mBytes(NULL), in StreamWrapper() 33 if (env == NULL) { in updateEnv() 41 if (mEnv != NULL) { in init() 47 if (mStream == NULL || env->ExceptionCheck()) { in init() 53 if (tmp == NULL || env->ExceptionCheck()){ in init() 58 if (mByteArray == NULL || env->ExceptionCheck()){ in init() 62 mBytes = env->GetByteArrayElements(mByteArray, NULL); in init() [all …]
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_btservice_AdapterService.cpp | 59 static const bt_interface_t* sBluetoothInterface = NULL; 60 static const btsock_interface_t* sBluetoothSocketInterface = NULL; 61 static JNIEnv* callbackEnv = NULL; 126 sCallbackEnv->NewObjectArray(num_properties, mclass.get(), NULL)); in adapter_properties_callback() 180 sCallbackEnv->NewObjectArray(num_properties, mclass.get(), NULL)); in remote_device_properties_callback() 219 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), NULL); in device_found_callback() 381 args.group = NULL; in callback_thread_event() 414 len, android_bluetooth_UidTraffic.clazz, NULL)); in energy_info_recv_callback() 512 sAlarmCallback = NULL; in set_wake_alarm_callout() 513 sAlarmCallbackData = NULL; in set_wake_alarm_callout() [all …]
|
D | com_android_bluetooth_avrcp.cpp | 46 static const btrc_interface_t* sBluetoothAvrcpInterface = NULL; 47 static jobject mCallbacksObj = NULL; 273 ScopedLocalRef<jintArray> attr_ids(sCallbackEnv.get(), NULL); in btavrcp_get_folder_items_callback() 494 NULL, 495 NULL, 496 NULL, 497 NULL, 498 NULL, 499 NULL, 565 if (btInf == NULL) { in initNative() [all …]
|
D | com_android_bluetooth_hfp.cpp | 52 static const bthf_interface_t* sBluetoothHfpInterface = NULL; 55 static jobject mCallbacksObj = NULL; 60 if (!sCallbackEnv.valid()) return NULL; in marshall_bda() 65 return NULL; in marshall_bda() 78 if (!sCallbackEnv.valid() || mCallbacksObj == NULL) return; in connection_state_callback() 91 if (!sCallbackEnv.valid() || mCallbacksObj == NULL) return; in audio_state_callback() 104 if (!sCallbackEnv.valid() || mCallbacksObj == NULL) return; in voice_recognition_callback() 119 if (!sCallbackEnv.valid() || mCallbacksObj == NULL) return; in answer_call_callback() 133 if (!sCallbackEnv.valid() || mCallbacksObj == NULL) return; in hangup_call_callback() 148 if (!sCallbackEnv.valid() || mCallbacksObj == NULL) return; in volume_control_callback() [all …]
|
D | com_android_bluetooth_sdp.cpp | 60 static const btsdp_interface_t* sBluetoothSdpInterface = NULL; 69 static jobject sCallbacksObj = NULL; 74 if (btInf == NULL) { in initializeNative() 78 if (sBluetoothSdpInterface != NULL) { in initializeNative() 81 sBluetoothSdpInterface = NULL; in initializeNative() 86 if (sBluetoothSdpInterface == NULL) { in initializeNative() 124 jbyte* addr = env->GetByteArrayElements(address, NULL); in sdpSearchNative() 125 if (addr == NULL) { in sdpSearchNative() 130 jbyte* uuid = env->GetByteArrayElements(uuidObj, NULL); in sdpSearchNative() 174 ScopedLocalRef<jstring> service_name(sCallbackEnv.get(), NULL); in sdp_search_callback() [all …]
|
D | com_android_bluetooth_pan.cpp | 44 static const btpan_interface_t* sPanIf = NULL; 45 static jobject mCallbacksObj = NULL; 49 if (!sCallbackEnv.valid()) return NULL; in marshall_bda() 54 return NULL; in marshall_bda() 64 if (mCallbacksObj == NULL) { in control_state_callback() 83 if (mCallbacksObj == NULL) { in connection_state_callback() 120 if (btIf == NULL) { in initializeNative() 125 if (sPanIf != NULL) { in initializeNative() 128 sPanIf = NULL; in initializeNative() 131 if (mCallbacksObj != NULL) { in initializeNative() [all …]
|
D | com_android_bluetooth_hdp.cpp | 33 static const bthl_interface_t* sBluetoothHdpInterface = NULL; 34 static jobject mCallbacksObj = NULL; 58 jobject fileDescriptor = NULL; in channel_state_callback() 90 if (btInf == NULL) { in initializeNative() 95 if (sBluetoothHdpInterface != NULL) { in initializeNative() 98 sBluetoothHdpInterface = NULL; in initializeNative() 101 if (mCallbacksObj != NULL) { in initializeNative() 104 mCallbacksObj = NULL; in initializeNative() 109 if (sBluetoothHdpInterface == NULL) { in initializeNative() 117 sBluetoothHdpInterface = NULL; in initializeNative() [all …]
|
D | com_android_bluetooth_hid.cpp | 37 static const bthh_interface_t* sBluetoothHidInterface = NULL; 38 static jobject mCallbacksObj = NULL; 42 if (!sCallbackEnv.valid()) return NULL; in marshall_bda() 47 return NULL; in marshall_bda() 178 NULL, 202 if (btInf == NULL) { in initializeNative() 207 if (sBluetoothHidInterface != NULL) { in initializeNative() 210 sBluetoothHidInterface = NULL; in initializeNative() 213 if (mCallbacksObj != NULL) { in initializeNative() 216 mCallbacksObj = NULL; in initializeNative() [all …]
|
D | com_android_bluetooth_hfpclient.cpp | 28 static bthf_client_interface_t* sBluetoothHfpClientInterface = NULL; 29 static jobject mCallbacksObj = NULL; 55 if (!sCallbackEnv.valid()) return NULL; in marshall_bda() 60 return NULL; in marshall_bda() 382 if (btInf == NULL) { in initializeNative() 387 if (sBluetoothHfpClientInterface != NULL) { in initializeNative() 390 sBluetoothHfpClientInterface = NULL; in initializeNative() 393 if (mCallbacksObj != NULL) { in initializeNative() 396 mCallbacksObj = NULL; in initializeNative() 402 if (sBluetoothHfpClientInterface == NULL) { in initializeNative() [all …]
|
D | com_android_bluetooth_hidd.cpp | 38 static const bthd_interface_t* sHiddIf = NULL; 39 static jobject mCallbacksObj = NULL; 43 if (!sCallbackEnv.valid()) return NULL; in marshall_bda() 48 return NULL; in marshall_bda() 65 ScopedLocalRef<jbyteArray> addr(sCallbackEnv.get(), NULL); in application_state_callback() 177 if ((btif = getBluetoothInterface()) == NULL) { in initNative() 182 if (sHiddIf != NULL) { in initNative() 185 sHiddIf = NULL; in initNative() 188 if (mCallbacksObj != NULL) { in initNative() 191 mCallbacksObj = NULL; in initNative() [all …]
|
/packages/experimental/procstatlog/ |
D | procstatlog.c | 77 data->value = NULL; in read_data() 85 data->value = NULL; in read_data() 119 if (terminator != NULL) { in read_lines() 121 if (end != NULL) *end = '\0'; in read_lines() 128 line != NULL && num < stats_count; in read_lines() 129 line = strtok(NULL, "\n")) { in read_lines() 140 if (name_end == NULL) continue; in read_lines() 175 char *line, *device = NULL; in read_proc_yaffs() 177 line != NULL && num < stats_count; in read_proc_yaffs() 178 line = strtok(NULL, "\n")) { in read_proc_yaffs() [all …]
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | lib_wprint.c | 224 return NULL; in _get_job_desc() 231 return NULL; in _get_job_desc() 335 return (jq->debug_path[0] == 0) ? NULL : &_debug_stream_ifc; in getDebugStreamIfc() 337 return NULL; in getDebugStreamIfc() 356 if (_io_plugins[i].io_plugin == NULL) { in _get_caps_ifc() 357 return NULL; in _get_caps_ifc() 359 if (_io_plugins[i].io_plugin->getCapsIFC == NULL) { in _get_caps_ifc() 360 return NULL; in _get_caps_ifc() 366 return NULL; in _get_caps_ifc() 373 if (_io_plugins[i].io_plugin == NULL) { in _get_status_ifc() [all …]
|
D | wprintJNI.c | 120 JavaVM *_JVM = NULL; 135 if (mime_type == NULL || pathname == NULL) { in _is_pdf_doc() 150 if (s == NULL || *s == '\0' || isspace(*s)) { in _isNumeric() 283 char *page_range = NULL; in _get_pdf_page_range() 297 page_range = NULL; in _get_pdf_page_range() 320 while (page_range_split != NULL) { in _get_pdf_page_range() 329 page_range_split = strtok(NULL, ","); in _get_pdf_page_range() 590 jbyte *nativeDataPtr = (*env)->GetByteArrayElements(env, nativeDataObject, NULL); in _convertPrinterCaps_to_C() 614 jbyte *nativeDataPtr = (*env)->GetByteArrayElements(env, nativeDataObject, NULL); in _convertPrinterCaps_to_Java() 650 intArrayPtr = (*env)->GetIntArrayElements(env, intArray, NULL); in _convertPrinterCaps_to_Java() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
D | dbreg.cpp | 31 m_reference_image = NULL; in db_FrameToReferenceRegistration() 32 m_aligned_ins_image = NULL; in db_FrameToReferenceRegistration() 34 m_quarter_res_image = NULL; in db_FrameToReferenceRegistration() 35 m_horz_smooth_subsample_image = NULL; in db_FrameToReferenceRegistration() 37 m_x_corners_ref = NULL; in db_FrameToReferenceRegistration() 38 m_y_corners_ref = NULL; in db_FrameToReferenceRegistration() 40 m_x_corners_ins = NULL; in db_FrameToReferenceRegistration() 41 m_y_corners_ins = NULL; in db_FrameToReferenceRegistration() 43 m_match_index_ref = NULL; in db_FrameToReferenceRegistration() 44 m_match_index_ins = NULL; in db_FrameToReferenceRegistration() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnEngDic/ |
D | WnnEngDic.c | 74243 …data, dic_04_data, dic_05_data, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, …
|
/packages/inputmethods/OpenWnn/libs/libwnnJpnDic/ |
D | WnnJpnDic.c | 83556 …ic_05_data, dic_06_data, dic_07_data, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, …
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndapi.c | 54 if (cursor->cond.ds == NULL) { in check_search_cursor() 66 if (dicinfo->handle != NULL) { in check_search_cursor() 84 if (cursor->cond.yomi == NULL) { in check_search_cursor() 96 } else if (cursor->cond.kanji != NULL) { in check_search_cursor() 136 if (loctset->loct.handle == NULL) { in search_word() 209 if ((loctset->loct.handle == NULL) || in get_word_and_search_next_word() 236 (cursor->cond.ds->dic[i].srhCache != NULL) && in get_word_and_search_next_word() 337 ((loctset->loct.handle != NULL) && in get_word_and_search_next_word() 338 (cursor->cond.ds->dic[next].srhCache == NULL))) { in get_word_and_search_next_word() 382 if (loctset->loct.handle == NULL) { in njd_get_word_data() [all …]
|