Home
last modified time | relevance | path

Searched refs:SetValue (Results 1 – 25 of 123) sorted by relevance

12345

/external/chromium/chrome/browser/prefs/
Dpref_value_map_unittest.cc12 TEST_F(PrefValueMapTest, SetValue) { in TEST_F() argument
18 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test"))); in TEST_F()
19 EXPECT_FALSE(map.SetValue("key", Value::CreateStringValue("test"))); in TEST_F()
20 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("hi mom!"))); in TEST_F()
30 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test"))); in TEST_F()
41 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test"))); in TEST_F()
51 EXPECT_TRUE(reference.SetValue("b", Value::CreateStringValue("test"))); in TEST_F()
52 EXPECT_TRUE(reference.SetValue("c", Value::CreateStringValue("test"))); in TEST_F()
53 EXPECT_TRUE(reference.SetValue("e", Value::CreateStringValue("test"))); in TEST_F()
65 EXPECT_TRUE(check.SetValue("a", Value::CreateStringValue("test"))); in TEST_F()
[all …]
Doverlay_persistent_pref_store_unittest.cc34 underlay_->SetValue(key, Value::CreateIntegerValue(42)); in TEST_F()
39 underlay_->SetValue(key, Value::CreateIntegerValue(43)); in TEST_F()
44 overlay_->SetValue(key, Value::CreateIntegerValue(44)); in TEST_F()
49 underlay_->SetValue(key, Value::CreateIntegerValue(45)); in TEST_F()
71 underlay_->SetValue(key, Value::CreateIntegerValue(47)); in TEST_F()
72 overlay_->SetValue(key, Value::CreateIntegerValue(48)); in TEST_F()
82 underlay_->SetValue(key, Value::CreateIntegerValue(42)); in TEST_F()
95 overlay_->SetValue(key, Value::CreateIntegerValue(43)); in TEST_F()
123 underlay_->SetValue(key, new DictionaryValue); in TEST_F()
Dcommand_line_pref_store.cc53 SetValue(string_switch_map_[i].preference_path, value); in ApplySimpleSwitches()
61 SetValue(boolean_switch_map_[i].preference_path, value); in ApplySimpleSwitches()
81 SetValue(prefs::kProxy, in ApplyProxyMode()
86 SetValue(prefs::kProxy, in ApplyProxyMode()
89 SetValue(prefs::kProxy, in ApplyProxyMode()
96 SetValue(prefs::kProxy, in ApplyProxyMode()
Dtesting_pref_store.cc38 void TestingPrefStore::SetValue(const std::string& key, Value* value) { in SetValue() function in TestingPrefStore
39 if (prefs_.SetValue(key, value)) in SetValue()
44 prefs_.SetValue(key, value); in SetValueSilently()
85 SetValue(key, Value::CreateStringValue(value)); in SetString()
89 SetValue(key, Value::CreateIntegerValue(value)); in SetInteger()
93 SetValue(key, Value::CreateBooleanValue(value)); in SetBoolean()
Dpref_member_unittest.cc111 boolean.SetValue(true); in TEST()
132 integer.SetValue(5); in TEST()
153 double_member.SetValue(1.0); in TEST()
174 string.SetValue("foo"); in TEST()
206 list.SetValue(list_value_numbers.get()); in TEST()
232 pref1.SetValue(2.3); in TEST()
235 pref2.SetValue(3.5); in TEST()
251 test_obj.str_.SetValue("hello"); in TEST()
Doverlay_persistent_pref_store.cc54 overlay_.SetValue(key, *result); in GetMutableValue()
61 void OverlayPersistentPrefStore::SetValue(const std::string& key, in SetValue() function in OverlayPersistentPrefStore
63 if (overlay_.SetValue(key, value)) in SetValue()
69 overlay_.SetValue(key, value); in SetValueSilently()
Dvalue_map_pref_store.cc29 void ValueMapPrefStore::SetValue(const std::string& key, Value* value) { in SetValue() function in ValueMapPrefStore
30 if (prefs_.SetValue(key, value)) in SetValue()
/external/sonivox/jet_tools/JetCreator/
DJetCtrls.py35 def SetValue(self, val): member in JetSpin
38 wx.SpinCtrl.SetValue(self, int(val))
40 wx.SpinCtrl.SetValue(self, val)
42 wx.SpinCtrl.SetValue(self, 0)
49 def SetValue(self, val): member in JetSpinOneBased
52 wx.SpinCtrl.SetValue(self, int(val) + 1)
54 wx.SpinCtrl.SetValue(self, val + 1)
56 wx.SpinCtrl.SetValue(self, 1)
68 def SetValue(self, val): member in JetCheckBox
75 wx.CheckBox.SetValue(self, val)
[all …]
DJetDialogs.py65 self.ctrls[Text].SetValue(Lst[0])
90 self.ctrls[Text].SetValue(Lst)
134 def SetValue(self, fld, val): member in JetEdit
136 self.ctrls[fld].SetValue(val)
147 self.je.ctrls[JetDefs.F_JFILE].SetValue(fileList[0])
160 self.je.ctrls[JetDefs.F_JFILE].SetValue(sValue)
165 self.je.ctrls[JetDefs.F_JFILE].SetValue(sValue)
209 def SetValue(self, fld, val): member in JetPreferences
210 self.je.ctrls[fld].SetValue(val)
231 def SetValue(self, fld, val): member in JetAbout
[all …]
DJetCreator.py400 self.log.SetValue("")
404 … self.log.SetValue("%s %.2f Seconds" % (self.currentSegmentName, iLength / 1000.00))
406 self.log.SetValue("%s" % (self.currentSegmentName))
473 dlg.SetValue(JetDefs.F_SEGNAME, segment.segname)
474 dlg.SetValue(JetDefs.F_MUTEFLAGS, segment.mute_flags)
475 dlg.SetValue(JetDefs.F_MIDIFILE, segment.filename)
476 dlg.SetValue(JetDefs.F_DLSFILE, segment.dlsfile)
477 dlg.SetValue(JetDefs.F_START, segment.start)
478 dlg.SetValue(JetDefs.F_END, segment.end)
479 dlg.SetValue(JetDefs.F_QUANTIZE, segment.quantize)
[all …]
/external/chromium/chrome/browser/ui/views/
Ddatabase_open_info_view.cc36 SetValue(row++, url); in SetFields()
37 SetValue(row++, database_name); in SetFields()
38 SetValue(row++, display_name); in SetFields()
39 SetValue(row++, size); in SetFields()
Dappcache_info_view.cc36 SetValue(row++, manifest_url); in SetAppCacheInfo()
37 SetValue(row++, size); in SetAppCacheInfo()
38 SetValue(row++, creation_date); in SetAppCacheInfo()
39 SetValue(row++, last_access_date); in SetAppCacheInfo()
Dgeneric_info_view.h39 void SetValue(int row, const string16& value);
43 SetValue(i, kEmptyString); in ClearValues()
/external/chromium/app/sql/
Dmeta_table.cc52 bool MetaTable::SetValue(const char* key, const std::string& value) { in SetValue() function in sql::MetaTable
69 bool MetaTable::SetValue(const char* key, int value) { in SetValue() function in sql::MetaTable
87 bool MetaTable::SetValue(const char* key, int64 value) { in SetValue() function in sql::MetaTable
105 SetValue(kVersionKey, version); in SetVersionNumber()
116 SetValue(kCompatibleVersionKey, version); in SetCompatibleVersionNumber()
Dmeta_table.h60 bool SetValue(const char* key, const std::string& value);
61 bool SetValue(const char* key, int value);
62 bool SetValue(const char* key, int64 value);
/external/chromium/chrome/common/extensions/
Dextension_action.h61 SetValue(&title_, tab_id, title); in SetTitle()
102 SetValue(&badge_text_, tab_id, text); in SetBadgeText()
111 SetValue(&badge_text_color_, tab_id, text_color); in SetBadgeTextColor()
121 SetValue(&badge_background_color_, tab_id, color); in SetBadgeBackgroundColor()
131 SetValue(&visible_, tab_id, value); in SetIsVisible()
154 void SetValue(std::map<int, T>* map, int tab_id, const T& val) { in SetValue() function
Dextension_action.cc67 SetValue(&popup_url_, tab_id, url); in SetPopupUrl()
79 SetValue(&icon_, tab_id, bitmap); in SetIcon()
91 SetValue(&icon_index_, tab_id, index); in SetIconIndex()
/external/openfst/src/include/fst/
Dpower-weight.h103 w.SetValue(i, Plus(w1.Value(i), w2.Value(i))); in Plus()
113 w.SetValue(i, Times(w1.Value(i), w2.Value(i))); in Times()
124 w.SetValue(i, Divide(w1.Value(i), w2.Value(i), type));
133 sw.SetValue(i, Times(s, w.Value(i))); in Times()
142 ws.SetValue(i, Times(w.Value(i), s)); in Times()
Dtuple-weight.h131 void SetValue(size_t i, const W &w) { values_[i] = w; } in SetValue() function
159 w.SetValue(i, r); in ReadNoParen()
165 w.SetValue(n - 1, r); in ReadNoParen()
214 w.SetValue(i, r); in ReadWithParen()
233 w.SetValue(n - 1, r); in ReadWithParen()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp40 static void SetValue(Value *V, GenericValue Val, ExecutionContext &SF) { in SetValue() function
280 SetValue(&I, R, SF); in visitICmpInst()
474 SetValue(&I, R, SF); in visitFCmpInst()
549 SetValue(&I, R, SF); in visitBinaryOperator()
563 SetValue(&I, R, SF); in visitSelectInst()
606 SetValue(I, Result, CallingSF); in popStackAndReturnValueToCaller()
734 SetValue(PN, ResultValues[i], SF); in SwitchToNewBasicBlock()
765 SetValue(&I, Result, SF); in visitAllocaInst()
815 SetValue(&I, executeGEPOperation(I.getPointerOperand(), in visitGetElementPtrInst()
825 SetValue(&I, Result, SF); in visitLoadInst()
[all …]
/external/chromium/chrome/common/
Djson_pref_store_unittest.cc116 pref_store->SetValue(kSomeDirectory, in TEST_F()
129 pref_store->SetValue(kNewWindowsInTabs, in TEST_F()
140 pref_store->SetValue(kMaxTabs, Value::CreateIntegerValue(10)); in TEST_F()
145 pref_store->SetValue(kLongIntPref, in TEST_F()
/external/chromium/chrome/browser/ui/webui/options/
Dadvanced_options_handler.cc351 ask_for_save_location_.SetValue(checked_str == "true"); in HandlePromptForDownload()
357 default_download_location_.SetValue(path); in FileSelected()
385 enable_metrics_recording_.SetValue(is_enabled); in HandleMetricsReportingCheckbox()
394 default_font_size_.SetValue(font_size); in HandleDefaultFontSize()
408 rev_checking_enabled_.SetValue(enabled); in HandleCheckRevocationCheckbox()
417 ssl3_enabled_.SetValue(enabled); in HandleUseSSL3Checkbox()
426 tls1_enabled_.SetValue(enabled); in HandleUseTLS1Checkbox()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dmutable-fst.h119 virtual void SetValue(const A &arc) = 0; // Set current arc's contents
155 void SetValue(const Arc &a) { data_.base->SetValue(a); } in SetValue() function
/external/chromium/chrome/browser/history/
Dhistory_database.cc181 meta_table_.SetValue(kNeedsThumbnailMigrationKey, 0); in ThumbnailMigrationDone()
237 meta_table_.SetValue(kEarlyExpirationThresholdKey, in UpdateEarlyExpirationThreshold()
311 meta_table_.SetValue(kNeedsThumbnailMigrationKey, 1); in EnsureCurrentVersion()
/external/chromium/chrome/browser/
Daccessibility_events.h166 void SetValue(int item_index, const std::string& value) { in SetValue() function
196 void SetValue( in SetValue() function
229 void SetValue(int item_index, std::string value) { in SetValue() function

12345