Home
last modified time | relevance | path

Searched refs:GetString (Results 1 – 25 of 553) sorted by relevance

12345678910>>...23

/external/libchrome/base/i18n/
Dbreak_iterator_unittest.cc37 EXPECT_EQ(space, iter.GetString()); in TEST()
40 EXPECT_EQ(UTF8ToUTF16("foo"), iter.GetString()); in TEST()
43 EXPECT_EQ(space, iter.GetString()); in TEST()
46 EXPECT_EQ(UTF8ToUTF16("bar"), iter.GetString()); in TEST()
49 EXPECT_EQ(UTF8ToUTF16("!"), iter.GetString()); in TEST()
52 EXPECT_EQ(space, iter.GetString()); in TEST()
55 EXPECT_EQ(UTF8ToUTF16("\n"), iter.GetString()); in TEST()
58 EXPECT_EQ(UTF8ToUTF16("pouet"), iter.GetString()); in TEST()
61 EXPECT_EQ(space, iter.GetString()); in TEST()
64 EXPECT_EQ(UTF8ToUTF16("boom"), iter.GetString()); in TEST()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-message-test.cc46 EXPECT_EQ("", msg.GetString()); in TEST()
53 EXPECT_EQ("Hello", msg2.GetString()); in TEST()
59 EXPECT_EQ("Hello", msg.GetString()); in TEST()
64 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString(); in TEST()
73 << 1260572265.1954534).GetString(); in TEST()
83 EXPECT_NE("(null)", (Message() << p).GetString()); in TEST()
89 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
94 EXPECT_EQ("Foo", (Message() << "Foo").GetString()); in TEST()
100 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
106 EXPECT_EQ("Hello", (Message() << str).GetString()); in TEST()
[all …]
/external/googletest/googletest/test/
Dgoogletest-message-test.cc46 EXPECT_EQ("", msg.GetString()); in TEST()
53 EXPECT_EQ("Hello", msg2.GetString()); in TEST()
59 EXPECT_EQ("Hello", msg.GetString()); in TEST()
64 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString(); in TEST()
73 << 1260572265.1954534).GetString(); in TEST()
83 EXPECT_NE("(null)", (Message() << p).GetString()); in TEST()
89 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
94 EXPECT_EQ("Foo", (Message() << "Foo").GetString()); in TEST()
100 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
106 EXPECT_EQ("Hello", (Message() << str).GetString()); in TEST()
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_save_embeddertest.cpp23 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); in TEST_F()
24 EXPECT_EQ(805u, GetString().length()); in TEST_F()
30 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.4\r\n")); in TEST_F()
31 EXPECT_EQ(805u, GetString().length()); in TEST_F()
36 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); in TEST_F()
40 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); in TEST_F()
44 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); in TEST_F()
78 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.6\r\n")); in TEST_F()
79 EXPECT_THAT(GetString(), testing::HasSubstr("/Root ")); in TEST_F()
80 EXPECT_THAT(GetString(), testing::HasSubstr("/Info ")); in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/Expression/
DDiagnosticManagerTest.cpp77 EXPECT_EQ("", mgr.GetString()); in TEST()
84 EXPECT_EQ("error: abc\n", mgr.GetString()); in TEST()
93 EXPECT_EQ("error: b\nc\n", mgr.GetString()); in TEST()
100 EXPECT_EQ("error: abc\n", mgr.GetString()); in TEST()
103 EXPECT_EQ("error: abc\nerror: def\n", mgr.GetString()); in TEST()
117 EXPECT_EQ("error: foo\nwarning: bar\nbaz\n", mgr.GetString()); in TEST()
130 EXPECT_EQ("baz\nwarning: bar\nerror: foo\n", mgr.GetString()); in TEST()
151 EXPECT_EQ("error: foo\nerror: bar\nmessage text\n", mgr.GetString()); in TEST()
164 EXPECT_EQ("error: bar\nmessage text\nerror: foo\n", mgr.GetString()); in TEST()
173 EXPECT_EQ("error: foo\n", mgr.GetString()); in TEST()
[all …]
/external/llvm-project/llvm/unittests/Support/DynamicLibrary/
DDynamicLibraryTest.cpp37 typedef const char *(*GetString)(); typedef
69 GetString GS = FuncPtr<GetString>(DL.getAddressOfSymbol("TestA")); in TEST()
73 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
82 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
86 GS = FuncPtr<GetString>(DL.getAddressOfSymbol("TestA")); in TEST()
92 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
97 GS = FuncPtr<GetString>(DL.getAddressOfSymbol("TestA")); in TEST()
100 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
104 EXPECT_TRUE(FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol( in TEST()
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc291 if (dict->GetString("ph", &tmp) && tmp == "M") in DropTracedMetadataRecords()
556 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
573 EXPECT_TRUE((item && item->GetString("s", &scope))); in ValidateAllTraceMacrosCreatedData()
579 EXPECT_TRUE((item && item->GetString("s", &scope))); in ValidateAllTraceMacrosCreatedData()
587 EXPECT_TRUE((item && item->GetString("s", &scope))); in ValidateAllTraceMacrosCreatedData()
672 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
683 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
697 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
712 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
730 EXPECT_TRUE((item && item->GetString("id", &id))); in ValidateAllTraceMacrosCreatedData()
[all …]
/external/libbrillo/brillo/
Dosrelease_reader_test.cc52 ASSERT_TRUE(store_.GetString("TEST_KEY", &test_key_value)); in TEST_F()
55 ASSERT_TRUE(store_.GetString("GREETINGS", &greetings_value)); in TEST_F()
58 ASSERT_TRUE(store_.GetString("NAME", &name_value)); in TEST_F()
62 ASSERT_FALSE(store_.GetString("DOES_NOT_EXIST", &nonexistent_value)); in TEST_F()
88 ASSERT_TRUE(store_.GetString("HELLO", &hello_value)); in TEST_F()
89 ASSERT_TRUE(store_.GetString("BONJOUR", &bonjour_value)); in TEST_F()
Dkey_value_store_test.cc33 if (store_.GetString(key, &value)) in GetNonemptyStringValue()
51 EXPECT_TRUE(moved_to.GetString("a_string", &s_value)); in TEST_F()
66 EXPECT_TRUE(moved_to.GetString("a_string", &s_value)); in TEST_F()
82 EXPECT_TRUE(store_.GetString("A", &value)); in TEST_F()
115 EXPECT_TRUE(store_.GetString(it.first, &value)); in TEST_F()
124 EXPECT_TRUE(new_store.GetString(it.first, &value)) << "key: " << it.first; in TEST_F()
171 EXPECT_TRUE(store_.GetString("DONT_SHOUT", &str_value)); in TEST_F()
/external/gptfdisk/
Dgptcl.cc131 cmd = GetString(attributeOperation, 1); in DoOptions()
169 switch (ManageAttributes(partNum, GetString(attributeOperation, 2), in DoOptions()
170 GetString(attributeOperation, 3))) { in DoOptions()
205 name = GetString(partName, 2); in DoOptions()
210 << "'s name to '" << GetString(partName, 2) << "'!\n"; in DoOptions()
301 startSector = IeeeToInt(GetString(newPartInfo, 2), sSize, low, high, low); in DoOptions()
302 endSector = IeeeToInt(GetString(newPartInfo, 3), sSize, startSector, high, high); in DoOptions()
377 string raw = GetString(typeCode, 2); in DoOptions()
381 typeHelper = GetString(typeCode, 2); in DoOptions()
387 << "'s type code to " << GetString(typeCode, 2) << "!\n"; in DoOptions()
[all …]
/external/toolchain-utils/crosperf/
Dexperiment_file.py145 res += '%s: %s\n' % (field.name, field.GetString())
147 board = field.GetString()
156 res += '\t%s: %s\n' % (field.name, field.GetString())
159 os.path.realpath(os.path.expanduser(field.GetString())))
160 if real_file != field.GetString():
165 chromeos_root = chromeos_root_field.GetString()
166 value = field.GetString()
170 autotest_path = autotest_field.GetString()
174 debug_path = autotest_field.GetString()
/external/icing/icing/result/
Dsnippet-retriever_test.cc187 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
213 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
239 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
271 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
304 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
330 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
358 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
386 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
419 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
445 GetString(&document, snippet.entries(0).property_name()); in TEST_F()
[all …]
/external/libchrome/base/
Dvalues_unittest.cc74 EXPECT_EQ("foobar", value.GetString()); in TEST()
81 EXPECT_EQ("foobar", value.GetString()); in TEST()
88 EXPECT_EQ("foobar", value.GetString()); in TEST()
95 EXPECT_EQ("foobar", value.GetString()); in TEST()
102 EXPECT_EQ("foobar", value.GetString()); in TEST()
124 EXPECT_EQ("bar", value.FindKey("foo")->GetString()); in TEST()
132 EXPECT_EQ("baz", value.FindKey("foo")->GetString()); in TEST()
149 EXPECT_EQ("foo", value.GetList()[0].GetString()); in TEST()
158 EXPECT_EQ("bar", value.GetList()[0].GetString()); in TEST()
217 EXPECT_EQ(value.GetString(), copied_value.GetString()); in TEST()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest-message.h102 *ss_ << msg.GetString(); in Message()
186 std::string GetString() const;
199 return os << sb.GetString();
210 return (Message() << streamable).GetString(); in StreamableToString()
/external/googletest/googletest/include/gtest/
Dgtest-message.h103 *ss_ << msg.GetString(); in Message()
187 std::string GetString() const;
200 return os << sb.GetString();
211 return (Message() << streamable).GetString(); in StreamableToString()
/external/mesa3d/src/gtest/include/gtest/
Dgtest-message.h102 *ss_ << msg.GetString(); in Message()
186 std::string GetString() const;
199 return os << sb.GetString();
210 return (Message() << streamable).GetString(); in StreamableToString()
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-message.h103 *ss_ << msg.GetString(); in Message()
185 std::string GetString() const;
198 return os << sb.GetString();
209 return (Message() << streamable).GetString(); in StreamableToString()
/external/skia/tools/gpu/gl/interface/
Dtemplates.go34 GET_PROC_LOCAL(GetString);
35 if (nullptr == GetString) {
39 const char* verStr = reinterpret_cast<const char*>(GetString(GR_GL_VERSION));
52 if (!extensions.init(kGLES_GrGLStandard, GetString, GetStringi, GetIntegerv, queryString,
111 GET_PROC_LOCAL(GetString);
116 if (nullptr == GetString || nullptr == GetIntegerv) {
120 const char* versionString = (const char*) GetString(GR_GL_VERSION);
132 if (!extensions.init(kGL_GrGLStandard, GetString, GetStringi, GetIntegerv, queryString,
/external/llvm-project/lldb/source/DataFormatters/
DTypeSummary.cpp86 retval = std::string(s.GetString()); in FormatObject()
92 retval.assign(std::string(s.GetString())); in FormatObject()
114 return std::string(sstr.GetString()); in GetDescription()
129 dest = std::string(stream.GetString()); in FormatObject()
143 return std::string(sstr.GetString()); in GetDescription()
200 return std::string(sstr.GetString()); in GetDescription()
DTypeFormat.cpp63 dest = std::string(reg_sstr.GetString()); in FormatObject()
117 dest = std::string(sstr.GetString()); in FormatObject()
131 return std::string(sstr.GetString()); in GetDescription()
193 if (!sstr.GetString().empty()) in FormatObject()
194 dest = std::string(sstr.GetString()); in FormatObject()
204 return std::string(sstr.GetString()); in GetDescription()
/external/perfetto/src/trace_processor/importers/syscalls/
Dsyscall_tracker_unittest.cc78 EXPECT_EQ(context.storage->GetString(begin_name), "sys_57"); in TEST_F()
79 EXPECT_EQ(context.storage->GetString(end_name), "sys_57"); in TEST_F()
105 EXPECT_EQ(context.storage->GetString(begin_name), "sys_read"); in TEST_F()
106 EXPECT_EQ(context.storage->GetString(end_name), "sys_read"); in TEST_F()
122 EXPECT_EQ(context.storage->GetString(begin_name), "sys_read"); in TEST_F()
123 EXPECT_EQ(context.storage->GetString(end_name), "sys_read"); in TEST_F()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_creator_embeddertest.cpp27 const std::string saved_doc_1 = GetString(); in TEST_F()
43 const std::string saved_doc_2 = GetString(); in TEST_F()
55 std::string saved_data = GetString(); in TEST_F()
90 const std::string saved_doc = GetString(); in TEST_F()
/external/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc197 EXPECT_EQ("", reflection->GetString( in TEST_P()
199 EXPECT_EQ("", reflection->GetString(*message, in TEST_P()
201 EXPECT_EQ("", reflection->GetString( in TEST_P()
203 EXPECT_EQ("", reflection->GetString( in TEST_P()
230 EXPECT_EQ("STRING", reflection->GetString( in TEST_P()
232 EXPECT_EQ("CORD", reflection->GetString( in TEST_P()
235 reflection->GetString( in TEST_P()
237 EXPECT_EQ("BYTES", reflection->GetString( in TEST_P()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dstring_comparisons.h50 const auto lhs = GetString(input1, i); in ComparisonStringImpl()
51 const auto rhs = GetString(input2, i); in ComparisonStringImpl()
71 GetString(input1, SubscriptToIndex(dims.desc1, b, y, x, c)); in BroadcastComparison4DSlowStringImpl()
73 GetString(input2, SubscriptToIndex(dims.desc2, b, y, x, c)); in BroadcastComparison4DSlowStringImpl()
/external/llvm-project/lldb/tools/lldb-vscode/
DBreakpointBase.cpp15 : condition(std::string(GetString(obj, "condition"))), in BreakpointBase()
16 hitCondition(std::string(GetString(obj, "hitCondition"))), in BreakpointBase()
17 logMessage(std::string(GetString(obj, "logMessage"))) {} in BreakpointBase()

12345678910>>...23