Searched refs:str (Results 26 - 50 of 2411) sorted by relevance

1234567891011>>

/freebsd-11.0-release/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...]
H A Ds390-mkopc.c73 char *str; local
85 str = opcode;
88 if (*str >= '0' && *str <= '9')
89 sort_value = (sort_value << 4) + (*str - '0');
90 else if (*str >= 'a' && *str <= 'f')
91 sort_value = (sort_value << 4) + (*str - 'a' + 10);
92 else if (*str >= 'A' && *str <
136 char *str; local
183 char *str; local
[all...]
/freebsd-11.0-release/share/examples/sunrpc/sort/
H A Dsort.x9 typedef string str<MAXSTRINGLEN>; /* the string itself */
12 str ss<MAXSORTSIZE>;
/freebsd-11.0-release/lib/libc/stdlib/
H A Datoi.c45 atoi(const char *str) argument
47 return (int)strtol(str, (char **)NULL, 10);
51 atoi_l(const char *str, locale_t locale) argument
53 return (int)strtol_l(str, (char **)NULL, 10, locale);
H A Datol.c45 atol(const char *str) argument
47 return strtol(str, (char **)NULL, 10);
51 atol_l(const char *str, locale_t locale) argument
53 return strtol_l(str, (char **)NULL, 10, locale);
H A Datoll.c42 atoll(const char *str) argument
44 return strtoll(str, (char **)NULL, 10);
48 atoll_l(const char *str, locale_t locale) argument
50 return strtoll_l(str, (char **)NULL, 10, locale);
/freebsd-11.0-release/contrib/openpam/lib/libpam/
H A Dpam_getenv.c60 char *str; local
70 for (str = pamh->env[i]; *str != '\0'; ++str) {
71 if (*str == '=') {
72 ++str;
76 RETURNS(str);
/freebsd-11.0-release/contrib/atf/atf-c/detail/
H A Ddynstr_test.c53 atf_dynstr_t str; local
55 RE(atf_dynstr_init(&str));
56 ATF_REQUIRE_EQ(atf_dynstr_length(&str), 0);
57 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "") == 0);
58 atf_dynstr_fini(&str);
63 init_fmt(atf_dynstr_t *str, const char *fmt, ...) argument
68 RE(atf_dynstr_init_ap(str, fmt, ap));
80 atf_dynstr_t str; local
82 init_fmt(&str, "String 1");
83 ATF_REQUIRE(strcmp(atf_dynstr_cstring(&str), "Strin
110 atf_dynstr_t str; local
142 atf_dynstr_t str; local
183 atf_dynstr_t str; local
199 atf_dynstr_t str; local
223 atf_dynstr_t str; local
261 atf_dynstr_t str, str2; local
286 atf_dynstr_t str; local
309 atf_dynstr_t str; local
334 atf_dynstr_t str; local
349 atf_dynstr_t str; local
377 atf_dynstr_t str; local
410 append_ap_aux(atf_dynstr_t *str, const char *fmt, ...) argument
451 atf_dynstr_t str; local
477 atf_dynstr_t str; local
522 prepend_ap_aux(atf_dynstr_t *str, const char *fmt, ...) argument
568 atf_dynstr_t str; local
591 atf_dynstr_t str, str2; local
[all...]
/freebsd-11.0-release/lib/libstand/
H A Dstrdup.c42 strdup(str)
43 const char *str;
48 if (str != NULL) {
49 len = strlen(str) + 1;
52 memcpy(copy, str, len);
/freebsd-11.0-release/sys/boot/common/
H A Dinterp_backslash.c27 * backslash: Return malloc'd copy of str with all standard "backslash
31 backslash(char *str) argument
45 if ((new_str = strdup(str)) == NULL)
48 while (*str) {
51 switch (*str) {
54 str++;
62 new_str[i++] = *str++;
67 str++;
72 str++;
77 str
[all...]
/freebsd-11.0-release/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-11.0-release/contrib/libarchive/libarchive/
H A Darchive_read_set_format.c41 char str[10]; local
53 strcpy(str, "7zip");
56 strcpy(str, "ar");
59 strcpy(str, "cab");
62 strcpy(str, "cpio");
65 strcpy(str, "iso9660");
68 strcpy(str, "lha");
71 strcpy(str, "mtree");
74 strcpy(str, "rar");
77 strcpy(str, "ta
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/buffer/
H A Dbuffer.c97 int BUF_MEM_grow(BUF_MEM *str, size_t len) argument
102 if (str->length >= len) {
103 str->length = len;
106 if (str->max >= len) {
107 memset(&str->data[str->length], 0, len - str->length);
108 str->length = len;
117 if (str->data == NULL)
120 ret = OPENSSL_realloc(str
133 BUF_MEM_grow_clean(BUF_MEM *str, size_t len) argument
[all...]
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i386/funcs/
H A Dtst.badcopyoutstr.d47 this->str = alloca(10);
48 bcopy("kablammo!", this->str, 10);
49 copyoutstr(this->str, (uintptr_t)&`clock, 10);
/freebsd-11.0-release/contrib/unbound/sldns/
H A Dwire2str.h90 * @param str: string buffer. Adjusted at end to after the output.
96 int sldns_str_vprint(char** str, size_t* slen, const char* format, va_list args);
100 * @param str: string buffer. Adjusted at end to after the output.
105 int sldns_str_print(char** str, size_t* slen, const char* format, ...)
114 * @param str: the string buffer for the output.
115 * If you pass NULL as the str the return value of the function is
123 int sldns_wire2str_pkt_buf(uint8_t* data, size_t data_len, char* str,
132 * @param str: the string buffer for the output.
137 * On error you get less output (i.e. shorter output in str (null terminated))
138 * On exit the data, data_len, str an
[all...]
/freebsd-11.0-release/crypto/heimdal/lib/asn1/
H A Dder_free.c41 der_free_general_string (heim_general_string *str) argument
43 free(*str);
44 *str = NULL;
73 der_free_utf8string (heim_utf8_string *str) argument
75 free(*str);
76 *str = NULL;
80 der_free_printable_string (heim_printable_string *str) argument
82 der_free_octet_string(str);
86 der_free_ia5_string (heim_ia5_string *str) argument
88 der_free_octet_string(str);
108 der_free_visible_string(heim_visible_string *str) argument
[all...]
/freebsd-11.0-release/contrib/ntp/lib/isc/tests/
H A Dsymtab_test.c72 char str[16], *key; local
74 snprintf(str, sizeof(str), "%04x", i);
75 key = isc_mem_strdup(mctx, str);
77 value.as_pointer = isc_mem_strdup(mctx, str);
89 char str[16], *key; local
91 snprintf(str, sizeof(str), "%04x", i);
92 key = isc_mem_strdup(mctx, str);
94 value.as_pointer = isc_mem_strdup(mctx, str);
105 char str[16]; local
117 char str[16]; local
128 char str[16]; local
[all...]
/freebsd-11.0-release/contrib/top/
H A Dcommands.c47 static int str_adderr(char *str, int len, int err);
48 static int str_addarg(char *str, int len, char *arg, int first);
117 char *next_field(str)
119 register char *str;
122 if ((str = strchr(str, ' ')) == NULL)
126 *str = '\0';
127 while (*++str == ' ') /* loop */;
131 return(*str == '\0' ? NULL : str);
[all...]
/freebsd-11.0-release/crypto/heimdal/appl/login/
H A Dconf.c47 login_conf_get_string(const char *str) argument
52 if(cgetstr(confbuf, (char *)str, &value) < 0)
/freebsd-11.0-release/crypto/heimdal/lib/roken/
H A Destrdup.c46 estrdup (const char *str) argument
48 char *tmp = strdup (str);
/freebsd-11.0-release/contrib/wpa/src/utils/
H A Duuid.h14 int uuid_str2bin(const char *str, u8 *bin);
15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
/freebsd-11.0-release/contrib/xz/src/common/
H A Dtuklib_mbstr.h25 extern size_t tuklib_mbstr_width(const char *str, size_t *bytes);
31 /// \param str String whose width is to be calculated. If the
36 /// value returned by strlen(str) (even if an
42 /// partial, or non-printable multibyte character in str, or
43 /// that str doesn't end in the initial shift state.
46 extern int tuklib_mbstr_fw(const char *str, int columns_min);
56 /// - str is NULL or not terminated with '\0';
60 /// \return If tuklib_mbstr_width(str, NULL) fails, -1 is returned.
61 /// If str needs more columns than columns_min, zero is returned.
63 /// used as the field width, e.g. printf("%*s", fw, str)
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Support/
H A DErrno.cpp38 std::string str; local
40 return str;
52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1);
55 str = buffer;
59 str = buffer;
64 str = strerror(errnum);
68 raw_string_ostream stream(str);
72 return str;
/freebsd-11.0-release/bin/pax/
H A Dgen_subs.c215 asc_ul(char *str, int len, int base) argument
220 stop = str + len;
225 while ((str < stop) && ((*str == ' ') || (*str == '0')))
226 ++str;
233 while (str < stop) {
234 if ((*str >= '0') && (*str <= '9'))
235 tval = (tval << 4) + (*str
258 ul_asc(u_long val, char *str, int len, int base) argument
312 asc_uqd(char *str, int len, int base) argument
355 uqd_asc(u_quad_t val, char *str, int len, int base) argument
[all...]
/freebsd-11.0-release/usr.bin/env/
H A Denvopts.h34 void split_spaces(const char *str, int *origind, int *origc,

Completed in 161 milliseconds

1234567891011>>