/glibc-2.36/string/ |
D | bug-strtok1.c | 9 char *token; in do_test() local 17 token = strtok (cp, "ab"); in do_test() 18 result |= token == NULL || strcmp (token, "x"); in do_test() 19 printf ("token: %s (%d)\n", token ? token : "NULL", result); in do_test() 20 token = strtok(0, "ab"); in do_test() 21 result |= token != NULL; in do_test() 22 printf ("token: %s (%d)\n", token ? token : "NULL", result); in do_test() 23 token = strtok(0, "a"); in do_test() 24 result |= token != NULL; in do_test() 25 printf ("token: %s (%d)\n", token ? token : "NULL", result); in do_test() [all …]
|
/glibc-2.36/locale/programs/ |
D | linereader.c | 37 static struct token *get_toplvl_escape (struct linereader *lr); 38 static struct token *get_symname (struct linereader *lr); 39 static struct token *get_ident (struct linereader *lr); 40 static struct token *get_string (struct linereader *lr, 191 struct token * 206 lr->token.tok = tok_eof; in lr_token() 207 return &lr->token; in lr_token() 212 lr->token.tok = tok_eol; in lr_token() 213 return &lr->token; in lr_token() 233 lr->token.tok = tok_eol; in lr_token() [all …]
|
D | linereader.h | 35 struct token struct 74 struct token token; member 90 extern struct token *lr_token (struct linereader *lr,
|
D | charmap.c | 313 struct token *now = lr_token (cmfile, NULL, NULL, NULL, verbose); in parse_charmap() 315 struct token *arg; in parse_charmap() 521 cmfile->token.val.ucs4); in parse_charmap() 599 cmfile->token.val.str.startmb, in parse_charmap() 600 cmfile->token.val.str.lenmb); in parse_charmap() 604 cmfile->token.val.ucs4); in parse_charmap() 699 cmfile->token.val.ucs4); in parse_charmap() 754 cmfile->token.val.ucs4); in parse_charmap() 797 cmfile->token.val.ucs4); in parse_charmap() 834 cmfile->token.val.ucs4); in parse_charmap()
|
D | repertoire.c | 149 struct token *now = lr_token (repfile, NULL, NULL, NULL, verbose); in repertoire_read() 151 struct token *arg; in repertoire_read() 303 repfile->token.val.str.startmb, in repertoire_read() 304 repfile->token.val.str.lenmb); in repertoire_read()
|
D | locfile.c | 110 struct token *now = lr_token (ldfile, charmap, NULL, NULL, verbose); in locfile_read() 112 struct token *arg; in locfile_read() 957 enum token_t token, int locale, const char *locale_name, in handle_copy() argument 960 struct token *now; in handle_copy() 1001 if (now->tok != token) in handle_copy() 1005 lr_ignore_rest (ldfile, now->tok == token); in handle_copy()
|
D | ld-identification.c | 249 struct token *now; in identification_read() 250 struct token *arg; in identification_read() 251 struct token *cattok; in identification_read()
|
D | ld-measurement.c | 138 struct token *now; in measurement_read() 139 struct token *arg; in measurement_read()
|
D | ld-paper.c | 138 struct token *now; in paper_read() 139 struct token *arg; in paper_read()
|
D | ld-telephone.c | 194 struct token *now; in telephone_read() 195 struct token *arg; in telephone_read()
|
D | ld-name.c | 178 struct token *now; in name_read() 179 struct token *arg; in name_read()
|
D | ld-messages.c | 203 struct token *now; in messages_read() 235 struct token *arg; in messages_read()
|
D | charmap-kw.gperf | 21 #include "locfile-token.h"
|
D | ld-address.c | 374 struct token *now; in address_read() 375 struct token *arg; in address_read()
|
D | locfile-token.h | 249 enum token_t token; member
|
D | locfile.h | 53 struct localedef_t *result, enum token_t token,
|
D | ld-numeric.c | 155 struct token *now; in numeric_read()
|
D | ld-ctype.c | 1256 get_character (struct token *now, const struct charmap_t *charmap, in get_character() 1342 struct token *now, in charclass_symbolic_ellipsis() 1455 struct token *now, uint32_t last_wch, in charclass_ucs4_ellipsis() 1580 struct token *now, char *last_charcode, in charclass_charcode_ellipsis() 1784 read_widestring (struct linereader *ldfile, struct token *now, in read_widestring() 1856 struct token *now, const struct charmap_t *charmap, in read_translit_entry() 1948 struct token *now = lr_token (ldfile, charmap, NULL, repertoire, in read_translit_ignore_entry() 2070 struct token *now; in ctype_read()
|
/glibc-2.36/posix/ |
D | regcomp.c | 59 static Idx fetch_number (re_string_t *input, re_token_t *token, 61 static int peek_token (re_token_t *token, re_string_t *input, 66 re_token_t *token, reg_syntax_t syntax, 69 re_token_t *token, reg_syntax_t syntax, 72 re_token_t *token, reg_syntax_t syntax, 75 re_token_t *token, reg_syntax_t syntax, 78 re_dfa_t *dfa, re_token_t *token, 81 re_token_t *token, reg_syntax_t syntax, 85 re_token_t *token, int token_len, 91 re_token_t *token); [all …]
|
/glibc-2.36/inet/ |
D | ruserpass.c | 46 static int token (void); 124 while ((t = token())) switch(t) { in ruserpass() 132 if (token() != ID) in ruserpass() 156 while ((t = token()) && t != MACHINE && t != DEFAULT) switch(t) { in ruserpass() 159 if (token()) { in ruserpass() 183 if (token() && *apass == 0) { in ruserpass() 214 token (void) in libc_hidden_def()
|
/glibc-2.36/benchtests/ |
D | bench-strtok.c | 27 char *token; in oldstrtok() local 41 token = s; in oldstrtok() 42 s = strpbrk (token, delim); in oldstrtok() 45 olds = rawmemchr (token, '\0'); in oldstrtok() 52 return token; in oldstrtok()
|
D | bench-strcoll.c | 97 char *token = strtok (tmp, delim); in count_words() local 98 while (token != NULL) in count_words() 100 if (*token != '\0') in count_words() 102 token = strtok (NULL, delim); in count_words()
|
/glibc-2.36/conform/ |
D | conformtest.py | 426 def check_token(self, bad_tokens, token): argument 431 if token.startswith('_'): 433 if token in glibcconform.KEYWORDS[self.standard]: 435 if token in self.allow: 438 if fnmatch.fnmatch(token, pattern): 440 bad_tokens.add(token) 657 for token in re.split(r'[^A-Za-z0-9_]+', line): 658 if re.match(r'[A-Za-z_]', token): 659 self.check_token(bad_tokens, token) 661 for token in sorted(bad_tokens): [all …]
|
/glibc-2.36/manual/ |
D | string.texi | 2071 that may surround the token being extracted. All the initial bytes 2074 next token. The end of the token is found by looking for the next 2077 pointer to the beginning of the token in @var{newstring} is returned. 2080 byte beyond the one that marked the end of the previous token. 2107 a set of delimiters that may surround the token being extracted. All 2110 delimiters marks the beginning of the next token. The end of the token 2115 and the pointer to the beginning of the token in @var{newstring} is 2119 wide character beyond the one that marked the end of the previous token. 2142 exactly one token) the string can (and in the @glibcadj{} case will) be 2165 char *token, *cp; [all …]
|
/glibc-2.36/intl/ |
D | plural.y | 151 %token <op> EQUOP2 CMPOP2 ADDOP2 MULOP2 152 %token <num> NUMBER
|