Searched refs:port_num (Results 1 – 7 of 7) sorted by relevance
/packages/services/BuiltInPrintService/jni/lib/ |
D | printer.c | 38 int port_num; member 55 if (print_job->port_num == PORT_FILE) { in _init() 66 print_job->psock = wConnect(printer_addr, print_job->port_num, _wprint_timeout_msec); in _init() 97 if (print_job->port_num == PORT_FILE) { in _send_data() 176 int wConnect(const char *printer_addr, int port_num, long int timeout_msec) { in wConnect() argument 188 sin.sin_port = htons(port_num); in wConnect() 231 LOGI("connected to %s:%d", printer_addr, port_num); in wConnect() 235 LOGE("cannot connect on %s:%d, %s", printer_addr, port_num, strerror(errno)); in wConnect() 239 port_num, timeout_msec); in wConnect() 251 const ifc_print_job_t *printer_connect(int port_num) { in printer_connect() argument [all …]
|
D | lib_wprint.c | 137 port_t port_num; member 182 port_t port_num; member 356 static const ifc_printer_capabilities_t *_get_caps_ifc(port_t port_num) { in _get_caps_ifc() argument 359 if (_io_plugins[i].port_num == port_num) { in _get_caps_ifc() 373 static const ifc_status_monitor_t *_get_status_ifc(port_t port_num) { in _get_status_ifc() argument 376 if (_io_plugins[i].port_num == port_num) { in _get_status_ifc() 390 static const ifc_print_job_t *_get_print_ifc(port_t port_num) { in _get_print_ifc() argument 393 if (_io_plugins[i].port_num == port_num) { in _get_print_ifc() 733 connect_info->uri_scheme, connect_info->printer_addr, connect_info->port_num, in _validate_certificate() 764 connect_info.port_num = jq->port_num; in _initialize_status_ifc() [all …]
|
D | wprintJNI.c | 1193 connect_info.port_num = port; in Java_com_android_bips_ipp_Backend_nativeGetCapabilities()
|
/packages/services/BuiltInPrintService/jni/include/ |
D | ifc_print_job.h | 78 const ifc_print_job_t *printer_connect(int port_num); 83 int wConnect(const char *printer_addr, int port_num, long int timeout_msec);
|
D | lib_wprint.h | 215 int port_num; member 306 wJob_t wprintStartJob(const char *printer_addr, port_t port_num,
|
D | wprint_io_plugin.h | 32 port_t port_num; member
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipphelper.c | 1198 int ippPortNumber = ((connect_info->port_num == IPP_PORT) ? ippPort() : connect_info->port_num); in ipp_cups_connect()
|