Searched refs:str (Results 1 - 25 of 1593) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dgsubtest.awk2 str = "abc"; print gsub("b+", "FOO", str), str
3 str = "abc"; print gsub("x*", "X", str), str
4 str = "abc"; print gsub("b*", "X", str), str
5 str
[all...]
H A Dwidesub.awk2 str = "type=\"directory\" version=\"1.0\""
3 #print "BEGIN:", str
5 while (str) {
6 sub(/^[^=]*/, "", str);
7 s = substr(str, 2)
9 sub(/^="[^"]*"/, "", str)
10 sub(/^[ \t]*/, "", str)
H A Dsubi18n.awk15 str = "type=\"directory\" version=\"1.0\""
16 #print "BEGIN:", str
18 while (str) {
19 sub(/^[^=]*/, "", str);
20 s = substr(str, 2)
22 sub(/^="[^"]*"/, "", str)
23 sub(/^[ \t]*/, "", str)
/illumos-gate/usr/src/cmd/sgs/tsort/common/
H A Derrprefix.c42 errprefix(char *str) argument
44 Err.prefix = str;
H A Derrsource.c42 errsource(char *str) argument
44 Err.source = str;
H A Derrtofix.c42 errtofix(char *str) argument
44 Err.tofix = str;
H A Derrtag.c43 errtag(char *str, int num) argument
45 Err.tagstr = str;
/illumos-gate/usr/src/ucblib/libcurses/
H A Dgetstr.c32 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 Daddstr.c31 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 Dstrip.c38 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 Dsyntax.c42 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 Dwhich.c48 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...]
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dstrproc.c50 * 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 Dtst.strstr.d33 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 Dtst.strchr.d33 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 Dstreams_mmap.c37 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 Dstreams_array.c37 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/libresolv2/common/bsd/
H A Dputenv.c13 putenv(char *str) { argument
16 for (tmp = str; *tmp && (*tmp != '='); tmp++)
19 return (setenv(str, tmp, 1));
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_dup.c31 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/libsmedia/plugins/floppy/common/
H A Df_defines.h38 #define PERROR(str) my_perror(gettext(str))
/illumos-gate/usr/src/lib/libcurses/screen/
H A DV3.m_addstr.c49 m_addstr(char *str) argument
51 return (waddstr(stdscr, str));
H A D_addstr.c49 addstr(char *str) argument
51 return (waddstr(stdscr, str));
H A D_addwchstr.c40 addwchstr(chtype *str) argument
42 return (waddwchstr(stdscr, str));
H A D_getstr.c49 getstr(char *str) argument
51 return (wgetstr(stdscr, str));
H A D_inwchstr.c40 inwchstr(chtype *str) argument
42 return (winwchstr(stdscr, str));

Completed in 211 milliseconds

1234567891011>>