Searched defs:string (Results 1 - 25 of 379) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dstring_to_cksumtype.c32 krb5_string_to_cksumtype(char *string, krb5_cksumtype *cksumtypep) argument
37 if (strcasecmp(krb5_cksumtypes_list[i].in_string, string) == 0) {
H A Dstring_to_enctype.c31 krb5_string_to_enctype(char *string, krb5_enctype *enctypep) argument
36 if (strcasecmp(krb5_enctypes_list[i].in_string, string) == 0) {
/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/lib/libc/port/gen/
H A Dpfmt_data.h39 char *string; member in struct:sev_tab
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 Dstrtok.c33 #include <string.h>
44 strtok(char *string, const char *sepset) argument
50 return (strtok_r(string, sepset, lasts));
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 Daddsev.c42 #include <string.h>
46 addsev(int severity, const char *string) argument
65 if (string == NULL) /* Removing non-existing severity */
81 if (string == NULL) {
82 if (__pfmt_sev_tab[i].string)
83 libc_free(__pfmt_sev_tab[i].string);
85 __pfmt_sev_tab[i].string = NULL;
89 new = libc_realloc(__pfmt_sev_tab[i].string, strlen(string) + 1);
95 __pfmt_sev_tab[i].string
[all...]
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 */
/illumos-gate/usr/src/cmd/sgs/size/common/
H A Dfcns.c36 * error(file, string)
37 * simply prints the error message string
42 error(char *file, char *string) argument
51 "size: %s[%s]: %s\n", archive, file, string);
54 "size: %s: %s\n", file, string);
/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/
H A Dsprintf.c40 sprintf(char *string, char *format, ...) argument
46 siop._base = siop._ptr = (unsigned char *)string;
52 return (string);
H A Dvsprintf.c40 vsprintf(char *string, char *format, va_list ap) argument
45 siop._base = siop._ptr = (unsigned char *)string;
49 return (string);
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dsprintf.c52 sprintf(const char *string, const char *format, ...) argument
58 siop._base = siop._ptr = (unsigned char *)string;
64 return ((char *)string);
H A Dvsprintf.c52 vsprintf(char *string, char *format, va_list ap) argument
57 siop._base = siop._ptr = (unsigned char *)string;
61 return (string);
/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/gss_mechs/mech_krb5/krb5/os/
H A Dgen_rname.c27 * take a port-style address and unique string, and return
28 * a replay cache tag string.
35 krb5_gen_replay_name(krb5_context context, const krb5_address *address, const char *uniq, char **string) argument
40 if ((*string = malloc(strlen(uniq) + (address->length * 2) + 1)) == NULL)
44 sprintf(*string, "%s", uniq);
45 tmp = (*string) + strlen(uniq);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dlabeltostring.c34 char *string; local
36 string = (char *)malloc(sizeof(char));
37 strcpy(string, "");
38 return (string);
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/
H A Dsprintf.c40 sprintf(char *string, char *format, ...) argument
47 siop._base = siop._ptr = (unsigned char *)string;
H A Dvsprintf.c46 vsprintf(char *string, char *format, va_list ap) argument
52 siop._base = siop._ptr = (unsigned char *)string;
/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 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));
/illumos-gate/usr/src/lib/libc/port/print/
H A Dsprintf.c45 sprintf(char *string, const char *format, ...) argument
52 siop._base = siop._ptr = (unsigned char *)string;
85 _sprintf_c89(char *string, const char *format, ...) argument
91 count = _vsprintf_c89(string, format, ap);
H A Dvsprintf.c56 _vsprintf_c89(char *string, const char *format, va_list ap) argument
58 vsprintf(char *string, const char *format, va_list ap)
65 siop._base = siop._ptr = (unsigned char *)string;
/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...]

Completed in 232 milliseconds

1234567891011>>