/freebsd-current/contrib/one-true-awk/bugs-fixed/ |
H A D | unicode-null-match.awk | 2 # str = "\342\200\257" 3 str = "���" 4 n = gsub(//, "X", str) 5 print n, str
|
H A D | rstart-rlength.awk | 2 str="\342\200\257" 3 print length(str) 4 match(str,/^/) 6 match(str,/.+/) 8 match(str,/$/)
|
/freebsd-current/sys/cddl/compat/opensolaris/sys/ |
H A D | refstr.h | 31 #define refstr_value(str) (str)
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | strsep.c | 43 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 D | strlwr.c | 42 strlwr(char *str) argument 46 for(s = str; *s; s++) 48 return str;
|
H A D | strupr.c | 42 strupr(char *str) argument 46 for(s = str; *s; s++) 48 return str;
|
H A D | strpool.c | 41 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-current/sys/dev/ice/ |
H A D | ice_strings.c | 69 struct ice_str_buf buf = { .str = "" }; 70 const char *str = NULL; local 74 str = "OK"; 77 str = "AQ_RC_EPERM"; 80 str = "AQ_RC_ENOENT"; 83 str = "AQ_RC_ESRCH"; 86 str = "AQ_RC_EINTR"; 89 str = "AQ_RC_EIO"; 92 str = "AQ_RC_ENXIO"; 95 str 185 const char *str = NULL; local 301 const char *str = NULL; local 679 const char *str = NULL; local 714 const char *str = NULL; local 789 const char *str = NULL; local 878 const char *str = NULL; local 980 const char *str = NULL; local 1157 const char *str = NULL; local [all...] |
/freebsd-current/sbin/dump/ |
H A D | unctime.c | 41 unctime(char *str) argument 45 str = strptime(str, "%a %b %e %T %Y", &then); 46 if (str == NULL || (*str != '\n' && *str != '\0'))
|
/freebsd-current/contrib/xz/src/xz/ |
H A D | options.h | 17 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-current/crypto/openssl/test/testutil/ |
H A D | cb.c | 13 int openssl_error_cb(const char *str, size_t len, void *u) argument 15 return test_printf_stderr("%s", str);
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.strstr.d | 33 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 D | tst.strchr.d | 33 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-current/lib/libc/stdlib/ |
H A D | atoll.c | 41 atoll(const char *str) argument 43 return strtoll(str, (char **)NULL, 10); 47 atoll_l(const char *str, locale_t locale) argument 49 return strtoll_l(str, (char **)NULL, 10, locale);
|
H A D | atol.c | 41 atol(const char *str) argument 43 return strtol(str, (char **)NULL, 10); 47 atol_l(const char *str, locale_t locale) argument 49 return strtol_l(str, (char **)NULL, 10, locale);
|
H A D | atoi.c | 41 atoi(const char *str) argument 43 return (int)strtol(str, NULL, 10); 47 atoi_l(const char *str, locale_t locale) argument 49 return (int)strtol_l(str, NULL, 10, locale);
|
/freebsd-current/crypto/openssh/regress/unittests/misc/ |
H A D | test_strdelim.c | 29 char *orig, *str, *cp; local 31 #define START_STRING(x) orig = str = xstrdup(x) 36 cp = strdelim(&str); 38 cp = strdelim(&str); 45 cp = strdelim(&str); 47 ASSERT_STRING_EQ(str, ""); 53 cp = strdelim(&str); 55 cp = strdelim(&str); 57 ASSERT_PTR_EQ(str, NULL); 63 cp = strdelim(&str); [all...] |
/freebsd-current/contrib/sendmail/libsm/ |
H A D | match.c | 20 ** 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-current/contrib/ncurses/ncurses/base/ |
H A D | key_defined.c | 39 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-current/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_error.c | 86 const char *str; local 89 str = _ctf_errlist[error - ECTF_BASE]; 91 str = ctf_strerror(error); 93 return (str ? str : "Unknown error");
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.shortstr.d | 34 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-current/stand/common/ |
H A D | interp_backslash.c | 24 * backslash: Return malloc'd copy of str with all standard "backslash 28 backslash(const char *str) argument 42 if ((new_str = strdup(str)) == NULL) 45 while (*str) { 48 switch (*str) { 51 str++; 59 new_str[i++] = *str++; 64 str++; 69 str++; 74 str [all...] |
/freebsd-current/lib/libnetbsd/ |
H A D | util.c | 44 char *str; local 46 str = fflagstostr(flags); 47 if (*str == '\0') { 48 free(str); 49 str = strdup(def); 51 return (str);
|
/freebsd-current/contrib/ldns/ldns/ |
H A D | str2host.h | 2 * 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-current/lib/libc/locale/ |
H A D | fix_grouping.c | 43 __fix_locale_grouping_str(const char *str) argument 48 if (str == NULL || *str == '\0') { 52 for (src = (char*)str, dst = (char*)str; *src != '\0'; src++) { 80 return (dst == (char*)str) ? nogrouping : str; 84 return str;
|