/external/protobuf/src/google/protobuf/ |
D | arenastring.h | 57 inline void Set(const ::std::string* default_value, in Set() 59 if (ptr_ == default_value) { in Set() 71 inline ::std::string* Mutable(const ::std::string* default_value, in Mutable() 73 if (ptr_ == default_value) { in Mutable() 74 CreateInstance(arena, default_value); in Mutable() 83 inline ::std::string* Release(const ::std::string* default_value, in Release() 85 if (ptr_ == default_value) { in Release() 95 ptr_ = const_cast< ::std::string* >(default_value); in Release() 104 inline ::std::string* UnsafeArenaRelease(const ::std::string* default_value, in UnsafeArenaRelease() 106 if (ptr_ == default_value) { in UnsafeArenaRelease() [all …]
|
D | arenastring_unittest.cc | 60 ::std::string default_value = "default"; in TEST() 61 field.UnsafeSetDefault(&default_value); in TEST() 62 EXPECT_EQ(string("default"), field.Get(&default_value)); in TEST() 63 field.Set(&default_value, WrapString("Test short"), NULL); in TEST() 64 EXPECT_EQ(string("Test short"), field.Get(&default_value)); in TEST() 65 field.Set(&default_value, WrapString("Test long long long long value"), NULL); in TEST() 66 EXPECT_EQ(string("Test long long long long value"), field.Get(&default_value)); in TEST() 67 field.Set(&default_value, string(""), NULL); in TEST() 68 field.Destroy(&default_value, NULL); in TEST() 71 field2.UnsafeSetDefault(&default_value); in TEST() [all …]
|
D | arenastring.cc | 41 void ArenaStringPtr::AssignWithDefault(const ::std::string* default_value, in AssignWithDefault() argument 47 SetNoArena(default_value, value.GetNoArena(default_value)); in AssignWithDefault()
|
D | extension_set.h | 229 int32 GetInt32 (int number, int32 default_value) const; 230 int64 GetInt64 (int number, int64 default_value) const; 231 uint32 GetUInt32(int number, uint32 default_value) const; 232 uint64 GetUInt64(int number, uint64 default_value) const; 233 float GetFloat (int number, float default_value) const; 234 double GetDouble(int number, double default_value) const; 235 bool GetBool (int number, bool default_value) const; 236 int GetEnum (int number, int default_value) const; 237 const string & GetString (int number, const string& default_value) const; 239 const MessageLite& default_value) const; [all …]
|
/external/nanopb-c/generator/google/protobuf/ |
D | descriptor_pb2.py | 190 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 …]
|
D | descriptor_pool.py | 372 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/libbrillo/brillo/ |
D | flag_helper.cc | 22 const char* default_value, in Flag() argument 26 default_value_(default_value), in Flag() 42 const char* default_value, in BoolFlag() argument 45 : Flag(name, default_value, help, visible), in BoolFlag() 73 const char* default_value, in Int32Flag() argument 76 : Flag(name, default_value, help, visible), value_(value) { in Int32Flag() 89 const char* default_value, in Int64Flag() argument 92 : Flag(name, default_value, help, visible), value_(value) { in Int64Flag() 105 const char* default_value, in UInt64Flag() argument 108 : Flag(name, default_value, help, visible), value_(value) { in UInt64Flag() [all …]
|
D | flag_helper.h | 72 const char* default_value, 94 const char* default_value, 110 const char* default_value, 125 const char* default_value, 140 const char* default_value, 155 const char* default_value, 170 const char* default_value,
|
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_QUERYCTRL.c | 122 queryctrl.default_value); in test_VIDIOC_QUERYCTRL() 123 CU_ASSERT(queryctrl.default_value <= in test_VIDIOC_QUERYCTRL() 131 CU_ASSERT((queryctrl.default_value == 0) in test_VIDIOC_QUERYCTRL() 132 || (queryctrl.default_value == 1)); in test_VIDIOC_QUERYCTRL() 138 queryctrl.default_value); in test_VIDIOC_QUERYCTRL() 141 queryctrl.default_value); in test_VIDIOC_QUERYCTRL() 142 CU_ASSERT(queryctrl.default_value <= in test_VIDIOC_QUERYCTRL() 150 CU_ASSERT_EQUAL(queryctrl.default_value, 0); in test_VIDIOC_QUERYCTRL() 162 CU_ASSERT_EQUAL(queryctrl.default_value, 0); in test_VIDIOC_QUERYCTRL() 169 CU_ASSERT_EQUAL(queryctrl.default_value, 0); in test_VIDIOC_QUERYCTRL() [all …]
|
/external/google-benchmark/src/ |
D | commandlineflags.cc | 95 bool BoolFromEnv(const char* flag, bool default_value) { in BoolFromEnv() argument 98 return string_value == nullptr ? default_value in BoolFromEnv() 105 int32_t Int32FromEnv(const char* flag, int32_t default_value) { in Int32FromEnv() argument 110 return default_value; in Int32FromEnv() 113 int32_t result = default_value; in Int32FromEnv() 116 std::cout << "The default value " << default_value << " is used.\n"; in Int32FromEnv() 117 return default_value; in Int32FromEnv() 125 const char* StringFromEnv(const char* flag, const char* default_value) { in StringFromEnv() argument 128 return value == nullptr ? default_value : value; in StringFromEnv()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-var-fvar-table.hh | 116 info->default_value = axis.defaultValue / 65536.; in get_axis() 118 info->min_value = MIN<float> (info->default_value, axis.minValue / 65536.); in get_axis() 119 info->max_value = MAX<float> (info->default_value, axis.maxValue / 65536.); in get_axis() 170 if (v == axis.default_value) in normalize_axis_value() 172 else if (v < axis.default_value) in normalize_axis_value() 173 v = (v - axis.default_value) / (axis.default_value - axis.min_value); in normalize_axis_value() 175 v = (v - axis.default_value) / (axis.max_value - axis.default_value); in normalize_axis_value()
|
/external/libcxx/utils/google-benchmark/src/ |
D | commandlineflags.cc | 95 bool BoolFromEnv(const char* flag, bool default_value) { in BoolFromEnv() argument 98 return string_value == nullptr ? default_value in BoolFromEnv() 105 int32_t Int32FromEnv(const char* flag, int32_t default_value) { in Int32FromEnv() argument 110 return default_value; in Int32FromEnv() 113 int32_t result = default_value; in Int32FromEnv() 116 std::cout << "The default value " << default_value << " is used.\n"; in Int32FromEnv() 117 return default_value; in Int32FromEnv() 125 const char* StringFromEnv(const char* flag, const char* default_value) { in StringFromEnv() argument 128 return value == nullptr ? default_value : value; in StringFromEnv()
|
/external/nanopb-c/generator/proto/ |
D | nanopb_pb2.py | 59 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,
|
D | plugin_pb2.py | 28 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/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 557 default_value=None, 626 field_desc.default_value = [] 631 field_desc.default_value = float(field_proto.default_value) 633 field_desc.default_value = field_proto.default_value 635 field_desc.default_value = field_proto.default_value.lower() == 'true' 637 field_desc.default_value = field_desc.enum_type.values_by_name[ 638 field_proto.default_value].number 640 field_desc.default_value = text_encoding.CUnescape( 641 field_proto.default_value) 644 field_desc.default_value = int(field_proto.default_value) [all …]
|
/external/nanopb-c/generator/google/protobuf/compiler/ |
D | plugin_pb2.py | 32 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/libtextclassifier/common/ |
D | feature-extractor.cc | 94 int default_value) const { in GetIntParameter() 95 int32 parsed_value = default_value; in GetIntParameter() 108 bool default_value) const { in GetBoolParameter() 110 if (value.empty()) return default_value; in GetBoolParameter() 115 << " will assume default " << default_value; in GetBoolParameter() 116 return default_value; in GetBoolParameter()
|
/external/pdfium/core/fpdfdoc/ |
D | fpdf_tagged.h | 49 const CFX_ByteStringC& default_value, 55 FX_ARGB default_value, 61 FX_FLOAT default_value, 67 int default_value,
|
D | tagged_int.h | 79 const CFX_ByteStringC& default_value, 84 FX_ARGB default_value, 89 FX_FLOAT default_value, 94 int default_value,
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | default_value_objectwriter.cc | 52 T default_value) { in ConvertTo() argument 53 if (value.empty()) return default_value; in ConvertTo() 55 return result.ok() ? result.ValueOrDie() : default_value; in ConvertTo() 394 if (!field.default_value().empty()) in FindEnumDefault() 395 return DataPiece(field.default_value(), true); in FindEnumDefault() 415 field.default_value(), &DataPiece::ToDouble, static_cast<double>(0))); in CreateDefaultDataPieceForField() 419 field.default_value(), &DataPiece::ToFloat, static_cast<float>(0))); in CreateDefaultDataPieceForField() 425 field.default_value(), &DataPiece::ToInt64, static_cast<int64>(0))); in CreateDefaultDataPieceForField() 430 field.default_value(), &DataPiece::ToUint64, static_cast<uint64>(0))); in CreateDefaultDataPieceForField() 436 field.default_value(), &DataPiece::ToInt32, static_cast<int32>(0))); in CreateDefaultDataPieceForField() [all …]
|
D | utility.cc | 61 const string& option_name, bool default_value) { in GetBoolOptionOrDefault() argument 64 return default_value; in GetBoolOptionOrDefault() 71 const string& option_name, int64 default_value) { in GetInt64OptionOrDefault() argument 74 return default_value; in GetInt64OptionOrDefault() 81 const string& option_name, double default_value) { in GetDoubleOptionOrDefault() argument 84 return default_value; in GetDoubleOptionOrDefault() 91 const string& option_name, const string& default_value) { in GetStringOptionOrDefault() argument 94 return default_value; in GetStringOptionOrDefault()
|
/external/mesa3d/src/util/ |
D | debug.c | 61 env_var_as_boolean(const char *var_name, bool default_value) in env_var_as_boolean() argument 65 return default_value; in env_var_as_boolean() 76 return default_value; in env_var_as_boolean()
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 158 1776, msg2.fields_by_name['int_with_default'].default_value) 163 9.99, msg2.fields_by_name['double_with_default'].default_value) 168 'hello world', msg2.fields_by_name['string_with_default'].default_value) 171 self.assertFalse(msg2.fields_by_name['bool_with_default'].default_value) 175 1, msg2.fields_by_name['enum_with_default'].default_value) 184 msg2.fields_by_name['bytes_with_default'].default_value) 292 default_value = (file_descriptor 295 .default_value) 296 self.assertEqual(default_value, 431 def __init__(self, number, type_name, default_value): argument [all …]
|
/external/protobuf/gtest/src/ |
D | gtest-port.cc | 672 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/ |
D | gtest-port.cc | 711 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()
|