/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metadb.c | 147 char *token = argv[0]; local 149 if (make_dbname(sp, nlp, token, ep) == NULL) {
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | list.c | 60 static void regret(int token); 494 * scan out a single lexical item and return its token number, 620 * Unscan the named token by pushing it onto the regret stack. 624 regret(int token) argument 628 regretstack[regretp] = token;
|
H A D | aux.c | 53 static char *phrase(char *name, int token, int comma); 428 phrase(char *name, int token, int comma) argument 509 if (token && (!comma || c == '\n')) { 520 if (token) 553 return (token ? --cp : equal(name, nbufp) ? name :
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | plcysubr.c | 56 * New token types should be parsed in parse_plcy_entry. 60 typedef struct token { struct 61 const char *token; member in struct:token 458 * Analyze the device policy token; new tokens should be added to 459 * toktab; new token types should be coded here. 462 parse_plcy_token(char *token, devplcysys_t *dp) argument 464 char *val = strchr(token, '='); 470 (void) fprintf(stderr, gettext(ERR_NO_EQUALS), token); 476 if (strcmp(token, toktab[i].token) [all...] |
H A D | add_drv.c | 915 char *token = copy_drv_path; local 922 token = strtok(copy_drv_path, DIR_SEP); 923 while (token != NULL) { 924 if (strcmp("drv", token) == 0) { 925 token = strtok((char *)NULL, DIR_SEP); 926 if (strcmp(DRVDIR64, token) == 0) { 940 token = strtok((char *)NULL, DIR_SEP);
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | xlator.c | 56 #define FIRST_TOKEN 4 /* Must match the first token in the enum above */ 200 xlator_start_if(const Meta_info meta_info, const int token, char *value) argument 208 switch (token) { 248 Iface.IF_type = token; /* FUNCTION or DATA */ 271 xlator_take_kvpair(const Meta_info meta_info, const int token, argument 276 char *key = Keywords[token-FIRST_TOKEN].key; 282 "take_kvpair called. ext_cnt=%d token=%d key=%s value=%s", 283 meta_info.mi_ext_cnt, token, key, value); 291 switch (token) { 416 errlog(TRACING, "Filter[token [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | import.c | 31 * the file, find the soft token, log into it, import the 32 * PKCS#11 objects into the soft token, and log out. 336 gettext("Error storing certificate in NSS token")); 410 * The token requires a credential, prompt and try again. 699 KMF_KEYSTORE_TYPE kstype, char *token, 717 rv = select_token(kmfhandle, token, FALSE); 826 "T:(token)i:(infile)" 837 case 'T': /* token specifier */ 698 pk_import_rawkey(KMF_HANDLE_T kmfhandle, KMF_KEYSTORE_TYPE kstype, char *token, KMF_CREDENTIAL *cred, char *filename, char *label, KMF_KEY_ALG keyAlg, char *senstr, char *extstr) argument
|
H A D | signcsr.c | 355 char *token, KMF_CREDENTIAL *cred, 386 rv = select_token(handle, token, FALSE); 421 token, strlen(token)); 471 * Store it on the token if the user asked for it. 491 if (token != NULL) 494 token, strlen(token)); 502 "on PKCS#11 token.\n")); 557 "k:(keystore)c:(csr)T:(token) 352 pk_signcsr_pk11_nss(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE kstype, char *dir, char *prefix, char *token, KMF_CREDENTIAL *cred, char *signkey, char *csrfile, KMF_BIGINT *serial, char *certfile, char *issuer, char *subject, char *altname, KMF_GENERALNAMECHOICES alttype, int altcrit, uint16_t kubits, int kucrit, EKU_LIST *ekulist, uint32_t ltime, KMF_ENCODE_FORMAT fmt, int store, char *outlabel) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 347 char *token = NULL, *oname, *ename, *optr, *_optr, *nptr, *_list; local 393 * Skip the token delimiter and determine if a reserved token 398 token = 0; 402 token = (char *)MSG_ORIG(MSG_TKN_ORIGIN); 438 token = (char *)MSG_ORIG(MSG_TKN_PLATFORM); 475 token = (char *)MSG_ORIG(MSG_TKN_MACHINE); 505 token = (char *)MSG_ORIG(MSG_TKN_OSNAME); 533 token = (char *)MSG_ORIG(MSG_TKN_OSREL); 562 token [all...] |
/illumos-gate/usr/src/uts/sun4v/pcbe/ |
H A D | niagara_pcbe.c | 90 void *token); 91 static void ni_pcbe_program(void *token); 93 static void ni_pcbe_sample(void *token); 343 uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) 369 if (((other_config = kcpc_next_config(token, NULL, NULL)) != NULL) && 394 ni_pcbe_program(void *token) argument 403 if ((pic0 = (ni_pcbe_config_t *)kcpc_next_config(token, NULL, NULL)) == 405 panic("ni_pcbe: token %p has no configs", token); 407 if ((pic1 = kcpc_next_config(token, pic 342 ni_pcbe_configure(uint_t picnum, char *event, uint64_t preset, uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) argument 473 ni_pcbe_sample(void *token) argument [all...] |
/illumos-gate/usr/src/cmd/localedef/ |
H A D | scanner.c | 48 static char *token = NULL; variable 67 static struct token { struct 179 static struct token symwords[] = { 338 if ((token = realloc(token, toksz)) == NULL) { 346 token[tokidx++] = (char)c; 347 token[tokidx] = 0; 509 * This restarts the token from the beginning 511 * token is complete.) 514 if (token [all...] |
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | ofmt.c | 96 char *field, *token, *lasts = NULL; local 111 token = sp->s_buf; 112 while ((field = strtok_r(token, ",", &lasts)) != NULL) { 115 token = NULL;
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_logon.c | 57 static uint32_t smb_token_setup_anon(smb_token_t *token); 69 smb_token_idmap(smb_token_t *token, smb_idmap_batch_t *sib) argument 76 if (!token || !sib) 81 if (token->tkn_flags & SMB_ATF_ANON) { 82 token->tkn_user.i_id = UID_NOBODY; 83 token->tkn_owner.i_id = UID_NOBODY; 86 id = &token->tkn_user; 95 id = &token->tkn_owner; 105 id = &token->tkn_primary_grp; 114 for (i = 0; i < token 135 smb_token_sids2ids(smb_token_t *token) argument 245 smb_token_destroy(smb_token_t *token) argument 269 smb_token_set_owner(smb_token_t *token) argument 287 smb_token_create_privs(smb_token_t *token) argument 329 smb_token_set_flags(smb_token_t *token) argument 351 smb_token_setup_common(smb_token_t *token) argument 429 smb_token_t *token = NULL; local 475 smb_logon_local(smb_logon_t *user_info, smb_token_t *token) argument 515 smb_logon_guest(smb_logon_t *user_info, smb_token_t *token) argument 552 smb_logon_anon(smb_logon_t *user_info, smb_token_t *token) argument 563 smb_token_auth_local(smb_logon_t *user_info, smb_token_t *token, smb_passwd_t *smbpw) argument 619 smb_token_setup_local(smb_passwd_t *smbpw, smb_token_t *token) argument 681 smb_token_setup_guest(smb_logon_t *user_info, smb_token_t *token) argument 705 smb_token_setup_anon(smb_token_t *token) argument 732 smb_token_user_sid(smb_token_t *token) argument 752 smb_token_group_sid(smb_token_t *token, int *iterator) argument 779 smb_token_is_member(smb_token_t *token, smb_sid_t *sid) argument 804 smb_token_log(smb_token_t *token) argument 875 smb_token_setup_wingrps(smb_token_t *token) argument [all...] |
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_authsvc.c | 538 smb_token_t *token = NULL; local 550 token = smbd_user_auth_logon(&user_info); 552 if (token == NULL) 555 ctx->ctx_token = token; 605 * Parse the SPNEGO token, check its type. 616 smbd_report("authsvc: spnego get token type failed"); 621 smbd_report("authsvc: spnego wrong token type %d", 630 * interface to walk the token's mech list, so we have to 632 * was earliest in the token's mech list. 708 * Parse the SPNEGO token, chec 887 smb_token_t *token = NULL; local [all...] |
H A D | smbd_ntlmssp.c | 396 smb_token_t *token = NULL; local 490 token = smbd_user_auth_logon(&user_info); 491 if (token == NULL) { 496 if (token->tkn_ssnkey.val != NULL && 497 token->tkn_ssnkey.len == SMBAUTH_HASH_SZ) { 500 * At this point, token->tkn_session_key is the 508 token->tkn_ssnkey.val); 511 (void) memcpy(kxkey, token->tkn_ssnkey.val, 521 (void) smb_auth_RC4(token->tkn_ssnkey.val, 526 (void) memcpy(token [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | sw.c | 361 char *file, *func, *token; local 396 file = func = token = NULL; 400 * Prefer 'token' to file/func/line 402 if (lookup_string(site, FM_FMRI_SW_SITE_TOKEN, &token, 405 * If no token then try file, func, line - but 432 * :token=<site.token> 471 if (token) { 472 /* #:token=... */ 473 topo_fmristr_build(&size, buf, buflen, token, [all...] |
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | lz4.c | 218 BYTE token; local 222 token = *ip++; 223 if ((length = (token >> ML_BITS)) == RUN_MASK) { 270 if ((length = (token & ML_MASK)) == ML_MASK) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/ |
H A D | cfga_configfile.c | 108 static int getvalue(char *token, u_longlong_t *valuep); 174 getvalue(char *token, u_longlong_t *valuep) argument 182 if (*token == '~') { 184 token++; 185 } else if (*token == '-') { 187 token++; 189 if (*token == '0') { 190 token++; 191 c = *token; 200 token 276 token_t token; local 473 token_t token; local 732 token_t token = NEWLINE; local [all...] |
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | package.c | 264 create_internal_value(fcode_env_t *env, char *name, int offset, int token) argument 269 if (token) { 270 SET_TOKEN(token, 0, name, LINK_TO_ACF(env->lastlink));
|
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom.c | 78 static ssize_t (*ldom_pri_fp_get)(uint8_t wait, uint64_t *token, uint64_t **buf, 80 (ssize_t (*)(uint8_t wait, uint64_t *token, uint64_t **buf, 97 ldom_pri_fp_get = (ssize_t (*)(uint8_t wait, uint64_t *token, 110 ldom_pri_fp_get = (ssize_t (*)(uint8_t wait, uint64_t *token, 156 ldom_pri_get(uint8_t wait, uint64_t *token, uint64_t **buf, argument 168 return ((*ldom_pri_fp_get)(wait, token, buf, allocp, freep)); 681 uint64_t tok; /* opaque PRI token */
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_subr.c | 596 char *token; local 622 if ((token = strtok_r(buf, "/@", &lastp)) != NULL) { 623 dev_addr[i] = topo_mod_strdup(mod, token); 624 while ((token = strtok_r(NULL, "/@", &lastp)) != NULL) { 626 dev_addr[i] = topo_mod_strdup(mod, token);
|
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | shlex.h | 40 int token; /* current token number */ member in struct:_shlex_ 42 int lasttok; /* previous token number */ 43 int digits; /* numerical value with word token */
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 131 char *token; local 139 if ((token = strtok_r(line, " \t", &lasts)) == NULL) 142 if (strlcpy(attr->fi_flowname, token, MAXFLOWNAMELEN) >= MAXFLOWNAMELEN) 146 while ((token = strtok_r(NULL, " \t", &lasts)) != NULL) { 147 if ((name = strdup(token)) == NULL)
|
/illumos-gate/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 84 char *lasts, *token; local 102 token = strtok_r(input_string, slash, &lasts); 103 if (token == NULL || (key_default = atoi(token)) == 0) 107 token = strtok_r(NULL, dash, &lasts); 108 if (token == NULL || (key_low = atoi(token)) == 0) 112 token = strtok_r(NULL, comma, &lasts); 113 if (token == NULL || (key_high = atoi(token)) 192 char *token, *lasts, *alg_names, *ef_name, *key_string, *block_string; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclscsi.c | 238 char *token = NULL; local 249 token = (char *)strtok_r(lasts, (const char *)":", 251 if (token == NULL) { 256 if (strcmp(path, token) == 0) { /* match found */ 334 char *ap, *token, *p, *ap_idp; local 388 token = (char *)strtok_r(ap, ",", &p); 389 (void) strncpy(addr, token, sizeof (addr)); 391 int drv_inst = atoi(token); 559 char *lasts = NULL, *token = NULL; local 576 token [all...] |