Lines Matching refs:NULL
123 JavaVM *_JVM = NULL;
138 if (mime_type == NULL || pathname == NULL) { in _is_pdf_doc()
153 if (s == NULL || *s == '\0' || isspace(*s)) { in _isNumeric()
286 char *page_range = NULL; in _get_pdf_page_range()
300 page_range = NULL; in _get_pdf_page_range()
323 while (page_range_split != NULL) { in _get_pdf_page_range()
332 page_range_split = strtok(NULL, ","); in _get_pdf_page_range()
600 jbyte *nativeDataPtr = (*env)->GetByteArrayElements(env, nativeDataObject, NULL); in _convertPrinterCaps_to_C()
624 jbyte *nativeDataPtr = (*env)->GetByteArrayElements(env, nativeDataObject, NULL); in _convertPrinterCaps_to_Java()
660 intArrayPtr = (*env)->GetIntArrayElements(env, intArray, NULL); in _convertPrinterCaps_to_Java()
670 intArrayPtr = (*env)->GetIntArrayElements(env, intArray, NULL); in _convertPrinterCaps_to_Java()
718 jbyte *nativeDataPtr = (*env)->GetByteArrayElements(env, nativeDataObject, NULL); in _convertJobParams_to_C()
799 if (docCategory != NULL) { in _convertJobParams_to_C()
800 const char *category = (*env)->GetStringUTFChars(env, docCategory, NULL); in _convertJobParams_to_C()
801 if (category != NULL) { in _convertJobParams_to_C()
810 if (jobName != NULL) { in _convertJobParams_to_C()
811 const char *name = (*env)->GetStringUTFChars(env, jobName, NULL); in _convertJobParams_to_C()
812 if (name != NULL) { in _convertJobParams_to_C()
820 if (jobOriginatingUserName != NULL) { in _convertJobParams_to_C()
821 const char *name = (*env)->GetStringUTFChars(env, jobOriginatingUserName, NULL); in _convertJobParams_to_C()
822 if (name != NULL) { in _convertJobParams_to_C()
830 wprintJobParams->page_range = NULL; in _convertJobParams_to_C()
867 jbyte *nativeDataPtr = (*env)->GetByteArrayElements(env, nativeDataObject, NULL); in _covertJobParams_to_Java()
951 if ((*_JVM)->AttachCurrentThread(_JVM, &env, NULL) < 0) { in _wprint_callback_fn()
1036 jStr = NULL; in _wprint_callback_fn()
1039 jStr = NULL; in _wprint_callback_fn()
1126 NULL); in _wprint_callback_fn()
1170 fromJava = (*env)->GetStringUTFChars(env, source, NULL); in copyToNewString()
1171 if (fromJava == NULL) return NULL; in copyToNewString()
1195 connect_info.validate_certificate = NULL; in Java_com_android_bips_ipp_Backend_nativeGetCapabilities()
1261 params->certificate = NULL; in _convertCertificate()
1268 jbyte *certificateBytes = (*env)->GetByteArrayElements(env, certificate, NULL); in _convertCertificate()
1297 const char *addressStr = (*env)->GetStringUTFChars(env, address, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1298 const char *mimeTypeStr = (*env)->GetStringUTFChars(env, mimeType, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1299 const char *dataDirStr = (*env)->GetStringUTFChars(env, _fakeDir, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1300 const char *schemeStr = (*env)->GetStringUTFChars(env, scheme, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1324 const char *pageStr = (*env)->GetStringUTFChars(env, page, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1325 if (pageStr == NULL) { in Java_com_android_bips_ipp_Backend_nativeStartJob()
1342 const char *pageStr = (*env)->GetStringUTFChars(env, page, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1343 if (pageStr == NULL) { in Java_com_android_bips_ipp_Backend_nativeStartJob()
1360 const char *jobDebugDirStr = NULL; in Java_com_android_bips_ipp_Backend_nativeStartJob()
1361 if (jobDebugDir != NULL) { in Java_com_android_bips_ipp_Backend_nativeStartJob()
1362 jobDebugDirStr = (*env)->GetStringUTFChars(env, jobDebugDir, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1369 if ((jobDebugDir != NULL) && (jobDebugDirStr != NULL)) { in Java_com_android_bips_ipp_Backend_nativeStartJob()
1390 const char *pageStr = (*env)->GetStringUTFChars(env, page, NULL); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1391 if (pageStr == NULL) { in Java_com_android_bips_ipp_Backend_nativeStartJob()
1406 wprintPage(job_handle, pageIndex, NULL, true, false, 0, 0, 0, 0); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1471 const char *appNameStr = (*env)->GetStringUTFChars(env, appName, NULL); in Java_com_android_bips_ipp_Backend_nativeSetSourceInfo()
1472 const char *appVersionStr = (*env)->GetStringUTFChars(env, appVersion, NULL); in Java_com_android_bips_ipp_Backend_nativeSetSourceInfo()
1473 const char *osNameStr = (*env)->GetStringUTFChars(env, osName, NULL); in Java_com_android_bips_ipp_Backend_nativeSetSourceInfo()