Home
last modified time | relevance | path

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

123

/titanic_41/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/
H A Dasm10k.c146 #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 …]
/titanic_41/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()
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 …]
/titanic_41/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 …]
/titanic_41/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()
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 …]
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dgetsubopt.c37 getsubopt(optionsp, tokens, valuep) in getsubopt() argument
39 char *tokens[];
63 for (i = 0; tokens[i] != NULL; i++) {
64 if ((optlen == strlen(tokens[i])) &&
65 (strncmp(s, tokens[i], optlen) == 0))
/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetsubopt.c44 getsubopt(char **optionsp, char * const *tokens, char **valuep) in getsubopt() argument
68 for (i = 0; tokens[i] != NULL; i++) { in getsubopt()
69 if ((optlen == strlen(tokens[i])) && in getsubopt()
70 (strncmp(s, tokens[i], optlen) == 0)) in getsubopt()
/titanic_41/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()
584 tokens = g_strsplit_set (line, " \t:", 0); in hal_util_grep_string_elem_from_file()
585 for (i = 0, j = 0; tokens[i] != NULL; i++) { 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()
[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()
/titanic_41/usr/src/cmd/bnu/
H A Dlimits.c69 char *tokens[NUMFLDS]; /* fields found in LIMITS */ local
94 if (get_tokens(buf, tokens) == FAIL)
98 if (siteindep(tokens, service, limitval) == SUCCESS)
108 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()
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterUtil.java320 String tokens[] = null; in getProbe() local
351 tokens = new String[st.countTokens()]; in getProbe()
353 tokens[i] = st.nextToken(); in getProbe()
357 if ((tokens[i].trim()).equals("Manufacturer")) { in getProbe()
358 pmake = new String(tokens[i + 1].trim()); in getProbe()
359 } else { if ((tokens[i].trim()).equals("Model")) in getProbe()
360 pmodel = new String(tokens[i + 1].trim()); in getProbe()
/titanic_41/usr/src/uts/common/os/
H A Dsubr.c221 getsubopt(char **optionsp, char * const *tokens, char **valuep) in getsubopt() argument
245 for (i = 0; tokens[i] != NULL; i++) { in getsubopt()
246 if ((optlen == strlen(tokens[i])) && in getsubopt()
247 (strncmp(s, tokens[i], optlen) == 0)) in getsubopt()
/titanic_41/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);
/titanic_41/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()
/titanic_41/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 …]
/titanic_41/usr/src/lib/libdtrace/common/
H A Dnet.sed.in30 * define a set of sed directives which replace #define tokens with their
32 * replace the #define tokens listed below to create the finished net.d.
H A Dio.sed.in31 * define a set of sed directives which replace #define tokens with their
33 * 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.in31 * define a set of sed directives which replace #define tokens with their
33 * replace the #define tokens listed below to create the finished procfs.d.
/titanic_41/usr/src/lib/libdtrace/i386/
H A Dregs.sed.in31 * define a set of sed directives which replace #define tokens with their
34 * over regs.d.in to replace the #define tokens listed below to create the
/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dmount.c496 getsubopt(char **optionsp, char * const *tokens, char **valuep) in getsubopt() argument
520 for (i = 0; tokens[i] != NULL; i++) { in getsubopt()
521 if ((optlen == strlen(tokens[i])) && in getsubopt()
522 (strncmp(s, tokens[i], optlen) == 0)) in getsubopt()
/titanic_41/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) {
/titanic_41/usr/src/cmd/cmd-crypto/pktool/
H A DMakefile35 tokens.o \
/titanic_41/usr/src/cmd/dumpadm/
H A Ddconf.c60 static const dc_token_t tokens[] = { variable
180 for (tokp = tokens; tokp->tok_name != NULL; tokp++) { in dconf_open()
267 for (tokp = tokens; tokp->tok_name != NULL; tokp++) { in dconf_write()

123