Home
last modified time | relevance | path

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

12345678910>>...12

/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-message_test.cc47 EXPECT_EQ("", msg.GetString()); in TEST()
54 EXPECT_EQ("Hello", msg2.GetString()); in TEST()
60 EXPECT_EQ("Hello", msg.GetString()); in TEST()
65 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString(); in TEST()
74 << 1260572265.1954534).GetString(); in TEST()
84 EXPECT_NE("(null)", (Message() << p).GetString()); in TEST()
90 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
95 EXPECT_EQ("Foo", (Message() << "Foo").GetString()); in TEST()
101 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
107 EXPECT_EQ("Hello", (Message() << str).GetString()); in TEST()
[all …]
/external/gtest/test/
Dgtest-message_test.cc47 EXPECT_EQ("", msg.GetString()); in TEST()
54 EXPECT_EQ("Hello", msg2.GetString()); in TEST()
60 EXPECT_EQ("Hello", msg.GetString()); in TEST()
65 const std::string s = (Message() << 1.23456F << " " << 2.34567F).GetString(); in TEST()
74 << 1260572265.1954534).GetString(); in TEST()
84 EXPECT_NE("(null)", (Message() << p).GetString()); in TEST()
90 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
95 EXPECT_EQ("Foo", (Message() << "Foo").GetString()); in TEST()
101 EXPECT_EQ("(null)", (Message() << p).GetString()); in TEST()
107 EXPECT_EQ("Hello", (Message() << str).GetString()); in TEST()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfsave_embeddertest.cpp21 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); in TEST_F()
22 EXPECT_EQ(843, GetString().length()); in TEST_F()
28 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.4\r\n")); in TEST_F()
29 EXPECT_EQ(843, GetString().length()); in TEST_F()
35 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); in TEST_F()
39 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); in TEST_F()
43 EXPECT_THAT(GetString(), testing::StartsWith("%PDF-1.7\r\n")); in TEST_F()
49 EXPECT_THAT(GetString(), testing::HasSubstr("0000000000 65535 f\r\n")); in TEST_F()
50 EXPECT_THAT(GetString(), in TEST_F()
/external/libweave/src/
Dconfig.cc63 if (dict->GetString(config_keys::kCloudId, &cloud_id) && !cloud_id.empty()) in MigrateFromV0()
179 if (dict->GetString(config_keys::kClientId, &tmp)) in LoadState()
182 if (dict->GetString(config_keys::kClientSecret, &tmp)) in LoadState()
185 if (dict->GetString(config_keys::kApiKey, &tmp)) in LoadState()
188 if (dict->GetString(config_keys::kOAuthURL, &tmp)) in LoadState()
191 if (dict->GetString(config_keys::kServiceURL, &tmp)) { in LoadState()
197 if (dict->GetString(config_keys::kXmppEndpoint, &tmp)) { in LoadState()
201 if (dict->GetString(config_keys::kName, &tmp)) in LoadState()
204 if (dict->GetString(config_keys::kDescription, &tmp)) in LoadState()
207 if (dict->GetString(config_keys::kLocation, &tmp)) in LoadState()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_action.cpp13 CFX_ByteString type = m_pDict->GetString("S"); in GetDest()
23 CFX_ByteStringC name = pDest->GetString(); in GetDest()
38 CFX_ByteString csType = m_pDict->GetString("S"); in GetType()
52 CFX_ByteString type = m_pDict->GetString("S"); in GetFilePath()
63 return CFX_WideString::FromLocal(pWinDict->GetString("F")); in GetFilePath()
77 if (m_pDict->GetString("S") != "URI") { in GetURI()
80 csURI = m_pDict->GetString("URI"); in GetURI()
85 csURI = pURI->GetString("Base") + csURI; in GetURI()
98 CFX_ByteString csType = pDict->GetString("S"); in GetFieldsCount()
125 CFX_ByteString csType = pDict->GetString("S"); in GetAllFields()
[all …]
Ddoc_ocg.cpp35 bsIntent = pArray->GetString(i); in FPDFDOC_OCG_HasIntent()
41 bsIntent = pIntent->GetString(); in FPDFDOC_OCG_HasIntent()
107 FX_BOOL bState = pConfig->GetString("BaseState", "ON") != "OFF"; in LoadOCGStateFromConfig()
129 if (pUsage->GetString("Event", "View") != csConfig) { in LoadOCGStateFromConfig()
143 bState = pState->GetString(csFind) != "OFF"; in LoadOCGStateFromConfig()
159 return pState->GetString(csFind) != "OFF"; in LoadOCGState()
165 return pState->GetString("ViewState") != "OFF"; in LoadOCGState()
197 CFX_ByteString csOperator = pExpression->GetString(0); in GetOCGVE()
241 CFX_ByteString csP = pOCMDDict->GetString("P", "AnyOn"); in LoadOCMDState()
274 CFX_ByteString csType = pOCGDict->GetString("Type", "OCG"); in CheckOCGVisible()
Ddoc_basic.cpp47 mode = pObj ? pObj->GetString() : CFX_ByteString(); in GetZoomMode()
62 return m_pObj ? m_pObj->GetString() : CFX_ByteString(); in GetRemoteName()
81 CFX_ByteString csLeft = pLimits->GetString(0); in SearchNameNode()
82 CFX_ByteString csRight = pLimits->GetString(1); in SearchNameNode()
96 CFX_ByteString csValue = pNames->GetString(i * 2); in SearchNameNode()
150 csName = pNames->GetString((nIndex - nCurIndex) * 2); in SearchNameNode()
309 csFileName = CFX_WideString::FromLocal(pDict->GetString("F")); in GetFileName()
311 if (pDict->GetString("FS") == "URL") { in GetFileName()
316 csFileName = CFX_WideString::FromLocal(pDict->GetString("DOS")); in GetFileName()
318 csFileName = CFX_WideString::FromLocal(pDict->GetString("Mac")); in GetFileName()
[all …]
Ddoc_viewerPreferences.cpp18 return "R2L" == pDict->GetString("Direction"); in IsDirectionR2L()
26 return "None" != pDict->GetString("PrintScaling"); in PrintScaling()
52 return pDict->GetString("Duplex"); in Duplex()
Ddoc_tagged.cpp130 if (!pParent || pParent->GetString("Type") == "StructTreeRoot") { in AddPageNode()
198 m_Type = pDict->GetString("S"); in CPDF_StructElementImpl()
200 CFX_ByteString mapped = pTree->m_pRoleMap->GetString(m_Type); in CPDF_StructElementImpl()
270 CFX_ByteString type = pKidDict->GetString("Type"); in LoadKid()
326 if (pDict && pDict->GetString("O") == owner) in FindAttrDict()
367 CFX_ByteString class_name = pArray->GetString(i); in GetAttr()
369 if (pClassDict && pClassDict->GetString("O") == owner) in GetAttr()
374 CFX_ByteString class_name = pC->GetString(); in GetAttr()
376 if (pClassDict && pClassDict->GetString("O") == owner) in GetAttr()
401 return pAttr->GetString(); in GetName()
Ddoc_formcontrol.cpp49 CFX_ByteString csAS = m_pWidgetDict->GetString("AS", "Off"); in SetOnStateName()
106 csOn = pArray->GetString(iIndex); in GetExportValue()
119 CFX_ByteString csAS = m_pWidgetDict->GetString("AS"); in IsChecked()
129 CFX_ByteString csDV = pDV->GetString(); in IsDefaultChecked()
137 CFX_ByteString csOldAS = m_pWidgetDict->GetString("AS", "Off"); in CheckControl()
182 CFX_ByteString csH = m_pWidgetDict->GetString("H", "I"); in GetHighlightingMode()
259 return m_pWidgetDict->GetString("DA"); in GetDefaultAppearance()
265 return pObj->GetString(); in GetDefaultAppearance()
/external/opencv3/samples/wp8/OpenCVXaml/OpenCVXaml/Resources/
DAppResources.Designer.cs79 return ResourceManager.GetString("ResourceFlowDirection", resourceCulture);
90 return ResourceManager.GetString("ResourceLanguage", resourceCulture);
101 return ResourceManager.GetString("ApplicationTitle", resourceCulture);
112 return ResourceManager.GetString("AppBarButtonText", resourceCulture);
123 return ResourceManager.GetString("AppBarMenuItemText", resourceCulture);
/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()
51 EXPECT_TRUE(store_.GetString("A", &value)); in TEST_F()
84 EXPECT_TRUE(store_.GetString(it.first, &value)); in TEST_F()
93 EXPECT_TRUE(new_store.GetString(it.first, &value)) << "key: " << it.first; in TEST_F()
120 EXPECT_TRUE(store_.GetString("DONT_SHOUT", &str_value)); in TEST_F()
/external/libchrome/base/
Dvalues_unittest.cc22 ASSERT_FALSE(settings.GetString("global.homepage", &homepage)); in TEST()
31 ASSERT_TRUE(settings.GetString("global.homepage", &homepage)); in TEST()
54 ASSERT_TRUE(bookmark->GetString("name", &bookmark_name)); in TEST()
57 ASSERT_TRUE(bookmark->GetString("url", &bookmark_url)); in TEST()
81 ASSERT_FALSE(mixed_list->GetString(2, &string_value)); in TEST()
97 ASSERT_TRUE(mixed_list->GetString(3, &string_value)); in TEST()
160 ASSERT_EQ(string_value->GetString(), narrow); in TEST()
167 ASSERT_EQ(string_value->GetString(), narrow); in TEST()
770 EXPECT_TRUE(base->GetString("base_key", &base_key_value)); in TEST()
773 EXPECT_TRUE(base->GetString("collide_key", &collide_key_value)); in TEST()
[all …]
/external/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc166 EXPECT_EQ("", reflection->GetString( in TEST_F()
168 EXPECT_EQ("", reflection->GetString( in TEST_F()
170 EXPECT_EQ("", reflection->GetString( in TEST_F()
172 EXPECT_EQ("", reflection->GetString( in TEST_F()
197 EXPECT_EQ("STRING", reflection->GetString( in TEST_F()
199 EXPECT_EQ("CORD", reflection->GetString( in TEST_F()
201 EXPECT_EQ("SPIECE", reflection->GetString( in TEST_F()
203 EXPECT_EQ("BYTES", reflection->GetString( in TEST_F()
/external/gptfdisk/
Dgptcl.cc128 cmd = GetString(attributeOperation, 1); in DoOptions()
166 switch (ManageAttributes(partNum, GetString(attributeOperation, 2), in DoOptions()
167 GetString(attributeOperation, 3))) { in DoOptions()
203 name = GetString(partName, 2); in DoOptions()
208 << "'s name to '" << GetString(partName, 2) << "'!\n"; in DoOptions()
291 startSector = IeeeToInt(GetString(newPartInfo, 2), sSize, low, high, low); in DoOptions()
292 endSector = IeeeToInt(GetString(newPartInfo, 3), sSize, startSector, high, high); in DoOptions()
363 typeHelper = GetString(typeCode, 2); in DoOptions()
369 << "'s type code to " << GetString(typeCode, 2) << "!\n"; in DoOptions()
387 SetPartitionGUID(partNum, GetString(partGUID, 2).c_str()); in DoOptions()
[all …]
/external/libweave/third_party/chromium/base/
Dvalues_unittest.cc22 ASSERT_FALSE(settings.GetString("global.homepage", &homepage)); in TEST()
31 ASSERT_TRUE(settings.GetString("global.homepage", &homepage)); in TEST()
54 ASSERT_TRUE(bookmark->GetString("name", &bookmark_name)); in TEST()
57 ASSERT_TRUE(bookmark->GetString("url", &bookmark_url)); in TEST()
81 ASSERT_FALSE(mixed_list->GetString(2, &string_value)); in TEST()
97 ASSERT_TRUE(mixed_list->GetString(3, &string_value)); in TEST()
154 ASSERT_EQ(string_value->GetString(), narrow); in TEST()
730 EXPECT_TRUE(base->GetString("base_key", &base_key_value)); in TEST()
733 EXPECT_TRUE(base->GetString("collide_key", &collide_key_value)); in TEST()
736 EXPECT_TRUE(base->GetString("merge_key", &merge_key_value)); in TEST()
[all …]
/external/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/vulkan-validation-layers/tests/gtest-1.7.0/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/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1/Resources/
DAppResources.Designer.cs79 return ResourceManager.GetString("ResourceFlowDirection", resourceCulture);
90 return ResourceManager.GetString("ResourceLanguage", resourceCulture);
101 return ResourceManager.GetString("ApplicationTitle", resourceCulture);
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1/Resources/
DAppResources.Designer.cs79 return ResourceManager.GetString("ResourceFlowDirection", resourceCulture);
90 return ResourceManager.GetString("ResourceLanguage", resourceCulture);
101 return ResourceManager.GetString("ApplicationTitle", resourceCulture);
/external/libweave/src/notification/
Dnotification_parser.cc31 if (!notification.GetString("deviceId", &cloud_id)) { in ParseDeviceDeleted()
48 if (!notification.GetString("kind", &kind) || kind != "weave#notification") { in ParseNotificationJson()
55 if (!notification.GetString("type", &type)) { in ParseNotificationJson()
/external/libweave/src/privet/
Dprivet_handler.cc577 input.GetString(kPairingKey, &pairing_str); in HandlePairingStart()
580 input.GetString(kCryptoKey, &crypto_str); in HandlePairingStart()
617 input.GetString(kPairingSessionIdKey, &id); in HandlePairingConfirm()
620 input.GetString(kPairingClientCommitmentKey, &commitment); in HandlePairingConfirm()
640 input.GetString(kPairingSessionIdKey, &id); in HandlePairingCancel()
657 if (!input.GetString(kAuthModeKey, &auth_code_type) || in HandleAuth()
669 input.GetString(kAuthRequestedScopeKey, &requested_scope); in HandleAuth()
684 input.GetString(kAuthCodeKey, &auth_code); in HandleAuth()
731 if (!input.GetString(kAuthClientTokenKey, &token)) { in HandleAccessControlConfirm()
749 input.GetString(kNameKey, &name); in HandleSetupStart()
[all …]
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc295 if (dict->GetString("ph", &tmp) && tmp == "M") in DropTracedMetadataRecords()
530 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
547 EXPECT_TRUE((item && item->GetString("s", &scope))); in ValidateAllTraceMacrosCreatedData()
553 EXPECT_TRUE((item && item->GetString("s", &scope))); in ValidateAllTraceMacrosCreatedData()
561 EXPECT_TRUE((item && item->GetString("s", &scope))); in ValidateAllTraceMacrosCreatedData()
646 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
657 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
671 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
686 EXPECT_TRUE((item && item->GetString("ph", &ph))); in ValidateAllTraceMacrosCreatedData()
704 EXPECT_TRUE((item && item->GetString("id", &id))); in ValidateAllTraceMacrosCreatedData()
[all …]
/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()
396 EXPECT_TRUE(resp_json->GetString("method", &value)); in TEST()
398 EXPECT_TRUE(resp_json->GetString("data", &value)); in TEST()
405 EXPECT_TRUE(resp_json->GetString("method", &value)); in TEST()
407 EXPECT_TRUE(resp_json->GetString("data", &value)); in TEST()
[all …]

12345678910>>...12