Home
last modified time | relevance | path

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

123456

/titanic_51/usr/src/cmd/rpcgen/
H A Drpc_parse.c72 token tok; in get_definition() local
75 get_token(&tok); in get_definition()
76 switch (tok.kind) { in get_definition()
100 scan(TOK_SEMICOLON, &tok); in get_definition()
247 token tok; in def_struct() local
254 scan(TOK_IDENT, &tok); in def_struct()
255 defp->def_name = tok.str; in def_struct()
256 scan(TOK_LBRACE, &tok); in def_struct()
269 scan(TOK_SEMICOLON, &tok); in def_struct()
270 peek(&tok); in def_struct()
286 token tok; def_program() local
391 token tok; def_enum() local
420 token tok; def_const() local
433 token tok; def_union() local
568 token tok; get_declaration() local
617 token tok; get_prog_declaration() local
688 token tok; get_type() local
751 token tok; unsigned_dec() local
[all...]
/titanic_51/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)) {
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 argument
243 client_match(tok,request) client_match() argument
259 host_match(tok,host) host_match() argument
362 string_match(tok,string) string_match() argument
[all...]
/titanic_51/usr/src/cmd/mandoc/
H A Dmdoc_macro.c221 mdoc_macros[n->tok].flags & MDOC_EXPLICIT) in mdoc_macroend()
223 n->line, n->pos, mdoc_macronames[n->tok]); in mdoc_macroend()
291 mdoc_body_alloc(mdoc, n->line, n->pos, n->tok); in rew_pending()
322 rew_alt(enum mdoct tok) in rew_alt() argument
324 switch (tok) { in rew_alt()
358 return(tok); in rew_alt()
364 rew_elem(struct mdoc *mdoc, enum mdoct tok) in rew_elem() argument
372 assert(tok == n->tok); in rew_elem()
409 mdoc->last->parent->tok ! in dword()
1412 parse_rest(struct mdoc * mdoc,enum mdoct tok,int line,int * pos,char * buf) parse_rest() argument
[all...]
H A Dman_macro.c110 man_macros[n->tok].flags & MAN_SCOPED) { in man_unscope()
114 man_macronames[n->tok]); in man_unscope()
128 man_macros[n->tok].flags & MAN_EXPLICIT) in man_unscope()
131 man_macronames[n->tok]); in man_unscope()
161 if (type == MAN_BLOCK && ntok == n->parent->tok && in rew_block()
164 return(ntok == n->tok ? REW_HALT : REW_NOHALT); in rew_block()
173 rew_dohalt(enum mant tok, enum man_type type, const struct man_node *n) in rew_dohalt() argument
192 if (type == n->type && tok == n->tok) { in rew_dohalt()
193 if (MAN_EXPLICIT & man_macros[n->tok] in rew_dohalt()
246 rew_scope(enum man_type type,struct man * man,enum mant tok) rew_scope() argument
[all...]
H A Dman.c154 man->last->tok = MAN_MAX; in man_alloc1()
187 if (p->tok == MAN_SH || p->tok == MAN_SS) in man_node_append()
217 enum man_type type, enum mant tok) in man_node_alloc() argument
225 p->tok = tok; in man_node_alloc()
234 man_elem_alloc(struct man *man, int line, int pos, enum mant tok) in man_elem_alloc() argument
238 p = man_node_alloc(man, line, pos, MAN_ELEM, tok); in man_elem_alloc()
244 man_head_alloc(struct man *man, int line, int pos, enum mant tok) in man_head_alloc() argument
248 p = man_node_alloc(man, line, pos, MAN_HEAD, tok); in man_head_alloc()
254 man_body_alloc(struct man * man,int line,int pos,enum mant tok) man_body_alloc() argument
264 man_block_alloc(struct man * man,int line,int pos,enum mant tok) man_block_alloc() argument
442 enum mant tok; man_pmacro() local
538 man_breakscope(struct man * man,enum mant tok) man_breakscope() argument
[all...]
H A Dmdoc.c142 mdoc->last->tok = MDOC_MAX; in mdoc_alloc1()
254 assert(tok < MDOC_MAX); in mdoc_macro()
257 if (tok == MDOC_Dt) { in mdoc_macro()
263 } else if ( ! (mdoc_macros[tok].flags & MDOC_PROLOGUE)) { in mdoc_macro()
267 mdoc_macronames[tok], buf + *pos); in mdoc_macro()
274 (*mdoc_macros[tok].fp)(mdoc, tok, line, ppos, pos, buf); in mdoc_macro()
358 enum mdoct tok, enum mdoc_type type) in node_alloc() argument
366 p->tok = tok; in node_alloc()
383 mdoc_tail_alloc(struct mdoc * mdoc,int line,int pos,enum mdoct tok) mdoc_tail_alloc() argument
393 mdoc_head_alloc(struct mdoc * mdoc,int line,int pos,enum mdoct tok) mdoc_head_alloc() argument
406 mdoc_body_alloc(struct mdoc * mdoc,int line,int pos,enum mdoct tok) mdoc_body_alloc() argument
417 mdoc_endbody_alloc(struct mdoc * mdoc,int line,int pos,enum mdoct tok,struct mdoc_node * body,enum mdoc_endbody end) mdoc_endbody_alloc() argument
435 mdoc_block_alloc(struct mdoc * mdoc,int line,int pos,enum mdoct tok,struct mdoc_arg * args) mdoc_block_alloc() argument
466 mdoc_elem_alloc(struct mdoc * mdoc,int line,int pos,enum mdoct tok,struct mdoc_arg * args) mdoc_elem_alloc() argument
709 enum mdoct tok; mdoc_pmacro() local
[all...]
H A Dmdoc_validate.c301 if (n->sec != SEC_SYNOPSIS || n->parent->tok != MDOC_Fd) in mdoc_valid_pre()
315 p = mdoc_valids[n->tok].pre; in mdoc_valid_pre()
356 p = mdoc_valids[n->tok].post; in mdoc_valid_post()
408 if (MDOC_Bd == node->tok) in pre_display()
414 "%s in Bd", mdoc_macronames[n->tok]); in pre_display()
714 n->line, n->pos, mdoc_macronames[n->tok]); in pre_std()
723 n->line, n->pos, mdoc_macronames[n->tok]); in pre_obsolete()
784 assert(MDOC_Bf == np->parent->tok); in post_bf()
859 "%s %s", mdoc_macronames[n->tok], in post_eoln()
952 n->line, n->pos, mdoc_macronames[n->tok]); in post_vt()
1264 enum mdoct tok; rewrite_macro2len() local
[all...]
/titanic_51/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceType.java258 String tok = st.nextToken(); in parse() local
260 if (tok.equals(":") || tok.equals(".")) { in parse()
267 if (!tok.equalsIgnoreCase(Defaults.SERVICE_PREFIX)) { in parse()
273 type1 = type1 + tok.toLowerCase(); 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 in parse()
[all...]
H A DSLPV1SSrvMsg.java457 int tok = 0; in parseInternal() local
461 tok = eatWhite(tk); in parseInternal()
466 if (tok == OPEN_PAREN) { in parseInternal()
470 tok = eatWhite(tk); in parseInternal()
477 int logOp = tok; in parseInternal()
483 tok = tk.nextToken(); in parseInternal()
487 if (tok == StreamTokenizer.TT_WORD) { in parseInternal()
540 tok = eatWhite(tk); in parseInternal()
542 if (tok != StreamTokenizer.TT_EOF) { in parseInternal()
567 int tok in parseLogicalExpression() local
618 int tok = 0; parse() local
868 int tok = tk.ttype; parseOperator() local
948 int tok = 0; parseValue() local
1095 int tok = tk.nextToken(); eatWhite() local
[all...]
H A DParser.java290 int tok = tk.nextToken(); in parseFilter() local
294 if (tok != OPAREN) { in parseFilter()
305 tok = tk.nextToken(); in parseFilter()
309 if (tok == AND || tok == OR) { in parseFilter()
310 ret = parseFilterlist(tk, ev, locale, (char)tok, invert, eval); in parseFilter()
312 } else if (tok == NOT) { in parseFilter()
315 } else if (tok == StreamTokenizer.TT_WORD) { in parseFilter()
330 tok = tk.nextToken(); in parseFilter()
334 if (tok ! in parseFilter()
390 int tok = tk.nextToken(); parseFilterlist() local
424 int tok = tk.nextToken(); parseItem() local
530 int tok = tk.nextToken(); parseOp() local
590 int tok = tk.nextToken(); parseValue() local
645 int tok = tk.nextToken(); parsePotentialNonASCII() local
[all...]
/titanic_51/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A DMICwrap.c59 dh_token_desc tok; in __dh_gss_sign() local
61 dh_mic_t mic = &tok.ver.dh_version_u.body.dh_token_body_desc_u.sign; in __dh_gss_sign()
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()
100 * non serialized tok and the context keys. in __dh_gss_sign()
102 if ((*minor = __make_token(token, message, &tok, &keys)) in __dh_gss_sign()
129 dh_token_desc tok; in __dh_gss_verify() local
131 dh_mic_t mic = &tok.ver.dh_version_u.body.dh_token_body_desc_u.sign; in __dh_gss_verify()
154 /* Deserialize token into tok using messaget and keys */ in __dh_gss_verify()
156 &tok, in __dh_gss_verify()
223 dh_token_desc tok; __dh_gss_seal() local
314 dh_token_desc tok; __dh_gss_unseal() local
[all...]
/titanic_51/usr/src/cmd/sgs/libld/common/
H A Dmap_v2.c66 typedef void (* gts_efunc_t)(Mapfile *mf, Token tok, ld_map_tkval_t *tkv);
144 Token tok; in gettoken_eq() local
149 switch (tok = ld_map_gettoken(mf, 0, &tkv)) { in gettoken_eq()
152 return (tok); in gettoken_eq()
158 return (tok); in gettoken_eq()
164 return (tok); in gettoken_eq()
182 mf_fatal(mf, err, lhs, ld_map_tokenstr(tok, &tkv, &inv_buf)); in gettoken_eq()
448 Token tok; in gettoken_optattr() local
452 switch (tok = ld_map_gettoken(mf, 0, &tkv)) { in gettoken_optattr()
456 return (tok); in gettoken_optattr()
478 Token tok; gettoken_term() local
507 Token tok; gettoken_semicolon() local
536 Token tok; gettoken_leftbkt() local
565 Token tok; gettoken_int() local
595 Token tok; gettoken_str() local
647 Token tok, op_tok; parse_attributes() local
780 Token tok; parse_segment_flags() local
882 Token tok; parse_cap_mask() local
943 Token tok; parse_cap_list() local
997 Token tok; at_cap_hw() local
1076 Token tok; at_cap_sf() local
1190 Token tok; dir_capability() local
1257 gts_efunc_at_dv_allow(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_dv_allow() argument
1290 gts_efunc_at_dv_require(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_dv_require() argument
1324 gts_efunc_dir_depend_versions(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_dir_depend_versions() argument
1461 gts_efunc_at_seg_assign_file_basename(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_seg_assign_file_basename() argument
1498 gts_efunc_at_seg_assign_file_objname(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_seg_assign_file_objname() argument
1535 gts_efunc_at_seg_assign_file_path(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_seg_assign_file_path() argument
1603 Token tok; at_seg_assign_flags() local
1677 gts_efunc_at_seg_assign_is_name(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_seg_assign_is_name() argument
1710 gts_efunc_at_seg_assign_type(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_seg_assign_type() argument
1806 Token tok; at_seg_assign() local
1901 Token tok; at_seg_flags() local
1923 Token tok; at_seg_is_order() local
2046 Token tok; at_seg_os_order() local
2150 Token tok; at_seg_size_symbol() local
2258 Token tok; dir_segment_inner() local
2346 gts_efunc_dir_load_segment(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_dir_load_segment() argument
2437 gts_efunc_dir_note_segment(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_dir_note_segment() argument
2465 gts_efunc_dir_null_segment(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_dir_null_segment() argument
2497 Token tok; dir_segment_order() local
2610 Token tok; dir_stack() local
2644 gts_efunc_at_sym_aux(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_sym_aux() argument
2678 gts_efunc_at_sym_filter(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_sym_filter() argument
2751 Token tok; at_sym_flags() local
2904 gts_efunc_at_sym_type(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_at_sym_type() argument
3011 Token tok; parse_symbol_attributes() local
3182 gts_efunc_dir_symbol_version(Mapfile * mf,Token tok,ld_map_tkval_t * tkv) gts_efunc_dir_symbol_version() argument
3280 Token tok; /* current token. */ ld_map_parse_v2() local
[all...]
H A Dmap.c73 Token tok; /* Current token. */ in map_cap() local
86 while ((tok = ld_map_gettoken(mf, TK_F_STRLC, &tkv)) != in map_cap()
88 if (tok != TK_STRING) { in map_cap()
89 if (tok != TK_ERROR) in map_cap()
319 Token tok; /* Current token. */ in map_equal() local
329 while ((tok = ld_map_gettoken(mf, TK_F_STRLC, &tkv)) != in map_equal()
331 if (tok != TK_STRING) { in map_equal()
332 if (tok != TK_ERROR) in map_equal()
599 Token tok; in map_colon() local
614 while (((tok in map_colon()
803 Token tok; /* Current token. */ map_atsign() local
830 Token tok; /* current token. */ map_pipe() local
860 Token tok; map_dash() local
956 Token tok; map_version() local
1215 Token tok; /* current token. */ ld_map_parse_v1() local
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Dexpr.c192 register int tok; in getnode() local
268 tok = expr_or(state, np); in getnode()
269 if (tok != ')') in getnode()
296 register int tok = getnode(state, np); in expr_cond() local
298 while (tok==':') in expr_cond()
305 tok = getnode(state, &rp); in expr_cond()
342 return tok; in expr_cond()
347 register int tok = expr_cond(state, np); in expr_mult() local
349 while ((tok&~T_OP)==T_MULT) in expr_mult()
352 int op = (tok in expr_mult()
376 register int tok = expr_mult(state, np); expr_add() local
396 register int tok = expr_add(state, np); expr_cmp() local
464 register int tok = expr_cmp(state, np); expr_and() local
480 register int tok = expr_and(state, np); expr_or() local
[all...]
/titanic_51/usr/src/lib/libcmd/common/
H A Dexpr.c192 register int tok; in getnode() local
268 tok = expr_or(state, np); in getnode()
269 if (tok != ')') in getnode()
296 register int tok = getnode(state, np); in expr_cond() local
298 while (tok==':') in expr_cond()
305 tok = getnode(state, &rp); in expr_cond()
342 return tok; in expr_cond()
347 register int tok = expr_cond(state, np); in expr_mult() local
349 while ((tok&~T_OP)==T_MULT) in expr_mult()
352 int op = (tok&T_OP); in expr_mult()
[all …]
/titanic_51/usr/src/lib/libnsl/dial/
H A Dsysfiles.c159 char *tok, buf[BUFSIZ]; in scansys() local
194 tok = strtok(buf, " \t"); in scansys()
195 if (namematch("service=", tok, service)) { in scansys()
232 char *tok, buf[BUFSIZ]; in scancfg() local
244 tok = strtok(buf, " \t"); in scancfg()
245 if (namematch("service=", tok, service)) { in scancfg()
246 tok = strtok((char *)0, " \t"); in scancfg()
247 if (namematch("device=", tok, device)) { in scancfg()
326 char *tok; in tokenize() local
329 while ((tok in tokenize()
393 char **tptr, *tok; setfile() local
427 char **tptr, *tok; setioctl() local
732 char *tok; setconfig() local
[all...]
/titanic_51/usr/src/cmd/bnu/
H A Dsysfiles.c159 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; in tokenize() local
305 while ((tok in tokenize()
367 { char **tptr, *tok; global() local
401 { char **tptr, *tok; global() local
747 char *tok; setconfig() local
[all...]
/titanic_51/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()
334 tail = strpbrk(tok, "\t\n "); in delete_one_entry()
336 tail = tok + strlen(tok); in delete_one_entry()
341 min = strchr(tok, ' in delete_one_entry()
539 char *tok; check_plcy_entry() local
632 char *dup, *tok, *s1; update_device_policy() local
[all...]
/titanic_51/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()
267 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_DEPENDS)) == 0) in dlflags()
269 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_PRELOAD)) == 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_ORI in dlflags()
[all...]
/titanic_51/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()
103 appendlist(list, listend, tok, 1); in build_env_list1()
104 tok in build_env_list1()
113 char *tok; env_to_intlist() local
[all...]
/titanic_51/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()
140 nextflp->lfl_pattern = tok[ 0 ]; in ldap_init_getfilter_buf()
148 ldap_free_strarray( tok ); in ldap_init_getfilter_buf()
152 nextflp->lfl_delims = tok[ 1 ]; in ldap_init_getfilter_buf()
163 tok[ i - 2 ] = tok[ i ]; in ldap_init_getfilter_buf()
173 ldap_free_strarray( tok ); in ldap_init_getfilter_buf()
[all...]
/titanic_51/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c215 char *tok; in parse_version() local
221 tok = strtok_r(line, WHITESPACE, &last); in parse_version()
222 if (tok == NULL) in parse_version()
238 tok = strtok_r(last, WHITESPACE, &last); in parse_version()
239 if (tok != NULL) in parse_version()
263 char *tok; in parse_path() local
272 tok = strtok_r(last, WHITESPACE, &last); in parse_path()
273 if (tok != NULL) in parse_path()
312 char *tok; in parse_node() local
318 tok in parse_node()
595 char *tok; parse_prop() local
764 char *tok; parse_refnode() local
856 char *tok; parse_refprop() local
956 char *tok = NULL; parse_table() local
1085 char *tok; parse_verbose() local
1132 char *tok; parse_and_tokenize_line() local
[all...]
/titanic_51/usr/src/cmd/awk/
H A Dmaketab.c115 int i, n, tok; in main() local
130 n = sscanf(buf, "%1c %s %s %d", &c, def, name, &tok); in main()
134 if (tok < FIRSTTOKEN || tok > LASTTOKEN) { in main()
136 tok, buf); in main()
139 names[tok-FIRSTTOKEN] = malloc(strlen(name)+1); in main()
140 strcpy(names[tok-FIRSTTOKEN], name); in main()
141 printf("\t(uchar *) \"%s\",\t/* %d */\n", name, tok); in main()
/titanic_51/usr/src/cmd/fm/eversholt/common/
H A Desclex.c86 static int record(int tok, const char *s);
89 static void dopragma(const char *tok);
679 int tok; member
685 record(int tok, const char *s) in record() argument
699 Recorded[Recordnext].tok = tok; in record()
702 yylval.tok.s = s; in record()
703 yylval.tok.file = File; in record()
704 yylval.tok.line = Line; in record()
705 return (tok); in record()
917 dopragma(const char * tok) dopragma() argument
[all...]
/titanic_51/usr/src/cmd/sgs/link_audit/common/
H A Denv.c37 char *tok; in build_env_list() local
43 tok = strtok_r(envstr, token, &lasts); in build_env_list()
44 while (tok) { in build_env_list()
50 lp->l_libname = strdup(tok); in build_env_list()
53 tok = strtok_r(NULL, token, &lasts); in build_env_list()

123456