Lines Matching refs:tag

133 int __android_log_write(int prio, const char *tag, const char *msg)
138 if (!tag)
139 tag = "";
142 if (!strcmp(tag, "HTC_RIL") ||
143 !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */
144 !strncmp(tag, "IMS", 3) || /* Any log tag with "IMS" as the prefix */
145 !strcmp(tag, "AT") ||
146 !strcmp(tag, "GSM") ||
147 !strcmp(tag, "STK") ||
148 !strcmp(tag, "CDMA") ||
149 !strcmp(tag, "PHONE") ||
150 !strcmp(tag, "SMS"))
155 vec[1].iov_base = (void *) tag;
156 vec[1].iov_len = strlen(tag) + 1;
163 int __android_log_buf_write(int bufID, int prio, const char *tag, const char *msg)
167 if (!tag)
168 tag = "";
171 if (!strcmp(tag, "HTC_RIL") ||
172 !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */
173 !strncmp(tag, "IMS", 3) || /* Any log tag with "IMS" as the prefix */
174 !strcmp(tag, "AT") ||
175 !strcmp(tag, "GSM") ||
176 !strcmp(tag, "STK") ||
177 !strcmp(tag, "CDMA") ||
178 !strcmp(tag, "PHONE") ||
179 !strcmp(tag, "SMS"))
184 vec[1].iov_base = (void *) tag;
185 vec[1].iov_len = strlen(tag) + 1;
192 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap)
198 return __android_log_write(prio, tag, buf);
201 int __android_log_print(int prio, const char *tag, const char *fmt, ...)
210 return __android_log_write(prio, tag, buf);
213 int __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...)
222 return __android_log_buf_write(bufID, prio, tag, buf);
225 void __android_log_assert(const char *cond, const char *tag,
246 __android_log_write(ANDROID_LOG_FATAL, tag, buf);
251 int __android_log_bwrite(int32_t tag, const void *payload, size_t len)
255 vec[0].iov_base = &tag;
256 vec[0].iov_len = sizeof(tag);
268 int __android_log_btwrite(int32_t tag, char type, const void *payload,
273 vec[0].iov_base = &tag;
274 vec[0].iov_len = sizeof(tag);