/illumos-gate/usr/src/cmd/sgs/tsort/common/ |
H A D | errprefix.c | 42 errprefix(char *str) argument 44 Err.prefix = str;
|
H A D | errsource.c | 42 errsource(char *str) argument 44 Err.source = str;
|
H A D | errtofix.c | 42 errtofix(char *str) argument 44 Err.tofix = str;
|
H A D | errtag.c | 43 errtag(char *str, int num) argument 45 Err.tagstr = str;
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | getstr.c | 32 wgetstr(WINDOW *win, char *str) argument 34 while ((*str = wgetch(win)) != ERR && *str != '\n') 35 str++; 36 if (*str == ERR) { 37 *str = '\0'; 40 *str = '\0';
|
H A D | addstr.c | 31 waddstr(WINDOW *win, char *str) argument 34 fprintf(outf, "WADDSTR(\"%s\")\n", str); 36 while (*str) 37 if (waddch(win, *str++) == ERR)
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | strip.c | 38 char * str 41 strip (str) 42 register char *str; 47 if (!str || !*str) 50 str += strspn(str, " "); 51 for (p = str; *p; p++) 54 for (; p >= str && *p == ' '; p--) 57 return (str); [all...] |
H A D | syntax.c | 42 char * str 45 syn_name (str) 46 char *str; 51 if (!str || !*str) 54 if (strlen(str) > (size_t) MAXPATHLEN) 57 for (p = str; *p; p++) 67 char * str 70 syn_type (str) 71 char *str; [all...] |
H A D | which.c | 48 char * str 51 isprinter (str) 52 char *str; 60 str 61 && *str 62 && (path = getprinterfile(str, CONFIGFILE)) 77 char * str 80 isclass (str) 81 char *str; 89 str [all...] |
H A D | sop.c | 51 register char *str; local 56 str = 0; 66 if (str) 67 str = Realloc(str, size + add_size + 1); 69 str = Malloc(size + add_size + 1); 70 if (!str) { 74 strcpy (str + size, buf); 78 Free (str); 81 return (str); [all...] |
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | strproc.c | 50 * str - String to be trimmed 56 * Leading whitespace is trimmed by advancing the given str pointer, 58 * should retain a copy of the original str pointer if they need to 67 conv_strproc_trim(char *str) argument 72 while (conv_strproc_isspace(*str)) 73 str++; 76 tail = str + strlen(str); 77 while ((tail > str) && conv_strproc_isspace(*(tail - 1))) 81 return (str); 107 conv_strproc_extract_value(char *str, size_t token_len, int flags, const char **value) argument [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.strstr.d | 33 str = "foobarbarbazbarbop"; 36 c = str; 37 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 40 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 43 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 46 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, [all...] |
H A D | tst.strchr.d | 33 str = "fooeyfooeyfoo"; 37 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c)); 38 printf("strrchr(\"%s\", '%c') = \"%s\"\n", str, c, strrchr(str, c)); 41 printf("strchr(\"%s\", '%c') = \"%s\"\n", str, c, strchr(str, c)); 42 printf("strrchr(\"%s\", '%c') = \"%s\"\n", str, c, strrchr(str, c)); 44 printf("strrchr(\"%s\", '%c') = \"%s\"\n", strchr(str, [all...] |
/illumos-gate/usr/src/cmd/sort/common/ |
H A D | streams_mmap.c | 37 stream_mmap_prime(stream_t *str) argument 41 if (stream_is_primed(str)) 44 stream_set(str, STREAM_PRIMED); 46 if (str->s_buffer_size == 0) { 47 stream_set(str, STREAM_EOS_REACHED); 51 str->s_current.l_data.sp = str->s_buffer; 52 str->s_type.SF.s_release_origin = str->s_buffer; 53 if ((nl = (char *)memchr(str 73 stream_mmap_fetch(stream_t *str) argument 115 stream_mmap_is_closable(stream_t *str) argument 123 stream_mmap_close(stream_t *str) argument 135 stream_mmap_free(stream_t *str) argument 157 stream_mmap_eos(stream_t *str) argument 191 stream_mmap_release_line(stream_t *str) argument [all...] |
H A D | streams_array.c | 37 stream_array_prime(stream_t *str) argument 39 ASSERT((str->s_status & STREAM_SOURCE_MASK) == STREAM_ARRAY); 41 str->s_type.LA.s_cur_index = MIN(0, str->s_type.LA.s_array_size - 1); 42 if (str->s_type.LA.s_cur_index >= 0) 44 str->s_type.LA.s_array[str->s_type.LA.s_cur_index], 45 &str->s_current); 47 stream_set(str, STREAM_EOS_REACHED); 48 stream_unset(str, STREAM_PRIME 58 stream_array_fetch(stream_t *str) argument 74 stream_array_is_closable(stream_t *str) argument 84 stream_array_close(stream_t *str) argument 92 stream_array_free(stream_t *str) argument 104 stream_array_eos(stream_t *str) argument 121 stream_array_release_line(stream_t *str) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_dup.c | 31 char * g_strdup(str) 32 char *str; 36 if ((ret = (char *) xmalloc(strlen(str)+1)) == NULL) 39 strcpy(ret, str);
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | V3.m_addstr.c | 49 m_addstr(char *str) argument 51 return (waddstr(stdscr, str));
|
H A D | _addstr.c | 49 addstr(char *str) argument 51 return (waddstr(stdscr, str));
|
H A D | _addwchstr.c | 40 addwchstr(chtype *str) argument 42 return (waddwchstr(stdscr, str));
|
H A D | _getstr.c | 49 getstr(char *str) argument 51 return (wgetstr(stdscr, str));
|
H A D | _inwchstr.c | 40 inwchstr(chtype *str) argument 42 return (winwchstr(stdscr, str));
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_defines.h | 38 #define PERROR(str) my_perror(gettext(str))
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | procset.c | 67 const char *str; local 70 case POP_DIFF: str = "POP_DIFF"; break; 71 case POP_AND: str = "POP_AND"; break; 72 case POP_OR: str = "POP_OR"; break; 73 case POP_XOR: str = "POP_XOR"; break; 76 str = (const char *)pri->code_buf; 80 return (str); 86 const char *str; local 89 case P_PID: str = "P_PID"; break; 90 case P_PPID: str 114 char *str = pri->code_buf; local [all...] |
/illumos-gate/usr/src/cmd/tbl/ |
H A D | tm.c | 21 maknew(char *str) argument 26 p = str; 27 for (ba= 0; c = *str; str++) 28 if (c == '\\' && *(str+1)== '&') 29 ba=str; 30 str=p; 33 for (dpoint=0; *str; str++) 35 if (*str [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | strtol.c | 34 strtol(str, ptr, base) 35 register char *str; 44 *ptr = str; /* in case no number is formed */ 47 if (!isalnum(c = *str)) { 49 c = *++str; 54 c = *++str; 60 else if (str[1] == 'x' || str[1] == 'X') 70 if (base == 16 && c == '0' && isxdigit(str[2]) && 71 (str[ [all...] |