Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/
H A Dasm10k.c200 tokens[0] = s; in getaline()
208 tokens[1] = s; in getaline()
243 tokens[cnt++] = s; in getaline()
393 char *value = tokens[2] ? tokens[2] : tokens[1]; in compile_const()
411 parm = tokens[1]; in compile_bool()
412 def = tokens[2]; in compile_bool()
443 parm = tokens[1]; in compile_mono()
444 def = tokens[2]; in compile_mono()
476 parm = tokens[1]; in compile_stereo()
477 def = tokens[2]; in compile_stereo()
[all …]
/illumos-gate/usr/src/lib/libcpc/i386/
H A Devent_pentium.c214 static char * const tokens[] = { variable
352 uint_t ntokens = sizeof (tokens) / sizeof (tokens[0]) - 1; 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()
627 xpes[0].pc, xpes[1].pc, 0, tokens[D_pc]); in cpc_eventtostr()
643 tokens[D_pic0], pic[0], tokens[D_pic1], pic[1]); in cpc_eventtostr()
[all …]
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtokenmt.c238 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 Devent_ultra.c148 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()
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()
415 (void) strcat(strcat(buffer, ","), tokens[D_nouser]); in cpc_eventtostr()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetsubopt.c42 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 Dutil.c575 gchar **tokens; in hal_util_grep_string_elem_from_file() local
579 tokens = NULL; in hal_util_grep_string_elem_from_file()
586 if (strlen (tokens[i]) == 0) in hal_util_grep_string_elem_from_file()
589 strncpy (buf, tokens[i], sizeof (buf)); in hal_util_grep_string_elem_from_file()
597 if (tokens != NULL) in hal_util_grep_string_elem_from_file()
598 g_strfreev (tokens); in hal_util_grep_string_elem_from_file()
753 gchar **tokens; in hal_util_set_bool_elem_from_file() local
757 tokens = NULL; in hal_util_set_bool_elem_from_file()
765 if (strlen (tokens[i]) == 0) in hal_util_set_bool_elem_from_file()
777 if (tokens != NULL) in hal_util_set_bool_elem_from_file()
[all …]
H A Ddevice_info.c184 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 Dlimits.c66 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 Dsysfiles.c83 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 Dsubr.c225 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 Dfc_fcaif.h185 int (*fca_ub_alloc) (opaque_t fca_handle, uint64_t *tokens,
189 uint64_t tokens[]);
192 uint64_t tokens[]);
H A Dfc_ulpif.h162 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 Dsysfiles.c91 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 Ddatadm.c831 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 Dnet.sed.in28 * 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 Dio.sed.in29 * 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 Dip.sed.in27 * 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 Dprocfs.sed.in29 * 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/
H A Dpci_virtio_9p.c242 char *sharename = NULL, *tofree, *token, *tokens; in pci_vt9p_legacy_config() local
247 tokens = tofree = strdup(opts); in pci_vt9p_legacy_config()
248 while ((token = strsep(&tokens, ",")) != NULL) { in pci_vt9p_legacy_config()
/illumos-gate/usr/src/lib/libdtrace/i386/
H A Dregs.sed.in29 * 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 Dmount.c494 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 DProject.pm534 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 DMakefile36 tokens.o \
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c62 static const dc_token_t tokens[] = { variable
182 for (tokp = tokens; tokp->tok_name != NULL; tokp++) { in dconf_open()
269 for (tokp = tokens; tokp->tok_name != NULL; tokp++) { in dconf_write()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c380 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()

123