Home
last modified time | relevance | path

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

12345678910>>...14

/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/
Dfpdfsave_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/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/DynamicLibrary/
DDynamicLibraryTest.cpp38 typedef const char *(*GetString)(); typedef
70 GetString GS = FuncPtr<GetString>(DL.getAddressOfSymbol("TestA")); in TEST()
74 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
83 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
87 GS = FuncPtr<GetString>(DL.getAddressOfSymbol("TestA")); in TEST()
93 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
98 GS = FuncPtr<GetString>(DL.getAddressOfSymbol("TestA")); in TEST()
101 GS = FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol("TestA")); in TEST()
105 EXPECT_TRUE(FuncPtr<GetString>(DynamicLibrary::SearchForAddressOfSymbol( in TEST()
/external/libbrillo/brillo/
Dosrelease_reader_unittest.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_unittest.cc32 if (store_.GetString(key, &value)) in GetNonemptyStringValue()
52 EXPECT_TRUE(store_.GetString("A", &value)); in TEST_F()
85 EXPECT_TRUE(store_.GetString(it.first, &value)); in TEST_F()
94 EXPECT_TRUE(new_store.GetString(it.first, &value)) << "key: " << it.first; in TEST_F()
121 EXPECT_TRUE(store_.GetString("DONT_SHOUT", &str_value)); in TEST_F()
/external/gptfdisk/
Dgptcl.cc129 cmd = GetString(attributeOperation, 1); in DoOptions()
167 switch (ManageAttributes(partNum, GetString(attributeOperation, 2), in DoOptions()
168 GetString(attributeOperation, 3))) { in DoOptions()
204 name = GetString(partName, 2); in DoOptions()
209 << "'s name to '" << GetString(partName, 2) << "'!\n"; in DoOptions()
295 startSector = IeeeToInt(GetString(newPartInfo, 2), sSize, low, high, low); in DoOptions()
296 endSector = IeeeToInt(GetString(newPartInfo, 3), sSize, startSector, high, high); in DoOptions()
368 string raw = GetString(typeCode, 2); in DoOptions()
372 typeHelper = GetString(typeCode, 2); in DoOptions()
378 << "'s type code to " << GetString(typeCode, 2) << "!\n"; in DoOptions()
[all …]
/external/toolchain-utils/crosperf/
Dexperiment_file.py137 res += '%s: %s\n' % (field.name, field.GetString())
139 board = field.GetString()
148 res += '\t%s: %s\n' % (field.name, field.GetString())
151 os.path.realpath(os.path.expanduser(field.GetString())))
152 if real_file != field.GetString():
157 chromeos_root = chromeos_root_field.GetString()
158 value = field.GetString()
162 autotest_path = autotest_field.GetString()
/external/perfetto/src/trace_processor/
Dsyscall_tracker_unittest.cc68 EXPECT_EQ(context.storage->GetString(begin_name), "sys_57"); in TEST_F()
69 EXPECT_EQ(context.storage->GetString(end_name), "sys_57"); in TEST_F()
92 EXPECT_EQ(context.storage->GetString(begin_name), "sys_read"); in TEST_F()
93 EXPECT_EQ(context.storage->GetString(end_name), "sys_read"); in TEST_F()
107 EXPECT_EQ(context.storage->GetString(begin_name), "sys_read"); in TEST_F()
108 EXPECT_EQ(context.storage->GetString(end_name), "sys_read"); in TEST_F()
/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/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc186 EXPECT_EQ("", reflection->GetString( in TEST_F()
188 EXPECT_EQ("", reflection->GetString( in TEST_F()
190 EXPECT_EQ("", reflection->GetString( in TEST_F()
192 EXPECT_EQ("", reflection->GetString( in TEST_F()
217 EXPECT_EQ("STRING", reflection->GetString( in TEST_F()
219 EXPECT_EQ("CORD", reflection->GetString( in TEST_F()
221 EXPECT_EQ("SPIECE", reflection->GetString( in TEST_F()
223 EXPECT_EQ("BYTES", reflection->GetString( in TEST_F()
/external/googletest/googletest/include/gtest/
Dgtest-message.h102 *ss_ << msg.GetString(); in Message()
192 std::string GetString() const;
205 return os << sb.GetString();
216 return (Message() << streamable).GetString(); in StreamableToString()
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-message.h97 *ss_ << msg.GetString(); in Message()
196 std::string GetString() const;
233 return os << sb.GetString();
244 return (Message() << streamable).GetString(); in StreamableToString()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/
Dgtest-message.h98 *ss_ << msg.GetString(); in Message()
197 std::string GetString() const;
234 return os << sb.GetString();
245 return (Message() << streamable).GetString(); in StreamableToString()
/external/mesa3d/src/gtest/include/gtest/
Dgtest-message.h97 *ss_ << msg.GetString(); in Message()
196 std::string GetString() const;
233 return os << sb.GetString();
244 return (Message() << streamable).GetString(); in StreamableToString()
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest-message.h101 *ss_ << msg.GetString(); in Message()
200 std::string GetString() const;
236 return os << sb.GetString();
247 return (Message() << streamable).GetString(); in StreamableToString()
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DMarshalUtils.cs40 return EncodingUTF8.GetString(bytes); in PtrToStringUTF8()
56 return EncodingUTF8.GetString(bytes); in GetStringUTF8()
72 return EncodingASCII.GetString(bytes); in GetStringASCII()
/external/tensorflow/tensorflow/lite/
Dstring_util_test.cc74 str_ref = GetString(t0, 0); in TEST()
76 str_ref = GetString(t0, 1); in TEST()
81 str_ref = GetString(t1, 0); in TEST()
86 str_ref = GetString(t2, 0); in TEST()
109 str_ref = GetString(t0, 0); in TEST()
/external/libbrillo/brillo/imageloader/
Dmanifest.cc102 if (!manifest_dict->GetString(kImageHashField, &image_hash_str)) { in ParseManifest()
113 if (!manifest_dict->GetString(kTableHashField, &table_hash_str)) { in ParseManifest()
123 if (!manifest_dict->GetString(kVersionField, &(version_))) { in ParseManifest()
131 if (manifest_dict->GetString(kFSType, &fs_type)) { in ParseManifest()
/external/libbrillo/brillo/http/
Dhttp_utils_unittest.cc204 EXPECT_TRUE(json->GetString("method", &value)); in TEST()
206 EXPECT_TRUE(json->GetString("data", &value)); in TEST()
208 EXPECT_TRUE(json->GetString("header.Cookie", &value)); in TEST()
210 EXPECT_TRUE(json->GetString("header.Content-Type", &value)); in TEST()
212 EXPECT_TRUE(json->GetString("header.Content-Length", &value)); in TEST()
214 EXPECT_TRUE(json->GetString("header.If-Match", &value)); in TEST()
398 EXPECT_TRUE(resp_json->GetString("method", &value)); in TEST()
400 EXPECT_TRUE(resp_json->GetString("data", &value)); in TEST()
407 EXPECT_TRUE(resp_json->GetString("method", &value)); in TEST()
409 EXPECT_TRUE(resp_json->GetString("data", &value)); in TEST()
[all …]
/external/pdfium/xfa/fgas/layout/
Dcfx_rtfbreak_unittest.cpp48 EXPECT_EQ(str + L"\n", b->GetBreakPieceUnstable(0)->GetString()); in TEST_F()
61 EXPECT_EQ(str, b->GetBreakPieceUnstable(0)->GetString()); in TEST_F()
73 EXPECT_EQ(L"\v", b->GetBreakPieceUnstable(0)->GetString()); in TEST_F()
/external/skqp/src/gpu/gl/
DGrGLAssembleInterface.cpp19 GET_PROC_LOCAL(GetString); in GrGLMakeAssembledInterface()
20 if (nullptr == GetString) { in GrGLMakeAssembledInterface()
24 const char* verStr = reinterpret_cast<const char*>(GetString(GR_GL_VERSION)); in GrGLMakeAssembledInterface()
55 GET_PROC_LOCAL(GetString); in GrGLMakeAssembledGLInterface()
60 if (nullptr == GetString || nullptr == GetIntegerv) { in GrGLMakeAssembledGLInterface()
64 const char* versionString = (const char*) GetString(GR_GL_VERSION); in GrGLMakeAssembledGLInterface()
76 if (!extensions.init(kGL_GrGLStandard, GetString, GetStringi, GetIntegerv, queryString, in GrGLMakeAssembledGLInterface()
172 GET_PROC(GetString); in GrGLMakeAssembledGLInterface()
424 GET_PROC_LOCAL(GetString); in GrGLMakeAssembledGLESInterface()
425 if (nullptr == GetString) { in GrGLMakeAssembledGLESInterface()
[all …]
/external/skia/src/gpu/gl/
DGrGLAssembleInterface.cpp19 GET_PROC_LOCAL(GetString); in GrGLMakeAssembledInterface()
20 if (nullptr == GetString) { in GrGLMakeAssembledInterface()
24 const char* verStr = reinterpret_cast<const char*>(GetString(GR_GL_VERSION)); in GrGLMakeAssembledInterface()
55 GET_PROC_LOCAL(GetString); in GrGLMakeAssembledGLInterface()
60 if (nullptr == GetString || nullptr == GetIntegerv) { in GrGLMakeAssembledGLInterface()
64 const char* versionString = (const char*) GetString(GR_GL_VERSION); in GrGLMakeAssembledGLInterface()
76 if (!extensions.init(kGL_GrGLStandard, GetString, GetStringi, GetIntegerv, queryString, in GrGLMakeAssembledGLInterface()
172 GET_PROC(GetString); in GrGLMakeAssembledGLInterface()
421 GET_PROC_LOCAL(GetString); in GrGLMakeAssembledGLESInterface()
422 if (nullptr == GetString) { in GrGLMakeAssembledGLESInterface()
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest-message.h102 *ss_ << msg.GetString(); in Message()
190 internal::String GetString() const { in GetString() function
225 return os << sb.GetString();
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-message.h102 *ss_ << msg.GetString(); in Message()
190 internal::String GetString() const { in GetString() function
225 return os << sb.GetString();
/external/google-breakpad/src/testing/gtest/test/
Dgtest-message_test.cc45 result = msg.GetString(); in ToCString()
147 TEST(MessageTest, GetString) { in TEST() argument
150 EXPECT_STREQ("1 lamb", msg.GetString().c_str()); in TEST()

12345678910>>...14