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

1234567891011>>

/freebsd-head/sys/cddl/compat/opensolaris/sys/
H A Drefstr.h32 #define refstr_value(str) (str)
/freebsd-head/sys/dev/ice/
H A Dice_strings.c70 struct ice_str_buf buf = { .str = "" };
71 const char *str = NULL; local
75 str = "OK";
78 str = "AQ_RC_EPERM";
81 str = "AQ_RC_ENOENT";
84 str = "AQ_RC_ESRCH";
87 str = "AQ_RC_EINTR";
90 str = "AQ_RC_EIO";
93 str = "AQ_RC_ENXIO";
96 str
186 const char *str = NULL; local
302 const char *str = NULL; local
678 const char *str = NULL; local
745 const char *str = NULL; local
834 const char *str = NULL; local
936 const char *str = NULL; local
1012 const char *str = NULL; local
[all...]
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/
H A DProcessMessage.cpp18 const char *str = nullptr; local
22 str = "eInvalidMessage";
25 str = "eAttachMessage";
28 str = "eExitMessage";
31 str = "eLimboMessage";
34 str = "eSignalMessage";
37 str = "eSignalDeliveredMessage";
40 str = "eTraceMessage";
43 str = "eBreakpointMessage";
46 str
[all...]
/freebsd-head/crypto/heimdal/lib/roken/
H A Dstrsep.c43 strsep(char **str, const char *delim) argument
45 char *save = *str;
46 if(*str == NULL)
48 *str = *str + strcspn(*str, delim);
49 if(**str == 0)
50 *str = NULL;
52 **str = 0;
53 (*str)
[all...]
H A Dstrlwr.c42 strlwr(char *str) argument
46 for(s = str; *s; s++)
48 return str;
H A Dstrupr.c42 strupr(char *str) argument
46 for(s = str; *s; s++)
48 return str;
H A Dstrpool.c41 char *str; member in struct:rk_strpool
52 if (p->str) {
53 free(p->str);
54 p->str = NULL;
67 char *str, *str2; local
74 p->str = NULL;
78 len = vasprintf(&str, fmt, ap);
80 if (str == NULL) {
84 str2 = realloc(p->str, len + p->len + 1);
89 p->str
103 char *str; local
[all...]
/freebsd-head/contrib/xz/src/xz/
H A Doptions.h17 extern lzma_options_delta *options_delta(const char *str);
24 extern lzma_options_bcj *options_bcj(const char *str);
31 extern lzma_options_lzma *options_lzma(const char *str);
/freebsd-head/cddl/contrib/opensolaris/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...]
/freebsd-head/contrib/apr/strings/
H A Dapr_strtok.c27 APR_DECLARE(char *) apr_strtok(char *str, const char *sep, char **last) argument
31 if (!str) /* subsequent call */
32 str = *last; /* start where we left off */
35 while (*str && strchr(sep, *str))
36 ++str;
38 if (!*str) /* no more tokens */
41 token = str;
/freebsd-head/sbin/dump/
H A Dunctime.c49 unctime(char *str) argument
53 str = strptime(str, "%a %b %e %T %Y", &then);
54 if (str == NULL || (*str != '\n' && *str != '\0'))
/freebsd-head/contrib/sendmail/libsm/
H A Dmatch.c20 ** str -- string.
21 ** par -- pattern to find in str.
45 sm_match(str, pat)
46 const char *str;
58 return *str == '\0';
60 if (*str == '\0')
63 ++str;
74 if (sm_match(pat, str))
76 if (*str == '\0')
78 ++str;
[all...]
/freebsd-head/contrib/ncurses/ncurses/base/
H A Dkey_defined.c39 find_definition(TRIES * tree, const char *str) argument
44 if (str != 0 && *str != '\0') {
46 if (UChar(*str) == UChar(ptr->ch)) {
47 if (str[1] == '\0' && ptr->child != 0) {
49 } else if ((result = find_definition(ptr->child, str + 1))
52 } else if (str[1] == '\0') {
69 NCURSES_SP_NAME(key_defined) (NCURSES_SP_DCLx const char *str) argument
73 T((T_CALLED("key_defined(%p, %s)"), (void *) SP_PARM, _nc_visbuf(str)));
74 if (SP_PARM != 0 && str !
83 key_defined(const char *str) argument
[all...]
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.shortstr.d34 this->str = ",,,Carrots,,Barley,Oatmeal,,,,,,,,,,,,,,,,,,Beans,";
39 strtok(this->str, ",");
44 this->str = ",,,,,,,,,,,,,,,,,,,,,,Carrots,";
45 strtok(this->str, ",");
50 strtok(this->str, "a");
55 printf("%s\n", substr(this->str, 1, 40));
60 printf("%s\n", strjoin(this->str, this->str));
66 printf("%d\n", index(this->str, this->str1));
71 printf("%d\n", rindex(this->str, thi
[all...]
/freebsd-head/cddl/contrib/opensolaris/common/ctf/
H A Dctf_error.c86 const char *str; local
89 str = _ctf_errlist[error - ECTF_BASE];
91 str = ctf_strerror(error);
93 return (str ? str : "Unknown error");
/freebsd-head/lib/libnetbsd/
H A Dutil.c47 char *str; local
49 str = fflagstostr(flags);
50 if (*str == '\0') {
51 free(str);
52 str = strdup(def);
54 return (str);
/freebsd-head/lib/libc/locale/
H A Dfix_grouping.c46 __fix_locale_grouping_str(const char *str) argument
51 if (str == NULL || *str == '\0') {
55 for (src = (char*)str, dst = (char*)str; *src != '\0'; src++) {
83 return (dst == (char*)str) ? nogrouping : str;
87 return str;
/freebsd-head/crypto/openssl/crypto/buffer/
H A Dbuffer.c58 static char *sec_alloc_realloc(BUF_MEM *str, size_t len) argument
63 if (str->data != NULL) {
65 memcpy(ret, str->data, str->length);
66 OPENSSL_secure_clear_free(str->data, str->length);
67 str->data = NULL;
73 size_t BUF_MEM_grow(BUF_MEM *str, size_t len) argument
78 if (str->length >= len) {
79 str
110 BUF_MEM_grow_clean(BUF_MEM *str, size_t len) argument
[all...]
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_version_details.c59 static struct archive_string str; local
68 archive_string_init(&str);
70 archive_strcat(&str, ARCHIVE_VERSION_STRING);
72 archive_strcat(&str, " zlib/");
73 archive_strcat(&str, zlib);
76 archive_strcat(&str, " liblzma/");
77 archive_strcat(&str, liblzma);
84 archive_strcat(&str, " bz2lib/");
85 archive_strncat(&str, p, sep - p);
88 archive_strcat(&str, " liblz
133 #define str macro
137 #undef str macro
[all...]
/freebsd-head/contrib/ldns/ldns/
H A Dstr2host.h2 * str2host.h - conversion from str to the host fmt
67 * \param[in] str the string to be converted
74 * \param[in] str the string to be converted
77 ldns_status ldns_str2rdf_period(ldns_rdf **rd, const char *str);
80 * convert str with an A record into wireformat
82 * \param[in] str the string to be converted
85 ldns_status ldns_str2rdf_a(ldns_rdf **rd, const char *str);
88 * convert the str with an AAAA record into wireformat
90 * \param[in] str the string to be converted
93 ldns_status ldns_str2rdf_aaaa(ldns_rdf **rd, const char *str);
[all...]
/freebsd-head/lib/libc/posix1e/
H A Dacl_from_text_nfs4.c51 * Parse the tag field of ACL entry passed as "str". If qualifier
56 parse_tag(const char *str, acl_entry_t entry, int *need_qualifier) argument
62 if (strcmp(str, "owner@") == 0)
64 if (strcmp(str, "group@") == 0)
66 if (strcmp(str, "everyone@") == 0)
71 if (strcmp(str, "user") == 0 || strcmp(str, "u") == 0)
73 if (strcmp(str, "group") == 0 || strcmp(str, "g") == 0)
82 * Parse the qualifier field of ACL entry passed as "str"
88 parse_qualifier(char *str, acl_entry_t entry, int *need_qualifier) argument
118 parse_access_mask(char *str, acl_entry_t entry) argument
133 parse_flags(char *str, acl_entry_t entry) argument
148 parse_entry_type(const char *str, acl_entry_t entry) argument
166 parse_appended_id(char *str, acl_entry_t entry) argument
189 number_of_colons(const char *str) argument
204 _nfs4_acl_entry_from_text(acl_t aclp, char *str) argument
[all...]
/freebsd-head/cddl/compat/opensolaris/misc/
H A Dmkdirp.c52 static char *simplify(const char *str);
57 char *endptr, *ptr, *slash, *str; local
59 str = simplify(d);
63 if (str == NULL)
68 if (mkdir(str, mode) == 0) {
69 free(str);
73 free(str);
76 endptr = strrchr(str, '\0');
77 slash = strrchr(str, '/');
88 if (access(str, F_O
141 simplify(const char *str) argument
[all...]
/freebsd-head/sys/contrib/openzfs/lib/libspl/
H A Dmkdirp.c47 static char *simplify(const char *str);
52 char *endptr, *ptr, *slash, *str; local
54 str = simplify(d);
58 if (str == NULL)
63 if (mkdir(str, mode) == 0) {
64 free(str);
68 free(str);
71 endptr = strrchr(str, '\0');
72 slash = strrchr(str, '/');
83 if (access(str, F_O
136 simplify(const char *str) argument
[all...]
/freebsd-head/contrib/binutils/opcodes/
H A Di386-gen.c50 remove_leading_whitespaces (char *str) argument
52 while (ISSPACE (*str))
53 str++;
54 return str;
60 remove_trailing_whitespaces (char *str) argument
62 size_t last = strlen (str);
70 if (ISSPACE (str [last]))
71 str[last] = '\0';
82 next_field (char *str, char **next) argument
86 p = remove_leading_whitespaces (str);
103 char *str, *p, *last; local
255 char *str, *p, *last; local
[all...]

Completed in 147 milliseconds

1234567891011>>