/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_parse.c | 72 token tok; in get_definition() local 247 token tok; in def_struct() local 270 peek(&tok); in def_struct() 286 token tok; in def_program() local 391 token tok; in def_enum() local 420 token tok; in def_const() local 433 token tok; in def_union() local 568 token tok; in get_declaration() local 617 token tok; in get_prog_declaration() local 688 token tok; in get_type() local [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_macro.c | 210 assert(tok >= MDOC_Dd && tok < MDOC_MAX); in mdoc_macro() 381 assert(tok == n->tok); in rew_elem() 427 roff_name[tok], roff_name[n->tok]); in find_pending() 987 if (tok == MDOC_It && n->tok == MDOC_Bl) { in blk_full() 1020 if (tok != MDOC_Sh && (n->tok == MDOC_Sh || in blk_full() 1021 (tok != MDOC_Ss && (n->tok == MDOC_Ss || in blk_full() 1022 (tok != MDOC_It && n->tok == MDOC_It))))) in blk_full() 1129 if (tok == MDOC_Bd || tok == MDOC_Bk) { in blk_full() 1199 if (nl && tok != MDOC_Bd && tok != MDOC_Bl && tok != MDOC_Rs) in blk_full() 1433 tok != MDOC_St && tok != MDOC_Xr) { in in_line_argn() [all …]
|
H A D | man_macro.c | 88 assert(tok >= MAN_TH && tok <= MAN_MAX); in man_macro() 168 (n->tok == MAN_P || n->tok == MAN_PP || n->tok == MAN_LP)) in rew_scope() 187 if (tok != MAN_SH && (n->tok == MAN_SH || in rew_scope() 188 (tok != MAN_SS && (n->tok == MAN_SS || in rew_scope() 209 switch (tok) { in blk_close() 254 if (tok == MAN_RE) { in blk_close() 302 if (tok == MAN_RS) { in blk_exp() 345 rew_scope(man, tok); in blk_imp() 347 if (tok == MAN_SH || tok == MAN_SS) in blk_imp() 369 (tok == MAN_TP || tok == MAN_TQ || n == man->last)) { in blk_imp() [all …]
|
H A D | man.c | 128 if (man->last->tok == MAN_SH || man->last->tok == MAN_SS) in man_ptext() 182 enum roff_tok tok; in man_pmacro() local 189 tok = TOKEN_NONE; in man_pmacro() 248 (*man_macro(tok)->fp)(man, tok, ln, ppos, &offs, buf); in man_pmacro() 293 if (n->tok < MAN_TH || in man_breakscope() 299 "%s breaks %s", roff_name[tok], roff_name[n->tok]); in man_breakscope() 311 (tok == ROFF_nf || tok == ROFF_fi) && in man_breakscope() 312 (man->last->tok == MAN_SH || man->last->tok == MAN_SS)) { in man_breakscope() 325 if (man->flags & MAN_BLINE && tok != ROFF_nf && tok != ROFF_fi && in man_breakscope() 326 (tok < MAN_TH || man_macro(tok)->flags & MAN_XSCOPE)) { in man_breakscope() [all …]
|
H A D | mdoc.c | 113 enum roff_tok tok, struct mdoc_arg *args) in mdoc_block_alloc() argument 122 switch (tok) { in mdoc_block_alloc() 149 switch (tok) { in mdoc_elem_alloc() 312 enum roff_tok tok; in mdoc_pmacro() local 318 tok = TOKEN_NONE; in mdoc_pmacro() 323 if (tok == TOKEN_NONE) { in mdoc_pmacro() 362 if (n == NULL || tok == MDOC_It || tok == MDOC_El || in mdoc_pmacro() 363 roff_tok_transparent(tok)) { in mdoc_pmacro() 364 (*mdoc_macro(tok)->fp)(mdoc, tok, ln, sv, &offs, buf); in mdoc_pmacro() 386 (*mdoc_macro(tok)->fp)(mdoc, tok, ln, sv, &offs, buf); in mdoc_pmacro() [all …]
|
H A D | manpath.c | 171 size_t linesz, tok, toklen; in manconf_file() local 190 for (tok = 0; tok < sizeof(toks)/sizeof(toks[0]); tok++) { in manconf_file() 191 toklen = strlen(toks[tok]); in manconf_file() 202 switch (tok) { in manconf_file() 238 size_t len, tok; in manconf_output() local 240 for (tok = 0; tok < ntoks; tok++) { in manconf_output() 241 len = strlen(toks[tok]); in manconf_output() 242 if (strncmp(cp, toks[tok], len) == 0 && in manconf_output() 253 if (tok < 8 && *cp == '\0') { in manconf_output() 257 if (tok > 8 && tok < ntoks && *cp != '\0') { in manconf_output() [all …]
|
H A D | man_validate.c | 120 switch (n->tok) { in man_validate() 123 n->tok = MAN_PP; in man_validate() 159 if (n->tok < ROFF_MAX) { in man_validate() 163 assert(n->tok >= MAN_TH && n->tok < MAN_MAX); in man_validate() 351 if (nc->tok == MAN_PP || nc->tok == ROFF_sp || nc->tok == ROFF_br) { in post_SH() 353 "%s after %s", roff_name[nc->tok], roff_name[n->tok]); in post_SH() 365 roff_name[nc->tok], roff_name[n->tok]); in post_SH() 375 "%s", roff_name[n->tok]); in post_UR() 399 (n->child->tok == ROFF_sp || n->child->tok == ROFF_br)) { in check_par() 403 roff_name[n->tok]); in check_par() [all …]
|
H A D | mdoc_validate.c | 348 (np->tok != MDOC_Cd && np->tok != MDOC_Fd)) in mdoc_validate() 355 (np->tok == MDOC_Sh || np->tok == MDOC_Ss))) in mdoc_validate() 386 assert(n->tok >= MDOC_Dd && n->tok < MDOC_MAX); in mdoc_validate() 525 tok = mdoc->last->tok; in post_delim() 535 if (*lc == ')' && (tok == MDOC_Nd || tok == MDOC_Sh || in post_delim() 536 tok == MDOC_Ss || tok == MDOC_Fo)) in post_delim() 558 tok = mdoc->last->tok; in post_delim_nb() 617 tok == MDOC_Li || tok == MDOC_Pq || tok == MDOC_Sy)) { in post_delim_nb() 2636 (nch->tok == MDOC_Pp || nch->tok == ROFF_br || in post_section() 2644 (nch->tok == MDOC_Pp || nch->tok == ROFF_br)) { in post_section() [all …]
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | hosts_access.c | 202 char *tok; local 211 for (tok = strtok(list, sep); tok != 0; tok = strtok((char *) 0, sep)) { 215 while ((tok = strtok((char *) 0, sep)) && STR_NE(tok, "EXCEPT")) 226 char *tok; in server_match() 242 char *tok; in client_match() 257 static int host_match(tok, host) in host_match() argument 258 char *tok; in host_match() 354 || (NOT_INADDR(tok) && string_match(tok, eval_hostname(host)))); 361 char *tok; in string_match() 373 } else if (tok[(n = strlen(tok)) - 1] == '.') { /* prefix */ [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceType.java | 260 if (tok.equals(":") || tok.equals(".")) { in parse() 282 tok = st.nextToken(); in parse() 301 tok = st.nextToken(); in parse() 303 if (!tok.equals(":")) { in parse() 326 tok = st.nextToken(); in parse() 330 if (tok.equals(".")) { in parse() 331 tok = st.nextToken(); in parse() 337 na = tok.toLowerCase(); in parse() 353 tok = st.nextToken(); in parse() 359 if (!tok.equals(":")) { in parse() [all …]
|
H A D | SLPV1SSrvMsg.java | 457 int tok = 0; in parseInternal() local 477 int logOp = tok; in parseInternal() 567 int tok = 0; in parseLogicalExpression() local 618 int tok = 0; in parse() local 620 tok = eatWhite(tk); in parse() 868 int tok = tk.ttype; in parseOperator() local 878 if (tok != EQUAL_OP && tok != NOT_OP && in parseOperator() 879 tok != LESS_OP && tok != GREATER_OP) { in parseOperator() 948 int tok = 0; in parseValue() local 953 tok = eatWhite(tk); in parseValue() [all …]
|
H A D | Parser.java | 294 if (tok != OPAREN) { in parseFilter() 305 tok = tk.nextToken(); in parseFilter() 309 if (tok == AND || tok == OR) { in parseFilter() 312 } else if (tok == NOT) { in parseFilter() 330 tok = tk.nextToken(); in parseFilter() 334 if (tok != CPAREN) { in parseFilter() 534 switch (tok) { in parseOp() 542 if (tok == STAR) { in parseOp() 561 tok = EQUAL; in parseOp() 565 return (char)tok; in parseOp() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | MICwrap.c | 57 dh_token_desc tok; in __dh_gss_sign() local 86 tok.ver.verno = cntx->proto_version; in __dh_gss_sign() 87 tok.ver.dh_version_u.body.type = DH_MIC; in __dh_gss_sign() 127 dh_token_desc tok; in __dh_gss_verify() local 154 &tok, &keys)) != DH_SUCCESS) { in __dh_gss_verify() 180 xdr_free(xdr_dh_token_desc, (char *)&tok); in __dh_gss_verify() 221 dh_token_desc tok; in __dh_gss_seal() local 247 tok.ver.verno = cntx->proto_version; in __dh_gss_seal() 248 tok.ver.dh_version_u.body.type = DH_WRAP; in __dh_gss_seal() 264 __free_signature(&tok.verifier); in __dh_gss_seal() [all …]
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | map_v2.c | 150 Token tok; in gettoken_eq() local 454 Token tok; in gettoken_optattr() local 484 Token tok; in gettoken_term() local 513 Token tok; in gettoken_semicolon() local 542 Token tok; in gettoken_leftbkt() local 571 Token tok; in gettoken_int() local 663 Token tok; in gettoken_str() local 848 Token tok; in parse_segment_flags() local 950 Token tok; in parse_cap_mask() local 1011 Token tok; in parse_cap_list() local [all …]
|
H A D | map.c | 88 if (tok != TK_STRING) { in map_cap() 89 if (tok != TK_ERROR) in map_cap() 332 if (tok != TK_ERROR) in map_equal() 599 Token tok; in map_colon() local 616 if (tok == TK_ERROR) in map_colon() 807 if (tok != TK_ERROR) in map_atsign() 860 Token tok; in map_dash() local 876 if ((tok != TK_STRING) && (tok != TK_EQUAL)) { in map_dash() 956 Token tok; in map_version() local 1003 switch (tok) { in map_version() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | expr.c | 192 register int tok; in getnode() local 269 if (tok != ')') in getnode() 298 while (tok==':') in expr_cond() 342 return tok; in expr_cond() 371 return tok; in expr_mult() 391 return tok; in expr_add() 459 return tok; in expr_cmp() 465 while (tok=='&') in expr_and() 475 return tok; in expr_and() 481 while (tok=='|') in expr_or() [all …]
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 326 char *tok; in tokenize() local 330 *tokptr++ = tok; in tokenize() 393 char **tptr, *tok; in setfile() local 402 for (tok = strtok(line, ":"); tok != NULL; tok = strtok(NULL, ":")) { in setfile() 404 if (*tok != '/') in setfile() 427 char **tptr, *tok; in setioctl() local 434 for (tok = strtok(line, ":"); tok != NULL; tok = strtok(NULL, ":")) { in setioctl() 732 char *tok; in setconfig() local 739 if ((tok != NULL) && (*tok != '#')) { in setconfig() 752 tok); in setconfig() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | sysfiles.c | 159 char *tok, buf[BUFSIZ]; local 203 char *tok, buf[BUFSIZ]; local 302 { char *tok; in tokenize() local 306 *tokptr++ = tok; in tokenize() 367 { char **tptr, *tok; local 376 for (tok = strtok(line, ":"); tok != NULL; 379 if ( *tok != '/' ) 401 { char **tptr, *tok; local 408 for (tok = strtok(line, ":"); tok != NULL; 744 char *tok; in setconfig() local [all …]
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | plcysubr.c | 312 char *tok; in delete_one_entry() local 324 tok = fep->entry; in delete_one_entry() 325 while (*tok && isspace(*tok)) in delete_one_entry() 326 tok++; in delete_one_entry() 328 if (*tok == '\0') { in delete_one_entry() 336 tail = tok + strlen(tok); in delete_one_entry() 346 len = strlen(tok); in delete_one_entry() 540 char *tok; in check_plcy_entry() local 570 if (*tok == '(') { in check_plcy_entry() 646 for (tok = strtok_r(dup, "\n", &s1); tok != NULL; in update_device_policy() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_fsctl_odx.c | 354 tok = smb_srm_zalloc(sr, sizeof (*tok)); in smb2_fsctl_odx_read() 355 tok->tok_type = tok_type; in smb2_fsctl_odx_read() 356 tok->tok_reserved = 0; in smb2_fsctl_odx_read() 423 tok = smb_srm_zalloc(sr, sizeof (*tok)); in smb2_fsctl_odx_write() 497 switch (tok->tok_type) { in smb2_fsctl_odx_write() 873 &tok->tok_type, in smb_odx_get_token() 875 &tok->tok_len); in smb_odx_get_token() 878 tok->tok_type = BSWAP_32(tok->tok_type); in smb_odx_get_token() 879 tok->tok_len = BSWAP_16(tok->tok_len); in smb_odx_get_token() 888 switch (tok->tok_type) { in smb_odx_get_token() [all …]
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | abienv.c | 56 char *tok; in build_env_list() local 64 tok = strtok(envstr, comma); in build_env_list() 65 while (tok != NULL) { in build_env_list() 71 lp->l_libname = tok; in build_env_list() 74 tok = strtok(NULL, comma); in build_env_list() 82 char *tok; in build_env_list1() local 99 tok = strtok(envstr, comma); in build_env_list1() 100 while (tok != NULL) { in build_env_list1() 102 tok = strtok(NULL, comma); in build_env_list1() 111 char *tok; in env_to_intlist() local [all …]
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | util.c | 246 char *tok, *_arg; in dlflags() local 261 if ((tok = strtok_r(_arg, separate, &lasts)) != NULL) { in dlflags() 264 if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_RELATIVE)) == 0) in dlflags() 266 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_EXEC)) == 0) in dlflags() 272 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_SELF)) == 0) in dlflags() 274 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_WEAK)) == 0) in dlflags() 276 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_ALL)) == 0) in dlflags() 278 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_MEMORY)) == 0) in dlflags() 280 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_STRIP)) == 0) in dlflags() 288 crle->c_name, tok); in dlflags() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getfilter.c | 105 char *tag, **tok; in ldap_init_getfilter_buf() local 120 &buffer_len, &tok )) > 0 ) { in ldap_init_getfilter_buf() 126 tag = tok[ 0 ]; in ldap_init_getfilter_buf() 127 NSLDAPI_FREE( tok ); in ldap_init_getfilter_buf() 160 tok[ i - 2 ] = tok[ i ]; in ldap_init_getfilter_buf() 180 nextfip->lfi_filter = tok[ 0 ]; in ldap_init_getfilter_buf() 181 nextfip->lfi_desc = tok[ 1 ]; in ldap_init_getfilter_buf() 182 if ( tok[ 2 ] != NULL ) { in ldap_init_getfilter_buf() 194 NSLDAPI_FREE( tok[ 2 ] ); in ldap_init_getfilter_buf() 195 tok[ 2 ] = NULL; in ldap_init_getfilter_buf() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 215 char *tok; in parse_version() local 222 if (tok == NULL) in parse_version() 239 if (tok != NULL) in parse_version() 263 char *tok; in parse_path() local 312 char *tok; in parse_node() local 595 char *tok; in parse_prop() local 650 if (endptr != (tok + strlen(tok))) in parse_prop() 764 char *tok; in parse_refnode() local 856 char *tok; in parse_refprop() local 1085 char *tok; in parse_verbose() local [all …]
|
/illumos-gate/usr/src/common/definit/ |
H A D | definit.c | 169 char *tok; in definit_token() local 172 tok = NULL; in definit_token() 175 tok = strtok_r(NULL, SEPARATORS, &state->di_tok); in definit_token() 177 if (tok == NULL) in definit_token() 178 tok = definit_nextline(state); in definit_token() 180 if (tok == NULL) in definit_token() 183 if (strchr(tok, '=') != NULL && *tok != '=') in definit_token() 184 return (tok); in definit_token()
|