Searched defs:tok (Results 1 - 25 of 40) sorted by relevance

12

/osnet-11/usr/src/cmd/sendmail/db/clib/
H A Dstrsep.c81 char *tok; local
85 for (tok = s;;) {
95 return (tok);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dstrsep.c71 char *tok; local
75 for (tok = s; ; ) {
85 return (tok);
H A Dfmtmsg.c291 exttok(const char *tok, const char *delims) argument
308 if (tok == (char *)NULL) {
313 tokend = (char *)tok + (ptrdiff_t)strlen(tok);
317 for (q = strchr(tok, (int)*p);
318 (q != 0) && (q != tok) && (*(q - (ptrdiff_t)1) == '\\');
534 char *tok; /* Pointer to current token */ local
553 while ((tok = nexttok) != (char *)NULL) {
558 tokend = exttok(tok, ":");
559 tok
[all...]
/osnet-11/usr/src/lib/libresolv2/common/bsd/
H A Dstrsep.c65 char *tok; local
69 for (tok = s;;) {
79 return (tok);
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A DMICwrap.c54 dh_token_desc tok; local
56 dh_mic_t mic = &tok.ver.dh_version_u.body.dh_token_body_desc_u.sign;
83 tok.ver.verno = cntx->proto_version;
84 tok.ver.dh_version_u.body.type = DH_MIC;
95 * non serialized tok and the context keys.
97 if ((*minor = __make_token(token, message, &tok, &keys))
123 dh_token_desc tok; local
125 dh_mic_t mic = &tok.ver.dh_version_u.body.dh_token_body_desc_u.sign;
148 /* Deserialize token into tok using messaget and keys */
150 &tok,
216 dh_token_desc tok; local
306 dh_token_desc tok; local
[all...]
H A Dcontext_establish.c794 dh_token_desc tok; local
810 /* Deserialize the input token into tok using the session keys */
811 if (*minor = __get_token(token, NULL, &tok, &keys))
820 if (tok.ver.verno != dh_gss_ctx->proto_version) {
822 xdr_free(xdr_dh_token_desc, (char *)&tok);
827 if (tok.ver.dh_version_u.body.type != DH_ACCEPT_CNTX) {
828 xdr_free(xdr_dh_token_desc, (char *)&tok);
833 remote_ctx = &tok.ver.dh_version_u.
839 xdr_free(xdr_dh_token_desc, (char *)&tok);
847 xdr_free(xdr_dh_token_desc, (char *)&tok);
[all...]
H A Dcrypto.c228 MD5_verifier(gss_buffer_t tok, /* The buffer to sign */ argument
243 MD5Update(&md5_ctx, (unsigned char *)tok->value, tok->length);
365 char *tok, /* The token to sign */
375 gss_buffer_desc buf; /* Buffer to package tok */
386 buf.value = tok;
364 __mk_sig(dh_qop_t qop, char *tok, long len, gss_buffer_t mesg, dh_key_set_t keys, dh_signature_t sig ) argument
/osnet-11/usr/src/lib/libpp/common/
H A Dppcall.c36 * 0 returned if tok==0 and sym->mac->value to be copied to output by caller
41 ppcall(register struct ppsymbol* sym, int tok) argument
429 if (!tok && (sym->flags & SYM_NOEXPAND))
H A Dppcontrol.c160 macsym(int tok) argument
164 if (tok != T_ID)
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dldaputf8.c142 char *tok; local
159 tok = LDAP_UTF8PREV(sp);
175 return tok;
H A Dgetfilter.c108 char *tag, **tok; local
123 &buffer_len, &tok )) > 0 ) {
129 tag = tok[ 0 ];
130 NSLDAPI_FREE( tok );
140 nextflp->lfl_pattern = tok[ 0 ];
148 ldap_free_strarray( tok );
152 nextflp->lfl_delims = tok[ 1 ];
163 tok[ i - 2 ] = tok[ i ];
173 ldap_free_strarray( tok );
[all...]
/osnet-11/usr/src/lib/libpower/common/
H A Dpm_kernel.c56 char *tok; local
136 tok = strdup(nvpair_name(el));
137 propname = pm_parse_propname(tok, &authname);
193 free(tok);
H A Dlibpower_subr.c269 char tok[BUFSIZ]; local
299 (void) strncpy(tok, propv[i], sizeof (tok));
300 propname = pm_parse_propname(tok, &pgname);
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dpkcs11_uri.c175 char *str2, *l1, *l2, *tok, *name; local
200 tok = strtok_r(str2, ";", &l1);
201 for (; tok != NULL; tok = strtok_r(NULL, ";", &l1)) {
202 /* "tok" is not empty so there will be something in "name". */
203 name = strtok_r(tok, "=", &l2);
/osnet-11/usr/src/lib/abi/apptrace/common/
H A Dabienv.c58 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...]
/osnet-11/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
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dgetfilter.c119 char *tag, **tok; local
130 while ( buflen > 0 && ( tokcnt = next_line_tokens( &buf, &buflen, &tok ))
138 tag = tok[ 0 ];
139 free( tok );
149 nextflp->lfl_pattern = tok[ 0 ];
159 free_strarray( tok );
163 nextflp->lfl_delims = tok[ 1 ];
174 tok[ i - 2 ] = tok[ i ];
184 free_strarray( tok );
[all...]
/osnet-11/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c451 char *tmp, *lasts, *tok; local
457 while ((tok = strtok_r(tmp, ";", &lasts)) != NULL) {
458 if (strncmp(tok, PROJECT, PROJSZ) == 0) {
459 projname = tok + PROJSZ;
/osnet-11/usr/src/lib/libnsl/dial/
H A Dsysfiles.c159 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...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dexpr.c192 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...]
/osnet-11/usr/src/lib/mpss/common/
H A Dmpss.c309 char *tok, *tokheap = NULL, *tokstack = NULL, *tokarg; local
432 tok = lbuf;
434 if (!fnmatch(execname, tok, cwd)) {
/osnet-11/usr/src/lib/libcpc/i386/
H A Devent_pentium.c495 flagstostr(char *buf, int flag0, int flag1, int defvalue, char *tok) argument
500 (void) sprintf(buf, ",%s", tok);
502 (void) sprintf(buf, ",%s0", tok);
505 (void) sprintf(buf, ",%s1", tok);
510 masktostr(char *buf, uint8_t bits, char *tok) argument
514 (void) sprintf(buf, ",%s=0x%x", tok, bits);
/osnet-11/usr/src/lib/libdevice/
H A Ddevctl.c233 char *tok; local
301 tok = strtok(nodename, "@");
302 if ((minorname = malloc(strlen(tok) +1)) == NULL) {
310 (void) strcpy(minorname, tok);
/osnet-11/usr/src/lib/fm/libldom/sparc/
H A Dldom.c700 uint64_t tok; /* opaque PRI token */ local
725 rv = ldom_pri_get(PRI_GET, &tok, buf, lhp->allocp, lhp->freep);
728 ldom_pri_token = tok;
739 uint64_t tok; local
751 rv = ldom_pri_get(PRI_GET, &tok, buf, lhp->allocp, lhp->freep);
754 ldom_pri_token = tok;
763 tok = ldom_pri_token;
771 rv = ldom_pri_get(PRI_WAITGET, &tok, buf, lhp->allocp, lhp->freep);
776 *token = ldom_pri_token = tok;
/osnet-11/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c414 send_token(int *fdptr, gss_buffer_t tok) argument
430 len = htonl(tok->length);
433 out_buf = (char *)malloc((size_t)(lensz + tok->length));
441 (void) memcpy((void *)(out_buf + lensz), (void *)tok->value,
442 tok->length);
444 if (send_timeout(fd, out_buf, (lensz + tok->length))) {
458 recv_token(int fd, gss_buffer_t tok) argument
474 tok->value = (char *)malloc(len);
475 if (tok->value == NULL) {
479 tok
[all...]

Completed in 91 milliseconds

12