Lines Matching refs:elem
2015 android_log_list_element elem = {}; in android_log_buffer_to_string() local
2027 elem = android_log_read_next(context); in android_log_buffer_to_string()
2028 switch ((int)elem.type) { in android_log_buffer_to_string()
2053 outCount = snprintf(strOut, strOutLen + 1, "%" PRId32, elem.data.int32); in android_log_buffer_to_string()
2068 outCount = snprintf(strOut, strOutLen + 1, "%" PRId64, elem.data.int64); in android_log_buffer_to_string()
2083 outCount = snprintf(strOut, strOutLen + 1, "%f", elem.data.float32); in android_log_buffer_to_string()
2093 elem.complete = true; in android_log_buffer_to_string()
2098 if (elem.complete) { in android_log_buffer_to_string()
2102 elem.data.string = const_cast<char*>("<unknown>"); in android_log_buffer_to_string()
2103 elem.len = strlen(elem.data.string); in android_log_buffer_to_string()
2106 if (elem.len <= strOutLen) { in android_log_buffer_to_string()
2107 memcpy(strOut, elem.data.string, elem.len); in android_log_buffer_to_string()
2108 strOut += elem.len; in android_log_buffer_to_string()
2109 strOutLen -= elem.len; in android_log_buffer_to_string()
2112 memcpy(strOut, elem.data.string, strOutLen); in android_log_buffer_to_string()
2120 if (elem.complete) { in android_log_buffer_to_string()
2125 (is_real_element(elem.type) || (elem.type == EVENT_TYPE_LIST_STOP))) { in android_log_buffer_to_string()
2137 } while ((elem.type != EVENT_TYPE_UNKNOWN) && !overflow && !elem.complete); in android_log_buffer_to_string()
2152 if ((elem.type == EVENT_TYPE_UNKNOWN) && !elem.complete) { in android_log_buffer_to_string()