Home
last modified time | relevance | path

Searched refs:tok (Results 76 – 100 of 138) sorted by relevance

123456

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dldaputf8.c150 char *tok; in ldap_utf8strtok_r() local
167 tok = LDAP_UTF8PREV(sp); in ldap_utf8strtok_r()
183 return tok; in ldap_utf8strtok_r()
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcrypto.c218 MD5_verifier(gss_buffer_t tok, /* The buffer to sign */ in MD5_verifier() argument
233 MD5Update(&md5_ctx, (unsigned char *)tok->value, tok->length); in MD5_verifier()
355 char *tok, /* The token to sign */ in __mk_sig() argument
376 buf.value = tok; in __mk_sig()
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DAttributeVerifier.java1287 String tok = ""; in parseAttribute() local
1305 if (tok.length() > 0) { in parseAttribute()
1307 new StreamTokenizer(new StringReader(tok)); in parseAttribute()
1318 tok = tok + line; in parseAttribute()
1329 if (tok.length() > 0) { in parseAttribute()
1331 new StreamTokenizer(new StringReader(tok)); in parseAttribute()
1488 String tok = ""; in parseAttribute() local
1501 tok = tok + tk.sval; in parseAttribute()
1510 if (tok.length() > 0) { in parseAttribute()
1512 new StreamTokenizer(new StringReader(tok)); in parseAttribute()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c159 char *tok; in loadpolicy() local
245 while (tok = strtok(NULL, "\n\t ")) { in loadpolicy()
246 if (parse_plcy_token(tok, dp)) { in loadpolicy()
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy2.c1460 tok = -1; in cpyact()
1474 tok = numbval; in cpyact()
1480 if (tok < 0) in cpyact()
1481 tok = fdtype(*prdptr[nprod]); in cpyact()
1483 ".%ws", typeset[tok]); in cpyact()
1543 if (tok < 0) in cpyact()
1544 tok = in cpyact()
1549 typeset[tok]); in cpyact()
1596 if (j + offset <= 0 && tok < 0) in cpyact()
1605 if (tok < 0) in cpyact()
[all …]
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c359 char *tok = NULL; in scan_label() local
368 if ((tok = strtok_r(optsarg, KV_TOKEN_DELIMIT, &lasts)) == NULL) in scan_label()
371 if (verify_label(tok, progname) != 0) { in scan_label()
376 while ((tok = strtok_r(NULL, KV_TOKEN_DELIMIT, &lasts)) != NULL) { in scan_label()
377 if (verify_label(tok, progname) != 0) { in scan_label()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c1183 char *tok = cmd_string; in args_to_rtcmd() local
1194 tok = argv[0]; in args_to_rtcmd()
1196 tok = strtok(cmd_string, ws); in args_to_rtcmd()
1203 switch (*tok) { in args_to_rtcmd()
1226 keyword_str = tok; in args_to_rtcmd()
1227 if (*tok == '-') { in args_to_rtcmd()
1229 key = keyword(tok + 1); in args_to_rtcmd()
1232 key = keyword(tok); in args_to_rtcmd()
1306 if (!getaddr(rcip, RTA_IFA, tok, atype)) { in args_to_rtcmd()
1412 syntax_bad_keyword(tok + 1); in args_to_rtcmd()
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap_core.c1767 Token tok; in gettoken_ident() local
1792 tok = (*mf->mf_next & 0x80) ? in gettoken_ident()
1794 switch (tok) { in gettoken_ident()
1971 Token tok; in ld_map_gettoken() local
2012 switch (tok) { in ld_map_gettoken()
2096 return (tok); in ld_map_gettoken()
2100 return (tok); in ld_map_gettoken()
2118 switch (tok) { in ld_map_tokenstr()
2190 Token tok; in mapfile_version() local
2210 tok = (*mf->mf_next & 0x80) ? in mapfile_version()
[all …]
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcaps.c157 char *text, *tok, *cp; in capabilities() local
232 for (cp = strtok_r(text, " ", &tok); in capabilities()
233 cp != NULL; cp = strtok_r(NULL, " ", &tok)) { in capabilities()
/illumos-gate/usr/src/cmd/mandoc/
H A Droff_term.c63 assert(n->tok < ROFF_MAX); in roff_term_pre()
64 (*roff_term_pre_acts[n->tok])(p, n); in roff_term_pre()
86 p->flags |= n->tok == ROFF_ce ? TERMP_CENTER : TERMP_RIGHT; in roff_term_pre_ce()
H A Dlibman.h23 enum roff_tok tok, \
H A Dlibmdoc.h24 enum roff_tok tok, \
/illumos-gate/usr/src/cmd/vi/misc/
H A Dctags.c461 char tok[BUFSIZ]; in C_entries() local
655 (void) strncpy(tok, token, tp-token+1); in C_entries()
656 tok[tp-token+1] = 0; in C_entries()
658 pfnote(tok, pfline, f); in C_entries()
813 char tok[LINEBUFSIZ]; local
878 (void) strncpy(tok,
880 tok[toklen] = '\0';
883 pfnote(tok, lineno, TRUE);
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Descparse.y60 struct tokstr tok; member
85 %token <tok> PROP MASK ARROW EVENT ENGINE ASRU FRU COUNT CONFIG
86 %token <tok> ID QUOTE NUMBER IF PATHFUNC
87 %type <tok> enameid
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c330 nfs_is_security_opt(char *tok) in nfs_is_security_opt() argument
370 char *tok, *next = NULL; in make_security_list() local
375 for (tok = securitymodes; tok != NULL; tok = next) { in make_security_list()
376 next = strchr(tok, ':'); in make_security_list()
381 tok = nfs_space_alias(tok); in make_security_list()
393 group, tok, proto); in make_security_list()
420 sa_free_attr_string(tok); in make_security_list()
601 char *tok, *next; in invalid_security() local
602 for (next = NULL, tok = value; tok != NULL; in invalid_security()
603 tok = next) { in invalid_security()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_lex.l99 int tok = yypcb->pcb_token;
101 return (tok);
478 tok = DT_TOK_EPRED;
480 tok = DT_TOK_DIV;
483 return (tok);
/illumos-gate/usr/src/lib/libcpc/i386/
H A Devent_pentium.c495 flagstostr(char *buf, int flag0, int flag1, int defvalue, char *tok) in flagstostr() argument
500 (void) sprintf(buf, ",%s", tok); in flagstostr()
502 (void) sprintf(buf, ",%s0", tok); in flagstostr()
505 (void) sprintf(buf, ",%s1", tok); in flagstostr()
510 masktostr(char *buf, uint8_t bits, char *tok) in masktostr() argument
514 (void) sprintf(buf, ",%s=0x%x", tok, bits); in masktostr()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dlex.c301 register int tok = lextoken(lp); in sh_lex() local
314 return(tok); in sh_lex()
2107 tok[0] = sym; in fmttoken()
2109 tok[n++] = sym; in fmttoken()
2130 if(tok[0]=='<') in fmttoken()
2131 tok[n++] = '>'; in fmttoken()
2137 tok[n++] = sym; in fmttoken()
2139 tok[n] = 0; in fmttoken()
2140 return(tok); in fmttoken()
2152 register int tok = lp->token; in sh_syntax() local
[all …]
/illumos-gate/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c417 char *tmp, *lasts, *tok; in pam_sm_setcred() local
423 while ((tok = strtok_r(tmp, ";", &lasts)) != NULL) { in pam_sm_setcred()
424 if (strncmp(tok, PROJECT, PROJSZ) == 0) { in pam_sm_setcred()
425 projname = tok + PROJSZ; in pam_sm_setcred()
/illumos-gate/usr/src/lib/mpss/common/
H A Dmpss.c307 char *tok, *tokheap = NULL, *tokstack = NULL, *tokarg; in __mpssmain() local
430 tok = lbuf; in __mpssmain()
432 if (!fnmatch(execname, tok, cwd)) { in __mpssmain()
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c1058 char *tok = NULL, *tokp = NULL; in _write_new_defattrs() local
1070 if ((tok = strtok_r(tokp, KV_DELIMITER, &lasts)) != NULL) { in _write_new_defattrs()
1071 (void) fprintf(fp, "%s", tok); in _write_new_defattrs()
1074 while ((tok = strtok_r(NULL, KV_DELIMITER, &lasts)) != NULL) { in _write_new_defattrs()
1077 (void) fprintf(fp, "%s", tok); in _write_new_defattrs()
1097 char *tok = NULL, *tokp = NULL; in _write_new_entry() local
1118 if ((tok = strtok_r(tokp, KV_TOKEN_DELIMIT, &lasts)) != in _write_new_entry()
1120 (void) fprintf(fp, "%s", tok); in _write_new_entry()
1123 while ((tok = strtok_r(NULL, KV_TOKEN_DELIMIT, in _write_new_entry()
1128 (void) fprintf(fp, "%s", tok); in _write_new_entry()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_dictionary.cc693 db_dictionary::change_table_name(db_table_desc *clone, char *tok, char *repl) in change_table_name() argument
708 if (strlen(tok) == 0) { in change_table_name()
715 strlen(repl) - strlen(tok) + 1); in change_table_name()
722 if (loc_beg = strstr(clone->table_name, tok)) { in change_table_name()
723 loc_end = loc_beg + strlen(tok); in change_table_name()
841 db_dictionary::massage_dict(char *newdictname, char *tok, char *repl) in massage_dict() argument
890 if (change_table_name(clone, tok, repl) == -1) { in massage_dict()
947 db_dictionary::merge_dict(db_dictionary& tempdict, char *tok, char *repl) in merge_dict() argument
970 if ((tok) && in merge_dict()
971 (change_table_name(clone, tok, repl) == -1)) { in merge_dict()
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv.c604 char *tok, *tnext; in parse_benv() local
610 for (tok = tnext = pbase; tnext < pend && '\0' != *tnext; tok = tnext) in parse_benv()
611 if (*tok == COMM) in parse_benv()
612 add_comm(bd, tok, pend, &tnext, &line); in parse_benv()
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_xml.c2104 char *tok; in pool_xml_exec_query() local
2125 for (tok = strtok_r((char *)id, " ", &lasts); in pool_xml_exec_query()
2126 tok != NULL; tok = strtok_r(NULL, " ", &lasts)) { in pool_xml_exec_query()
2128 or, tok); in pool_xml_exec_query()
2570 char *tok; in build_dtype_tbl() local
2590 for (tok = strtok_r((char *)data, " ", &lasts); tok != NULL; in build_dtype_tbl()
2591 tok = strtok_r(NULL, " ", &lasts)) { in build_dtype_tbl()
2593 (*tbl)[j].dt_name = xmlStrdup(BAD_CAST tok); in build_dtype_tbl()
2594 if ((tok = strtok_r(NULL, " ", &lasts)) == NULL) { in build_dtype_tbl()
2605 if (strcmp(tok, data_type_tags[i]) == 0) in build_dtype_tbl()
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_sec.c355 char *tok; /* holds a token from the line */ in nfs_get_qop_name() local
373 tok = NULL; in nfs_get_qop_name()
374 if ((tok = gettoken(NULL, FALSE)) == NULL) { in nfs_get_qop_name()
379 if (atoi(tok) != entryp->sc_nfsnum) in nfs_get_qop_name()

123456