Home
last modified time | relevance | path

Searched refs:charcount (Results 1 – 9 of 9) sorted by relevance

/third_party/gettext/gettext-tools/src/
Dx-lisp.c357 int charcount; /* number of used 'token_char's */ member
368 tp->charcount = 0; in init_token()
382 if (tp->charcount == tp->allocated) in grow_token()
423 tp->chars[tp->charcount].ch = curr.ch; in read_token()
424 tp->chars[tp->charcount].attribute = a_escaped; in read_token()
425 tp->charcount++; in read_token()
438 tp->chars[tp->charcount].ch = curr.ch; in read_token()
439 tp->chars[tp->charcount].attribute = a_escaped; in read_token()
440 tp->charcount++; in read_token()
444 tp->chars[tp->charcount].ch = curr.ch; in read_token()
[all …]
Dx-librep.c172 int charcount; /* number of used 'token_char's */ member
182 tp->charcount = 0; in init_token()
196 if (tp->charcount == tp->allocated) in grow_token()
245 tp->chars[tp->charcount++] = c; in read_token()
256 tp->chars[tp->charcount++] = c; in read_token()
287 nfirst = tp->charcount + 1; in read_token()
289 else if (tp->charcount == nfirst in read_token()
301 nfirst = tp->charcount + 1; in read_token()
326 nfirst = tp->charcount + 1; in read_token()
331 nfirst = tp->charcount; in read_token()
[all …]
Dx-scheme.c196 int charcount; /* number of used 'token_char's */ member
206 tp->charcount = 0; in init_token()
220 if (tp->charcount == tp->allocated) in grow_token()
235 tp->chars[tp->charcount++] = first; in read_token()
250 tp->chars[tp->charcount++] = c; in read_token()
499 int len = tp->charcount; in is_number()
662 n = op->token->charcount; in string_of_object()
895 if ((token.charcount == 2 in read_object()
900 || (token.charcount == 3 in read_object()
903 || (token.charcount == 4 in read_object()
[all …]
Dx-sh.c243 int charcount; /* number of used 'token_char's */ member
253 tp->charcount = 0; in init_token()
267 if (tp->charcount == tp->allocated) in grow_token()
281 n = tp->charcount; in string_of_token()
473 n = wp->token->charcount; in string_of_word()
489 n = wp->token->charcount; in substring_of_word()
899 if (all_unquoted_name_characters && wp->token->charcount > 0 && c == '=') in read_word()
908 || (wp->token->charcount > 0 && c >= '0' && c <= '9')); in read_word()
1104 wp->token->chars[wp->token->charcount++] = in read_word()
1133 string.chars[string.charcount++] = (unsigned char) c; in read_word()
[all …]
Dx-tcl.c326 int charcount; /* number of used 'token_char's */ member
336 tp->charcount = 0; in init_token()
350 if (tp->charcount == tp->allocated) in grow_token()
452 n = wp->token->charcount; in string_of_word()
672 wp->token->chars[wp->token->charcount++] = '$'; in accumulate_word()
698 wp->token->chars[wp->token->charcount++] = utf8buf[i]; in accumulate_word()
706 wp->token->chars[wp->token->charcount++] = (unsigned char) c; in accumulate_word()
Dx-elisp.c170 int charcount; /* number of used 'token_char's */ member
180 tp->charcount = 0; in init_token()
194 if (tp->charcount == tp->allocated) in grow_token()
307 tp->chars[tp->charcount++] = c; in read_token()
317 tp->chars[tp->charcount] = '\0'; in read_token()
422 n = op->token->charcount; in string_of_object()
889 op->token->chars[op->token->charcount++] = c; in read_object()
895 op->token->chars[op->token->charcount++] = c; in read_object()
/third_party/glib/glib/pcre/
Dpcre_dfa_exec.c2796 int charcount = local_offsets[rc+1] - local_offsets[rc]; in internal_dfa_exec() local
2802 while (p < pp) if (NOT_FIRSTCHAR(*p++)) charcount--; in internal_dfa_exec()
2805 if (charcount > 0) in internal_dfa_exec()
2807 ADD_NEW_DATA(-(state_offset + LINK_SIZE + 1), 0, (charcount - 1)); in internal_dfa_exec()
2826 int charcount, matched_count; in internal_dfa_exec() local
2866 charcount = local_offsets[1] - local_offsets[0]; in internal_dfa_exec()
2867 if (charcount == 0) break; in internal_dfa_exec()
2868 local_ptr += charcount; /* Advance temporary position ptr */ in internal_dfa_exec()
2900 charcount = (int)(pp - p); in internal_dfa_exec()
2902 if (utf) while (p < pp) if (NOT_FIRSTCHAR(*p++)) charcount--; in internal_dfa_exec()
[all …]
/third_party/pcre2/pcre2/src/
Dpcre2_dfa_match.c2899 PCRE2_SIZE charcount = local_offsets[rc+1] - local_offsets[rc]; in internal_dfa_match() local
2905 while (p < pp) if (NOT_FIRSTCU(*p++)) charcount--; in internal_dfa_match()
2908 if (charcount > 0) in internal_dfa_match()
2911 (int)(charcount - 1)); in internal_dfa_match()
2933 PCRE2_SIZE charcount, matched_count; in internal_dfa_match() local
2983 charcount = local_offsets[1] - local_offsets[0]; in internal_dfa_match()
2984 if (charcount == 0) break; in internal_dfa_match()
2985 local_ptr += charcount; /* Advance temporary position ptr */ in internal_dfa_match()
3019 charcount = (PCRE2_SIZE)(pp - p); in internal_dfa_match()
3021 if (utf) while (p < pp) if (NOT_FIRSTCU(*p++)) charcount--; in internal_dfa_match()
[all …]
/third_party/gn/src/gn/
Dsetup.cc245 int charcount = MultiByteToWideChar(CP_ACP, 0, mb.data(), mb_length, NULL, 0); in SysMultiByteTo16() local
246 if (charcount == 0) in SysMultiByteTo16()
250 wide.resize(charcount); in SysMultiByteTo16()
252 charcount); in SysMultiByteTo16()