/external/chromium_org/base/prefs/ |
pref_registry_simple.cc | 18 bool default_value) { 19 RegisterPreference(path, base::Value::CreateBooleanValue(default_value)); 23 int default_value) { 24 RegisterPreference(path, base::Value::CreateIntegerValue(default_value)); 28 double default_value) { 29 RegisterPreference(path, base::Value::CreateDoubleValue(default_value)); 33 const std::string& default_value) { 34 RegisterPreference(path, base::Value::CreateStringValue(default_value)); 39 const base::FilePath& default_value) { 41 base::Value::CreateStringValue(default_value.value())) [all...] |
pref_registry_simple.h | 24 void RegisterBooleanPref(const char* path, bool default_value); 25 void RegisterIntegerPref(const char* path, int default_value); 26 void RegisterDoublePref(const char* path, double default_value); 27 void RegisterStringPref(const char* path, const std::string& default_value); 29 const base::FilePath& default_value); 32 void RegisterListPref(const char* path, base::ListValue* default_value); 34 base::DictionaryValue* default_value); 36 int64 default_value);
|
pref_registry.cc | 51 base::Value* default_value) { 52 base::Value::Type orig_type = default_value->GetType(); 59 defaults_->SetDefaultValue(path, make_scoped_ptr(default_value)); 62 registration_callback_.Run(path, default_value);
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
command_line_reader.h | 14 uint16 ReadHttpPort(uint16 default_value); 16 uint32 ReadTtl(uint32 default_value); 18 std::string ReadServiceNamePrefix(const std::string& default_value); 20 std::string ReadDomainName(const std::string& default_value); 22 std::string ReadStatePath(const std::string& default_value);
|
command_line_reader.cc | 19 uint16 ReadHttpPort(uint16 default_value) { 26 http_port = default_value; 30 http_port = default_value; 37 uint32 ReadTtl(uint32 default_value) { 43 ttl = default_value; 50 std::string ReadServiceNamePrefix(const std::string& default_value) { 54 return service_name.empty() ? default_value : service_name; 57 std::string ReadDomainName(const std::string& default_value) { 62 return default_value; 67 return default_value; [all...] |
/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/ |
cld_commandlineflags.h | 15 #define DEFINE_bool(name, default_value, comment) \ 16 const bool FLAGS_##name = default_value; 18 #define DEFINE_int32(name, default_value, comment) \ 19 const int32 FLAGS_##name = default_value;
|
/frameworks/rs/ |
rsCompatibilityLib.cpp | 22 int property_get(const char *key, char *value, const char *default_value) { 30 if (default_value) { 31 len = strlen(default_value); 32 memcpy(value, default_value, len + 1);
|
/system/core/toolbox/ |
getprop.c | 44 char *default_value; local 46 default_value = argv[2]; 48 default_value = ""; 51 property_get(argv[1], value, default_value);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
AsyncResultHolderTests.java | 29 private static final int DEFAULT_VALUE = 2; 49 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); 50 assertEquals(DEFAULT_VALUE, resultValue); 56 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); 57 assertEquals(DEFAULT_VALUE, resultValue); 63 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); 70 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS);
|
/external/chromium_org/components/user_prefs/ |
pref_registry_syncable.cc | 78 bool default_value, 81 Value::CreateBooleanValue(default_value), 86 int default_value, 89 Value::CreateIntegerValue(default_value), 94 double default_value, 97 Value::CreateDoubleValue(default_value), 102 const std::string& default_value, 105 Value::CreateStringValue(default_value), 111 const base::FilePath& default_value, 114 Value::CreateStringValue(default_value.value()) [all...] |
pref_registry_syncable.h | 67 bool default_value, 70 int default_value, 73 double default_value, 76 const std::string& default_value, 79 const base::FilePath& default_value, 86 base::ListValue* default_value, 89 base::DictionaryValue* default_value, 104 int64 default_value, 107 uint64 default_value, 118 base::Value* default_value, [all...] |
/external/chromium_org/chrome/service/ |
service_process_prefs.cc | 28 const std::string& default_value) const { 32 return default_value; 43 bool default_value) const { 47 return default_value; 57 int default_value) const { 59 int result = default_value; 61 return default_value;
|
service_process_prefs.h | 35 const std::string& default_value) const; 41 bool GetBoolean(const std::string& key, bool default_value) const; 47 int GetInt(const std::string& key, int default_value) const;
|
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
screen_context.cc | 42 bool ScreenContext::GetBoolean(const KeyType& key, bool default_value) { 43 return Get(key, default_value); 50 int ScreenContext::GetInteger(const KeyType& key, int default_value) { 51 return Get(key, default_value); 58 double ScreenContext::GetDouble(const KeyType& key, double default_value) { 59 return Get(key, default_value); 67 const std::string& default_value) { 68 return Get(key, default_value); 76 const base::string16& default_value) { 77 return Get(key, default_value); [all...] |
screen_context.h | 50 bool GetBoolean(const KeyType& key, bool default_value); 52 int GetInteger(const KeyType& key, int default_value); 54 double GetDouble(const KeyType& key, double default_value); 56 std::string GetString(const KeyType& key, const std::string& default_value); 59 const base::string16& default_value); 96 T Get(const KeyType& key, const T& default_value) { 99 return default_value;
|
/external/chromium_org/chrome/common/extensions/ |
feature_switch.cc | 74 DefaultValue default_value) { 75 Init(CommandLine::ForCurrentProcess(), switch_name, default_value); local 80 DefaultValue default_value) { 81 Init(command_line, switch_name, default_value); 86 DefaultValue default_value) { 89 default_value_ = default_value == DEFAULT_ENABLED;
|
feature_switch.h | 49 DefaultValue default_value); 52 DefaultValue default_value); 66 DefaultValue default_value);
|
/external/chromium_org/chrome/browser/chromeos/cros/ |
network_property_ui_data.cc | 45 const base::Value* default_value = NULL; local 46 if (onc->Get(property_key, &default_value)) 47 default_value_.reset(default_value->DeepCopy());
|
/system/core/libcutils/ |
properties.c | 39 int property_get(const char *key, char *value, const char *default_value) 48 if(default_value) { 49 len = strlen(default_value); 50 memcpy(value, default_value, len + 1); 146 int property_get(const char *key, char *value, const char *default_value) 157 if (default_value != NULL) { 158 strcpy(value, default_value); 184 if (default_value != NULL) { 185 strcpy(value, default_value); 207 // recvBuf[0], default_value, len, key, value) [all...] |
/external/chromium_org/third_party/protobuf/ |
descriptor_pb2.py | 187 has_default_value=False, default_value=[], 215 has_default_value=False, default_value=unicode("", "utf-8"), 222 has_default_value=False, default_value=unicode("", "utf-8"), 229 has_default_value=False, default_value=[], 236 has_default_value=False, default_value=[], 243 has_default_value=False, default_value=[], 250 has_default_value=False, default_value=[], 257 has_default_value=False, default_value=[], 264 has_default_value=False, default_value=None, 292 has_default_value=False, default_value=0 [all...] |
/external/chromium_org/components/autofill/core/browser/ |
autofill_server_field_info.h | 19 std::string default_value; member in struct:autofill::AutofillServerFieldInfo
|
/external/openfst/src/include/fst/ |
flags.h | 67 default_value(val) {} 73 const T default_value; member in struct:FlagDescription 153 usage += GetDefault(desc.default_value) + "\n "; 167 string GetDefault(bool default_value) const { 168 return default_value ? "true" : "false"; 171 string GetDefault(const string &default_value) const { 172 return "\"" + default_value + "\""; 175 template<typename V> string GetDefault(const V& default_value) const { 177 strm << default_value; local
|
/build/tools/check_prereq/ |
check_prereq.c | 34 char* default_value = "0"; local 36 property_get("ro.build.date.utc", value, default_value);
|
/development/testrunner/test_defs/ |
xml_suite_helper.py | 74 False, default_value=False)) 76 default_value=None)) 80 default_value='')) 82 suite_element, self._EXTRA_BUILD_ARGS_ATTR, False, default_value='')) 84 suite_element, self._FULL_MAKE_ATTR, False, default_value=False)) 88 default_value=None): 96 value = default_value
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
compat.h | 81 : address(addr), doc_string(doc), type_name(type), default_value(val) {} 86 const T default_value; member in struct:FlagDescription 153 void ShowDefault(bool default_value) const { 155 std::cout << (default_value ? "true" : "false"); 157 void ShowDefault(const string &default_value) const { 159 std::cout << "\"" << default_value << "\""; local 161 template<typename V> void ShowDefault(const V& default_value) const { 163 std::cout << default_value; local 174 ShowDefault(desc.default_value);
|