Lines Matching refs:buffer
201 #define MSG_BUFFER_OFFSET strlen(buffer)
220 static char buffer[BTE_LOG_BUF_SIZE];
236 sprintf(buffer, "%02d:%02d:%02d.%03d ", tm->tm_hour, tm->tm_min, tm->tm_sec,
240 vsnprintf(&buffer[MSG_BUFFER_OFFSET], BTE_LOG_MAX_SIZE, fmt_str, ap);
248 LOGE0(bt_layer_tags[trace_layer], buffer);
251 LOGW0(bt_layer_tags[trace_layer], buffer);
255 LOGI0(bt_layer_tags[trace_layer], buffer);
258 LOGD0(bt_layer_tags[trace_layer], buffer);
261 LOGE0(bt_layer_tags[trace_layer], buffer); /* we should never get this */
265 LOGI0(bt_layer_tags[trace_layer], buffer);
268 write(2, buffer, strlen(buffer));
276 static char buffer[BTE_LOG_BUF_SIZE];
290 sprintf(buffer, "%02d:%02d:%02d.%03ld ", tm->tm_hour, tm->tm_min, tm->tm_sec,
294 vsnprintf(&buffer[strlen(buffer)], BTE_LOG_MAX_SIZE, fmt_str, ap);
298 LOGI0(bt_layer_tags[trace_layer], buffer);
300 write(2, buffer, strlen(buffer));