Home
last modified time | relevance | path

Searched refs:default_value (Results 1 – 25 of 55) sorted by relevance

123

/external/bluetooth/glib/gobject/
Dgparamspecs.c66 cspec->default_value = 0; in param_char_init()
73 value->data[0].v_int = G_PARAM_SPEC_CHAR (pspec)->default_value; in param_char_set_default()
95 uspec->default_value = 0; in param_uchar_init()
102 value->data[0].v_uint = G_PARAM_SPEC_UCHAR (pspec)->default_value; in param_uchar_set_default()
121 value->data[0].v_int = G_PARAM_SPEC_BOOLEAN (pspec)->default_value; in param_boolean_set_default()
142 ispec->default_value = 0; in param_int_init()
149 value->data[0].v_int = G_PARAM_SPEC_INT (pspec)->default_value; in param_int_set_default()
182 uspec->default_value = 0; in param_uint_init()
189 value->data[0].v_uint = G_PARAM_SPEC_UINT (pspec)->default_value; in param_uint_set_default()
227 lspec->default_value = 0; in param_long_init()
[all …]
Dgparamspecs.h592 gint8 default_value; member
609 guint8 default_value; member
622 gboolean default_value; member
639 gint default_value; member
656 guint default_value; member
673 glong default_value; member
690 gulong default_value; member
707 gint64 default_value; member
724 guint64 default_value; member
737 gunichar default_value; member
[all …]
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-port.cc212 bool BoolFromGTestEnv(const char* flag, bool default_value) { in BoolFromGTestEnv() argument
216 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
263 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) { in Int32FromGTestEnv() argument
268 return default_value; in Int32FromGTestEnv()
271 Int32 result = default_value; in Int32FromGTestEnv()
275 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
277 return default_value; in Int32FromGTestEnv()
285 const char* StringFromGTestEnv(const char* flag, const char* default_value) { in StringFromGTestEnv() argument
288 return value == NULL ? default_value : value; in StringFromGTestEnv()
/external/chromium/chrome/browser/prefs/
Dpref_service.h176 void RegisterBooleanPref(const char* path, bool default_value);
177 void RegisterIntegerPref(const char* path, int default_value);
178 void RegisterDoublePref(const char* path, double default_value);
179 void RegisterStringPref(const char* path, const std::string& default_value);
180 void RegisterFilePathPref(const char* path, const FilePath& default_value);
184 void RegisterListPref(const char* path, ListValue* default_value);
185 void RegisterDictionaryPref(const char* path, DictionaryValue* default_value);
235 void RegisterInt64Pref(const char* path, int64 default_value);
315 void RegisterPreference(const char* path, Value* default_value);
Dpref_service.cc262 bool default_value) { in RegisterBooleanPref() argument
263 RegisterPreference(path, Value::CreateBooleanValue(default_value)); in RegisterBooleanPref()
266 void PrefService::RegisterIntegerPref(const char* path, int default_value) { in RegisterIntegerPref() argument
267 RegisterPreference(path, Value::CreateIntegerValue(default_value)); in RegisterIntegerPref()
270 void PrefService::RegisterDoublePref(const char* path, double default_value) { in RegisterDoublePref() argument
271 RegisterPreference(path, Value::CreateDoubleValue(default_value)); in RegisterDoublePref()
275 const std::string& default_value) { in RegisterStringPref() argument
276 RegisterPreference(path, Value::CreateStringValue(default_value)); in RegisterStringPref()
280 const FilePath& default_value) { in RegisterFilePathPref() argument
281 RegisterPreference(path, Value::CreateStringValue(default_value.value())); in RegisterFilePathPref()
[all …]
/external/openfst/src/include/fst/
Dflags.h60 : address(addr), doc_string(doc), type_name(type), default_value(val) {} in FlagDescription()
65 const T default_value; member
134 void ShowDefault(bool default_value) const { in ShowDefault() argument
136 std::cout << (default_value ? "true" : "false"); in ShowDefault()
138 void ShowDefault(const string &default_value) const { in ShowDefault() argument
140 std::cout << "\"" << default_value << "\""; in ShowDefault()
142 template<typename V> void ShowDefault(const V& default_value) const { in ShowDefault() argument
144 std::cout << default_value; in ShowDefault()
156 ShowDefault(desc.default_value); in ShowUsage()
Dsparse-tuple-weight.h172 void Init(const W& default_value) { in Init() argument
175 default_ = default_value; in Init()
410 W default_value; in ReadNoParen() local
421 sstrm >> default_value; in ReadNoParen()
422 w.SetDefaultValue(default_value); in ReadNoParen()
513 W default_value; in ReadWithParen() local
536 sstrm >> default_value; in ReadWithParen()
537 w.SetDefaultValue(default_value); in ReadWithParen()
/external/protobuf/src/google/protobuf/
Dextension_set.h221 int32 GetInt32 (int number, int32 default_value) const;
222 int64 GetInt64 (int number, int64 default_value) const;
223 uint32 GetUInt32(int number, uint32 default_value) const;
224 uint64 GetUInt64(int number, uint64 default_value) const;
225 float GetFloat (int number, float default_value) const;
226 double GetDouble(int number, double default_value) const;
227 bool GetBool (int number, bool default_value) const;
228 int GetEnum (int number, int default_value) const;
229 const string & GetString (int number, const string& default_value) const;
231 const MessageLite& default_value) const;
[all …]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dcompat.h81 : address(addr), doc_string(doc), type_name(type), default_value(val) {} in FlagDescription()
86 const T default_value; member
153 void ShowDefault(bool default_value) const { in ShowDefault() argument
155 std::cout << (default_value ? "true" : "false"); in ShowDefault()
157 void ShowDefault(const string &default_value) const { in ShowDefault() argument
159 std::cout << "\"" << default_value << "\""; in ShowDefault()
161 template<typename V> void ShowDefault(const V& default_value) const { in ShowDefault() argument
163 std::cout << default_value; in ShowDefault()
174 ShowDefault(desc.default_value); in ShowUsage()
/external/protobuf/gtest/src/
Dgtest-port.cc641 bool BoolFromGTestEnv(const char* flag, bool default_value) { in BoolFromGTestEnv() argument
645 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
651 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) { in Int32FromGTestEnv() argument
656 return default_value; in Int32FromGTestEnv()
659 Int32 result = default_value; in Int32FromGTestEnv()
663 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
665 return default_value; in Int32FromGTestEnv()
673 const char* StringFromGTestEnv(const char* flag, const char* default_value) { in StringFromGTestEnv() argument
676 return value == NULL ? default_value : value; in StringFromGTestEnv()
/external/gtest/src/
Dgtest-port.cc713 bool BoolFromGTestEnv(const char* flag, bool default_value) { in BoolFromGTestEnv() argument
717 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
723 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) { in Int32FromGTestEnv() argument
728 return default_value; in Int32FromGTestEnv()
731 Int32 result = default_value; in Int32FromGTestEnv()
735 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
737 return default_value; in Int32FromGTestEnv()
745 const char* StringFromGTestEnv(const char* flag, const char* default_value) { in StringFromGTestEnv() argument
748 return value == NULL ? default_value : value; in StringFromGTestEnv()
/external/llvm/utils/unittest/googletest/
Dgtest-port.cc707 bool BoolFromGTestEnv(const char* flag, bool default_value) { in BoolFromGTestEnv() argument
711 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
717 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) { in Int32FromGTestEnv() argument
722 return default_value; in Int32FromGTestEnv()
725 Int32 result = default_value; in Int32FromGTestEnv()
729 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
731 return default_value; in Int32FromGTestEnv()
739 const char* StringFromGTestEnv(const char* flag, const char* default_value) { in StringFromGTestEnv() argument
742 return value == NULL ? default_value : value; in StringFromGTestEnv()
/external/chromium/testing/gtest/src/
Dgtest-port.cc707 bool BoolFromGTestEnv(const char* flag, bool default_value) { in BoolFromGTestEnv() argument
711 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
717 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) { in Int32FromGTestEnv() argument
722 return default_value; in Int32FromGTestEnv()
725 Int32 result = default_value; in Int32FromGTestEnv()
729 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
731 return default_value; in Int32FromGTestEnv()
739 const char* StringFromGTestEnv(const char* flag, const char* default_value) { in StringFromGTestEnv() argument
742 return value == NULL ? default_value : value; in StringFromGTestEnv()
/external/jsilver/src/org/clearsilver/
DDelegatedHdf.java100 int default_value) { in getIntValue() argument
101 return getHdf().getIntValue(hdfname, default_value); in getIntValue()
104 public String getValue(String hdfname, String default_value) { in getValue() argument
105 return getHdf().getValue(hdfname, default_value); in getValue()
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc531 string* default_value = field->mutable_default_value(); in ParseDefaultAssignment() local
536 DO(ConsumeIdentifier(default_value, "Expected identifier.")); in ParseDefaultAssignment()
556 default_value->append("-"); in ParseDefaultAssignment()
564 default_value->append(SimpleItoa(value)); in ParseDefaultAssignment()
586 default_value->append(SimpleItoa(value)); in ParseDefaultAssignment()
594 default_value->append("-"); in ParseDefaultAssignment()
601 default_value->append(SimpleDtoa(value)); in ParseDefaultAssignment()
606 default_value->assign("true"); in ParseDefaultAssignment()
608 default_value->assign("false"); in ParseDefaultAssignment()
616 DO(ConsumeString(default_value, "Expected string.")); in ParseDefaultAssignment()
[all …]
/external/jsilver/src/org/clearsilver/jni/
DJniHdf.java173 public int getIntValue(String hdfname, int default_value) { in getIntValue() argument
177 return _getIntValue(hdfptr,hdfname,default_value); in getIntValue()
182 public String getValue(String hdfname, String default_value) { in getValue() argument
186 return _getValue(hdfptr,hdfname,default_value); in getValue()
410 int default_value);
412 String default_value);
/external/chromium/googleurl/src/
Durl_canon.h603 explicit URLComponentSource(const CHAR* default_value) in URLComponentSource()
604 : scheme(default_value), in URLComponentSource()
605 username(default_value), in URLComponentSource()
606 password(default_value), in URLComponentSource()
607 host(default_value), in URLComponentSource()
608 port(default_value), in URLComponentSource()
609 path(default_value), in URLComponentSource()
610 query(default_value), in URLComponentSource()
611 ref(default_value) { in URLComponentSource()
/external/chromium/chrome/browser/extensions/
Dextension_context_menu_api.h31 const ExtensionMenuItem::Type& default_value,
37 bool default_value,
Dextension_context_menu_api.cc81 const ExtensionMenuItem::Type& default_value, in ParseType() argument
85 *result = default_value; in ParseType()
112 bool default_value, in ParseChecked() argument
115 *checked = default_value; in ParseChecked()
/external/harfbuzz/contrib/tables/
Dunicode_parse_common.py31 def unicode_file_parse(input, map, default_value = None): argument
40 if value == default_value:
/external/chromium/chrome/browser/debugger/
Ddevtools_remote_message.cc32 const std::string& default_value) const { in GetHeader()
35 return default_value; in GetHeader()
Ddevtools_remote_listen_socket.cc192 const std::string& default_value) const { in GetHeader()
196 return default_value; in GetHeader()
/external/chromium/net/proxy/
Dproxy_config_service_mac.cc29 bool default_value) { in GetBoolFromDictionary() argument
33 return default_value; in GetBoolFromDictionary()
39 return default_value; in GetBoolFromDictionary()
/external/webkit/Source/JavaScriptCore/wtf/
DTCPackedCache.h162 V GetOrDefault(K key, V default_value) const { in GetOrDefault() argument
169 return KeyMatch(entry, key) ? EntryToValue(entry) : default_value; in GetOrDefault()
/external/protobuf/python/google/protobuf/
Ddescriptor.py374 default_value, message_type, enum_type, containing_type, argument
393 self.default_value = default_value

123