Home
last modified time | relevance | path

Searched refs:transp (Results 1 – 8 of 8) sorted by relevance

/system/core/liblog/
Dconfig_write.h28 #define write_transport_for_each(transp, transports) \ argument
29 for ((transp) = node_to_item((transports)->next, \
31 ((transp) != node_to_item((transports), \
33 ((transp) != node_to_item((transp)->node.next, \
35 (transp) = node_to_item((transp)->node.next, \
38 #define write_transport_for_each_safe(transp, n, transports) \ argument
39 for ((transp) = node_to_item((transports)->next, \
41 (n) = (transp)->node.next; \
42 ((transp) != node_to_item((transports), \
44 ((transp) != \
[all …]
Dconfig_read.h28 #define read_transport_for_each(transp, transports) \ argument
29 for ((transp) = node_to_item((transports)->next, \
31 ((transp) != node_to_item((transports), \
33 ((transp) != node_to_item((transp)->node.next, \
35 (transp) = node_to_item((transp)->node.next, \
38 #define read_transport_for_each_safe(transp, n, transports) \ argument
39 for ((transp) = node_to_item((transports)->next, \
41 (n) = (transp)->node.next; \
42 ((transp) != node_to_item((transports), \
44 ((transp) != \
[all …]
Dlogger_read.cpp84 struct android_log_transport_context* transp; in init_transport_context() local
101 transp = static_cast<android_log_transport_context*>(calloc(1, sizeof(*transp))); in init_transport_context()
102 if (!transp) { in init_transport_context()
105 transp->parent = logger_list; in init_transport_context()
106 transp->transport = transport; in init_transport_context()
107 transp->logMask = logMask; in init_transport_context()
108 transp->ret = 1; in init_transport_context()
109 list_add_tail(&logger_list->transport, &transp->node); in init_transport_context()
119 struct android_log_transport_context* transp; \
131 transport_context_for_each(transp, logger_internal->parent) { \
[all …]
Dlogger.h64 struct android_log_transport_context* transp);
67 struct android_log_transport_context* transp);
73 struct android_log_transport_context* transp,
77 struct android_log_transport_context* transp);
80 struct android_log_transport_context* transp);
82 struct android_log_transport_context* transp, size_t size);
84 struct android_log_transport_context* transp);
86 struct android_log_transport_context* transp);
89 struct android_log_transport_context* transp, char* buf,
92 struct android_log_transport_context* transp, char* buf,
[all …]
Dpmsg_reader.cpp33 struct android_log_transport_context* transp);
35 struct android_log_transport_context* transp, struct log_msg* log_msg);
37 struct android_log_transport_context* transp);
39 struct android_log_transport_context* transp);
114 struct android_log_transport_context* transp __unused) { in pmsgClear()
126 struct android_log_transport_context* transp __unused) { in pmsgVersion()
131 struct android_log_transport_context* transp, struct log_msg* log_msg) { in pmsgRead() argument
146 if (atomic_load(&transp->context.fd) <= 0) { in pmsgRead()
159 i = atomic_exchange(&transp->context.fd, fd); in pmsgRead()
170 fd = atomic_load(&transp->context.fd); in pmsgRead()
[all …]
Dlogd_reader.cpp48 struct android_log_transport_context* transp);
50 struct android_log_transport_context* transp, struct log_msg* log_msg);
52 struct android_log_transport_context* transp);
54 struct android_log_transport_context* transp);
56 struct android_log_transport_context* transp);
58 struct android_log_transport_context* transp, size_t size);
60 struct android_log_transport_context* transp);
62 struct android_log_transport_context* transp);
64 struct android_log_transport_context* transp, char* buf, size_t len);
66 struct android_log_transport_context* transp, char* buf, size_t len);
[all …]
Dconfig_write.cpp33 struct android_log_transport_write* transp; in __android_log_add_transport() local
41 write_transport_for_each(transp, list) { in __android_log_add_transport()
42 if (!transp->available) { in __android_log_add_transport()
45 if (((*transp->available)(static_cast<log_id_t>(i)) < 0) && in __android_log_add_transport()
81 struct android_log_transport_write* transp; in __android_log_config_write() local
82 write_transport_for_each(transp, &__android_log_transport_write) { in __android_log_config_write()
83 if (transp == &stderrLoggerWrite) { in __android_log_config_write()
Dconfig_read.cpp33 struct android_log_transport_read* transp; in __android_log_add_transport() local
41 read_transport_for_each(transp, list) { in __android_log_add_transport()
42 if (!transp->available) { in __android_log_add_transport()
45 if (((*transp->available)(static_cast<log_id_t>(i)) < 0) && in __android_log_add_transport()