Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 25 of 140) sorted by relevance

123456

/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_parse.c72 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 Dmdoc_macro.c210 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 Dman_macro.c88 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 Dman.c128 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 Dmdoc.c113 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 Dmanpath.c171 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 Dman_validate.c120 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 Dmdoc_validate.c348 (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 Dhosts_access.c204 char *tok; local
213 for (tok = strtok(list, sep); tok != 0; tok = strtok((char *) 0, sep)) {
217 while ((tok = strtok((char *) 0, sep)) && STR_NE(tok, "EXCEPT"))
228 char *tok; in server_match()
244 char *tok; in client_match()
259 static int host_match(tok, host) in host_match() argument
260 char *tok; in host_match()
356 || (NOT_INADDR(tok) && string_match(tok, eval_hostname(host))));
363 char *tok; in string_match()
375 } else if (tok[(n = strlen(tok)) - 1] == '.') { /* prefix */
[all …]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceType.java260 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 DSLPV1SSrvMsg.java457 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 DParser.java294 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/cmd/sgs/libld/common/
H A Dmap_v2.c149 Token tok; in gettoken_eq() local
453 Token tok; in gettoken_optattr() local
483 Token tok; in gettoken_term() local
512 Token tok; in gettoken_semicolon() local
541 Token tok; in gettoken_leftbkt() local
570 Token tok; in gettoken_int() local
662 Token tok; in gettoken_str() local
847 Token tok; in parse_segment_flags() local
949 Token tok; in parse_cap_mask() local
1010 Token tok; in parse_cap_list() local
[all …]
H A Dmap.c88 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/lib/gss_mechs/mech_dh/backend/mech/
H A DMICwrap.c59 dh_token_desc tok; in __dh_gss_sign() local
88 tok.ver.verno = cntx->proto_version; in __dh_gss_sign()
89 tok.ver.dh_version_u.body.type = DH_MIC; in __dh_gss_sign()
129 dh_token_desc tok; in __dh_gss_verify() local
156 &tok, &keys)) != DH_SUCCESS) { in __dh_gss_verify()
182 xdr_free(xdr_dh_token_desc, (char *)&tok); in __dh_gss_verify()
223 dh_token_desc tok; in __dh_gss_seal() local
249 tok.ver.verno = cntx->proto_version; in __dh_gss_seal()
250 tok.ver.dh_version_u.body.type = DH_WRAP; in __dh_gss_seal()
266 __free_signature(&tok.verifier); in __dh_gss_seal()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dexpr.c192 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 Dsysfiles.c326 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/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_odx.c343 tok = smb_srm_zalloc(sr, sizeof (*tok)); in smb2_fsctl_odx_read()
344 tok->tok_type = tok_type; in smb2_fsctl_odx_read()
345 tok->tok_reserved = 0; in smb2_fsctl_odx_read()
412 tok = smb_srm_zalloc(sr, sizeof (*tok)); in smb2_fsctl_odx_write()
499 switch (tok->tok_type) { in smb2_fsctl_odx_write()
732 &tok->tok_type, in smb_odx_get_token()
734 &tok->tok_len); in smb_odx_get_token()
737 tok->tok_type = BSWAP_32(tok->tok_type); in smb_odx_get_token()
738 tok->tok_len = BSWAP_16(tok->tok_len); in smb_odx_get_token()
747 switch (tok->tok_type) { in smb_odx_get_token()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dsysfiles.c159 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;
747 char *tok; in setconfig() local
[all …]
/illumos-gate/usr/src/cmd/modload/
H A Dplcysubr.c312 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/cmd/sgs/crle/common/
H A Dutil.c245 char *tok, *_arg; in dlflags() local
260 if ((tok = strtok_r(_arg, separate, &lasts)) != NULL) { in dlflags()
263 if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_RELATIVE)) == 0) in dlflags()
265 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_EXEC)) == 0) in dlflags()
271 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_SELF)) == 0) in dlflags()
273 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_WEAK)) == 0) in dlflags()
275 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_ALL)) == 0) in dlflags()
277 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_MEMORY)) == 0) in dlflags()
279 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_STRIP)) == 0) in dlflags()
287 crle->c_name, tok); in dlflags()
[all …]
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dabienv.c58 char *tok; in build_env_list() local
66 tok = strtok(envstr, comma); in build_env_list()
67 while (tok != NULL) { in build_env_list()
73 lp->l_libname = tok; in build_env_list()
76 tok = strtok(NULL, comma); in build_env_list()
84 char *tok; in build_env_list1() local
101 tok = strtok(envstr, comma); in build_env_list1()
102 while (tok != NULL) { in build_env_list1()
104 tok = strtok(NULL, comma); in build_env_list1()
113 char *tok; in env_to_intlist() local
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetfilter.c108 char *tag, **tok; in ldap_init_getfilter_buf() local
123 &buffer_len, &tok )) > 0 ) { in ldap_init_getfilter_buf()
129 tag = tok[ 0 ]; in ldap_init_getfilter_buf()
130 NSLDAPI_FREE( tok ); in ldap_init_getfilter_buf()
163 tok[ i - 2 ] = tok[ i ]; in ldap_init_getfilter_buf()
183 nextfip->lfi_filter = tok[ 0 ]; in ldap_init_getfilter_buf()
184 nextfip->lfi_desc = tok[ 1 ]; in ldap_init_getfilter_buf()
185 if ( tok[ 2 ] != NULL ) { in ldap_init_getfilter_buf()
197 NSLDAPI_FREE( tok[ 2 ] ); in ldap_init_getfilter_buf()
198 tok[ 2 ] = NULL; in ldap_init_getfilter_buf()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c215 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 Ddefinit.c169 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()

123456