Home
last modified time | relevance | path

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

1234

/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pb2.py190 has_default_value=False, default_value=[],
218 has_default_value=False, default_value=unicode("", "utf-8"),
225 has_default_value=False, default_value=unicode("", "utf-8"),
232 has_default_value=False, default_value=[],
239 has_default_value=False, default_value=[],
246 has_default_value=False, default_value=[],
253 has_default_value=False, default_value=[],
260 has_default_value=False, default_value=[],
267 has_default_value=False, default_value=[],
274 has_default_value=False, default_value=[],
[all …]
Ddescriptor_pool.py372 default_value=None,
413 field_desc.default_value = []
418 field_desc.default_value = float(field_proto.default_value)
420 field_desc.default_value = field_proto.default_value
422 field_desc.default_value = field_proto.default_value.lower() == 'true'
424 field_desc.default_value = field_desc.enum_type.values_by_name[
425 field_proto.default_value].index
427 field_desc.default_value = int(field_proto.default_value)
430 field_desc.default_value = None
/external/lldb/include/lldb/Interpreter/
DOptionValueString.h73 const char *default_value) : in OptionValueString() argument
83 if (default_value && default_value[0]) in OptionValueString()
84 m_default_value.assign (default_value); in OptionValueString()
105 const char *default_value,
117 if (default_value && default_value[0]) in OptionValue()
118 m_default_value.assign (default_value); in OptionValue()
/external/nanopb-c/generator/proto/
Dnanopb_pb2.py59 has_default_value=False, default_value=None,
67 has_default_value=False, default_value=None,
75 has_default_value=False, default_value=None,
83 has_default_value=False, default_value=None,
99 has_default_value=False, default_value=0,
106 has_default_value=False, default_value=0,
113 has_default_value=True, default_value=0,
120 has_default_value=True, default_value=True,
127 has_default_value=True, default_value=False,
Dplugin_pb2.py28 has_default_value=False, default_value=[],
35 has_default_value=False, default_value=unicode("", "utf-8"),
42 has_default_value=False, default_value=[],
70 has_default_value=False, default_value=unicode("", "utf-8"),
77 has_default_value=False, default_value=unicode("", "utf-8"),
84 has_default_value=False, default_value=unicode("", "utf-8"),
111 has_default_value=False, default_value=unicode("", "utf-8"),
118 has_default_value=False, default_value=[],
/external/nanopb-c/generator/google/protobuf/compiler/
Dplugin_pb2.py32 has_default_value=False, default_value=[],
39 has_default_value=False, default_value=unicode("", "utf-8"),
46 has_default_value=False, default_value=[],
74 has_default_value=False, default_value=unicode("", "utf-8"),
81 has_default_value=False, default_value=unicode("", "utf-8"),
88 has_default_value=False, default_value=unicode("", "utf-8"),
115 has_default_value=False, default_value=unicode("", "utf-8"),
122 has_default_value=False, default_value=[],
/external/openfst/src/include/fst/
Dflags.h67 default_value(val) {} in FlagDescription()
73 const T default_value; member
153 usage += GetDefault(desc.default_value) + "\n "; in GetUsage()
167 string GetDefault(bool default_value) const { in GetDefault() argument
168 return default_value ? "true" : "false"; in GetDefault()
171 string GetDefault(const string &default_value) const { in GetDefault() argument
172 return "\"" + default_value + "\""; in GetDefault()
175 template<typename V> string GetDefault(const V& default_value) const { in GetDefault() argument
177 strm << default_value; in GetDefault()
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py476 default_value=None,
545 field_desc.default_value = []
550 field_desc.default_value = float(field_proto.default_value)
552 field_desc.default_value = field_proto.default_value
554 field_desc.default_value = field_proto.default_value.lower() == 'true'
556 field_desc.default_value = field_desc.enum_type.values_by_name[
557 field_proto.default_value].index
559 field_desc.default_value = text_encoding.CUnescape(
560 field_proto.default_value)
562 field_desc.default_value = int(field_proto.default_value)
[all …]
/external/pdfium/core/include/fpdfdoc/
Dfpdf_tagged.h92 …virtual CFX_ByteString GetName(FX_BSTR owner, FX_BSTR name, FX_BSTR default_value, FX_BOOL bInher…
94 …virtual FX_ARGB GetColor(FX_BSTR owner, FX_BSTR name, FX_ARGB default_value, FX_BOOL bInheritab…
96 …virtual FX_FLOAT GetNumber(FX_BSTR owner, FX_BSTR name, FX_FLOAT default_value, FX_BOOL bInherit…
98 …virtual int GetInteger(FX_BSTR owner, FX_BSTR name, int default_value, FX_BOOL bInheritable = …
/external/protobuf/src/google/protobuf/
Dextension_set.h225 int32 GetInt32 (int number, int32 default_value) const;
226 int64 GetInt64 (int number, int64 default_value) const;
227 uint32 GetUInt32(int number, uint32 default_value) const;
228 uint64 GetUInt64(int number, uint64 default_value) const;
229 float GetFloat (int number, float default_value) const;
230 double GetDouble(int number, double default_value) const;
231 bool GetBool (int number, bool default_value) const;
232 int GetEnum (int number, int default_value) const;
233 const string & GetString (int number, const string& default_value) const;
235 const MessageLite& default_value) const;
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py149 1776, msg2.fields_by_name['int_with_default'].default_value)
154 9.99, msg2.fields_by_name['double_with_default'].default_value)
159 'hello world', msg2.fields_by_name['string_with_default'].default_value)
162 self.assertFalse(msg2.fields_by_name['bool_with_default'].default_value)
166 1, msg2.fields_by_name['enum_with_default'].default_value)
175 msg2.fields_by_name['bytes_with_default'].default_value)
314 def __init__(self, number, type_name, default_value): argument
317 self.default_value = default_value
331 test.assertEqual(enum_desc.values_by_name[self.default_value].index,
332 field_desc.default_value)
[all …]
/external/lldb/source/Interpreter/
DOptionGroupString.cpp27 const char *default_value) : in OptionGroupString() argument
28 m_value (default_value, default_value) in OptionGroupString()
DOptionGroupUInt64.cpp27 uint64_t default_value) : in OptionGroupUInt64() argument
28 m_value (default_value, default_value) in OptionGroupUInt64()
DOptionGroupBoolean.cpp25 bool default_value, in OptionGroupBoolean() argument
27 m_value (default_value, default_value) in OptionGroupBoolean()
/external/pdfium/core/src/fpdfdoc/
Dtagged_int.h72 …CFX_ByteString GetName(FX_BSTR owner, FX_BSTR name, FX_BSTR default_value, FX_BOOL bInheritable …
73 …FX_ARGB GetColor(FX_BSTR owner, FX_BSTR name, FX_ARGB default_value, FX_BOOL bInheritable = FA…
74 …FX_FLOAT GetNumber(FX_BSTR owner, FX_BSTR name, FX_FLOAT default_value, FX_BOOL bInheritable = …
75 …int GetInteger(FX_BSTR owner, FX_BSTR name, int default_value, FX_BOOL bInheritable = FALSE, …
Ddoc_tagged.cpp406 CFX_ByteString CPDF_StructElementImpl::GetName(FX_BSTR owner, FX_BSTR name, FX_BSTR default_value, … in GetName() argument
410 return default_value; in GetName()
414 FX_ARGB CPDF_StructElementImpl::GetColor(FX_BSTR owner, FX_BSTR name, FX_ARGB default_value, FX_BOO… in GetColor() argument
418 return default_value; in GetColor()
423 FX_FLOAT CPDF_StructElementImpl::GetNumber(FX_BSTR owner, FX_BSTR name, FX_FLOAT default_value, FX_… in GetNumber() argument
427 return default_value; in GetNumber()
431 int CPDF_StructElementImpl::GetInteger(FX_BSTR owner, FX_BSTR name, int default_value, FX_BOOL bInh… in GetInteger() argument
435 return default_value; in GetInteger()
/external/protobuf/gtest/src/
Dgtest-port.cc672 bool BoolFromGTestEnv(const char* flag, bool default_value) { in BoolFromGTestEnv() argument
676 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
682 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) { in Int32FromGTestEnv() argument
687 return default_value; in Int32FromGTestEnv()
690 Int32 result = default_value; in Int32FromGTestEnv()
694 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
696 return default_value; in Int32FromGTestEnv()
704 const char* StringFromGTestEnv(const char* flag, const char* default_value) { in StringFromGTestEnv() argument
707 return value == NULL ? default_value : value; in StringFromGTestEnv()
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc711 bool BoolFromGTestEnv(const char* flag, bool default_value) { in BoolFromGTestEnv() argument
715 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
721 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) { in Int32FromGTestEnv() argument
726 return default_value; in Int32FromGTestEnv()
729 Int32 result = default_value; in Int32FromGTestEnv()
733 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
735 return default_value; in Int32FromGTestEnv()
743 const char* StringFromGTestEnv(const char* flag, const char* default_value) { in StringFromGTestEnv() argument
746 return value == NULL ? default_value : value; in StringFromGTestEnv()
/external/mesa3d/src/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/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc748 bool BoolFromGTestEnv(const char* flag, bool default_value) { in BoolFromGTestEnv() argument
752 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
758 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) { in Int32FromGTestEnv() argument
763 return default_value; in Int32FromGTestEnv()
766 Int32 result = default_value; in Int32FromGTestEnv()
770 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
772 return default_value; in Int32FromGTestEnv()
780 const char* StringFromGTestEnv(const char* flag, const char* default_value) { in StringFromGTestEnv() argument
783 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/clang/test/CodeGenCXX/
Dcatch-undef-behavior2.cpp4 bool GetBool(bool default_value) { in GetBool() argument
8 return GetOptionalBool(&value) ? value : default_value; in GetBool()
/external/gtest/src/
Dgtest-port.cc775 bool BoolFromGTestEnv(const char* flag, bool default_value) { in BoolFromGTestEnv() argument
779 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv()
785 Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) { in Int32FromGTestEnv() argument
790 return default_value; in Int32FromGTestEnv()
793 Int32 result = default_value; in Int32FromGTestEnv()
797 (Message() << default_value).GetString().c_str()); in Int32FromGTestEnv()
799 return default_value; in Int32FromGTestEnv()
807 const char* StringFromGTestEnv(const char* flag, const char* default_value) { in StringFromGTestEnv() argument
810 return value == NULL ? default_value : value; in StringFromGTestEnv()
/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/pdfium/core/src/reflow/
Dlayoutprovider_taggedpdf.cpp473 CFX_ByteStringC default_value = GetDefaultNameValue(attr_type); in GetEnumAttr() local
475 …CFX_ByteString AttrValue = m_pTaggedElement->GetName(owner, AttrName, default_value, IsInheritable… in GetEnumAttr()
503 FX_FLOAT default_value = GetDefaultFloatValue(attr_type); in GetNumberAttr() local
505 …FX_FLOAT f = m_pTaggedElement->GetNumber(owner, AttrName, default_value, IsInheritable(attr_type),… in GetNumberAttr()
507 …f = m_pTaggedElement->GetNumber("Table", AttrName, default_value, IsInheritable(attr_type), index); in GetNumberAttr()
517 FX_COLORREF default_value = GetDefaultColorValue(attr_type); in GetColorAttr() local
519 …FX_ARGB f = m_pTaggedElement->GetColor(owner, AttrName, default_value, IsInheritable(attr_type), i… in GetColorAttr()

1234