HomeSort by: relevance | last modified time | path
    Searched defs:tok (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/lib/libc/string/
strtok_r.c 55 char *tok; local in function:__weak_alias
78 tok = s - 1;
94 return (tok);
wcstok.c 58 wchar_t *tok; local in function:wcstok
81 tok = s - 1;
97 return (tok);
stresep.c 70 char *tok; local in function:__weak_alias
78 for (tok = s;;) {
94 return tok;
  /src/usr.bin/ctags/
lisp.c 62 char tok[MAXTOKEN]; local in function:l_entries
106 (void)strlcpy(tok, lbp, sizeof(tok));
109 pfnote(tok, lineno);
yacc.c 62 char tok[MAXTOKEN]; local in function:y_entries
103 sp = tok;
118 pfnote(tok, lineno);
fortran.c 61 char tok[MAXTOKEN]; local in function:PF_funcs
133 (void)strlcpy(tok, lbp, sizeof(tok));
135 pfnote(tok, lineno);
C.c 70 char tok[MAXTOKEN]; /* token buffer */ local in function:c_entries
73 sp = tok; token = t_def = NO; t_level = -1; level = 0; lineno = 1;
105 endtok: if (sp > tok) {
108 sp = tok;
142 if (sp == tok) {
162 if (sp != tok)
174 pfnote(tok, curline);
200 if (sp != tok)
202 pfnote(tok, lineno);
216 if (sp == tok)
366 char tok[MAXTOKEN]; \/* storage buffer *\/ local in function:hash_entry
428 char tok[LINE_MAX]; \/* storage buffer *\/ local in function:str_entry
    [all...]
  /src/common/lib/libc/string/
strsep.c 74 char *tok; local in function:__weak_alias
81 for (tok = s;;) {
91 return (tok);
  /src/sys/arch/hpc/stand/libsa/
strtok.cpp 45 char *tok; local in function:strtok
65 tok = s - 1;
81 return (tok);
  /src/usr.sbin/gspa/gspa/
gsp_lex.c 85 int c, tok, x, len; local in function:yylex
101 tok = '.';
111 tok = ID;
114 tok = REGISTER;
125 tok = NUMBER;
139 tok = ID;
141 tok = NUMBER;
143 tok = 0; /* eof */
148 tok = 0;
159 tok = STRING
    [all...]
  /src/lib/libedit/TEST/
tc1.c 127 Tokenizer *tok; local in function:main
145 tok = tok_init(NULL); /* Initialize the tokenizer */
201 ncontinuation = tok_line(tok, li, &ac, &av, &cc, &co);
296 tok_reset(tok);
300 tok_end(tok);
wtc1.c 113 TokenizerW *tok; local in function:main
131 tok = tok_winit(NULL); /* Init the tokenizer */
182 ncontinuation = tok_wline(tok, li, &ac, &av, &cc, &co);
266 tok_wreset(tok);
270 tok_wend(tok);
  /src/lib/libedit/
parse.c 86 TokenizerW *tok; local in function:parse_line
88 tok = tok_winit(NULL);
89 tok_wstr(tok, line, &argc, &argv);
91 tok_wend(tok);
tokenizer.c 97 static void FUN(tok,finish)(TYPE(Tokenizer) *);
100 /* FUN(tok,finish)():
104 FUN(tok,finish)(TYPE(Tokenizer) *tok)
107 *tok->wptr = '\0';
108 if ((tok->flags & TOK_KEEP) || tok->wptr != tok->wstart) {
109 tok->argv[tok->argc++] = tok->wstart
378 FUN(tok,finish)(tok); local in function:FUN
446 FUN(tok,finish)(tok); local in function:FUN
    [all...]
  /src/lib/libpam/modules/pam_login_access/
login_access.c 137 char *tok; local in function:list_match
147 for (tok = strtok(list, sep); tok != 0; tok = strtok((char *) 0, sep)) {
148 if (strcasecmp(tok, "EXCEPT") == 0) /* EXCEPT: give up */
150 if ((match = (*match_fn)(tok, item)) != 0) /* YES */
156 while ((tok = strtok((char *) 0, sep)) && strcasecmp(tok, "EXCEPT"))
158 if (tok == 0 || list_match((char *) 0, item, match_fn) == NO)
177 user_match(const char *tok, const char *string
    [all...]
  /src/usr.bin/rpcgen/
rpc_parse.c 79 token tok; local in function:get_definition
82 get_token(&tok);
83 switch (tok.kind) {
108 scan(TOK_SEMICOLON, &tok);
122 token tok; local in function:def_struct
129 scan(TOK_IDENT, &tok);
130 defp->def_name = tok.str;
131 scan(TOK_LBRACE, &tok);
139 scan(TOK_SEMICOLON, &tok);
140 peek(&tok);
149 token tok; local in function:def_program
253 token tok; local in function:def_enum
282 token tok; local in function:def_const
295 token tok; local in function:def_union
413 token tok; local in function:get_declaration
466 token tok; local in function:get_prog_declaration
533 token tok; local in function:get_type
587 token tok; local in function:unsigned_dec
    [all...]
  /src/lib/libwrap/
hosts_access.c 231 char *tok; local in function:list_match
242 for (tok = strtok_r(list, sep, &last); tok != 0;
243 tok = strtok_r(NULL, sep, &last)) {
244 if (STR_EQ(tok, "EXCEPT")) /* EXCEPT: give up */
246 l = strlen(tok);
247 if (*tok == '[' && tok[l - 1] == ']') {
248 tok[l - 1] = '\0';
249 tok++
339 char tok[512]; local in function:hostfile_match
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/selftests/
i915_selftest.c 250 char *filter, *sep, *tok; local in function:apply_subtest_filter
254 for (sep = filter; (tok = strsep(&sep, ","));) {
258 if (*tok == '!') {
260 tok++;
263 if (*tok == '\0')
266 sl = strchr(tok, '/');
269 if (strcmp(tok, caller)) {
274 tok = sl;
277 if (strcmp(tok, name)) {
  /src/lib/libterminfo/
termcap.c 491 char *info, *ip, *token, *val, *p, tok[3]; local in function:captoinfo
506 tok[2] = '\0';
518 tok[0] = token[0];
519 tok[1] = token[1];
522 name = flagname(tok);
525 name = numname(tok);
528 name = strname(tok);
  /src/usr.bin/xlint/lint1/
debug.c 554 debug_token(const token *tok)
556 switch (tok->kind) {
558 debug_printf("%s", tok->u.identifier);
561 val_t c = tok->u.constant;
576 debug_printf("%s", tok->u.string_literals.data);
579 debug_printf("%s", tok->u.punctuator);
589 const balanced_token *tok = seq->tokens + i; local in function:debug_balanced_token_sequence
590 if (tok->kind != '\0') {
591 debug_printf("%s%c", sep, tok->kind);
592 debug_balanced_token_sequence(&tok->u.tokens)
    [all...]
  /src/sbin/ccdconfig/
ccdconfig.c 588 char *cp, *tok; local in function:flags_to_val
605 for (tok = cp; (tok = strtok(tok, ",")) != NULL; tok = NULL) {
607 if (strcmp(tok, flagvaltab[i].fv_flag) == 0)
  /src/usr.bin/fgen/
fgen.h 33 struct tok { struct
38 #define TOKEN struct tok
  /src/bin/ksh/
expr.c 126 enum token tok; /* token from token() */ member in struct:expr_state
203 if (es->tok == END) {
204 es->tok = LIT;
210 if (es->tok != END)
235 switch (es->tok) {
251 s = opinfo[(int)es->tok].name;
293 op = es->tok;
309 if (es->tok != CLOSE_PAREN)
314 if (es->tok != VAR)
325 if (es->tok == O_PLUSPLUS || es->tok == O_MINUSMINUS)
    [all...]
  /src/usr.bin/mail/
list.c 942 enum token_e tok; local in function:markall_core
970 while ((tok = scan(bufp)) != TEOL) {
971 if (tok == TERROR)
977 switch (tok) {
999 * The main tok switch.
1001 switch (tok) {
1017 /* convert tok to TXOR and put
1020 tok = TXOR;
1021 regret(tok);
1049 tok = scan(bufp)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_pci.c 940 char *s, *p, *tok; local in function:force_probe
961 for (p = s, ret = false; (tok = strsep(&p, ",")) != NULL; ) {
964 if (kstrtou16(tok, 16, &val) == 0 && val == device_id) {

Completed in 274 milliseconds

1 2