Home
last modified time | relevance | path

Searched refs:port_num (Results 1 – 7 of 7) sorted by relevance

/packages/services/BuiltInPrintService/jni/lib/
Dprinter.c38 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()
98 if (print_job->port_num == PORT_FILE) { in _send_data()
177 int wConnect(const char *printer_addr, int port_num, long int timeout_msec) { in wConnect() argument
189 sin.sin_port = htons(port_num); in wConnect()
232 LOGI("connected to %s:%d", printer_addr, port_num); in wConnect()
236 LOGE("cannot connect on %s:%d, %s", printer_addr, port_num, strerror(errno)); in wConnect()
240 port_num, timeout_msec); in wConnect()
252 const ifc_print_job_t *printer_connect(int port_num) { in printer_connect() argument
[all …]
Dlib_wprint.c137 port_t port_num; member
182 port_t port_num; member
361 static const ifc_printer_capabilities_t *_get_caps_ifc(port_t port_num) { in _get_caps_ifc() argument
364 if (_io_plugins[i].port_num == port_num) { in _get_caps_ifc()
378 static const ifc_status_monitor_t *_get_status_ifc(port_t port_num) { in _get_status_ifc() argument
381 if (_io_plugins[i].port_num == port_num) { in _get_status_ifc()
395 static const ifc_print_job_t *_get_print_ifc(port_t port_num) { in _get_print_ifc() argument
398 if (_io_plugins[i].port_num == port_num) { in _get_print_ifc()
787 connect_info->uri_scheme, connect_info->printer_addr, connect_info->port_num, in _validate_certificate()
818 connect_info.port_num = jq->port_num; in _initialize_status_ifc()
[all …]
DwprintJNI.c1712 connect_info.port_num = port; in Java_com_android_bips_ipp_Backend_nativeGetCapabilities()
/packages/services/BuiltInPrintService/jni/include/
Difc_print_job.h78 const ifc_print_job_t *printer_connect(int port_num);
83 int wConnect(const char *printer_addr, int port_num, long int timeout_msec);
Dlib_wprint.h223 int port_num; member
340 wJob_t wprintStartJob(const char *printer_addr, port_t port_num,
Dwprint_io_plugin.h32 port_t port_num; member
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.c1727 int ippPortNumber = ((connect_info->port_num == IPP_PORT) ? ippPort() : connect_info->port_num); in ipp_cups_connect()