Searched defs:str (Results 1 - 25 of 1187) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstrlen.c79 return (p - str + x); \
83 strlen(const char *str) argument
99 lp = (const unsigned long *)((uintptr_t)str & ~LONGPTR_MASK);
105 for (p = str; p < (const char *)lp; p++)
107 return (p - str);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dtftp.c71 static int tftp_set_blksize(struct tftp_handle *h, const char *str);
642 tftp_set_blksize(struct tftp_handle *h, const char *str) argument
648 if (h == NULL || str == NULL)
652 (unsigned int)strtol(str, &endptr, 0);
/illumos-gate/usr/src/boot/lib/libz/
H A Ddeflate.c171 * Insert string str in the dictionary and set match_head to the previous head
177 * input characters and the first MIN_MATCH bytes of str are valid
181 #define INSERT_STRING(s, str, match_head) \
182 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
184 s->head[s->ins_h] = (Pos)(str))
186 #define INSERT_STRING(s, str, match_head) \
187 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
188 match_head = s->prev[(str) & s->w_mask] = s->head[s->ins_h], \
189 s->head[s->ins_h] = (Pos)(str))
329 uInt str, local
572 Bytef *str; local
1472 uInt str = s->strstart - s->insert; local
[all...]
H A Dgzread.c492 char *str; local
516 str = buf;
543 if (buf == str)
546 return str;
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/
H A Dixp425_board.c193 putstr(const char *str) argument
195 while(*str)
196 xputchar(*str++);
209 puthexlist(const u_int8_t *str, int length) argument
212 puthex8(*str);
214 str++;
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dinterp_backslash.c27 * backslash: Return malloc'd copy of str with all standard "backslash
31 backslash(char *str) argument
45 if ((new_str = strdup(str)) == NULL)
48 while (*str) {
51 switch (*str) {
54 str++;
62 new_str[i++] = *str++;
67 str++;
72 str++;
77 str
[all...]
H A Dinterp_parse.c85 parse(int *argc, char ***argv, char *str) argument
95 if (!str || (p = copy = backslash(str)) == NULL)
H A Disapnp.c165 u_char *str; local
200 str = malloc(large_len + 1);
201 if (isapnp_get_resource_info(str, (ssize_t)large_len)) {
202 free(str);
205 str[large_len] = 0;
207 pi->pi_desc = (char *)str;
209 free(str);
H A Dmisc.c83 strdupout(vm_offset_t str) argument
87 result = malloc(strlenout(str) + 1);
89 archsw.arch_copyout(str++, cp, 1);
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dlinenoise.c286 void linenoiseAddCompletion(linenoiseCompletions *lc, const char *str) { argument
287 size_t len = strlen(str);
292 memcpy(copy,str,len+1);
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dmain.c86 print_str16(const CHAR16 *str) argument
90 for (i = 0; str[i]; i++)
91 printf("%c", (char)str[i]);
/illumos-gate/usr/src/boot/sys/boot/fdt/
H A Dfdt_loader_cmd.c322 #define fdt_strtovect(str, cellbuf, lim, cellsize) _fdt_strtovect((str), \
326 #define fdt_strtovectx(str, cellbuf, lim, cellsize) _fdt_strtovect((str), \
330 _fdt_strtovect(const char *str, void *cellbuf, int lim, unsigned char cellsize, argument
333 const char *buf = str;
334 const char *end = str + strlen(str) - 2;
373 fdt_fixup_ethernet(const char *str, char *ethstr, int len) argument
378 fdt_strtovectx(str,
614 fdt_fixup_stdout(const char *str) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiospnp.c193 char *str; local
222 str = malloc(rlen + 1);
223 bcopy(p + i, str, rlen);
224 str[rlen] = 0;
226 pi->pi_desc = str;
228 free(str);
/illumos-gate/usr/src/boot/sys/boot/sparc64/boot1/
H A Dboot1.c70 static int vsnprintf(char *str, size_t sz, const char *fmt, va_list ap);
581 vsnprintf(char *str, size_t sz, const char *fmt, va_list ap) argument
586 sp.sp_buf = str;
/illumos-gate/usr/src/boot/sys/boot/uboot/fdt/
H A Duboot_fdt.c93 const char *env, *str; local
140 str = ub_env_get(env);
153 fdt_fixup_ethernet(str, ethstr, len);
161 str = ub_env_get(env);
162 fdt_fixup_stdout(str);
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dglue.c505 const char *env, *str; local
523 for (i = 0, str = env; *str != '=' && *str != '\0';)
524 env_name[i++] = *str++;
/illumos-gate/usr/src/boot/sys/sys/
H A Ddisk.h132 char str[DISK_IDENT_SIZE]; member in union:diocgattr_arg::__anon406
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Dfrontend.c406 * non_empty(const char *str)
407 * assumes str is non null
408 * checks if str is a non empty string
413 non_empty(const char *str) argument
415 while (*str != '\0') {
416 if (!isspace(*str))
418 ++str;
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dprintfuncs.c300 space_to_uscore(char const *str) argument
304 strp = strdup(str);
H A Dtrace.c623 to_basetype(char *str) argument
625 char *p = str,
630 assert(strlen(str) < MAXLINE, "string exceeded MAXLINE");
663 (void) strcpy(str, buffer);
H A Dutil.c51 strnormalize(char *str) argument
55 if (str == NULL || *str == NULL)
56 return (str);
57 for (p = str; *p != NULL; p++) {
63 while (p >= str && (isspace(*p) || *p == ';'))
67 while (isspace(*str))
68 str++;
70 return (str);
74 strtrim(char *str) argument
91 strlower(char *str) argument
[all...]
/illumos-gate/usr/src/cmd/acctadm/
H A Dres.c297 str2buf(ac_res_t *buf, char *str, int state, int type) argument
302 if (strcmp(str, AC_STR_NONE) == 0)
305 * Take a lap through str, processing resources, modifying buf copy
308 if ((copy = malloc(strlen(str) + 1)) == NULL)
310 (void) memcpy(copy, str, strlen(str) + 1);
314 * check if str contains any resource groups
348 char *str, *g; local
352 (str = malloc(MAXRESLEN)) == NULL)
354 (void) memset(str,
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c318 char *p, *val, *str; local
335 str = strdup(val);
337 while (*str == '"')
338 str++;
339 if ((p = strchr(str, '"')) != NULL)
341 if (str_to_label(str, &slabel, MAC_LABEL, L_NO_CORRECTION,
347 free(str);
351 free(str);
/illumos-gate/usr/src/cmd/audio/audioctl/
H A Daudioctl.c456 char *str; local
498 str = get_enum_str(cinfop, cval.value);
499 if (str == NULL) {
505 (void) snprintf(valbuf, sizeof (valbuf), "%s", str);
537 str = get_enum_str(cinfop, i);
538 if (str == NULL)
541 if ((strlen(str) + 1 + strlen(selbuf)) >=
549 (void) strlcat(selbuf, str, sizeof (selbuf));
577 str = get_enum_str(cinfop, i);
578 if (str
611 char *str; local
[all...]
/illumos-gate/usr/src/cmd/audio/audioplay/
H A Daudioplay.c144 static int parse_unsigned(char *str, unsigned *dst, char *flag);
899 parse_unsigned(char *str, unsigned *dst, char *flag) argument
903 if (sscanf(str, "%u%c", dst, &x) != 1) {

Completed in 229 milliseconds

1234567891011>>