/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/ |
H A D | asm10k.c | 146 #define CHECK_COUNT(tokens, cnt, mincnt, maxcnt) \ argument 149 tokens[0], cnt - 1, mincnt - 1); \ 154 tokens[0], cnt - 1, maxcnt - 1); \ 169 getaline(FILE *input, char **tokens) in getaline() argument 200 tokens[0] = s; in getaline() 208 tokens[1] = s; in getaline() 209 tokens[0][2] = 0; in getaline() 210 tokens[2] = NULL; in getaline() 212 return (strlen(tokens[1]) ? 2 : 1); in getaline() 243 tokens[cnt++] = s; in getaline() [all …]
|
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 214 static char * const tokens[] = { variable 352 uint_t ntokens = sizeof (tokens) / sizeof (tokens[0]) - 1; in __tablecheck() 359 assert(strcmp(tokens[n], p6_keyvals[n].kv_token) == 0); in __tablecheck() 362 assert(strcmp(tokens[n], p5_keyvals[n].kv_token) == 0); in __tablecheck() 409 int idx = getsubopt(&opts, tokens, &value); in cpc_strtoevent() 422 tokens[idx]); in cpc_strtoevent() 431 tokens[idx]); in cpc_strtoevent() 466 idx < sizeof (tokens) / sizeof (tokens[0])) in cpc_strtoevent() 468 gettext("bad token '%s'\n"), tokens[idx]); in cpc_strtoevent() 609 tokens[D_pic0], pic[0], tokens[D_pic1], pic[1]); in cpc_eventtostr() [all …]
|
/illumos-gate/usr/src/uts/common/ipp/meters/ |
H A D | tokenmt.c | 238 uint64_t tokens; in tokenmt_update_tokens() local 242 tokens = (cfg_parms->committed_rate * diff) / in tokenmt_update_tokens() 251 if ((tokenmt_data->committed_tokens + tokens) > in tokenmt_update_tokens() 253 tokens = tokenmt_data->committed_tokens in tokenmt_update_tokens() 254 + tokens - in tokenmt_update_tokens() 261 tokens); in tokenmt_update_tokens() 264 tokens; in tokenmt_update_tokens() 269 tokens = (diff * cfg_parms->committed_rate) / in tokenmt_update_tokens() 273 tokenmt_data->committed_tokens + tokens); in tokenmt_update_tokens() 276 tokens = (diff * cfg_parms->peak_rate) / in tokenmt_update_tokens() [all …]
|
/illumos-gate/usr/src/lib/libcpc/sparc/ |
H A D | event_ultra.c | 148 static char * const tokens[] = { variable 188 uint_t ntokens = sizeof (tokens) / sizeof (tokens[0]) - 1; in __tablecheck() 195 assert(strcmp(tokens[n], us3_keyvals[n].kv_token) == 0); in __tablecheck() 198 assert(strcmp(tokens[n], us2_keyvals[n].kv_token) == 0); in __tablecheck() 245 int idx = getsubopt(&opts, tokens, &value); in cpc_strtoevent() 258 tokens[idx]); in cpc_strtoevent() 267 tokens[idx]); in cpc_strtoevent() 302 idx < sizeof (tokens) / sizeof (tokens[0])) in cpc_strtoevent() 304 gettext("bad token '%s'\n"), tokens[idx]); in cpc_strtoevent() 409 tokens[D_pic0], pic[0], tokens[D_pic1], pic[1]); in cpc_eventtostr() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getsubopt.c | 42 getsubopt(char **optionsp, char * const *tokens, char **valuep) in getsubopt() argument 66 for (i = 0; tokens[i] != NULL; i++) { in getsubopt() 67 if ((optlen == strlen(tokens[i])) && in getsubopt() 68 (strncmp(s, tokens[i], optlen) == 0)) in getsubopt()
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util.c | 576 gchar **tokens; in hal_util_grep_string_elem_from_file() local 580 tokens = NULL; in hal_util_grep_string_elem_from_file() 585 tokens = g_strsplit_set (line, " \t:", 0); in hal_util_grep_string_elem_from_file() 586 for (i = 0, j = 0; tokens[i] != NULL; i++) { in hal_util_grep_string_elem_from_file() 587 if (strlen (tokens[i]) == 0) in hal_util_grep_string_elem_from_file() 590 strncpy (buf, tokens[i], sizeof (buf)); in hal_util_grep_string_elem_from_file() 598 if (tokens != NULL) in hal_util_grep_string_elem_from_file() 599 g_strfreev (tokens); in hal_util_grep_string_elem_from_file() 754 gchar **tokens; in hal_util_set_bool_elem_from_file() local 758 tokens = NULL; in hal_util_set_bool_elem_from_file() [all …]
|
H A D | device_info.c | 184 gchar **tokens = NULL; in resolve_udiprop_path() local 192 tokens = g_strsplit (path, ":", 64); in resolve_udiprop_path() 195 if (tokens == NULL || tokens[0] == NULL || tokens[1] == NULL) { in resolve_udiprop_path() 205 for (i = 0; tokens[i] != NULL; i++) { in resolve_udiprop_path() 217 curtoken = tokens[i]; in resolve_udiprop_path() 220 if (tokens[i+1] == NULL) { in resolve_udiprop_path() 256 g_strfreev (tokens); in resolve_udiprop_path()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | limits.c | 66 char *tokens[NUMFLDS]; /* fields found in LIMITS */ local 91 if (get_tokens(buf, tokens) == FAIL) 95 if (siteindep(tokens, service, limitval) == SUCCESS) 105 if (sitedep(tokens, limitval) == SUCCESS)
|
H A D | sysfiles.c | 83 static char *tokens[NTOKENS], **tokptr; variable 304 tokptr = tokens; in tokenize() 307 if (tokptr - tokens >= NTOKENS) in tokenize() 327 for (line = tokens; (line - tokens) < NTOKENS && *line; line++) { in nameparse()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | subr.c | 225 getsubopt(char **optionsp, char * const *tokens, char **valuep) in getsubopt() argument 249 for (i = 0; tokens[i] != NULL; i++) { in getsubopt() 250 if ((optlen == strlen(tokens[i])) && in getsubopt() 251 (strncmp(s, tokens[i], optlen) == 0)) in getsubopt()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/ |
H A D | fc_fcaif.h | 185 int (*fca_ub_alloc) (opaque_t fca_handle, uint64_t *tokens, 189 uint64_t tokens[]); 192 uint64_t tokens[]);
|
H A D | fc_ulpif.h | 162 uint32_t size, uint32_t type, uint64_t *tokens); 164 uint64_t *tokens); 166 uint64_t *tokens);
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 91 static char *tokens[NTOKENS], **tokptr; variable 328 tokptr = tokens; in tokenize() 331 if (tokptr - tokens >= NTOKENS) in tokenize() 351 for (line = tokens; (line - tokens) < NTOKENS && *line; line++) { in nameparse()
|
/illumos-gate/usr/src/cmd/datadm/ |
H A D | datadm.c | 831 datadm_parse_line(char *line_buf, char *tokens[], int *token_count) in datadm_parse_line() argument 890 tokens[count] = start; in datadm_parse_line() 909 tokens[count] = start; in datadm_parse_line() 1006 char *tokens[DATADM_MAX_TOKENS]; in datadm_parse_sp_conf() local 1026 retval = datadm_parse_line(line_buf, tokens, &token_count); in datadm_parse_sp_conf() 1050 (tokens[i], (void *)sp_entry); in datadm_parse_sp_conf() 1056 sp_conf, line_count, tokens[i - 1]); in datadm_parse_sp_conf() 1099 char *tokens[DATADM_MAX_TOKENS]; in datadm_parse_dat_conf() local 1123 retval = datadm_parse_line(line_buf, tokens, &token_count); in datadm_parse_dat_conf() 1194 (tokens[i], arg); in datadm_parse_dat_conf() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | net.sed.in | 28 * define a set of sed directives which replace #define tokens with their 30 * replace the #define tokens listed below to create the finished net.d.
|
H A D | io.sed.in | 29 * define a set of sed directives which replace #define tokens with their 31 * replace the #define tokens listed below to create the finished io.d.
|
H A D | ip.sed.in | 27 * define a set of sed directives which replace #define tokens with their 29 * replace the #define tokens listed below to create the finished ip.d.
|
H A D | procfs.sed.in | 29 * define a set of sed directives which replace #define tokens with their 31 * replace the #define tokens listed below to create the finished procfs.d.
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_virtio_9p.c | 241 char *sharename = NULL, *tofree, *token, *tokens; in pci_vt9p_legacy_config() local 246 tokens = tofree = strdup(opts); in pci_vt9p_legacy_config() 247 while ((token = strsep(&tokens, ",")) != NULL) { in pci_vt9p_legacy_config()
|
/illumos-gate/usr/src/lib/libdtrace/i386/ |
H A D | regs.sed.in | 29 * define a set of sed directives which replace #define tokens with their 32 * over regs.d.in to replace the #define tokens listed below to create the
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | mount.c | 494 getsubopt(char **optionsp, char * const *tokens, char **valuep) in getsubopt() argument 518 for (i = 0; tokens[i] != NULL; i++) { in getsubopt() 519 if ((optlen == strlen(tokens[i])) && in getsubopt() 520 (strncmp(s, tokens[i], optlen) == 0)) in getsubopt()
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.pm | 534 my @tokens; 539 @tokens = split(/([,()])/, $_[0], -1); 542 @newtokens = grep($_ ne '', @tokens); 578 my $tokens; 594 $tokens = $ref; 596 foreach $token (@$tokens) {
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | Makefile | 36 tokens.o \
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | dconf.c | 63 static const dc_token_t tokens[] = { variable 185 for (tokp = tokens; tokp->tok_name != NULL; tokp++) { in dconf_open() 272 for (tokp = tokens; tokp->tok_name != NULL; tokp++) { in dconf_write()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei_lv.c | 380 fcoei_ub_alloc(void * fca_handle, uint64_t tokens[], uint32_t size, in fcoei_ub_alloc() argument 383 FCOEI_LOG(__FUNCTION__, "not: %p-%p-%x-%p-%x", fca_handle, tokens, in fcoei_ub_alloc() 404 fcoei_ub_free(void * fca_handle, uint32_t count, uint64_t tokens[]) in fcoei_ub_free() argument 406 FCOEI_EXT_LOG(__FUNCTION__, "not: %p-%x-%p", fca_handle, count, tokens); in fcoei_ub_free() 427 fcoei_ub_release(void * fca_handle, uint32_t count, uint64_t tokens[]) in fcoei_ub_release() argument 429 fc_unsol_buf_t *ub = *((fc_unsol_buf_t **)tokens); in fcoei_ub_release()
|