Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/protobuf/src/google/protobuf/
Darenastring.h76 inline void Set(const ::std::string* default_value, in Set()
78 if (ptr_ == default_value) { in Set()
85 inline void SetLite(const ::std::string* default_value, in SetLite()
87 Set(default_value, value, arena); in SetLite()
93 inline ::std::string* Mutable(const ::std::string* default_value, in Mutable()
95 if (ptr_ == default_value) { in Mutable()
96 CreateInstance(arena, default_value); in Mutable()
105 inline ::std::string* Release(const ::std::string* default_value, in Release()
107 if (ptr_ == default_value) { in Release()
110 return ReleaseNonDefault(default_value, arena); in Release()
[all …]
Dinlined_string_field.h65 explicit InlinedStringField(const std::string& default_value);
67 void AssignWithDefault(const std::string* default_value,
70 void ClearToEmpty(const std::string* default_value, in ClearToEmpty() argument
72 ClearToEmptyNoArena(default_value); in ClearToEmpty()
83 void ClearToDefault(const std::string* default_value, in ClearToDefault() argument
85 ClearToDefaultNoArena(default_value); in ClearToDefault()
87 void ClearToDefaultNoArena(const std::string* default_value)
90 void Destroy(const std::string* default_value, in Destroy() argument
92 DestroyNoArena(default_value); in Destroy()
94 void DestroyNoArena(const std::string* default_value) PROTOBUF_ALWAYS_INLINE;
[all …]
Darenastring_unittest.cc59 std::string default_value = "default"; in TEST() local
60 field.UnsafeSetDefault(&default_value); in TEST()
62 field.Set(&default_value, WrapString("Test short"), NULL); in TEST()
64 field.Set(&default_value, WrapString("Test long long long long value"), NULL); in TEST()
66 field.Set(&default_value, std::string(""), NULL); in TEST()
67 field.Destroy(&default_value, NULL); in TEST()
70 field2.UnsafeSetDefault(&default_value); in TEST()
71 std::string* mut = field2.Mutable(&default_value, NULL); in TEST()
72 EXPECT_EQ(mut, field2.Mutable(&default_value, NULL)); in TEST()
74 EXPECT_NE(&default_value, mut); in TEST()
[all …]
/third_party/glib/gobject/
Dgparamspecs.c70 cspec->default_value = 0; in param_char_init()
77 value->data[0].v_int = G_PARAM_SPEC_CHAR (pspec)->default_value; in param_char_set_default()
99 uspec->default_value = 0; in param_uchar_init()
106 value->data[0].v_uint = G_PARAM_SPEC_UCHAR (pspec)->default_value; in param_uchar_set_default()
125 value->data[0].v_int = G_PARAM_SPEC_BOOLEAN (pspec)->default_value; in param_boolean_set_default()
146 ispec->default_value = 0; in param_int_init()
153 value->data[0].v_int = G_PARAM_SPEC_INT (pspec)->default_value; in param_int_set_default()
186 uspec->default_value = 0; in param_uint_init()
193 value->data[0].v_uint = G_PARAM_SPEC_UINT (pspec)->default_value; in param_uint_set_default()
231 lspec->default_value = 0; in param_long_init()
[all …]
Dgparamspecs.h625 gint8 default_value; member
642 guint8 default_value; member
655 gboolean default_value; member
672 gint default_value; member
689 guint default_value; member
706 glong default_value; member
723 gulong default_value; member
740 gint64 default_value; member
757 guint64 default_value; member
770 gunichar default_value; member
[all …]
/third_party/grpc/src/core/lib/gprpp/
Dglobal_config_env.h63 constexpr GlobalConfigEnvBool(char* name, bool default_value) in GlobalConfigEnvBool() argument
64 : GlobalConfigEnv(name), default_value_(default_value) {} in GlobalConfigEnvBool()
75 constexpr GlobalConfigEnvInt32(char* name, int32_t default_value) in GlobalConfigEnvInt32() argument
76 : GlobalConfigEnv(name), default_value_(default_value) {} in GlobalConfigEnvInt32()
87 constexpr GlobalConfigEnvString(char* name, const char* default_value) in GlobalConfigEnvString() argument
88 : GlobalConfigEnv(name), default_value_(default_value) {} in GlobalConfigEnvString()
106 #define GPR_GLOBAL_CONFIG_DEFINE_BOOL(name, default_value, help) \ argument
109 default_value); \
113 #define GPR_GLOBAL_CONFIG_DEFINE_INT32(name, default_value, help) \ argument
116 default_value); \
[all …]
/third_party/boost/boost/gil/extension/io/png/
Dtags.hpp196 static const type default_value = PNG_COMPRESSION_TYPE_BASE; member
203 static const type default_value = 3; member
208 static const type default_value = MAX_MEM_LEVEL; member
213 static const type default_value = Z_DEFAULT_STRATEGY; member
218 static const type default_value = 9; member
223 static const type default_value = 8; member
228 static const type default_value = 8192; member
237 static const type default_value = 0; member
242 static const type default_value = 0; member
250 static const type default_value = 0; member
[all …]
/third_party/boost/boost/gil/extension/io/jpeg/
Dtags.hpp57 static const type default_value = 100; member
66 static const type default_value = 0; member
72 static const type default_value = 0; member
83 static const type default_value = slow; member
146 , _dct_method( jpeg_dct_method::default_value ) in image_read_settings()
155 , jpeg_dct_method::type dct_method = jpeg_dct_method::default_value in image_read_settings()
179 image_write_info( const jpeg_quality::type quality = jpeg_quality::default_value in image_write_info()
180 , const jpeg_dct_method::type dct_method = jpeg_dct_method::default_value in image_write_info()
181 , const jpeg_density_unit::type density_unit = jpeg_density_unit::default_value in image_write_info()
182 , const jpeg_pixel_density::type x_density = jpeg_pixel_density::default_value in image_write_info()
[all …]
/third_party/python/Objects/clinic/
Ddictobject.c.h58 dict_get_impl(PyDictObject *self, PyObject *key, PyObject *default_value);
65 PyObject *default_value = Py_None; in dict_get() local
74 default_value = args[1]; in dict_get()
76 return_value = dict_get_impl(self, key, default_value); in dict_get()
95 PyObject *default_value);
102 PyObject *default_value = Py_None; in dict_setdefault() local
111 default_value = args[1]; in dict_setdefault()
113 return_value = dict_setdefault_impl(self, key, default_value); in dict_setdefault()
132 dict_pop_impl(PyDictObject *self, PyObject *key, PyObject *default_value);
139 PyObject *default_value = NULL; in dict_pop() local
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-var-fvar-table.hh85 get_coordinates (info->min_value, info->default_value, info->max_value); in get_axis_deprecated()
95 get_coordinates (info->min_value, info->default_value, info->max_value); in get_axis_info()
101 float min_value, default_value, max_value; in normalize_axis_value() local
102 get_coordinates (min_value, default_value, max_value); in normalize_axis_value()
106 if (v == default_value) in normalize_axis_value()
108 else if (v < default_value) in normalize_axis_value()
109 v = (v - default_value) / (default_value - min_value); in normalize_axis_value()
111 v = (v - default_value) / (max_value - default_value); in normalize_axis_value()
117 float min_value, default_value, max_value; in unnormalize_axis_value() local
118 get_coordinates (min_value, default_value, max_value); in unnormalize_axis_value()
[all …]
/third_party/harfbuzz/src/
Dhb-ot-var-fvar-table.hh85 get_coordinates (info->min_value, info->default_value, info->max_value); in get_axis_deprecated()
95 get_coordinates (info->min_value, info->default_value, info->max_value); in get_axis_info()
101 float min_value, default_value, max_value; in normalize_axis_value() local
102 get_coordinates (min_value, default_value, max_value); in normalize_axis_value()
106 if (v == default_value) in normalize_axis_value()
108 else if (v < default_value) in normalize_axis_value()
109 v = (v - default_value) / (default_value - min_value); in normalize_axis_value()
111 v = (v - default_value) / (max_value - default_value); in normalize_axis_value()
117 float min_value, default_value, max_value; in unnormalize_axis_value() local
118 get_coordinates (min_value, default_value, max_value); in unnormalize_axis_value()
[all …]
/third_party/grpc/test/http2_test/
Dmessages_pb2.py60 has_default_value=False, default_value=False,
91 has_default_value=False, default_value=0,
98 has_default_value=False, default_value=_b(""),
129 has_default_value=False, default_value=0,
136 has_default_value=False, default_value=_b("").decode('utf-8'),
167 has_default_value=False, default_value=0,
174 has_default_value=False, default_value=0,
181 has_default_value=False, default_value=None,
188 has_default_value=False, default_value=False,
195 has_default_value=False, default_value=False,
[all …]
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/EGLWLMockNavigation/src/
DArgument.cpp23 BoolArgument::BoolArgument(string name, bool default_value, int argc, const char * const argv[]) in BoolArgument() argument
24 : value(default_value) in BoolArgument()
40 FloatArgument::FloatArgument(string name, float default_value, int argc, const char * const argv[]) in FloatArgument() argument
41 : value(default_value) in FloatArgument()
67 IntArgument::IntArgument(string name, int default_value, int argc, const char * const argv[]) in IntArgument() argument
68 : value(default_value) in IntArgument()
94 UnsignedIntArgument::UnsignedIntArgument(string name, unsigned int default_value, int argc, const c… in UnsignedIntArgument() argument
95 : value(default_value) in UnsignedIntArgument()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_QUERYCTRL.c122 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 …]
/third_party/mesa3d/include/android_stub/cutils/
Dproperties.h49 int property_get(const char* key, char* value, const char* default_value);
65 int8_t property_get_bool(const char *key, int8_t default_value);
86 int64_t property_get_int64(const char *key, int64_t default_value);
107 int32_t property_get_int32(const char *key, int32_t default_value);
123 int property_get(const char* key, char* value, const char* default_value)
136 int property_get(const char *key, char *value, const char *default_value) { in property_get() argument
141 return __property_get_real(key, value, default_value); in property_get()
/third_party/python/Python/clinic/
Dcontext.c.h19 PyObject *default_value);
26 PyObject *default_value = Py_None; in _contextvars_Context_get() local
35 default_value = args[1]; in _contextvars_Context_get()
37 return_value = _contextvars_Context_get_impl(self, key, default_value); in _contextvars_Context_get()
133 _contextvars_ContextVar_get_impl(PyContextVar *self, PyObject *default_value);
139 PyObject *default_value = NULL; in _contextvars_ContextVar_get() local
147 default_value = args[0]; in _contextvars_ContextVar_get()
149 return_value = _contextvars_ContextVar_get_impl(self, default_value); in _contextvars_ContextVar_get()
/third_party/weston/shared/
Dconfig-parser.c158 int32_t *value, int32_t default_value) in weston_config_section_get_int() argument
164 *value = default_value; in weston_config_section_get_int()
170 *value = default_value; in weston_config_section_get_int()
181 uint32_t *value, uint32_t default_value) in weston_config_section_get_uint() argument
189 *value = default_value; in weston_config_section_get_uint()
197 *value = default_value; in weston_config_section_get_uint()
204 *value = default_value; in weston_config_section_get_uint()
256 double *value, double default_value) in weston_config_section_get_double() argument
263 *value = default_value; in weston_config_section_get_double()
270 *value = default_value; in weston_config_section_get_double()
[all …]
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dcommandlineflags.cc95 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()
/third_party/python/Modules/clinic/
Dunicodedata.c.h20 PyObject *default_value);
27 PyObject *default_value = NULL; in unicodedata_UCD_decimal() local
47 default_value = args[1]; in unicodedata_UCD_decimal()
49 return_value = unicodedata_UCD_decimal_impl(self, chr, default_value); in unicodedata_UCD_decimal()
69 unicodedata_UCD_digit_impl(PyObject *self, int chr, PyObject *default_value);
76 PyObject *default_value = NULL; in unicodedata_UCD_digit() local
96 default_value = args[1]; in unicodedata_UCD_digit()
98 return_value = unicodedata_UCD_digit_impl(self, chr, default_value); in unicodedata_UCD_digit()
119 PyObject *default_value);
126 PyObject *default_value = NULL; in unicodedata_UCD_numeric() local
[all …]
D_dbmmodule.c.h63 Py_ssize_clean_t key_length, PyObject *default_value);
73 PyObject *default_value = Py_None; in _dbm_dbm_get() local
76 &key, &key_length, &default_value)) { in _dbm_dbm_get()
79 return_value = _dbm_dbm_get_impl(self, cls, key, key_length, default_value); in _dbm_dbm_get()
99 PyObject *default_value);
109 PyObject *default_value = NULL; in _dbm_dbm_setdefault() local
112 &key, &key_length, &default_value)) { in _dbm_dbm_setdefault()
115 return_value = _dbm_dbm_setdefault_impl(self, cls, key, key_length, default_value); in _dbm_dbm_setdefault()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-var-fvar-table.hh124 info->default_value = axis.defaultValue / 65536.f; in get_axis_deprecated()
126 info->min_value = hb_min (info->default_value, axis.minValue / 65536.f); in get_axis_deprecated()
127 info->max_value = hb_max (info->default_value, axis.maxValue / 65536.f); in get_axis_deprecated()
139 info->default_value = axis.defaultValue / 65536.f; in get_axis_info()
141 info->min_value = hb_min (info->default_value, axis.minValue / 65536.f); in get_axis_info()
142 info->max_value = hb_max (info->default_value, axis.maxValue / 65536.f); in get_axis_info()
234 if (v == axis.default_value) in normalize_axis_value()
236 else if (v < axis.default_value) in normalize_axis_value()
237 v = (v - axis.default_value) / (axis.default_value - axis.min_value); in normalize_axis_value()
239 v = (v - axis.default_value) / (axis.max_value - axis.default_value); in normalize_axis_value()
/third_party/boost/libs/geometry/test/robustness/overlay/areal_areal/
Dinterior_triangles.cpp109 ("count", po::value<int>(&count)->default_value(1), "Number of tests") in main()
110 … ("count_x", po::value<int>(&count_x)->default_value(10), "Triangle count in x-direction") in main()
111 … ("count_y", po::value<int>(&count_y)->default_value(10), "Triangle count in y-direction") in main()
112 … ("offset", po::value<int>(&offset)->default_value(0), "Offset of second triangle in x-direction") in main()
113 …("diff", po::value<bool>(&settings.also_difference)->default_value(false), "Include testing on dif… in main()
114 ("ccw", po::value<bool>(&ccw)->default_value(false), "Counter clockwise polygons") in main()
115 ("open", po::value<bool>(&open)->default_value(false), "Open polygons") in main()
116 …("wkt", po::value<bool>(&settings.wkt)->default_value(false), "Create a WKT of the inputs, for all… in main()
117 … ("svg", po::value<bool>(&settings.svg)->default_value(false), "Create a SVG for all tests") in main()
Dintersection_stars.cpp149 ("count", po::value<int>(&count)->default_value(1), "Number of tests") in main()
150 …("diff", po::value<bool>(&settings.also_difference)->default_value(false), "Include testing on dif… in main()
151 … ("min_points", po::value<int>(&min_points)->default_value(9), "Minimum number of points") in main()
152 … ("max_points", po::value<int>(&max_points)->default_value(9), "Maximum number of points") in main()
153 ("rotation", po::value<double>(&rotation)->default_value(1.0e-13), "Rotation angle") in main()
154 ("ccw", po::value<bool>(&ccw)->default_value(false), "Counter clockwise polygons") in main()
155 ("open", po::value<bool>(&open)->default_value(false), "Open polygons") in main()
156 ("type", po::value<std::string>(&type)->default_value("float"), "Type (float,double)") in main()
157 …("wkt", po::value<bool>(&settings.wkt)->default_value(false), "Create a WKT of the inputs, for all… in main()
158 … ("svg", po::value<bool>(&settings.svg)->default_value(false), "Create a SVG for all tests") in main()
/third_party/flutter/skia/third_party/externals/dawn/generator/templates/dawn_native/
Dapi_structs.h26 {%- elif member.type.category in ["enum", "bitmask"] and member.default_value != None -%}
27 {{" "}}= dawn::{{as_cppType(member.type.name)}}::{{as_cppEnum(Name(member.default_value))}}
28 {%- elif member.type.category == "native" and member.default_value != None -%}
29 {{" "}}= {{member.default_value}}
31 {{assert(member.default_value == None)}}
/third_party/grpc/examples/python/multiplex/
Droute_guide_pb2.py38 has_default_value=False, default_value=0,
45 has_default_value=False, default_value=0,
76 has_default_value=False, default_value=None,
83 has_default_value=False, default_value=None,
114 has_default_value=False, default_value=_b("").decode('utf-8'),
121 has_default_value=False, default_value=None,
152 has_default_value=False, default_value=None,
159 has_default_value=False, default_value=_b("").decode('utf-8'),
190 has_default_value=False, default_value=0,
197 has_default_value=False, default_value=0,
[all …]

12345678910>>...14