Home
last modified time | relevance | path

Searched refs:str (Results 226 – 250 of 3340) sorted by relevance

12345678910>>...134

/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc302 return ss.str(); in Print()
312 return ss.str(); in PrintByRef()
947 Print(str));
965 EXPECT_EQ(str, str); // Verify EXPECT_EQ compiles with this type.
972 EXPECT_EQ(str, str); // Verify EXPECT_EQ compiles with this type.
978 EXPECT_EQ(str, str); // Verify EXPECT_EQ compiles with this type
1051 const internal::StringView sp(str, sizeof(str) - 1);
1508 char* p = str;
1522 wchar_t* p = str;
1544 FormatForComparisonFailureMessage(str, str).c_str());
[all …]
/freebsd/crypto/heimdal/appl/login/
H A Denv.c45 extend_env(char *str) in extend_env() argument
50 env[num_env++] = str; in extend_env()
57 char *str; in add_env() local
58 asprintf(&str, "%s=%s", var, value); in add_env()
59 if(str == NULL) in add_env()
65 env[i] = str; in add_env()
69 extend_env(str); in add_env()
/freebsd/contrib/libfido2/openbsd-compat/
H A Dbsd-asprintf.c35 vasprintf(char **str, const char *fmt, va_list ap) in vasprintf() argument
49 *str = string; in vasprintf()
66 *str = newstr; in vasprintf()
71 *str = NULL; in vasprintf()
76 int asprintf(char **str, const char *fmt, ...) in asprintf() argument
81 *str = NULL; in asprintf()
83 ret = vasprintf(str, fmt, ap); in asprintf()
/freebsd/sys/arm/arm/
H A Dsupport.S1096 str r2, [r0]
1107 str r3, [r0]
1117 str r3, [r0]
1128 str r3, [r0]
1297 str r2, [r0]
1310 str r2, [r0]
1322 str r2, [r0]
1337 str r2, [r0]
1524 str r2, [r0]
1539 str r3, [r0]
[all …]
H A Dbcopyinout.S57 str r3, [r2, #PCB_ONFAULT]
67 1: str ip, [r2, #PCB_ONFAULT]
83 str r3, [r2, #PCB_ONFAULT]
93 1: str ip, [r2, #PCB_ONFAULT]
109 str r3, [r2, #PCB_ONFAULT]
117 str r3, [r1]
119 1: str ip, [r2, #PCB_ONFAULT]
/freebsd/contrib/libedit/
H A Dhistory.c121 #define HENTER(h, ev, str) (*(h)->h_enter)((h)->h_ref, ev, str) argument
122 #define HADD(h, ev, str) (*(h)->h_add)((h)->h_ref, ev, str) argument
132 Char *str; member
432 evp->str = s; in history_def_add()
447 ev->str = Strdup(h->cursor->ev.str); in history_deldata_nth()
467 ev->str = Strdup(h->cursor->ev.str); in history_def_del()
509 if ((c->ev.str = h_strdup(str)) == NULL) { in history_def_insert()
539 Strcmp(h->list.next->ev.str, str) == 0) in history_def_enter()
863 str = ct_encode_string(ev.str, &conv); in history_save_fp()
965 if (Strncmp(str, ev->str, len) == 0) in history_prev_string()
[all …]
/freebsd/contrib/atf/atf-c++/detail/
H A Dfs_test.cpp75 ATF_REQUIRE_EQ(path(".").str(), "."); in ATF_TEST_CASE_BODY()
76 ATF_REQUIRE_EQ(path("..").str(), ".."); in ATF_TEST_CASE_BODY()
78 ATF_REQUIRE_EQ(path("foo").str(), "foo"); in ATF_TEST_CASE_BODY()
79 ATF_REQUIRE_EQ(path("foo/bar").str(), "foo/bar"); in ATF_TEST_CASE_BODY()
80 ATF_REQUIRE_EQ(path("foo/bar/").str(), "foo/bar"); in ATF_TEST_CASE_BODY()
82 ATF_REQUIRE_EQ(path("/foo").str(), "/foo"); in ATF_TEST_CASE_BODY()
83 ATF_REQUIRE_EQ(path("/foo/bar").str(), "/foo/bar"); in ATF_TEST_CASE_BODY()
84 ATF_REQUIRE_EQ(path("/foo/bar/").str(), "/foo/bar"); in ATF_TEST_CASE_BODY()
86 ATF_REQUIRE_EQ(path("///foo").str(), "/foo"); in ATF_TEST_CASE_BODY()
134 ATF_REQUIRE_EQ(path(".").branch_path().str(), "."); in ATF_TEST_CASE_BODY()
[all …]
H A Dtext.hpp59 std::string str; in join() local
64 str += *iter; in join()
67 str += separator; in join()
72 return str; in join()
125 return ss.str(); in to_string()
136 to_type(const std::string& str) in to_type() argument
138 std::istringstream ss(str); in to_type()
/freebsd/lib/geom/mirror/
H A Dgeom_mirror.c182 const char *str; in mirror_label() local
197 str = gctl_get_ascii(req, "arg0"); in mirror_label()
208 str = gctl_get_ascii(req, "balance"); in mirror_label()
209 bal = balance_id(str); in mirror_label()
231 str = gctl_get_ascii(req, "arg%d", i); in mirror_label()
232 msize = g_get_mediasize(str); in mirror_label()
233 ssize = g_get_sectorsize(str); in mirror_label()
236 str, strerror(errno)); in mirror_label()
256 error = g_metadata_clear(str, NULL); in mirror_label()
277 str += sizeof(_PATH_DEV) - 1; in mirror_label()
[all …]
/freebsd/contrib/kyua/utils/
H A Doptional_test.cpp257 std::ostringstream str; in ATF_TEST_CASE_BODY() local
258 str << optional< int >(none); in ATF_TEST_CASE_BODY()
259 ATF_REQUIRE_EQ("none", str.str()); in ATF_TEST_CASE_BODY()
262 std::ostringstream str; in ATF_TEST_CASE_BODY() local
263 str << optional< int >(5); in ATF_TEST_CASE_BODY()
264 ATF_REQUIRE_EQ("5", str.str()); in ATF_TEST_CASE_BODY()
267 std::ostringstream str; in ATF_TEST_CASE_BODY() local
268 str << optional< std::string >("this is a text"); in ATF_TEST_CASE_BODY()
269 ATF_REQUIRE_EQ("this is a text", str.str()); in ATF_TEST_CASE_BODY()
/freebsd/usr.sbin/ofwdump/
H A Dofwdump.c53 const char *prop, bool raw, bool str);
150 ofw_dump_property(fd, n, level, prop, raw, str); in ofw_dump_properties()
155 bool str) in ofw_dump_property() argument
168 else if (str) in ofw_dump_property()
211 const char *pmatch, bool raw, bool str) in ofw_dump_node() argument
218 if (!(raw || str)) { in ofw_dump_node()
229 ofw_dump_property(fd, n, level, pmatch, raw, str); in ofw_dump_node()
231 ofw_dump_properties(fd, n, level, raw, str); in ofw_dump_node()
236 raw, str); in ofw_dump_node()
243 bool raw, bool str) in ofw_dump() argument
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStringList.h32 explicit StringList(const char *str);
42 void AppendString(const char *str);
44 void AppendString(const char *str, size_t str_len);
46 void AppendString(llvm::StringRef str);
48 void AppendString(const llvm::Twine &str);
87 void InsertStringAtIndex(size_t idx, const std::string &str);
89 void InsertStringAtIndex(size_t idx, std::string &&str);
91 void InsertStringAtIndex(size_t id, const char *str);
104 StringList &operator<<(const char *str);
/freebsd/contrib/kyua/model/
H A Dcontext_test.cpp79 std::ostringstream str; in ATF_TEST_CASE_BODY() local
80 str << context; in ATF_TEST_CASE_BODY()
81 ATF_REQUIRE_EQ("context{cwd='/foo/bar', env=[]}", str.str()); in ATF_TEST_CASE_BODY()
93 std::ostringstream str; in ATF_TEST_CASE_BODY() local
94 str << context; in ATF_TEST_CASE_BODY()
96 "foo='first']}", str.str()); in ATF_TEST_CASE_BODY()
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_nicenum.c37 zfs_isnumber(const char *str) in zfs_isnumber() argument
39 if (!*str) in zfs_isnumber()
42 for (; *str; str++) in zfs_isnumber()
43 if (!(isdigit(*str) || (*str == '.'))) in zfs_isnumber()
50 if (str[strlen(str) - 1] == '.') { in zfs_isnumber()
/freebsd/lib/libsysdecode/
H A Dsupport.c37 for (; table->str != NULL; table++) in lookup_value()
39 return (table->str); in lookup_value()
56 for (; table->str != NULL; table++) { in print_mask_part()
64 fprintf(fp, "%s%s", *printed ? "|" : "", table->str); in print_mask_part()
157 const char *str; in print_value() local
159 str = lookup_value(table, val); in print_value()
160 if (str != NULL) { in print_value()
161 fputs(str, fp); in print_value()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-asprintf.c41 vasprintf(char **str, const char *fmt, va_list ap) in vasprintf() argument
54 *str = string; in vasprintf()
68 *str = newstr; in vasprintf()
79 *str = NULL; in vasprintf()
87 int asprintf(char **str, const char *fmt, ...) in asprintf() argument
92 *str = NULL; in asprintf()
94 ret = vasprintf(str, fmt, ap); in asprintf()
/freebsd/usr.sbin/bsnmpd/tools/bsnmptools/
H A Dbsnmpget.c262 str = argv; in snmptools_parse_stroid()
264 if (*str == '.') in snmptools_parse_stroid()
265 str++; in snmptools_parse_stroid()
267 while (isalpha(*str) || *str == '_' || (i != 0 && isdigit(*str))) { in snmptools_parse_stroid()
268 str++; in snmptools_parse_stroid()
291 if ((str = snmp_parse_index(snmptoolctx, str + 1, obj)) == NULL) in snmptools_parse_stroid()
299 return (str); in snmptools_parse_stroid()
617 str = val; in parse_ip()
624 str = endptr + 1; in parse_ip()
799 ptr = str; in parse_pair_numoid_val()
[all …]
/freebsd/contrib/libpcap/missing/
H A Dwin_asprintf.c12 char *str; in pcap_vasprintf() local
21 str = malloc(str_size); in pcap_vasprintf()
22 if (str == NULL) { in pcap_vasprintf()
26 ret = vsnprintf(str, str_size, format, args); in pcap_vasprintf()
28 free(str); in pcap_vasprintf()
32 *strp = str; in pcap_vasprintf()
H A Dasprintf.c19 char *str; in pcap_vasprintf() local
70 str = malloc(str_size); in pcap_vasprintf()
71 if (str == NULL) { in pcap_vasprintf()
75 ret = vsnprintf(str, str_size, format, args); in pcap_vasprintf()
77 free(str); in pcap_vasprintf()
81 *strp = str; in pcap_vasprintf()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DCommandObject.cpp88 void CommandObject::SetHelp(llvm::StringRef str) { in SetHelp() argument
89 m_cmd_help_short = std::string(str); in SetHelp()
93 m_cmd_help_long = std::string(str); in SetHelpLong()
97 m_cmd_syntax = std::string(str); in SetSyntax()
409 str.EOL(); in GetArgumentHelp()
414 str.IndentMore(5); in GetArgumentHelp()
416 str.Indent(); in GetArgumentHelp()
420 str.IndentLess(5); in GetArgumentHelp()
421 str.EOL(); in GetArgumentHelp()
469 str.Printf(" "); in GetFormattedCommandArguments()
[all …]
/freebsd/contrib/less/
H A Dedit.c71 tlist->string = skipsp(str); in init_textlist()
177 for (s = str; *s != '\0'; s++) in modeline_option_len()
186 return (s - str); in modeline_option_len()
197 str = skipsp(str); in modeline_options()
198 if (*str == '\0' || *str == end_char) in modeline_options()
201 modeline_option(str, opt_len); in modeline_options()
202 str += opt_len; in modeline_options()
203 if (*str != '\0') in modeline_options()
221 char *str; in check_modeline() local
231 modeline_options(str, '\0'); in check_modeline()
[all …]
/freebsd/bin/sh/
H A Dmknodes.c66 struct str { /* struct representing a node structure */ struct
78 static struct str str[MAXTYPES]; /* the structures */ variable
79 static struct str *curstr; /* current structure */
124 struct str *sp; in parsenode()
134 for (sp = str ; sp < str + nstr ; sp++) { in parsenode()
138 if (sp >= str + nstr) { in parsenode()
209 struct str *sp; in output()
223 for (sp = str ; sp < &str[nstr] ; sp++) { in output()
232 for (sp = str ; sp < &str[nstr] ; sp++) { in output()
287 struct str *sp; in outfunc()
[all …]
/freebsd/contrib/ntp/libntp/
H A Dmstolfp.c13 const char *str, in mstolfp() argument
34 while (isspace(ch = *(const unsigned char*)str)) in mstolfp()
35 ++str; in mstolfp()
39 case '+': ++str; in mstolfp()
43 if (!isdigit(ch = *(const unsigned char*)str) && (ch != '.')) in mstolfp()
45 if (!atolfp(str, lfp)) in mstolfp()
/freebsd/contrib/sendmail/include/sm/
H A Dgen.h30 # define SM_RCSID(str) argument
31 # define SM_IDSTR(id,str) argument
33 # define SM_RCSID(str) SM_UNUSED(static const char RcsId[]) = str; argument
34 # define SM_IDSTR(id,str) SM_UNUSED(static const char id[]) = str; argument
/freebsd/contrib/one-true-awk/bugs-fixed/
H A Drstart-rlength.awk2 str="\342\200\257"
3 print length(str)
4 match(str,/^/)
6 match(str,/.+/)
8 match(str,/$/)

12345678910>>...134