/freebsd/sys/dev/ice/ |
H A D | ice_strings.c | 165 if (str) in _ice_aq_str() 166 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str); in _ice_aq_str() 280 if (str) in _ice_status_str() 281 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str); in _ice_status_str() 599 if (str) in _ice_err_str() 600 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str); in _ice_err_str() 695 if (str) in _ice_fltr_flag_str() 696 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str); in _ice_fltr_flag_str() 736 if (str) in _ice_log_sev_str() 737 snprintf(buf.str, ICE_STR_BUF_LEN, "%s", str); in _ice_log_sev_str() [all …]
|
/freebsd/contrib/unbound/util/ |
H A D | configparser.c | 5450 (yyvsp[-1].str), (yyvsp[0].str))) in yyparse() 5644 (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { in yyparse() 5659 (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { in yyparse() 5674 (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { in yyparse() 5689 (yyvsp[-1].str), (yyvsp[0].str))) { in yyparse() 5725 (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { in yyparse() 5740 (yyvsp[-2].str), (yyvsp[-1].str), (yyvsp[0].str))) { in yyparse() 5755 (yyvsp[-1].str), (yyvsp[0].str))) { in yyparse() 6614 (yyvsp[-1].str), (yyvsp[0].str))) in yyparse() 7075 (yyvsp[-1].str), (yyvsp[0].str))) in yyparse() [all …]
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | dynstr_test.c | 53 atf_dynstr_t str; in ATF_TC_BODY() local 80 atf_dynstr_t str; in ATF_TC_BODY() local 110 atf_dynstr_t str; in ATF_TC_BODY() local 142 atf_dynstr_t str; in ATF_TC_BODY() local 223 atf_dynstr_t str; in ATF_TC_BODY() local 286 atf_dynstr_t str; in ATF_TC_BODY() local 309 atf_dynstr_t str; in ATF_TC_BODY() local 349 atf_dynstr_t str; in ATF_TC_BODY() local 377 atf_dynstr_t str; in check_append() local 451 atf_dynstr_t str; in ATF_TC_BODY() local [all …]
|
/freebsd/stand/common/ |
H A D | interp_backslash.c | 51 str++; in backslash() 64 str++; in backslash() 69 str++; in backslash() 74 str++; in backslash() 79 str++; in backslash() 84 str++; in backslash() 89 str++; in backslash() 94 str++; in backslash() 106 if (*str >= '0' && *str <= '3' && in backslash() 107 *(str + 1) >= '0' && *(str + 1) <= '7' && in backslash() [all …]
|
/freebsd/crypto/openssh/regress/unittests/misc/ |
H A D | test_strdelim.c | 29 char *orig, *str, *cp; in test_strdelim() local 36 cp = strdelim(&str); in test_strdelim() 38 cp = strdelim(&str); in test_strdelim() 45 cp = strdelim(&str); in test_strdelim() 53 cp = strdelim(&str); in test_strdelim() 55 cp = strdelim(&str); in test_strdelim() 63 cp = strdelim(&str); in test_strdelim() 66 cp = strdelim(&str); in test_strdelim() 74 cp = strdelim(&str); in test_strdelim() 77 cp = strdelim(&str); in test_strdelim() [all …]
|
/freebsd/crypto/openssl/crypto/buffer/ |
H A D | buffer.c | 65 memcpy(ret, str->data, str->length); in sec_alloc_realloc() 66 OPENSSL_secure_clear_free(str->data, str->length); in sec_alloc_realloc() 84 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow() 102 str->data = ret; in BUF_MEM_grow() 103 str->max = n; in BUF_MEM_grow() 104 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow() 117 memset(&str->data[len], 0, str->length - len); in BUF_MEM_grow_clean() 122 memset(&str->data[str->length], 0, len - str->length); in BUF_MEM_grow_clean() 135 ret = OPENSSL_clear_realloc(str->data, str->max, n); in BUF_MEM_grow_clean() 141 str->max = n; in BUF_MEM_grow_clean() [all …]
|
/freebsd/bin/pax/ |
H A D | gen_subs.c | 211 while ((str < stop) && ((*str == ' ') || (*str == '0'))) in asc_ul() 212 ++str; in asc_ul() 220 if ((*str >= '0') && (*str <= '9')) in asc_ul() 222 else if ((*str >= 'A') && (*str <= 'F')) in asc_ul() 224 else if ((*str >= 'a') && (*str <= 'f')) in asc_ul() 230 while ((str < stop) && (*str >= '0') && (*str <= '7')) in asc_ul() 307 while ((str < stop) && ((*str == ' ') || (*str == '0'))) in asc_uqd() 316 if ((*str >= '0') && (*str <= '9')) in asc_uqd() 318 else if ((*str >= 'A') && (*str <= 'F')) in asc_uqd() 320 else if ((*str >= 'a') && (*str <= 'f')) in asc_uqd() [all …]
|
/freebsd/lib/libc/posix1e/ |
H A D | acl_from_text_nfs4.c | 67 if (strcmp(str, "user") == 0 || strcmp(str, "u") == 0) in parse_tag() 69 if (strcmp(str, "group") == 0 || strcmp(str, "g") == 0) in parse_tag() 189 while (*str != '\0') { in number_of_colons() 190 if (*str == ':') in number_of_colons() 193 str++; in number_of_colons() 212 if (str == NULL) in _nfs4_acl_entry_from_text() 230 if (str == NULL) in _nfs4_acl_entry_from_text() 238 if (str == NULL) in _nfs4_acl_entry_from_text() 245 if (str == NULL) in _nfs4_acl_entry_from_text() 255 if (str == NULL) in _nfs4_acl_entry_from_text() [all …]
|
/freebsd/lib/libc/isc/ |
H A D | ev_streams.c | 135 str->timer = timer; in evTimeRW() 214 str->ioTotal = 0; in copyvec() 220 str->iovCur = str->iovOrig; in copyvec() 221 str->iovCurCount = str->iovOrigCount; in copyvec() 222 str->ioDone = 0; in copyvec() 238 str->ioDone += str->iovCur->iov_len; in consume() 239 str->iovCur++; in consume() 271 bytes = writev(fd, str->iovCur, str->iovCurCount); in writable() 282 if (str->ioDone == -1 || str->ioDone == str->ioTotal) in writable() 294 bytes = readv(fd, str->iovCur, str->iovCurCount); in readable() [all …]
|
/freebsd/contrib/unbound/sldns/ |
H A D | wire2str.h | 253 char** str, size_t* str_len); 372 int sldns_wire2str_rr_buf(uint8_t* rr, size_t rr_len, char* str, 427 char* str, size_t str_len); 474 int sldns_wire2str_rcode_buf(int rcode, char* str, size_t len); 881 char** str, size_t* str_len); 956 int sldns_wire2str_edns_llq_print(char** str, size_t* str_len, 967 int sldns_wire2str_edns_ul_print(char** str, size_t* str_len, 989 int sldns_wire2str_edns_dau_print(char** str, size_t* str_len, 1000 int sldns_wire2str_edns_dhu_print(char** str, size_t* str_len, 1011 int sldns_wire2str_edns_n3u_print(char** str, size_t* str_len, [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.strstr.d | 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, c)); 49 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 52 strstr(str, "baz"), strstr(str, "zba"), 53 strstr(strstr(str, "baz"), strstr(str, "zba"))); 56 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c)); 58 str = ""; [all …]
|
H A D | tst.index.d | 32 string str; member 66 command[i].str = ""; 74 command[i].str = ""; 89 command[i + k].str = command[j].str; 95 command[i + k].str = command[j].str; 101 command[i + k].str = command[j].str; 107 command[i + k].str = command[j].str; 113 command[i + k].str = command[j].str; 119 command[i + k].str = command[j].str; 125 command[i + k].str = command[j].str; [all …]
|
/freebsd/contrib/ldns/ldns/ |
H A D | str2host.h | 85 ldns_status ldns_str2rdf_a(ldns_rdf **rd, const char *str); 93 ldns_status ldns_str2rdf_aaaa(ldns_rdf **rd, const char *str); 101 ldns_status ldns_str2rdf_str(ldns_rdf **rd, const char *str); 109 ldns_status ldns_str2rdf_apl(ldns_rdf **rd, const char *str); 117 ldns_status ldns_str2rdf_b64(ldns_rdf **rd, const char *str); 133 ldns_status ldns_str2rdf_hex(ldns_rdf **rd, const char *str); 141 ldns_status ldns_str2rdf_nsec(ldns_rdf **rd, const char *str); 149 ldns_status ldns_str2rdf_type(ldns_rdf **rd, const char *str); 173 ldns_status ldns_str2rdf_alg(ldns_rdf **rd, const char *str); 221 ldns_status ldns_str2rdf_loc(ldns_rdf **rd, const char *str); [all …]
|
/freebsd/contrib/ncurses/include/ |
H A D | Caps-ncurses | 411 userdef kDN3 str - alt down-cursor 416 userdef kEND3 str - alt end 417 userdef kEND4 str - shift+alt end 418 userdef kEND5 str - control end 421 userdef kHOM3 str - alt home 423 userdef kHOM5 str - control home 436 userdef kNXT3 str - alt next 438 userdef kNXT5 str - control next 441 userdef kPRV3 str - alt previous 451 userdef kUP str - shift up-cursor [all …]
|
H A D | Caps.osf1r5 | 313 back_tab cbt str bt - - YBCGE back tab (P) 502 key_quit kquit str kQ - - ----K quit key 506 key_tab ktab str ko - - ----K tab key 763 user0 u0 str u0 - - ----- User string #0 764 user1 u1 str u1 - - ----- User string #1 765 user2 u2 str u2 - - ----- User string #2 766 user3 u3 str u3 - - ----- User string #3 767 user4 u4 str u4 - - ----- User string #4 768 user5 u5 str u5 - - ----- User string #5 769 user6 u6 str u6 - - ----- User string #6 [all …]
|
H A D | Caps.keys | 331 back_tab cbt str bt - - YBCGE back tab (P) 622 user0 u0 str u0 - - ----- User string #0 623 user1 u1 str u1 - - ----- User string #1 624 user2 u2 str u2 - - ----- User string #2 625 user3 u3 str u3 - - ----- User string #3 626 user4 u4 str u4 - - ----- User string #4 627 user5 u5 str u5 - - ----- User string #5 628 user6 u6 str u6 - - ----- User string #6 629 user7 u7 str u7 - - ----- User string #7 630 user8 u8 str u8 - - ----- User string #8 [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | captoinfo.c | 640 padding = str + strlen(str) - 1; in _nc_infotocap() 663 ++str; in _nc_infotocap() 671 ++str; in _nc_infotocap() 679 ++str; in _nc_infotocap() 682 ++str; in _nc_infotocap() 810 if ((str = strstr(str, ";m")) == 0) in _nc_infotocap() 824 str = strchr(str, ';'); in _nc_infotocap() 827 str = strchr(str, ';'); in _nc_infotocap() 830 str = strchr(str, ';'); in _nc_infotocap() 833 str = strchr(str, ';'); in _nc_infotocap() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_str.cpp | 367 __kmp_str_split(str, ';', &dummy, &str); in __kmp_str_loc_init() 370 __kmp_str_split(str, ';', &line, &str); in __kmp_str_loc_init() 371 __kmp_str_split(str, ';', &col, &str); in __kmp_str_loc_init() 707 while (str[i] == ' ' || str[i] == '\t') { in __kmp_str_to_size() 712 if (str[i] < '0' || str[i] > '9') { in __kmp_str_to_size() 721 } while (str[i] >= '0' && str[i] <= '9'); in __kmp_str_to_size() 724 while (str[i] == ' ' || str[i] == '\t') { in __kmp_str_to_size() 758 if (!(str[i] == ' ' || str[i] == '\t' || str[i] == 0)) { // Bad unit in __kmp_str_to_size() 772 while (str[i] == ' ' || str[i] == '\t') { in __kmp_str_to_size() 804 while (str[i] == ' ' || str[i] == '\t') { in __kmp_str_to_uint() [all …]
|
/freebsd/usr.bin/top/ |
H A D | commands.c | 133 if ((str = strchr(str, ' ')) == NULL) in next_field() 137 *str = '\0'; in next_field() 142 return(*str == '\0' ? NULL : str); in next_field() 314 strcat(str, ", "); in str_addarg() 405 while (isspace(*str)) str++; in kill_procs() 434 str = nptr; in kill_procs() 442 ERROR(str, 0); in kill_procs() 453 } while ((str = next_field(str)) != NULL); in kill_procs() 477 str++; in renice_procs() 496 if ((str = next_field(str)) == NULL) in renice_procs() [all …]
|
/freebsd/lib/libc/rpc/ |
H A D | clnt_perror.c | 75 char *str; in clnt_sperror() local 90 str += i; in clnt_sperror() 96 str += i; in clnt_sperror() 119 str += i; in clnt_sperror() 128 str += i; in clnt_sperror() 137 str += i; in clnt_sperror() 148 str += i; in clnt_sperror() 157 str += i; in clnt_sperror() 166 str += i; in clnt_sperror() 232 char *str; in clnt_spcreateerror() local [all …]
|
/freebsd/bin/ps/ |
H A D | print.c | 167 char *str; in ucomm() local 189 char *str; in tdnam() local 288 char *str; in pri() local 297 char *str; in upr() local 336 char *str; in tdev() local 430 char *str; in lockname() local 446 char *str; in wchan() local 462 char *str; in nwchan() local 475 char *str; in mwchan() local 496 char *str; in vsize() local [all …]
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | text.cpp | 46 impl::duplicate(const char* str) in duplicate() argument 49 std::strcpy(copy, str); in duplicate() 60 found = str.empty(); in match() 83 for (std::string::const_iterator iter = str.begin(); iter != str.end(); in to_lower() 106 impl::trim(const std::string& str) in trim() argument 114 return str.substr(0, str.length() - pos2); in trim() 116 return str.substr(pos1); in trim() 134 impl::to_bytes(std::string str) in to_bytes() argument 136 if (str.empty()) in to_bytes() 139 const char unit = str[str.length() - 1]; in to_bytes() [all …]
|
/freebsd/contrib/bsnmp/tests/ |
H A D | snmp_parse_server.cc | 44 REQUIRE(sc.chost == str); 53 REQUIRE(sc.chost == str); 62 REQUIRE(sc.chost == str); 71 REQUIRE(sc.chost == str); 80 REQUIRE(sc.chost == str); 245 const auto str = host; variable 255 const auto str = host; variable 265 const auto str = host; variable 275 const auto str = host; variable 285 const auto str = host; variable [all …]
|
/freebsd/contrib/xz/src/liblzma/common/ |
H A D | string_conversion.c | 42 str->pos = 0; in str_init() 75 str->buf[str->pos] = '\0'; in str_finish() 88 memcpy(str->buf + str->pos, s, copy_size); in str_append_str() 547 while (*str < str_end && **str != '\0') { in parse_options() 553 ++*str; in parse_options() 639 } else if (**str < '0' || **str > '9') { in parse_options() 857 ++*str; in str_to_filters() 872 if (MY_IS_DIGIT(**str) || (**str == '-' && MY_IS_DIGIT((*str)[1]))) { in str_to_filters() 874 ++*str; in str_to_filters() 930 if ((*str)[0] == '-' && (*str)[1] == '-') in str_to_filters() [all …]
|
/freebsd/usr.sbin/pw/ |
H A D | psdate.c | 42 return (str[strspn(str, "0123456789x")] == '\0'); in numerics() 59 while (**str && isalpha((unsigned char)**str)) in aindex() 60 ++(*str); in aindex() 62 while (**str && (**str == ',' || isspace((unsigned char)**str))) in aindex() 63 ++(*str); in aindex() 170 while (*str && isspace((unsigned char)*str)) in parse_date() 171 ++str; in parse_date() 173 if (numerics(str)) { in parse_date() 175 } else if (*str == '+' || *str == '-') { in parse_date() 227 weekday(&str); in parse_date() [all …]
|