Lines Matching refs:default_value
27 int8_t property_get_bool(const char* key, int8_t default_value) { in property_get_bool() argument
28 if (!key) return default_value; in property_get_bool()
30 int8_t result = default_value; in property_get_bool()
53 static T property_get_int(const char* key, T default_value) { in property_get_int() argument
54 if (!key) return default_value; in property_get_int()
57 if (property_get(key, value, "") < 1) return default_value; in property_get_int()
60 T result = default_value; in property_get_int()
73 int64_t property_get_int64(const char* key, int64_t default_value) { in property_get_int64() argument
74 return property_get_int<int64_t>(key, default_value); in property_get_int64()
77 int32_t property_get_int32(const char* key, int32_t default_value) { in property_get_int32() argument
78 return property_get_int<int32_t>(key, default_value); in property_get_int32()
85 int property_get(const char* key, char* value, const char* default_value) { in property_get() argument
87 if (len < 1 && default_value) { in property_get()
88 snprintf(value, PROPERTY_VALUE_MAX, "%s", default_value); in property_get()