Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_monitor.c39 static void _init(const ifc_status_monitor_t *this_p, const wprint_connect_info_t *);
41 static void _get_status(const ifc_status_monitor_t *this_p, printer_state_dyn_t *printer_state_dyn);
43 static void _start(const ifc_status_monitor_t *this_p, void (*status_cb)(
47 static void _stop(const ifc_status_monitor_t *this_p);
49 static status_t _cancel(const ifc_status_monitor_t *this_p, const char *requesting_user);
51 static void _destroy(const ifc_status_monitor_t *this_p);
79 static void _init(const ifc_status_monitor_t *this_p, const wprint_connect_info_t *connect_info) { in _init() argument
83 if (this_p == NULL) { in _init()
86 monitor = IMPL(ipp_monitor_t, ifc, this_p); in _init()
115 static void _destroy(const ifc_status_monitor_t *this_p) { in _destroy() argument
[all …]
Dipp_print.c28 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port,
31 static status_t _validate_job(const ifc_print_job_t *this_p, wprint_job_params_t *job_params);
33 static status_t _start_job(const ifc_print_job_t *this_p, const wprint_job_params_t *job_params);
35 static int _send_data(const ifc_print_job_t *this_p, const char *buffer, size_t length);
37 static status_t _end_job(const ifc_print_job_t *this_p);
39 static void _destroy(const ifc_print_job_t *this_p);
77 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port, in _init() argument
83 if (this_p == NULL) { in _init()
87 ipp_job = IMPL(ipp_print_job_t, ifc, this_p); in _init()
119 static void _destroy(const ifc_print_job_t *this_p) { in _destroy() argument
[all …]
Dippstatus_capabilities.c71 static void _init(const ifc_printer_capabilities_t *this_p,
74 static status_t _get_capabilities(const ifc_printer_capabilities_t *this_p,
77 static void _destroy(const ifc_printer_capabilities_t *this_p);
104 static void _init(const ifc_printer_capabilities_t *this_p, in _init() argument
109 if (this_p == NULL) { in _init()
112 caps = IMPL(ipp_capabilities_t, ifc, this_p); in _init()
128 static status_t _get_capabilities(const ifc_printer_capabilities_t *this_p, in _get_capabilities() argument
145 if (this_p == NULL) { in _get_capabilities()
149 caps = IMPL(ipp_capabilities_t, ifc, this_p); in _get_capabilities()
212 static void _destroy(const ifc_printer_capabilities_t *this_p) { in _destroy() argument
[all …]
/packages/services/BuiltInPrintService/jni/lib/
Dprinter.c47 static status_t _init(const ifc_print_job_t *this_p, const char *printer_addr, int port, in _init() argument
49 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _init()
73 static void _destroy(const ifc_print_job_t *this_p) { in _destroy() argument
74 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _destroy()
80 static int _start_job(const ifc_print_job_t *this_p, const wprint_job_params_t *job_params) { in _start_job() argument
81 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _start_job()
90 static int _send_data(const ifc_print_job_t *this_p, const char *buffer, size_t length) { in _send_data() argument
94 _print_job_t *print_job = IMPL(_print_job_t, ifc, this_p); in _send_data()
96 if (this_p && buffer && (print_job->job_status == OK)) { in _send_data()
151 static int _end_job(const ifc_print_job_t *this_p) { in _end_job() argument
[all …]
/packages/services/BuiltInPrintService/jni/include/
Difc_print_job.h31 status_t (*init)(const struct ifc_print_job_st *this_p, const char *printer_address, int port,
37 status_t (*validate_job)(const struct ifc_print_job_st *this_p,
43 status_t (*start_job)(const struct ifc_print_job_st *this_p,
50 int (*send_data)(const struct ifc_print_job_st *this_p, const char *buffer,
56 status_t (*check_status)(const struct ifc_print_job_st *this_p);
61 status_t (*end_job)(const struct ifc_print_job_st *this_p);
66 void (*destroy)(const struct ifc_print_job_st *this_p);
71 void (*enable_timeout)(const struct ifc_print_job_st *this_p,
Difc_status_monitor.h30 void (*init)(const struct ifc_status_monitor_st *this_p,
36 void (*get_status)(const struct ifc_status_monitor_st *this_p,
42 status_t (*cancel)(const struct ifc_status_monitor_st *this_p, const char *requesting_user);
47 void (*start)(const struct ifc_status_monitor_st *this_p,
55 void (*stop)(const struct ifc_status_monitor_st *this_p);
60 void (*destroy)(const struct ifc_status_monitor_st *this_p);
Difc_printer_capabilities.h30 void (*init)(const struct ifc_printer_capabilities_st *this_p,
36 status_t (*get_capabilities)(const struct ifc_printer_capabilities_st *this_p,
42 status_t (*get_margins)(const struct ifc_printer_capabilities_st *this_p,
49 void (*destroy)(const struct ifc_printer_capabilities_st *this_p);