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

1234567891011>>

/freebsd-9.3-release/contrib/ncurses/ncurses/base/
H A Ddefine_key.c38 define_key(const char *str, int keycode) argument
42 T((T_CALLED("define_key(%s,%d)"), _nc_visbuf(str), keycode));
48 if (str != 0) {
49 define_key(str, 0);
54 if (str != 0) {
55 if (key_defined(str) == 0) {
56 if (_nc_add_to_try(&(SP->_keytry), str, ukey) == OK) {
66 while (_nc_remove_string(&(SP->_keytry), str))
H A Dkey_defined.c38 find_definition(TRIES * tree, const char *str) argument
43 if (str != 0 && *str != '\0') {
45 if (UChar(*str) == UChar(ptr->ch)) {
46 if (str[1] == '\0' && ptr->child != 0) {
48 } else if ((result = find_definition(ptr->child, str + 1))
51 } else if (str[1] == '\0') {
68 key_defined(const char *str) argument
72 T((T_CALLED("key_defined(%s)"), _nc_visbuf(str)));
73 if (SP != 0 && str !
[all...]
/freebsd-9.3-release/lib/libc/locale/
H A Dfix_grouping.c44 __fix_locale_grouping_str(const char *str) argument
49 if (str == NULL || *str == '\0') {
53 for (src = (char*)str, dst = (char*)str; *src != '\0'; src++) {
81 return (dst == (char*)str) ? nogrouping : str;
85 return str;
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dstrpool.c44 char *str; member in struct:rk_strpool
55 if (p->str) {
56 free(p->str);
57 p->str = NULL;
70 char *str, *str2; local
77 p->str = NULL;
81 len = vasprintf(&str, fmt, ap);
83 if (str == NULL) {
87 str2 = realloc(p->str, len + p->len + 1);
92 p->str
106 char *str = p->str; local
[all...]
H A Destrdup.c49 estrdup (const char *str) argument
51 char *tmp = strdup (str);
/freebsd-9.3-release/lib/libc/posix1e/
H A Dacl_from_text_nfs4.c49 * Parse the tag field of ACL entry passed as "str". If qualifier
54 parse_tag(const char *str, acl_entry_t entry, int *need_qualifier) argument
60 if (strcmp(str, "owner@") == 0)
62 if (strcmp(str, "group@") == 0)
64 if (strcmp(str, "everyone@") == 0)
69 if (strcmp(str, "user") == 0 || strcmp(str, "u") == 0)
71 if (strcmp(str, "group") == 0 || strcmp(str, "g") == 0)
80 * Parse the qualifier field of ACL entry passed as "str"
86 parse_qualifier(char *str, acl_entry_t entry, int *need_qualifier) argument
116 parse_access_mask(char *str, acl_entry_t entry) argument
131 parse_flags(char *str, acl_entry_t entry) argument
146 parse_entry_type(const char *str, acl_entry_t entry) argument
164 parse_appended_id(char *str, acl_entry_t entry) argument
187 number_of_colons(const char *str) argument
202 _nfs4_acl_entry_from_text(acl_t aclp, char *str) argument
[all...]
/freebsd-9.3-release/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-9.3-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-9.3-release/contrib/nvi/clib/
H A Dstrdup.c52 strdup(str)
53 const char *str;
58 len = strlen(str) + 1;
61 memcpy(copy, str, len);
H A Dsnprintf.c20 snprintf(char *str, size_t n, const char *fmt, ...) argument
22 snprintf(str, n, fmt, va_alist)
23 char *str;
37 (void)vsprintf(str, fmt, ap);
39 return (strlen(str));
41 rval = vsprintf(str, fmt, ap);
/freebsd-9.3-release/contrib/tcpdump/missing/
H A Dstrdup.c46 strdup(str)
47 const char *str;
52 len = strlen(str) + 1;
55 memcpy(copy, str, len);
/freebsd-9.3-release/share/examples/sunrpc/sort/
H A Dsort.x9 typedef string str<MAXSTRINGLEN>; /* the string itself */
12 str ss<MAXSORTSIZE>;
/freebsd-9.3-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-9.3-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-9.3-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-9.3-release/crypto/heimdal/lib/asn1/
H A Dder_free.c39 der_free_general_string (heim_general_string *str) argument
41 free(*str);
42 *str = NULL;
46 der_free_utf8string (heim_utf8_string *str) argument
48 free(*str);
49 *str = NULL;
53 der_free_printable_string (heim_printable_string *str) argument
55 free(*str);
56 *str = NULL;
60 der_free_ia5_string (heim_ia5_string *str) argument
83 der_free_visible_string(heim_visible_string *str) argument
[all...]
/freebsd-9.3-release/usr.sbin/pw/
H A Dpsdate.c41 a2i(char const ** str) argument
44 char const *s = *str;
50 *str = s;
56 numerics(char const * str) argument
58 int rc = isdigit((unsigned char)*str);
61 while (isdigit((unsigned char)*str) || *str == 'x')
62 ++str;
63 return rc && !*str;
67 aindex(char const * arr[], char const ** str, in argument
90 weekday(char const ** str) argument
99 month(char const ** str) argument
109 parse_time(char const * str, int *hour, int *min, int *sec) argument
123 parse_datesub(char const * str, int *day, int *mon, int *year) argument
169 parse_date(time_t dt, char const * str) argument
[all...]
/freebsd-9.3-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-9.3-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-9.3-release/bin/pax/
H A Dgen_subs.c217 asc_ul(char *str, int len, int base) argument
222 stop = str + len;
227 while ((str < stop) && ((*str == ' ') || (*str == '0')))
228 ++str;
235 while (str < stop) {
236 if ((*str >= '0') && (*str <= '9'))
237 tval = (tval << 4) + (*str
260 ul_asc(u_long val, char *str, int len, int base) argument
314 asc_uqd(char *str, int len, int base) argument
357 uqd_asc(u_quad_t val, char *str, int len, int base) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DErrno.cpp41 std::string str; local
43 return str;
50 str = strerror_r(errnum, buffer, MaxErrStrLen - 1);
53 str = buffer;
57 str = buffer;
62 str = strerror(errnum);
66 raw_string_ostream stream(str);
70 return str;
/freebsd-9.3-release/contrib/wpa/src/utils/
H A Duuid.h20 int uuid_str2bin(const char *str, u8 *bin);
21 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
/freebsd-9.3-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-9.3-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)

Completed in 117 milliseconds

1234567891011>>