Lines Matching refs:segment_begin
14 log_var_extract_segment(const char* segment_begin) { in log_var_extract_segment() argument
16 for (end = segment_begin; *end != '\0' && *end != '|'; end++) { in log_var_extract_segment()
22 log_var_matches_segment(const char *segment_begin, const char *segment_end, in log_var_matches_segment() argument
24 assert(segment_begin <= segment_end); in log_var_matches_segment()
27 ptrdiff_t segment_len = segment_end - segment_begin; in log_var_matches_segment()
30 if (segment_len == 1 && *segment_begin == '.') { in log_var_matches_segment()
34 return strncmp(segment_begin, log_var_begin, segment_len) == 0; in log_var_matches_segment()
36 return strncmp(segment_begin, log_var_begin, segment_len) == 0 in log_var_matches_segment()
49 const char *segment_begin = log_var_names; in log_var_update_state() local
61 segment_begin); in log_var_update_state()
63 if (log_var_matches_segment(segment_begin, segment_end, in log_var_update_state()
76 segment_begin = segment_end + 1; in log_var_update_state()