Searched refs:string (Results 1 - 25 of 4740) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/bnu/
H A Dstrpbrk.c32 * in the character string `string'; NULL if none exists.
36 strpbrk(string, brkset)
37 register char *string, *brkset;
41 if(!string || !brkset)
44 for(p=brkset; *p != '\0' && *p != *string; ++p)
47 return(string);
49 while(*string++);
/illumos-gate/usr/src/lib/libgen/common/
H A Dstrrspn.c33 #include <string.h>
36 * Trim trailing characters from a string.
37 * Returns pointer to the first character in the string
42 strrspn(const char *string, const char *tc) argument
46 p = (char *)string + strlen(string);
47 while (p != (char *)string)
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dtparm.h27 char *grub_tparm (const char *string, ...);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrtok_r.c33 #include <string.h>
38 * uses strpbrk and strspn to break string into tokens on
44 strtok_r(char *string, const char *sepset, char **lasts) argument
49 if (string == NULL)
50 string = *lasts;
52 if (string == NULL) /* return if no tokens remaining */
55 q = string + strspn(string, sepset); /* skip leading separators */
H A Dstrpbrk.c33 #include <string.h>
39 * in the character string `string'; NULL if none exists.
42 strpbrk(const char *string, const char *brkset) argument
47 for (p = brkset; *p != '\0' && *p != *string; ++p)
50 return ((char *)string);
51 } while (*string++);
H A Dstrcspn.c33 #include <string.h>
38 * of string which consists solely of characters NOT from charset.
41 strcspn(const char *string, const char *charset) argument
45 for (q = string; *q != '\0'; ++q) {
51 return (q - string);
H A Dstrspn.c33 #include <string.h>
38 * of string which consists solely of characters from charset.
41 strspn(const char *string, const char *charset) argument
45 for (q = string; *q != '\0'; ++q) {
51 return (q - string);
H A Dtls_data.c27 #include <string.h>
/illumos-gate/usr/src/cmd/dirname/
H A Ddirname.c32 #include <string.h>
40 char *string; local
68 string = argv[1];
70 if (*string == '\0') {
76 p = string + strlen(string) - 1;
77 while (p >= string && *p == '/')
80 if (*string == '\0') {
81 /* string contained only slashes */
87 while (p >= string
[all...]
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dstringlib.c20 Chop(register char *string) argument
27 for (ptr = string; *ptr; ptr++);
28 if (ptr != string) {
36 Chomp(register char *string) argument
43 for (ptr = string; *ptr; ptr++)
45 if (ptr != string && isspace(*(--ptr))) {
54 Trim(register char *string) argument
58 for (ptr = string; *ptr; ptr++);
60 while ((--ptr >= string) && isspace(*ptr));
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwspbrk.c34 * in the wchar_t array 'string'; NULL if none exists.
45 wcspbrk(const wchar_t *string, const wchar_t *brkset) argument
50 for (p = brkset; *p && *p != *string; ++p)
53 return ((wchar_t *)string);
54 } while (*string++);
59 wspbrk(const wchar_t *string, const wchar_t *brkset) argument
61 return (wcspbrk(string, brkset));
H A Dwscspn.c34 * of string which consists solely of characters NOT from charset.
45 wcscspn(const wchar_t *string, const wchar_t *charset) argument
49 for (q = string; *q != 0; ++q) {
55 return (q - string);
59 wscspn(const wchar_t *string, const wchar_t *charset) argument
61 return (wcscspn(string, charset));
H A Dwsspn.c37 * of string which consists solely of characters from charset.
44 wcsspn(const wchar_t *string, const wchar_t *charset) argument
48 for (q = string; *q; ++q) {
54 return (q - string);
58 wsspn(const wchar_t *string, const wchar_t *charset) argument
60 return (wcsspn(string, charset));
H A Dwstok.c33 * uses wcspbrk and wcsspn to break string into tokens on
55 __wcstok_xpg5(wchar_t *string, const wchar_t *sepset, wchar_t **ptr) argument
60 if ((string == WNULL && (string = *ptr) == 0) ||
61 (((q = string + wcsspn(string, sepset)) != WNULL) && *q == L'\0'))
64 /* sepset becomes next string after separator */
76 wcstok(wchar_t *string, const wchar_t *sepset) argument
82 return (__wcstok_xpg5(string, sepset, lasts));
86 wstok(wchar_t *string, cons argument
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtputs.c46 #include <string.h>
71 * Apply padding information to a string and write it out.
75 tputs(string, affcnt, putout)
76 const char *string;
84 __m_trace("tputs(%p = \"%s\", %d, %p)", string, string, affcnt, putout);
90 for (len = 0; *string; ++string){
92 if (*string == '$'
93 && string[
[all...]
/illumos-gate/usr/src/ucbcmd/stty/
H A Dstty.h39 const char *string; member in struct:speeds
44 const char *string; member in struct:mds
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtputs.c51 #include <string.h>
73 tputs(const char *string, int affcnt, int (*putout)(int)) argument
75 (void) __m_tputs(string, affcnt, putout);
81 * Apply padding information to a string and write it out.
85 __m_tputs(const char *string, int affcnt, int (*putout)(int)) argument
93 for (len = 0; *string; ++string) {
95 if (*string == '$' && string[1] == '<' &&
96 (isdigit(string[
[all...]
/illumos-gate/usr/src/lib/libads/common/
H A Dads_priv.x58 string dci_DcName<ADSPRIV_STR_MAX>;
59 string dci_DcAddr<ADSPRIV_STR_MAX>;
62 string dci_DomainName<ADSPRIV_STR_MAX>;
63 string dci_DnsForestName<ADSPRIV_STR_MAX>;
65 string dci_DcSiteName<ADSPRIV_STR_MAX>;
66 string dci_ClientSiteName<ADSPRIV_STR_MAX>;
75 string DomainName<ADSPRIV_STR_MAX>;
82 string ComputerName<ADSPRIV_STR_MAX>;
83 string DomainName<ADSPRIV_STR_MAX>;
84 string DomainGui
[all...]
/illumos-gate/usr/src/compat/bhyve/
H A Dstring.h24 #include_next <string.h>
/illumos-gate/usr/src/lib/sun_fc/common/
H A DTgtFCHBA.h35 #include <string>
44 TgtFCHBA(std::string path);
48 virtual std::string getName();
56 std::string name;
57 static const std::string FCT_DRIVER_PATH;
58 static const std::string FCT_ADAPTER_NAME_PREFIX;
59 static const std::string FCT_DRIVER_PKG;
/illumos-gate/usr/src/lib/libmail/inc/
H A Ds_string.h38 #include <string.h>
40 typedef struct string { struct
41 char *base; /* base of string */
43 char *ptr; /* ptr into string */
44 } string; typedef in typeref:struct:string
69 extern string *s_append(string *to, char *from);
70 extern string *s_array(char *, size_t len);
71 extern string *s_copy(char *);
72 extern void s_free(string *);
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dovprintf.c47 _strout(string, count, adjust, file, fillch)
48 register char *string;
54 if (*string=='-' && fillch=='0') {
55 putchar(*string++);
62 putchar(*string++);
/illumos-gate/usr/src/cmd/basename/
H A Dbasename.c32 #include <string.h>
43 char *string; local
79 (void) fputs(gettext("Usage: basename string [ suffix ]\n"),
84 string = argv[1];
87 if (*string == '\0') {
93 p = string + strlen(string) - 1;
94 while (p >= string && *p == '/')
97 if (*string == '\0') {
103 if ((p = strrchr(string, '/')) !
[all...]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_rpc_adm.x59 string rmi_name<>;
60 string rmi_desc<>;
61 string rmi_vers<>;
73 string rri_fmri<>;
74 string rri_uuid<>;
75 string rri_case<>;
91 string rsi_name<>;
128 struct fmd_rpc_modstat FMD_ADM_MODCSTAT(string) = 2;
129 struct fmd_rpc_modstat FMD_ADM_MODDSTAT(string) = 3;
131 int FMD_ADM_MODLOAD(string)
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dparser.c38 * "string" sp). Backslash can be used to quote a quote mark.
43 _sa_get_token(char *string) argument
52 if (string != orig || string == NULL) {
53 orig = string;
54 curp = string;
55 if (string == NULL) {

Completed in 55 milliseconds

1234567891011>>