/system/core/libcutils/ |
properties.c | 33 int8_t property_get_bool(const char *key, int8_t default_value) { 35 return default_value; 38 int8_t result = default_value; 62 intmax_t default_value) { 64 return default_value; 67 intmax_t result = default_value; 80 result = default_value; 81 ALOGV("%s(%s,%" PRIdMAX ") - overflow", __FUNCTION__, key, default_value); 84 result = default_value; 85 ALOGV("%s(%s,%" PRIdMAX ") - out of range", __FUNCTION__, key, default_value); [all...] |
/frameworks/rs/ |
rsCompatibilityLib.cpp | 22 int property_get(const char *key, char *value, const char *default_value) { 33 if (default_value) { 34 len = strlen(default_value); 35 memcpy(value, default_value, len + 1);
|
/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);
|
/system/core/libcutils/tests/ |
PropertiesTest.cpp | 36 #define PROPERTY_TEST_VALUE_DEFAULT "<<<default_value>>>" 182 bool val = property_get_bool(PROPERTY_TEST_KEY, /*default_value*/false); 192 bool val = property_get_bool(PROPERTY_TEST_KEY, /*default_value*/true); 207 bool val = property_get_bool(PROPERTY_TEST_KEY, /*default_value*/true); 210 val = property_get_bool(PROPERTY_TEST_KEY, /*default_value*/false); 216 const int64_t DEFAULT_VALUE = INT64_C(0xDEADBEEFBEEFDEAD); 248 DEFAULT_VALUE, DEFAULT_VALUE, DEFAULT_VALUE, DEFAULT_VALUE, DEFAULT_VALUE, DEFAULT_VALUE, DEFAULT_VALUE [all...] |
/system/bt/osi/src/ |
properties.c | 23 int osi_property_get(const char *key, char *value, const char *default_value) { 27 if (!default_value) 30 len = strlen(default_value); 34 memcpy(value, default_value, len); 38 return property_get(key, value, default_value);
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
arenastring.h | 57 inline void Set(const ::std::string* default_value, 59 if (ptr_ == default_value) { 67 inline const ::std::string& Get(const ::std::string* /* default_value */) const { 71 inline ::std::string* Mutable(const ::std::string* default_value, 73 if (ptr_ == default_value) { 74 CreateInstance(arena, default_value); 83 inline ::std::string* Release(const ::std::string* default_value, 85 if (ptr_ == default_value) { 95 ptr_ = const_cast< ::std::string* >(default_value); 104 inline ::std::string* UnsafeArenaRelease(const ::std::string* default_value, [all...] |
/external/clang/test/CodeGenCXX/ |
catch-undef-behavior2.cpp | 4 bool GetBool(bool default_value) { 8 return GetOptionalBool(&value) ? value : default_value;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/include/isl/ |
arg.h | 65 unsigned default_value; member in struct:isl_arg::__anon37505::__anon37506 71 unsigned default_value; member in struct:isl_arg::__anon37505::__anon37507 74 unsigned default_value; member in struct:isl_arg::__anon37505::__anon37508 78 int default_value; member in struct:isl_arg::__anon37505::__anon37509 81 long default_value; member in struct:isl_arg::__anon37505::__anon37510 86 unsigned long default_value; member in struct:isl_arg::__anon37505::__anon37511 89 const char *default_value; member in struct:isl_arg::__anon37505::__anon37512 127 .u = { .str = { .default_value = d } } \ 139 .u = { .choice = { .choice = c, .default_value = d, \ 148 .u = { .choice = { .choice = c, .default_value = d, [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/isl/ |
arg.h | 65 unsigned default_value; member in struct:isl_arg::__anon39367::__anon39368 71 unsigned default_value; member in struct:isl_arg::__anon39367::__anon39369 74 unsigned default_value; member in struct:isl_arg::__anon39367::__anon39370 78 int default_value; member in struct:isl_arg::__anon39367::__anon39371 81 long default_value; member in struct:isl_arg::__anon39367::__anon39372 86 unsigned long default_value; member in struct:isl_arg::__anon39367::__anon39373 89 const char *default_value; member in struct:isl_arg::__anon39367::__anon39374 127 .u = { .str = { .default_value = d } } \ 139 .u = { .choice = { .choice = c, .default_value = d, \ 148 .u = { .choice = { .choice = c, .default_value = d, [all...] |
/external/libbrillo/brillo/ |
flag_helper.cc | 22 const char* default_value, 26 default_value_(default_value), 42 const char* default_value, 45 : Flag(name, default_value, help, visible), 73 const char* default_value, 76 : Flag(name, default_value, help, visible), value_(value) { 89 const char* default_value, 92 : Flag(name, default_value, help, visible), value_(value) { 105 const char* default_value, 108 : Flag(name, default_value, help, visible), value_(value) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
parallelism_framework_util.py | 51 def get(self, key, default_value=None): 53 return self.dict.get(key, default_value) 59 def Increment(self, key, inc, default_value=0): 63 dict[key] = dict.get(key, default_value) + inc. 68 default_value: Default value if there is no existing value for the key. 74 val = self.dict.get(key, default_value) + inc
|
/external/pdfium/core/include/fpdfdoc/ |
fpdf_tagged.h | 81 const CFX_ByteStringC& default_value, 87 FX_ARGB default_value, 93 FX_FLOAT default_value, 99 int default_value,
|
/bionic/libc/malloc_debug/tests/ |
property_fake.cpp | 34 extern "C" int property_get(const char* key, char* value, const char* default_value) { 36 if (default_value == nullptr) { 39 strncpy(value, default_value, PROP_VALUE_MAX-1);
|
/system/core/debuggerd/test/ |
property_fake.cpp | 34 extern "C" int property_get(const char* key, char* value, const char* default_value) { 36 if (default_value == nullptr) { 39 strncpy(value, default_value, PROP_VALUE_MAX-1);
|
/system/connectivity/shill/test-rpc-proxy/ |
proxy_util.h | 44 bool default_value, 49 int default_value, 54 double default_value, 59 const std::string& default_value, 64 const std::vector<std::string>& default_value,
|
proxy_util.cc | 139 ValueType default_value, 142 *value_out = default_value; 165 std::vector<ElementType> default_value, 168 *value_out = default_value; 291 bool default_value, 294 xml_rpc_value_in, member_name, default_value, value_out); 300 int default_value, 303 xml_rpc_value_in, member_name, default_value, value_out); 309 double default_value, 312 xml_rpc_value_in, member_name, default_value, value_out) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
generate_python.py | 94 if field.default_value: 98 default_value = repr(field.default_value) 101 default_value = str(int(field.default_value)) 103 default_value = repr(field.default_value) 105 default_value = field.default_value 107 default_format = ', default=%s' % (default_value,) [all...] |
protorpc_test_pb2.py | 75 has_default_value=False, default_value=six.text_type("", "utf-8"), 103 has_default_value=False, default_value=None, 110 has_default_value=False, default_value=[], 138 has_default_value=True, default_value=six.text_type("a default", "utf-8"), 166 has_default_value=False, default_value=0, 173 has_default_value=False, default_value=0, 180 has_default_value=False, default_value=0, 187 has_default_value=False, default_value=0, 194 has_default_value=False, default_value=0, 201 has_default_value=False, default_value=False [all...] |
/external/google-benchmark/src/ |
commandlineflags.cc | 102 // the given flag; if it's not set, returns default_value. 105 bool BoolFromEnv(const char* flag, bool default_value) { 108 return string_value == nullptr ? default_value : strcmp(string_value, "0") != 0; 113 // doesn't represent a valid 32-bit integer, returns default_value. 114 int32_t Int32FromEnv(const char* flag, int32_t default_value) { 119 return default_value; 122 int32_t result = default_value; 125 std::cout << "The default value " << default_value << " is used.\n"; local 126 return default_value; 133 // the given flag; if it's not set, returns default_value [all...] |
/development/testrunner/test_defs/ |
xml_suite_helper.py | 75 False, default_value=False)) 78 False, default_value=True)) 80 default_value=None)) 84 default_value='')) 86 suite_element, self._EXTRA_BUILD_ARGS_ATTR, False, default_value='')) 88 suite_element, self._FULL_MAKE_ATTR, False, default_value=False)) 92 default_value=None): 95 if default_value in (True, False): 102 value = default_value
|
/external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/ |
config.rst | 11 .. autodata:: DEFAULT_VALUE
|
/external/nanopb-c/generator/proto/ |
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,
|
/external/pdfium/core/src/fpdfdoc/ |
tagged_int.h | 62 const CFX_ByteStringC& default_value, 67 FX_ARGB default_value, 72 FX_FLOAT default_value, 77 int default_value,
|
/external/nanopb-c/generator/google/protobuf/ |
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...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudformation/ |
template.py | 33 self.default_value = None 43 self.default_value = value
|