Lines Matching refs:NULL
228 return NULL; in _get_job_desc()
235 return NULL; in _get_job_desc()
339 return (jq->debug_path[0] == 0) ? NULL : &_debug_stream_ifc; in getDebugStreamIfc()
341 return NULL; in getDebugStreamIfc()
360 if (_io_plugins[i].io_plugin == NULL) { in _get_caps_ifc()
361 return NULL; in _get_caps_ifc()
363 if (_io_plugins[i].io_plugin->getCapsIFC == NULL) { in _get_caps_ifc()
364 return NULL; in _get_caps_ifc()
370 return NULL; in _get_caps_ifc()
377 if (_io_plugins[i].io_plugin == NULL) { in _get_status_ifc()
378 return NULL; in _get_status_ifc()
380 if (_io_plugins[i].io_plugin->getStatusIFC == NULL) { in _get_status_ifc()
381 return NULL; in _get_status_ifc()
387 return NULL; in _get_status_ifc()
394 if (_io_plugins[i].io_plugin == NULL) { in _get_print_ifc()
395 return NULL; in _get_print_ifc()
397 if (_io_plugins[i].io_plugin->getPrintIFC == NULL) { in _get_print_ifc()
398 return NULL; in _get_print_ifc()
404 return NULL; in _get_print_ifc()
460 if (jq == NULL) { in _recycle_handle()
464 if (jq->print_ifc != NULL) { in _recycle_handle()
468 jq->print_ifc = NULL; in _recycle_handle()
469 if (jq->status_ifc != NULL) { in _recycle_handle()
472 jq->status_ifc = NULL; in _recycle_handle()
473 if (jq->job_params.useragent != NULL) { in _recycle_handle()
476 if (jq->job_params.certificate != NULL) { in _recycle_handle()
492 jq->certificate = NULL; in _recycle_handle()
550 && ((jq->print_ifc != NULL) && (jq->print_ifc->enable_timeout != NULL))) { in _job_status_callback()
561 wprintPage(jq->job_handle, jq->num_pages + 1, NULL, true, false, 0, 0, 0, 0); in _job_status_callback()
569 if ((jq->print_ifc != NULL) && (jq->print_ifc->enable_timeout != NULL)) { in _job_status_callback()
577 if ((jq->print_ifc != NULL) && (jq->print_ifc->enable_timeout != NULL)) { in _job_status_callback()
624 if (jq->print_ifc != NULL) { in _job_status_callback()
626 jq->print_ifc = NULL; in _job_status_callback()
629 if (jq->status_ifc != NULL) { in _job_status_callback()
631 jq->status_ifc = NULL; in _job_status_callback()
662 return NULL; in _job_status_thread()
669 if ((jq == NULL) || (jq->status_ifc == NULL)) { in _start_status_thread()
739 jq->certificate = NULL; in _validate_certificate()
743 if (jq->certificate == NULL) { in _validate_certificate()
771 connect_info.validate_certificate = NULL; in _initialize_status_ifc()
818 jq->job_params.plugin_data = NULL; in _job_thread()
827 if (jq->status_ifc != NULL) { in _job_thread()
831 if ((jq->status_ifc != NULL) && (jq->status_ifc->get_status != NULL)) { in _job_thread()
937 if (jq->print_ifc != NULL) { in _job_thread()
939 if (jq->print_ifc->validate_job != NULL) { in _job_thread()
948 if ((job_result == OK) && (jq->print_ifc->start_job != NULL) && in _job_thread()
955 if (job_result == OK && jq->plugin->start_job != NULL) { in _job_thread()
978 if (jq->print_ifc->start_job != NULL && in _job_thread()
1059 (jq->plugin->print_blank_page != NULL)) { in _job_thread()
1081 && (jq->plugin->print_blank_page != NULL)) { in _job_thread()
1138 if ((jq->print_ifc != NULL) && (jq->print_ifc->check_status)) { in _job_thread()
1158 && (jq->plugin->print_blank_page != NULL)) { in _job_thread()
1174 && (jq->plugin->print_blank_page != NULL)) { in _job_thread()
1177 if (jq->plugin->end_job != NULL) { in _job_thread()
1180 if ((jq->print_ifc != NULL) && (jq->print_ifc->end_job) && in _job_thread()
1194 if ((jq->job_params.page_num > 0) && (jq->status_ifc != NULL)) { in _job_thread()
1295 if (jq->print_ifc != NULL) { in _job_thread()
1297 jq->print_ifc = NULL; in _job_thread()
1300 if (jq->status_ifc != NULL) { in _job_thread()
1302 jq->status_ifc = NULL; in _job_thread()
1314 return NULL; in _job_thread()
1334 result = pthread_create(&_job_tid, 0, _job_thread, NULL); in _start_thread()
1372 .port_num = PORT_FILE, .getCapsIFC = NULL, .getStatusIFC = NULL,
1458 if (printer_cap == NULL) return; in _validate_supported_media_sizes()
1483 if (printer_cap == NULL) return; in _validate_supported_media_trays()
1551 const ifc_printer_capabilities_t *caps_ifc = NULL; in wprintGetCapabilities()
1570 if (caps_ifc != NULL) { in wprintGetCapabilities()
1613 char *print_format = NULL; in _get_print_format()
1641 if (print_format != NULL) { in _get_print_format()
1660 if (job_params == NULL) return result; in wprintGetDefaultJobParams()
1673 if (job_params == NULL) { in wprintGetFinalJobParams()
1828 wprint_plugin_t *plugin = NULL; in wprintStartJob()
1832 if (mime_type == NULL) { in wprintStartJob()
1838 if (print_format == NULL) return job_handle; in wprintStartJob()
1854 if (job_params == NULL) { in wprintStartJob()
1877 if (jq == NULL) { in wprintStartJob()
1884 if (debugDir != NULL) { in wprintStartJob()
1905 jq->use_secure_uri = (strstr(scheme, IPPS_PREFIX) != NULL); in wprintStartJob()
1909 if (useragent != NULL) { in wprintStartJob()
1967 if (print_ifc == NULL) { in wprintStartJob()
1969 } else if ((plugin == NULL) || (plugin->print_page == NULL)) { in wprintStartJob()
2005 jq->pageQ = NULL; in wprintEndJob()
2014 jq->saveQ = NULL; in wprintEndJob()
2109 wprintPage(job_handle, jq->num_pages + 1, NULL, true, false, 0, 0, 0, 0); in wprintCancelJob()
2125 if (enableTimeout && (jq->print_ifc != NULL) && in wprintCancelJob()
2126 (jq->print_ifc->enable_timeout != NULL)) { in wprintCancelJob()
2195 _msgQ = NULL; in wprintExit()