Home
last modified time | relevance | path

Searched refs:str (Results 1076 - 1100 of 9313) sorted by relevance

1...<<41424344454647484950>>...373

/third_party/benchmark/src/
H A Dcommandlineflags.h89 bool ParseBoolFlag(const char* str, const char* flag, bool* value);
96 bool ParseInt32Flag(const char* str, const char* flag, int32_t* value);
103 bool ParseDoubleFlag(const char* str, const char* flag, double* value);
110 bool ParseStringFlag(const char* str, const char* flag, std::string* value);
117 bool ParseKeyValueFlag(const char* str, const char* flag,
122 bool IsFlag(const char* str, const char* flag);
/third_party/gn/src/gn/
H A Dstring_atom.h66 StringAtom(std::string_view str) noexcept;
90 const std::string& str() const { return value_; } in str() function in StringAtom
165 return a.str() < b.str();
169 return a.str() < b;
173 return a < b.str();
H A Dvisual_studio_utils.cc22 std::string str = base::ToUpperASCII(base::MD5String(seed + entry_path)); in MakeGuid() local
23 return '{' + str.substr(0, 8) + '-' + str.substr(8, 4) + '-' + in MakeGuid()
24 str.substr(12, 4) + '-' + str.substr(16, 4) + '-' + in MakeGuid()
25 str.substr(20, 12) + '}'; in MakeGuid()
/third_party/icu/icu4c/source/test/cintltst/
H A Dunumberrangeformattertst.c68 const UChar* str = ufmtval_getString(unumrf_resultAsValue(uresult, &ec), &len, &ec); in TestExampleCode() local
70 assertUEquals("Should produce expected string result", u"$3 – $5", str); in TestExampleCode()
71 int32_t resultLength = str != NULL ? u_strlen(str) : 0; in TestExampleCode()
178 const UChar* str = ufmtval_getString(unumrf_resultAsValue(uresult, &ec), NULL, &ec); in TestGetDecimalNumbers() local
180 assertUEquals("Should produce expected string result", u"$3.00 \u2013 $5.00", str); in TestGetDecimalNumbers()
/third_party/icu/icu4c/source/samples/numfmt/
H A Dmain.cpp60 UnicodeString str("9876543210.123"); in cppapi()
62 fmt->parse(str, result, status); in cppapi()
66 uprintf(str); in cppapi()
73 str.remove(); // format() will APPEND to this string in cppapi()
74 fmt->format(result, str, status); in cppapi()
80 uprintf(str); in cppapi()
/third_party/icu/tools/unicode/c/genregexcasing/
H A Dgenregexcasing.cpp49 const UnicodeString &str = setIter.getString(); in main() local
52 cout << " \"" << sstring(str) << "\" ["; in main()
53 for (int32_t j=0; j<str.length(); j=str.moveIndex32(j, 1)) { in main()
54 cout << hex << "\\u" << str.char32At(j) << " "; in main()
57 UChar32 c32 = str.char32At(0); in main()
/third_party/libuv/src/unix/
H A Dproctitle.c28 char* str; member
56 pt.str = argv[0]; in uv_setup_args()
116 memcpy(pt->str, title, len); in uv_set_process_title()
117 memset(pt->str + len, '\0', pt->cap - len); in uv_set_process_title()
119 uv__set_process_title(pt->str); in uv_set_process_title()
144 memcpy(buffer, process_title.str, process_title.len + 1); in uv_get_process_title()
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dbignum_mod.py44 def arguments(self) -> List[str]:
50 def result(self) -> List[str]:
66 def result(self) -> List[str]:
83 def result(self) -> List[str]:
101 def result(self) -> List[str]:
123 def result(self) -> List[str]:
/third_party/jerryscript/tests/jerry/es2015/
H A Darrow-function.js16 function must_throw (str)
20 eval ("switch (1) { default: " + str + "}");
29 eval (str);
37 function must_throw_strict (str)
41 eval ("'use strict'; switch (1) { default: " + str + "}");
50 eval ("'use strict'; " + str);
/third_party/node/benchmark/buffers/
H A Dbuffer-from.js83 const str = 'a'.repeat(len);
86 Buffer.from(str);
92 const str = 'a'.repeat(len);
95 Buffer.from(str, 'utf8');
101 const str = 'a'.repeat(len);
104 Buffer.from(str, 'base64');
/third_party/mesa3d/src/vulkan/registry/
H A Dupdate-aliases.py40 def remove_prefix(string: str, prefix: str):
64 def prepare_identifier(identifier: str) -> str:
101 def file_matches_path(file: str, path: str) -> bool:
/third_party/libexif/test/
H A Dtest-parse.c136 char *str = malloc(1+len); in split_ws_string() local
137 if (str) { in split_ws_string()
138 memcpy(str, start, len); in split_ws_string()
139 str[len] = '\0'; in split_ws_string()
140 func(str, callback_data, 0); in split_ws_string()
141 free(str); in split_ws_string()
/third_party/node/deps/v8/src/maglev/
H A Dmaglev-graph-verifier.h45 std::ostringstream str; in CheckValueInputIs() local
46 str << "Type representation error: node "; in CheckValueInputIs()
48 str << "#" << graph_labeller_->NodeId(node) << " : "; in CheckValueInputIs()
50 str << node->opcode() << " (input @" << i << " = " << input->opcode() in CheckValueInputIs()
52 FATAL("%s", str.str().c_str()); in CheckValueInputIs()
/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dgmtime_r_sup.c482 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in gmtime_r_0100() local
483 if (str) { in gmtime_r_0100()
484 handlerChar = ++str; in gmtime_r_0100()
525 char *str = strrchr(tz, TIME_ZONE_SUB_TAG); in gmtime64_r_0100() local
526 if (str) { in gmtime64_r_0100()
527 handlerChar = ++str; in gmtime64_r_0100()
/third_party/node/deps/uv/src/unix/
H A Dproctitle.c28 char* str; member
56 pt.str = argv[0]; in uv_setup_args()
116 memcpy(pt->str, title, len); in uv_set_process_title()
117 memset(pt->str + len, '\0', pt->cap - len); in uv_set_process_title()
119 uv__set_process_title(pt->str); in uv_set_process_title()
144 memcpy(buffer, process_title.str, process_title.len + 1); in uv_get_process_title()
/third_party/rust/crates/clap/tests/builder/
H A Dutils.rs4 use std::str;
8 pub const FULL_TEMPLATE: &str = "\
18 S: AsRef<str>, in assert_eq()
19 S2: AsRef<str>, in assert_eq()
27 pub fn assert_output(l: Command, args: &str, expected: &str, stderr: bool) { in assert_output()
/third_party/popt/src/
H A Dpoptint.c15 POPT_prev_char (const char *str) in POPT_prev_char() argument
17 const char *p = str; in POPT_prev_char()
27 POPT_next_char (const char *str) in POPT_next_char() argument
29 const char *p = str; in POPT_next_char()
46 POPT_dgettext(const char * dom, const char * str) in POPT_dgettext() argument
55 retval = dgettext(dom, str); in POPT_dgettext()
/third_party/skia/third_party/externals/icu/source/samples/numfmt/
H A Dmain.cpp60 UnicodeString str("9876543210.123"); in cppapi()
62 fmt->parse(str, result, status); in cppapi()
66 uprintf(str); in cppapi()
73 str.remove(); // format() will APPEND to this string in cppapi()
74 fmt->format(result, str, status); in cppapi()
80 uprintf(str); in cppapi()
/third_party/skia/third_party/externals/tint/src/transform/
H A Dnum_workgroups_from_uniform.cc83 auto* str = param->Type()->As<sem::Struct>(); in Run() local
84 if (!str) { in Run()
88 for (auto* member : str->Members()) { in Run()
106 ctx.Remove(str->Declaration()->members, member->Declaration()); in Run()
109 if (str->Members().size() == 1) { in Run()
111 ctx.Remove(ctx.src->AST().GlobalDeclarations(), str->Declaration()); in Run()
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl_unary_op_test.cc34 EXPECT_EQ(out.str(), "&(expr)"); in TEST_F()
47 EXPECT_EQ(out.str(), "~(expr)"); in TEST_F()
63 EXPECT_EQ(out.str(), "*(expr)"); in TEST_F()
75 EXPECT_EQ(out.str(), "!(expr)"); in TEST_F()
88 EXPECT_EQ(out.str(), "tint_unary_minus(expr)"); in TEST_F()
100 EXPECT_EQ(out.str(), "tint_unary_minus((-2147483647 - 1))"); in TEST_F()
/third_party/python/Lib/ctypes/test/
H A Dtest_stringptr.py14 _fields_ = [("str", POINTER(c_char))]
18 self.assertRaises(ValueError, getattr, x.str, "contents")
22 x.str = b
28 self.assertEqual(b[i], x.str[i])
30 self.assertRaises(TypeError, setattr, x, "str", "Hello, World")
34 _fields_ = [("str", c_char_p)]
39 self.assertEqual(x.str, None)
40 x.str = b"Hello, World"
41 self.assertEqual(x.str, b"Hello, World")
43 self.assertRaises(TypeError, setattr, x, b"str",
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dcivil_time_detail.cc35 return os << ss.str(); in operator <<()
41 return os << ss.str(); in operator <<()
47 return os << ss.str(); in operator <<()
53 return os << ss.str(); in operator <<()
59 return os << ss.str(); in operator <<()
65 return os << ss.str(); in operator <<()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dascii.cc170 void RemoveExtraAsciiWhitespace(std::string* str) { in RemoveExtraAsciiWhitespace() argument
171 auto stripped = StripAsciiWhitespace(*str); in RemoveExtraAsciiWhitespace()
174 str->clear(); in RemoveExtraAsciiWhitespace()
180 auto output_it = &(*str)[0]; in RemoveExtraAsciiWhitespace()
196 str->erase(output_it - &(*str)[0]); in RemoveExtraAsciiWhitespace()
/third_party/skia/gm/
H A Dcomplexclip3.cpp39 SkString str; variable
40 str.printf("complexclip3_%s", fDoSimpleClipFirst ? "simple" : "complex");
41 return str;
107 SkString str; variable
108 str.printf("%s%s %s %s%s", doAAA ? "A" : "B",
114 canvas->drawString(str.c_str(), txtX, SkIntToScalar(130), font, paint);
/third_party/selinux/libselinux/src/
H A Dignore_path.c46 size_t trim_newline(char *str) in trim_newline() argument
48 size_t length = strlen(str); in trim_newline()
52 if (str[length - 1] == '\n') { in trim_newline()
53 str[--length] = '\0'; in trim_newline()
55 if (length > 0 && str[length - 1] == '\r') { in trim_newline()
56 str[--length] = '\0'; in trim_newline()

Completed in 12 milliseconds

1...<<41424344454647484950>>...373