/illumos-gate/usr/src/cmd/oawk/ |
H A D | token.c | 30 struct tok struct 33 } tok[] = { variable in typeref:struct:tok 124 else if (n < LASTTOKEN) printf("lex: %s\n", tok[n-257].tnm); 133 return (tok[n-257].tnm);
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_parse.c | 72 token tok; local 75 get_token(&tok); 76 switch (tok.kind) { 100 scan(TOK_SEMICOLON, &tok); 247 token tok; local 254 scan(TOK_IDENT, &tok); 255 defp->def_name = tok.str; 256 scan(TOK_LBRACE, &tok); 269 scan(TOK_SEMICOLON, &tok); 270 peek(&tok); 286 token tok; local 391 token tok; local 420 token tok; local 433 token tok; local 568 token tok; local 617 token tok; local 688 token tok; local 751 token tok; local [all...] |
/illumos-gate/usr/src/lib/libwrap/ |
H A D | hosts_access.c | 204 char *tok; local 213 for (tok = strtok(list, sep); tok != 0; tok = strtok((char *) 0, sep)) { 214 if (STR_EQ(tok, "EXCEPT")) /* EXCEPT: give up */ 216 if (match_fn(tok, request)) { /* YES: look for exceptions */ 217 while ((tok = strtok((char *) 0, sep)) && STR_NE(tok, "EXCEPT")) 219 return (tok == 0 || list_match((char *) 0, request, match_fn) == 0); 227 static int server_match(tok, reques [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strsep.c | 71 char *tok; local 75 for (tok = s; ; ) { 85 return (tok);
|
/illumos-gate/usr/src/cmd/sendmail/db/clib/ |
H A D | strsep.c | 81 char *tok; local 85 for (tok = s;;) { 95 return (tok);
|
/illumos-gate/usr/src/boot/lib/libc/string/ |
H A D | strsep.c | 56 char *tok; local 60 for (tok = s;;) { 70 return (tok);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | strtok.c | 60 char *tok; local 82 tok = s - 1; 84 tok = s; 101 return (tok);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_macro.c | 224 mdoc_macros[n->tok].flags & MDOC_EXPLICIT) 226 n->line, n->pos, mdoc_macronames[n->tok]); 294 n->tok); 326 rew_alt(int tok) argument 328 switch (tok) { 362 return tok; 367 rew_elem(struct roff_man *mdoc, int tok) argument 375 assert(tok == n->tok); 385 find_pending(struct roff_man *mdoc, int tok, in argument 1417 parse_rest(struct roff_man *mdoc, int tok, int line, int *pos, char *buf) argument [all...] |
H A D | man.c | 87 roff_body_alloc(man, line, offs, man->last->tok); 113 if (man->last->tok != MAN_SH && 114 man->last->tok != MAN_SS) { 163 int tok; local 181 tok = (i > 0 && i < 4) ? man_hash_find(mac) : TOKEN_NONE; 183 if (tok == TOKEN_NONE) { 223 man_breakscope(man, tok); 228 assert(man_macros[tok].fp); 229 (*man_macros[tok].fp)(man, tok, l 259 man_breakscope(struct roff_man *man, int tok) argument [all...] |
H A D | man_macro.c | 100 man_macros[n->tok].flags & MAN_SCOPED) { 104 man_macronames[n->tok]); 118 man_macros[n->tok].fp == blk_exp) 121 man_macronames[n->tok]); 153 rew_scope(struct roff_man *man, int tok) argument 160 if (tok == MAN_RS && n->child == NULL && 161 (n->tok == MAN_P || n->tok == MAN_PP || n->tok == MAN_LP)) 180 if (tok ! [all...] |
H A D | mdoc.c | 122 assert(tok > TOKEN_NONE && tok < MDOC_MAX); 124 (*mdoc_macros[tok].fp)(mdoc, tok, line, ppos, pos, buf); 128 mdoc_tail_alloc(struct roff_man *mdoc, int line, int pos, int tok) argument 132 p = roff_node_alloc(mdoc, line, pos, ROFFT_TAIL, tok); 138 mdoc_endbody_alloc(struct roff_man *mdoc, int line, int pos, int tok, argument 145 p = roff_node_alloc(mdoc, line, pos, ROFFT_BODY, tok); 156 int tok, struct mdoc_arg *args) 160 p = roff_node_alloc(mdoc, line, pos, ROFFT_BLOCK, tok); 155 mdoc_block_alloc(struct roff_man *mdoc, int line, int pos, int tok, struct mdoc_arg *args) argument 182 mdoc_elem_alloc(struct roff_man *mdoc, int line, int pos, int tok, struct mdoc_arg *args) argument 337 int tok; local [all...] |
H A D | libman.h | 20 int tok, \
|
H A D | man_hash.c | 82 int tok; local 95 tok = y; 96 if (0 == strcmp(tmp, man_macronames[tok])) 97 return tok;
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceType.java | 258 String tok = st.nextToken(); 260 if (tok.equals(":") || tok.equals(".")) { 267 if (!tok.equalsIgnoreCase(Defaults.SERVICE_PREFIX)) { 273 type1 = type1 + tok.toLowerCase(); 282 tok = st.nextToken(); 301 tok = st.nextToken(); 303 if (!tok.equals(":")) { 326 tok = st.nextToken(); 330 if (tok [all...] |
H A D | Parser.java | 290 int tok = tk.nextToken(); 294 if (tok != OPAREN) { 305 tok = tk.nextToken(); 309 if (tok == AND || tok == OR) { 310 ret = parseFilterlist(tk, ev, locale, (char)tok, invert, eval); 312 } else if (tok == NOT) { 315 } else if (tok == StreamTokenizer.TT_WORD) { 330 tok = tk.nextToken(); 334 if (tok ! [all...] |
H A D | SLPV1SSrvMsg.java | 457 int tok = 0; 461 tok = eatWhite(tk); 466 if (tok == OPEN_PAREN) { 470 tok = eatWhite(tk); 477 int logOp = tok; 483 tok = tk.nextToken(); 487 if (tok == StreamTokenizer.TT_WORD) { 540 tok = eatWhite(tk); 542 if (tok != StreamTokenizer.TT_EOF) { 567 int tok [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | strsep.c | 65 char *tok; local 69 for (tok = s;;) { 79 return (tok);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | MICwrap.c | 59 dh_token_desc tok; local 61 dh_mic_t mic = &tok.ver.dh_version_u.body.dh_token_body_desc_u.sign; 88 tok.ver.verno = cntx->proto_version; 89 tok.ver.dh_version_u.body.type = DH_MIC; 100 * non serialized tok and the context keys. 102 if ((*minor = __make_token(token, message, &tok, &keys)) 129 dh_token_desc tok; local 131 dh_mic_t mic = &tok.ver.dh_version_u.body.dh_token_body_desc_u.sign; 154 /* Deserialize token into tok using messaget and keys */ 156 &tok, 223 dh_token_desc tok; local 314 dh_token_desc tok; local [all...] |
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | env.c | 37 char *tok; local 43 tok = strtok_r(envstr, token, &lasts); 44 while (tok) { 50 lp->l_libname = strdup(tok); 53 tok = strtok_r(NULL, token, &lasts);
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 159 char *tok, buf[BUFSIZ]; local 194 tok = strtok(buf, " \t"); 195 if (namematch("service=", tok, service)) { 232 char *tok, buf[BUFSIZ]; local 244 tok = strtok(buf, " \t"); 245 if (namematch("service=", tok, service)) { 246 tok = strtok((char *)0, " \t"); 247 if (namematch("device=", tok, device)) { 326 char *tok; local 329 while ((tok 393 char **tptr, *tok; local 427 char **tptr, *tok; local 732 char *tok; local [all...] |
/illumos-gate/usr/src/cmd/awk/ |
H A D | maketab.c | 115 int i, n, tok; local 130 n = sscanf(buf, "%1c %s %s %d", &c, def, name, &tok); 134 if (tok < FIRSTTOKEN || tok > LASTTOKEN) { 136 tok, buf); 139 names[tok-FIRSTTOKEN] = malloc(strlen(name)+1); 140 strcpy(names[tok-FIRSTTOKEN], name); 141 printf("\t(uchar *) \"%s\",\t/* %d */\n", name, tok);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | sysfiles.c | 159 char *tok, buf[BUFSIZ]; local 166 tok = strtok(buf, " \t"); 167 if (namematch("service=", tok, service)) { 203 char *tok, buf[BUFSIZ]; local 217 tok = strtok(buf, " \t"); 218 if (namematch("service=", tok, service)) { 219 tok = strtok((char *)0, " \t"); 220 if ( namematch("device=", tok, device)) { 302 { char *tok; local 305 while ((tok 367 { char **tptr, *tok; local 401 { char **tptr, *tok; local 747 char *tok; local [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | expr.c | 192 register int tok; local 268 tok = expr_or(state, np); 269 if (tok != ')') 296 register int tok = getnode(state, np); local 298 while (tok==':') 305 tok = getnode(state, &rp); 342 return tok; 347 register int tok = expr_cond(state, np); local 349 while ((tok&~T_OP)==T_MULT) 352 int op = (tok 376 register int tok = expr_mult(state, np); local 396 register int tok = expr_add(state, np); local 464 register int tok = expr_cmp(state, np); local 480 register int tok = expr_and(state, np); local [all...] |
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | map_v2.c | 66 typedef void (* gts_efunc_t)(Mapfile *mf, Token tok, ld_map_tkval_t *tkv); 144 Token tok; local 149 switch (tok = ld_map_gettoken(mf, 0, &tkv)) { 152 return (tok); 158 return (tok); 164 return (tok); 182 mf_fatal(mf, err, lhs, ld_map_tokenstr(tok, &tkv, &inv_buf)); 448 Token tok; local 452 switch (tok = ld_map_gettoken(mf, 0, &tkv)) { 456 return (tok); 478 Token tok; local 507 Token tok; local 536 Token tok; local 565 Token tok; local 595 Token tok; local 647 Token tok, op_tok; local 780 Token tok; local 882 Token tok; local 943 Token tok; local 997 Token tok; local 1076 Token tok; local 1190 Token tok; local 1257 gts_efunc_at_dv_allow(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 1290 gts_efunc_at_dv_require(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 1324 gts_efunc_dir_depend_versions(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 1461 gts_efunc_at_seg_assign_file_basename(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 1498 gts_efunc_at_seg_assign_file_objname(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 1535 gts_efunc_at_seg_assign_file_path(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 1603 Token tok; local 1677 gts_efunc_at_seg_assign_is_name(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 1710 gts_efunc_at_seg_assign_type(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 1806 Token tok; local 1901 Token tok; local 1923 Token tok; local 2046 Token tok; local 2150 Token tok; local 2258 Token tok; local 2346 gts_efunc_dir_load_segment(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 2437 gts_efunc_dir_note_segment(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 2465 gts_efunc_dir_null_segment(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 2497 Token tok; local 2610 Token tok; local 2644 gts_efunc_at_sym_aux(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 2678 gts_efunc_at_sym_filter(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 2751 Token tok; local 2904 gts_efunc_at_sym_type(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 3011 Token tok; local 3182 gts_efunc_dir_symbol_version(Mapfile *mf, Token tok, ld_map_tkval_t *tkv) argument 3280 Token tok; /* current token. */ local [all...] |
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | abienv.c | 58 char *tok; local 66 tok = strtok(envstr, comma); 67 while (tok != NULL) { 73 lp->l_libname = tok; 76 tok = strtok(NULL, comma); 84 char *tok; local 101 tok = strtok(envstr, comma); 102 while (tok != NULL) { 103 appendlist(list, listend, tok, 1); 104 tok 113 char *tok; local [all...] |