/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | getsubopt.c | 37 getsubopt(optionsp, tokens, valuep) 39 char *tokens[]; 63 for (i = 0; tokens[i] != NULL; i++) { 64 if ((optlen == strlen(tokens[i])) && 65 (strncmp(s, tokens[i], optlen) == 0))
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getsubopt.c | 44 getsubopt(char **optionsp, char * const *tokens, char **valuep) argument 68 for (i = 0; tokens[i] != NULL; i++) { 69 if ((optlen == strlen(tokens[i])) && 70 (strncmp(s, tokens[i], optlen) == 0))
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/ |
H A D | asm10k.c | 146 #define CHECK_COUNT(tokens, cnt, mincnt, maxcnt) \ 149 tokens[0], cnt - 1, mincnt - 1); \ 154 tokens[0], cnt - 1, maxcnt - 1); \ 169 getaline(FILE *input, char **tokens) argument 200 tokens[0] = s; 208 tokens[1] = s; 209 tokens[0][2] = 0; 210 tokens[2] = NULL; 212 return (strlen(tokens[1]) ? 2 : 1); 243 tokens[cn 326 compile_gpr(char **tokens, int cnt) argument 337 compile_rem(char **tokens, int cnt) argument 389 compile_const(char **tokens, int cnt) argument 404 compile_bool(char **tokens, int cnt) argument 436 compile_mono(char **tokens, int cnt) argument 468 compile_stereo(char **tokens, int cnt) argument 505 compile_input(char **tokens, int cnt) argument 520 compile_send(char **tokens, int cnt) argument 535 compile_output(char **tokens, int cnt) argument 550 compile_directive(char **tokens, int cnt) argument 605 compile_asm(char **tokens, int cnt) argument 960 char *tokens[10]; local [all...] |
/illumos-gate/usr/src/uts/common/ipp/meters/ |
H A D | tokenmt.c | 52 * tokens equal to committed burst & peak burst respectively initially. 53 * When a packet arrives, tokens in Tc or Tp are updated at the committed 55 * If there are enough tokens in Tc, the packet is Green, else if there are 56 * enough tokens in Tp, the packet is Yellow, else the packet is Red. In case 62 /* Updating tokens */ 238 uint64_t tokens; local 242 tokens = (cfg_parms->committed_rate * diff) / 246 * Add tokens at the committed rate to 251 if ((tokenmt_data->committed_tokens + tokens) > 253 tokens [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | limits.c | 69 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 D | sysfiles.c | 83 static char *tokens[NTOKENS], **tokptr; variable 296 * tokenize() continues pulling tokens out of a buffer -- the 304 tokptr = tokens; 307 if (tokptr - tokens >= NTOKENS) 327 for (line = tokens; (line - tokens) < NTOKENS && *line; line++) {
|
/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; 195 assert(strcmp(tokens[n], us3_keyvals[n].kv_token) == 0); 198 assert(strcmp(tokens[n], us2_keyvals[n].kv_token) == 0); 245 int idx = getsubopt(&opts, tokens, &value); 258 tokens[idx]); 267 tokens[idx]); 302 idx < sizeof (tokens) / sizeof (tokens[ [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; 359 assert(strcmp(tokens[n], p6_keyvals[n].kv_token) == 0); 362 assert(strcmp(tokens[n], p5_keyvals[n].kv_token) == 0); 409 int idx = getsubopt(&opts, tokens, &value); 422 tokens[idx]); 431 tokens[idx]); 466 idx < sizeof (tokens) / sizeof (tokens[ [all...] |
/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/cmd/cmd-crypto/pktool/ |
H A D | Makefile | 35 tokens.o \
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util.c | 575 gchar **tokens; local 579 tokens = NULL; 584 tokens = g_strsplit_set (line, " \t:", 0); 585 for (i = 0, j = 0; tokens[i] != NULL; i++) { 586 if (strlen (tokens[i]) == 0) 589 strncpy (buf, tokens[i], sizeof (buf)); 597 if (tokens != NULL) 598 g_strfreev (tokens); 753 gchar **tokens; local 757 tokens [all...] |
H A D | device_info.c | 184 gchar **tokens = NULL; local 191 /* Split up path into ':' tokens */ 192 tokens = g_strsplit (path, ":", 64); 195 if (tokens == NULL || tokens[0] == NULL || tokens[1] == NULL) { 205 for (i = 0; tokens[i] != NULL; i++) { 209 /*HAL_INFO (("tokens[%d] = '%s'", i, tokens[i]));*/ 217 curtoken = tokens[ [all...] |
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | DoPrinterUtil.java | 320 String tokens[] = null; 351 tokens = new String[st.countTokens()]; 353 tokens[i] = st.nextToken(); 357 if ((tokens[i].trim()).equals("Manufacturer")) { 358 pmake = new String(tokens[i + 1].trim()); 359 } else { if ((tokens[i].trim()).equals("Model")) 360 pmodel = new String(tokens[i + 1].trim());
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | subr.c | 221 getsubopt(char **optionsp, char * const *tokens, char **valuep) argument 245 for (i = 0; tokens[i] != NULL; i++) { 246 if ((optlen == strlen(tokens[i])) && 247 (strncmp(s, tokens[i], optlen) == 0))
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 91 static char *tokens[NTOKENS], **tokptr; variable 319 * tokenize() continues pulling tokens out of a buffer -- the 328 tokptr = tokens; 331 if (tokptr - tokens >= NTOKENS) 351 for (line = tokens; (line - tokens) < NTOKENS && *line; line++) {
|
/illumos-gate/usr/src/cmd/datadm/ |
H A D | datadm.c | 831 datadm_parse_line(char *line_buf, char *tokens[], int *token_count) argument 887 * and update the tokens array. 890 tokens[count] = start; 909 tokens[count] = start; 1006 char *tokens[DATADM_MAX_TOKENS]; local 1026 retval = datadm_parse_line(line_buf, tokens, &token_count); 1050 (tokens[i], (void *)sp_entry); 1056 sp_conf, line_count, tokens[i - 1]); 1075 "# of tokens: %d, expected %d\n"), sp_conf, 1099 char *tokens[DATADM_MAX_TOKEN local [all...] |
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | dconf.c | 60 static const dc_token_t tokens[] = { variable 177 * Locate a matching token in the tokens[] table, 180 for (tokp = tokens; tokp->tok_name != NULL; tokp++) { 192 * If we hit the end of the tokens[] table, 267 for (tokp = tokens; tokp->tok_name != NULL; tokp++) {
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | print_audit.txt | 92 output to identify tokens and fields within tokens.
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | mount.c | 496 getsubopt(char **optionsp, char * const *tokens, char **valuep) argument 520 for (i = 0; tokens[i] != NULL; i++) { 521 if ((optlen == strlen(tokens[i])) && 522 (strncmp(s, tokens[i], optlen) == 0))
|
/illumos-gate/usr/src/cmd/sgs/libconv/ |
H A D | Makefile.com | 51 tokens.o time.o \
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.pm | 521 # This function splits the values string into a list of tokens. Tokens are 527 # This seperates the attribute string into higher level tokens 534 my @tokens; 538 # Seperate tokens delimited by "(", ")", and ",". 539 @tokens = split(/([,()])/, $_[0], -1); 542 @newtokens = grep($_ ne '', @tokens); 578 my $tokens; 594 $tokens = $ref; 596 foreach $token (@$tokens) {
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei_lv.c | 368 * tokens = token array for each buffer. 369 * size = number of tokens 380 fcoei_ub_alloc(void * fca_handle, uint64_t tokens[], uint32_t size, argument 383 FCOEI_LOG(__FUNCTION__, "not: %p-%p-%x-%p-%x", fca_handle, tokens, 395 * tokens = token array for each buffer. 404 fcoei_ub_free(void * fca_handle, uint32_t count, uint64_t tokens[]) argument 406 FCOEI_EXT_LOG(__FUNCTION__, "not: %p-%x-%p", fca_handle, count, tokens); 417 * tokens = token array for each buffer. 427 fcoei_ub_release(void * fca_handle, uint32_t count, uint64_t tokens[]) argument 429 fc_unsol_buf_t *ub = *((fc_unsol_buf_t **)tokens); [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | systm.h | 195 int getsubopt(char **optionsp, char * const *tokens, char **valuep);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_conf.c | 256 } tokens[] = { local 283 for (tok = tokens; tok->tok_tag != 0; tok++) { 301 for (tok = tokens; tok->tok_tag != 0; tok++) { 547 * tokens are translated into a bitmask. 'cmp' should be set to point to an
|