Searched refs:GetValue (Results 1 - 25 of 498) sorted by relevance

1234567891011>>

/external/chromium_org/ui/base/
H A Dview_prop_unittest.cc26 EXPECT_EQ(NULL, ViewProp::GetValue(nv1, kKey1));
31 EXPECT_EQ(data1, ViewProp::GetValue(nv1, kKey1));
35 EXPECT_EQ(NULL, ViewProp::GetValue(nv1, kKey1));
40 EXPECT_EQ(data1, ViewProp::GetValue(nv1, kKey1));
45 EXPECT_EQ(data2, ViewProp::GetValue(nv1, kKey1));
49 EXPECT_EQ(NULL, ViewProp::GetValue(nv1, kKey1));
53 EXPECT_EQ(NULL, ViewProp::GetValue(nv1, kKey1));
59 EXPECT_EQ(data1, ViewProp::GetValue(nv1, kKey1));
60 EXPECT_EQ(data2, ViewProp::GetValue(nv2, kKey2));
63 EXPECT_EQ(NULL, ViewProp::GetValue(nv
[all...]
/external/lldb/examples/scripting/
H A Dtree_utils.py62 if left_child_ptr.GetValue() == None:
71 if right_child_ptr.GetValue() == None:
87 if (root.GetValue == None):
90 if (int (root.GetValue(), 16) == 0):
110 if (root.GetChildAtIndex(1).GetValue() != None) and (int (root.GetChildAtIndex(1).GetValue(), 16) != 0):
115 if (root.GetChildAtIndex(2).GetValue() != None) and (int (root.GetChildAtIndex(2).GetValue(), 16) != 0):
/external/lldb/test/functionalities/data-formatter/format-propagation/
H A DTestFormatPropagation.py66 self.assertTrue(X.GetValue() == "1", "X has an invalid value")
67 self.assertTrue(Y.GetValue() == "2", "Y has an invalid value")
70 self.assertTrue(X.GetValue() == "0x00000001", "X has not changed format")
71 self.assertTrue(Y.GetValue() == "0x00000002", "Y has not changed format")
74 self.assertTrue(X.GetValue() == "0x00000004", "X has not become 4")
75 self.assertTrue(Y.GetValue() == "0x00000002", "Y has not stuck as hex")
78 self.assertTrue(X.GetValue() == "0x00000004", "X is still hex")
79 self.assertTrue(Y.GetValue() == "2", "Y has not been reset")
84 self.assertTrue(X.GetValue() == "0x00000004", "X is not hex as it asked")
85 self.assertTrue(Y.GetValue()
[all...]
/external/chromium_org/cc/animation/
H A Dkeyframed_animation_curve_unittest.cc35 EXPECT_SKCOLOR_EQ(color, curve->GetValue(-1.f));
36 EXPECT_SKCOLOR_EQ(color, curve->GetValue(0.f));
37 EXPECT_SKCOLOR_EQ(color, curve->GetValue(0.5f));
38 EXPECT_SKCOLOR_EQ(color, curve->GetValue(1.f));
39 EXPECT_SKCOLOR_EQ(color, curve->GetValue(2.f));
54 EXPECT_SKCOLOR_EQ(color_a, curve->GetValue(-1.f));
55 EXPECT_SKCOLOR_EQ(color_a, curve->GetValue(0.f));
56 EXPECT_SKCOLOR_EQ(color_midpoint, curve->GetValue(0.5f));
57 EXPECT_SKCOLOR_EQ(color_b, curve->GetValue(1.f));
58 EXPECT_SKCOLOR_EQ(color_b, curve->GetValue(
[all...]
H A Dscroll_offset_animation_curve_unittest.cc57 TEST(ScrollOffsetAnimationCurveTest, GetValue) {
73 EXPECT_VECTOR2DF_EQ(initial_value, curve->GetValue(-1.0));
74 EXPECT_VECTOR2DF_EQ(initial_value, curve->GetValue(0.0));
75 EXPECT_VECTOR2DF_EQ(gfx::Vector2dF(6.f, 30.f), curve->GetValue(duration/2.0));
76 EXPECT_VECTOR2DF_EQ(target_value, curve->GetValue(duration));
77 EXPECT_VECTOR2DF_EQ(target_value, curve->GetValue(duration+1.0));
79 // Verify that GetValue takes the timing function into account.
80 gfx::Vector2dF value = curve->GetValue(duration/4.0);
102 clone->ToScrollOffsetAnimationCurve()->GetValue(-1.0));
104 clone->ToScrollOffsetAnimationCurve()->GetValue(0.
[all...]
/external/chromium_org/tools/gn/
H A Dgroup_target_generator.cc29 if (scope_->GetValue(variables::kDeps, false) &&
30 !scope_->GetValue(variables::kPublicDeps, false)) {
/external/chromium_org/chrome/browser/policy/
H A Djavascript_policy_handler_unittest.cc25 EXPECT_FALSE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, NULL));
33 EXPECT_FALSE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, NULL));
41 EXPECT_TRUE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting,
47 EXPECT_FALSE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, NULL));
56 EXPECT_TRUE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting,
66 EXPECT_TRUE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting,
H A Djavascript_policy_handler.cc25 policies.GetValue(key::kJavascriptEnabled);
27 policies.GetValue(key::kDefaultJavaScriptSetting);
55 policies.GetValue(key::kDefaultJavaScriptSetting);
61 policies.GetValue(key::kJavascriptEnabled);
H A Dnetwork_prediction_policy_handler.cc29 policies.GetValue(key::kDnsPrefetchingEnabled);
32 policies.GetValue(key::kNetworkPredictionOptions);
62 policies.GetValue(key::kNetworkPredictionOptions);
77 policies.GetValue(key::kDnsPrefetchingEnabled);
/external/chromium_org/components/search_engines/
H A Ddefault_search_policy_handler_unittest.cc158 EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderSearchURL, &value));
161 EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderName, &value));
164 EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderKeyword, &value));
167 EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderSuggestURL,
171 EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderIconURL, &value));
174 EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderEncodings, &value));
177 EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderInstantURL,
181 EXPECT_TRUE(store_->GetValue(prefs::kDefaultSearchProviderAlternateURLs,
186 store_->GetValue(prefs::kDefaultSearchProviderSearchTermsReplacementKey,
190 EXPECT_TRUE(store_->GetValue(pref
[all...]
/external/chromium_org/base/prefs/
H A Dpref_value_map_unittest.cc16 EXPECT_FALSE(map.GetValue("key", &result));
23 EXPECT_TRUE(map.GetValue("key", &result));
45 ASSERT_TRUE(map.GetValue("key", &result));
56 EXPECT_TRUE(map.GetValue("key", NULL));
59 EXPECT_FALSE(map.GetValue("key", NULL));
67 EXPECT_TRUE(map.GetValue("key", NULL));
71 EXPECT_FALSE(map.GetValue("key", NULL));
116 EXPECT_TRUE(first_map.GetValue("d", NULL));
117 EXPECT_TRUE(first_map.GetValue("e", NULL));
118 EXPECT_TRUE(first_map.GetValue("
[all...]
H A Doverlay_user_pref_store_unittest.cc88 EXPECT_FALSE(overlay_->GetValue(overlay_key, &value));
89 EXPECT_FALSE(underlay_->GetValue(overlay_key, &value));
94 EXPECT_TRUE(overlay_->GetValue(overlay_key, &value));
97 EXPECT_TRUE(underlay_->GetValue(overlay_key, &value));
102 EXPECT_TRUE(overlay_->GetValue(overlay_key, &value));
105 EXPECT_TRUE(underlay_->GetValue(overlay_key, &value));
111 EXPECT_TRUE(overlay_->GetValue(overlay_key, &value));
114 EXPECT_TRUE(underlay_->GetValue(overlay_key, &value));
157 EXPECT_TRUE(overlay_->GetValue(regular_key, &value));
165 EXPECT_TRUE(overlay_->GetValue(regular_ke
[all...]
H A Ddefault_pref_store.cc12 bool DefaultPrefStore::GetValue(const std::string& key, function in class:DefaultPrefStore
14 return prefs_.GetValue(key, result);
31 DCHECK(!GetValue(key, NULL));
38 GetValue(key, &old_value);
/external/chromium_org/chrome/browser/download/
H A Ddownload_dir_policy_handler_unittest.cc70 EXPECT_FALSE(store_->GetValue(prefs::kPromptForDownload, NULL));
80 EXPECT_TRUE(store_->GetValue(prefs::kPromptForDownload, &value));
91 EXPECT_FALSE(store_->GetValue(prefs::kPromptForDownload, NULL));
103 EXPECT_TRUE(store_->GetValue(prefs::kPromptForDownload, &value));
109 EXPECT_TRUE(store_->GetValue(prefs::kDisableDrive, &value));
115 EXPECT_TRUE(store_->GetValue(prefs::kDownloadDefaultDirectory, &value));
126 EXPECT_FALSE(recommended_store_->GetValue(prefs::kDisableDrive, NULL));
136 EXPECT_FALSE(recommended_store_->GetValue(prefs::kPromptForDownload, NULL));
137 EXPECT_FALSE(recommended_store_->GetValue(prefs::kDisableDrive, NULL));
140 recommended_store_->GetValue(pref
[all...]
/external/chromium_org/components/copresence/
H A Dtimed_map_unittest.cc40 EXPECT_EQ(0, map.GetValue(0).value);
44 EXPECT_EQ(0x7331, map.GetValue(0x1337).value);
48 EXPECT_EQ(0xf00d, map.GetValue(0xbaad).value);
49 EXPECT_EQ(0x7331, map.GetValue(0x1337).value);
56 EXPECT_EQ(0x5678, map.GetValue(0x1234).value);
57 EXPECT_EQ(0xf00d, map.GetValue(0xbaad).value);
58 EXPECT_EQ(0x7331, map.GetValue(0x1337).value);
66 EXPECT_EQ(0x7331, map.GetValue(0x1337).value);
70 EXPECT_EQ(0xf00d, map.GetValue(0xbaad).value);
74 EXPECT_EQ(0xd00d, map.GetValue(
[all...]
/external/chromium_org/sql/
H A Dmeta_table.h81 bool GetValue(const char* key, std::string* value);
82 bool GetValue(const char* key, int* value);
83 bool GetValue(const char* key, int64* value);
H A Dmeta_table_unittest.cc140 EXPECT_FALSE(meta_table.GetValue(kKey, &value));
143 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
153 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
165 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
181 EXPECT_FALSE(meta_table.GetValue(kKey, &value));
184 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
194 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
206 EXPECT_TRUE(meta_table.GetValue(kKey, &value));
222 EXPECT_FALSE(meta_table.GetValue(kKey, &value));
225 EXPECT_TRUE(meta_table.GetValue(kKe
[all...]
/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_shared_settings_service_unittest.cc111 ToJson(settings_service_.GetValue(setting.mu_id(), setting.key())));
126 const Value* value = settings_service_.GetValue(su_id, key);
179 EXPECT_EQ(ToJson(&name), ToJson(settings_service_.GetValue(kIdA, "name")));
180 EXPECT_EQ(ToJson(&age), ToJson(settings_service_.GetValue(kIdA, "age")));
181 EXPECT_EQ(ToJson(&bar), ToJson(settings_service_.GetValue(kIdB, "foo")));
182 EXPECT_FALSE(settings_service_.GetValue(kIdA, "foo"));
183 EXPECT_FALSE(settings_service_.GetValue(kIdB, "name"));
184 EXPECT_FALSE(settings_service_.GetValue(kIdC, "name"));
222 ToJson(settings_service_.GetValue(kIdA, "name")));
223 EXPECT_EQ(ToJson(&age), ToJson(settings_service_.GetValue(kId
[all...]
/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_origin_identifier_value_map_unittest.cc18 map.GetValue(GURL("http://www.google.com"),
29 EXPECT_TRUE(expected_value->Equals(map.GetValue(GURL("http://www.google.com"),
35 map.GetValue(GURL("http://www.google.com"),
41 map.GetValue(GURL("http://www.youtube.com"),
47 map.GetValue(GURL("http://www.google.com"),
52 EXPECT_EQ(NULL, map.GetValue(GURL("http://www.google.com"),
61 EXPECT_EQ(NULL, map.GetValue(GURL("http://www.google.com"),
74 EXPECT_TRUE(map.GetValue(GURL("http://www.google.com"),
79 EXPECT_EQ(NULL, map.GetValue(GURL("http://www.google.com"),
89 EXPECT_EQ(NULL, map.GetValue(GUR
[all...]
/external/chromium_org/chrome/browser/profiles/
H A Dincognito_mode_policy_handler.cc28 policies.GetValue(key::kIncognitoModeAvailability);
48 policies.GetValue(key::kIncognitoEnabled);
63 policies.GetValue(key::kIncognitoModeAvailability);
65 policies.GetValue(key::kIncognitoEnabled);
/external/chromium_org/v8/src/base/platform/
H A Dplatform-unittest.cc69 Thread::SetThreadLocal(keys_[i], GetValue(i));
75 CHECK_EQ(GetValue(i), Thread::GetThreadLocal(keys_[i]));
76 CHECK_EQ(GetValue(i), Thread::GetExistingThreadLocal(keys_[i]));
79 Thread::SetThreadLocal(keys_[i], GetValue(arraysize(keys_) - i - 1));
85 CHECK_EQ(GetValue(arraysize(keys_) - i - 1),
87 CHECK_EQ(GetValue(arraysize(keys_) - i - 1),
93 static void* GetValue(size_t x) { function in class:v8::base::__anon17252::ThreadLocalStorageTest
/external/lldb/source/Expression/
H A DClangExpressionVariable.cpp68 return m_frozen_sp->GetValue().GetRegisterInfo();
74 return m_frozen_sp->GetValue().SetContext (Value::eContextTypeRegisterInfo, const_cast<RegisterInfo *>(reg_info));
86 m_frozen_sp->GetValue().SetClangType(clang_type);
105 m_frozen_sp->GetValue().ResizeData(byte_size);
106 m_frozen_sp->GetValue().GetData (m_frozen_sp->GetDataExtractor());
/external/chromium_org/third_party/webrtc/base/
H A Dwin32regkey.h117 HRESULT GetValue(const wchar_t* value_name, DWORD* value) const;
120 HRESULT GetValue(const wchar_t* value_name, DWORD64* value) const;
123 HRESULT GetValue(const wchar_t* value_name, wchar_t** value) const;
126 HRESULT GetValue(const wchar_t* value_name, std::wstring* value) const;
129 HRESULT GetValue(const wchar_t* value_name,
133 HRESULT GetValue(const wchar_t* value_name,
138 HRESULT GetValue(const wchar_t* value_name,
196 static HRESULT GetValue(const wchar_t* full_key_name,
204 static HRESULT GetValue(const wchar_t* full_key_name,
209 static HRESULT GetValue(cons
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dbrowser_ui_prefs_migrator_unittest.cc28 virtual bool GetValue(const std::string& key,
95 EXPECT_TRUE(pref_store->GetValue(kOldPathToOneAppDictionary, NULL));
105 EXPECT_TRUE(pref_store->GetValue(kOldPathToDevToolsDictionary, NULL));
110 EXPECT_FALSE(pref_store->GetValue(kOldPathToOneAppDictionary, NULL));
111 EXPECT_FALSE(pref_store->GetValue(kOldPathToDevToolsDictionary, NULL));
117 ASSERT_TRUE(pref_store->GetValue(prefs::kBrowserWindowPlacement, &value));
123 pref_store->GetValue(prefs::kBrowserWindowPlacementPopup, &value));
128 ASSERT_TRUE(pref_store->GetValue(
134 ASSERT_TRUE(pref_store->GetValue(prefs::kAppWindowPlacement +
/external/chromium_org/components/policy/core/common/
H A Dregistry_dict_win_unittest.cc24 EXPECT_TRUE(base::Value::Equals(&int_value, test_dict.GetValue("one")));
25 EXPECT_FALSE(test_dict.GetValue("two"));
29 EXPECT_TRUE(base::Value::Equals(&int_value, test_dict.GetValue("one")));
30 EXPECT_TRUE(base::Value::Equals(&string_value, test_dict.GetValue("two")));
35 EXPECT_FALSE(test_dict.GetValue("one"));
36 EXPECT_TRUE(base::Value::Equals(&string_value, test_dict.GetValue("two")));
39 EXPECT_FALSE(test_dict.GetValue("one"));
40 EXPECT_FALSE(test_dict.GetValue("two"));
52 EXPECT_TRUE(base::Value::Equals(&int_value, test_dict.GetValue("oNe")));
60 EXPECT_TRUE(base::Value::Equals(&string_value, test_dict.GetValue("on
[all...]

Completed in 3186 milliseconds

1234567891011>>