Searched defs:token (Results 26 - 50 of 258) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcompiler.h137 #define UNDEF 5 /* Invalid token type */
145 * scanned token are returned.
149 struct token struct
156 EXTERN struct token curr_token;
/illumos-gate/usr/src/lib/libsocket/inet/
H A Druserpass.c57 static int token();
171 while ((t = token()))
175 (void) token();
179 if (token() != ID || strcmp(host, d->tokval))
181 while ((t = token()) != 0 && t != MACHINE)
185 if (token())
205 if (token() && *apass == 0) {
214 (void) token();
228 token() function
/illumos-gate/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c49 * token Configuration generation number. Use this token
58 srpt_GetConfig(nvlist_t **cfg, uint64_t *token) argument
102 *token = stmf_token;
112 * token Configuration generation number from srpt_GetConfig.
113 * Use this token to ensure the configuration hasn't been
123 srpt_SetConfig(nvlist_t *cfg, uint64_t token) argument
128 STMF_PORT_PROVIDER_TYPE, &token);
162 uint64_t token; local
169 ret = srpt_GetConfig(&cfgnv, &token);
206 uint64_t token; local
251 uint64_t token; local
324 uint64_t token; local
396 uint64_t token; local
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/tic/
H A Dtic.h116 * Note that EOF is also, implicitly, a token type.
123 #define UNDEF 5 /* Invalid token */
127 * scanned token are returned.
129 typedef struct token { struct
133 } token; typedef in typeref:struct:token
135 extern token curr_token;
/illumos-gate/usr/src/lib/libbc/libc/net/
H A Druserpass.c57 static int token(void);
148 while ((t = token())) switch(t) {
151 (void) token();
155 if (token() != ID || strcmp(host, d->tokval))
157 while ((t = token()) && t != MACHINE) switch(t) {
160 if (token())
176 if (token() && *apass == 0) {
185 (void) token();
198 token(void) function
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_xftw.c279 char *dirp, *token, *ptr; local
291 if ((token = strtok_r(dirp, "/", &ptr)) != NULL) {
297 while ((token = strtok_r(NULL, "/", &ptr)) != NULL) {
298 if ((cfd = openat(fd, token, O_RDONLY)) < 0) {
325 char *dirp, *token, *ptr; local
338 if ((token = strtok_r(dirp, "/", &ptr)) != NULL) {
345 while (((token = strtok_r(NULL, "/", &ptr)) != NULL) &&
346 (strcmp(token, unrootp) != 0)) {
347 if ((cfd = openat(fd, token, O_RDONLY)) < 0) {
/illumos-gate/usr/src/head/
H A Dvaltools.h36 char *token; member in struct:_choice_
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rpcsec.c330 char *token, *line; local
351 token = getxdr_hex(token_len);
353 sprintf(line, " gss token: length = %d, data = [%d bytes]",
366 char *handle, *token, *line; local
398 token = getxdr_hex(token_len);
400 sprintf(line, " gss token: length = %d, data = [%d bytes]",
/illumos-gate/usr/src/cmd/eqn/
H A Dlex.c22 char token[SSIZE]; variable
119 token[sp++] = '\\';
120 token[sp++] = c;
123 "quoted string %.20s... too long"), token);
125 token[sp] = '\0';
126 yylval = (int)&token[0];
128 error(!FATAL, gettext("missing \" in %.20s"), token);
135 getstr(token, SSIZE);
136 if (dbg) printf(".\tlex token = |%s|\n", token);
[all...]
/illumos-gate/usr/src/cmd/avs/dsw/
H A Diicpshd.c249 find_cfg_info(char *volume, char *token) argument
261 (void) snprintf(key, sizeof (key), token, i);
267 if (strcmp(token, SHADOW_TOKEN) == 0) {
273 } else if (strcmp(token, SV_TOKEN) == 0) {
275 } else if (strcmp(token, DSVOL_TOKEN) == 0) {
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dgenkey.c39 genkey_nss(KMF_HANDLE_T kmfhandle, char *token, char *dir, char *prefix, argument
95 if (token != NULL) {
97 KMF_TOKEN_LABEL_ATTR, token,
98 strlen(token));
108 genkey_pkcs11(KMF_HANDLE_T kmfhandle, char *token, argument
158 /* Select a PKCS11 token first */
159 kmfrv = select_token(kmfhandle, token, FALSE);
382 "k:(keystore)l:(label)T:(token)d:(dir)p:(prefix)"
H A Dgenkeypair.c49 char *token, char *keylabel, KMF_KEY_ALG keyAlg,
64 /* Select a PKCS11 token */
65 kmfrv = select_token(kmfhandle, token, FALSE);
225 char *token,
240 if (token == NULL)
241 token = DEFAULT_NSS_TOKEN;
279 if (token != NULL) {
281 KMF_TOKEN_LABEL_ATTR, token,
282 strlen(token));
343 "T:(token)
48 genkeypair_pkcs11(KMF_HANDLE_T kmfhandle, char *token, char *keylabel, KMF_KEY_ALG keyAlg, int keylen, KMF_CREDENTIAL *tokencred, KMF_OID *curveoid, KMF_KEY_HANDLE *outPriKey, KMF_KEY_HANDLE *outPubKey) argument
224 genkeypair_nss(KMF_HANDLE_T kmfhandle, char *token, char *nickname, char *dir, char *prefix, KMF_KEY_ALG keyAlg, int keylen, KMF_CREDENTIAL *tokencred, KMF_OID *curveoid, KMF_KEY_HANDLE *outPriKey, KMF_KEY_HANDLE *outPubKey) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c46 static int token(void);
106 while ((t = token()))
110 if (token() != ID || strcmp(host, tokval))
117 while (((t = token()) != 0) && t != MACHINE && t != DEFAULT)
121 if (token())
145 if (token() && *apass == 0) {
163 if (token() && *aacct == 0) {
259 token(void) function
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dkconf.c120 char c, *realm, *kdcs, *master, *domain, *token, *lasts; local
174 token = strtok_r(kdcs, ",", &lasts);
176 if (token != NULL) {
177 code = add_to_list(&values, token);
188 } while ((token = strtok_r(NULL, ",", &lasts)) != NULL);
H A Dksetpw.c59 char c, *vprincstr, *ktname, *token, *lasts, *newpw; local
116 token = strtok_r(optarg, ",\t,", &lasts);
118 if (token == NULL)
133 code = krb5_string_to_enctype(token,
142 } while ((token = strtok_r(NULL, ",\t ", &lasts)) !=
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dk5seal.c62 gss_buffer_t token,
80 * we plan to write out to the token.
81 * tlen is the length of the token
109 /* create the token buffer */
137 /*** fill in the token */
160 /* pad the plaintext, encrypt if needed, and stick it in the token */
215 /* 8 = head of token body as specified by mech spec */
352 /* that's it. return the token */
357 token->length = tlen;
358 token
56 make_seal_token_v1(krb5_context context, krb5_keyblock *enc, krb5_keyblock *seq, gssint_uint64 *seqnum, int direction, gss_buffer_t text, gss_buffer_t token, int signalg, size_t cksum_size, int sealalg, int encrypt, int toktype, int bigend, gss_OID oid) argument
[all...]
H A Dk5unseal.c76 gss_buffer_desc token; local
192 /* get the token parameters */
269 token.length = tmsglen;
289 token.length = tmsglen - conflen - plain[tmsglen-1];
292 if (token.length) {
293 if ((token.value = (void *) xmalloc(token.length)) == NULL) {
300 (void) memcpy(token.value, plain+conflen, token.length);
302 token
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_lookup.c553 ipftoken_t *token; local
578 token = ipf_findtoken(iter.ili_key, uid, ctx, ifs);
579 if (token == NULL) {
587 err = ip_pool_getnext(token, &iter, ifs);
590 err = fr_htable_getnext(token, &iter, ifs);
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_parse.h52 char *token; /* token to look for */ member in struct:__anon5112
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcsec_defs.h95 gss_buffer_desc token; member in struct:_rpc_gss_init_res
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_node.c35 static char *gettoken(char *tp, char *token);
150 * Get a token from a prom pathname, collecting everything
153 * of the token are removed.
156 gettoken(char *tp, char *token) argument
158 char *result = token;
161 tp = prom_path_gettoken(tp, token);
162 token += prom_strlen(token);
164 *token++ = *tp++;
165 *token
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_signing.c73 smb2_sign_begin(smb_request_t *sr, smb_token_t *token) argument
88 if (token->tkn_ssnkey.val == NULL || token->tkn_ssnkey.len == 0)
120 bcopy(token->tkn_ssnkey.val, sign_key->key,
121 MIN(token->tkn_ssnkey.len, sign_key->len));
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_logon.c84 smb_token_t *token; local
114 if ((token = smb_logon(&tmp_user)) == NULL) {
123 uid = token->tkn_user.i_id;
124 gid = token->tkn_primary_grp.i_id;
125 smb_sid_tostr(token->tkn_user.i_sid, sidbuf);
127 username = token->tkn_account_name;
128 domain = token->tkn_domain_name;
135 smb_token_destroy(token);
143 smb_token_destroy(token);
164 smb_token_destroy(token);
[all...]
/illumos-gate/usr/src/common/fsreparse/
H A Dfs_reparse.c43 static int reparse_add_nvpair(char *token, nvlist_t *nvl);
304 reparse_add_nvpair(char *token, nvlist_t *nvl) argument
309 if ((cp = strchr(token, ':')) == NULL)
314 err = nvlist_add_string(nvl, token, cp + 1);
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dinterp_parse.c45 * separated token will be returned as a single argv[] element, not
90 char token, tmp, quote, dquote, *buf; local
102 token = 0;
137 token = isdelim(*(p + 1));
138 if (token)
157 if (token) {
158 PARSE_FAIL((q = strchr(p, token)) == NULL);
173 p = q + (token ? 1 : 0);
180 /* If at end of token, add it */

Completed in 172 milliseconds

1234567891011