Home
last modified time | relevance | path

Searched refs:PROP_VALUE_MAX (Results 1 – 12 of 12) sorted by relevance

/bionic/libc/malloc_debug/tests/
Dproperty_fake.cpp39 strncpy(value, default_value, PROP_VALUE_MAX-1); in property_get()
41 strncpy(value, g_properties[key].c_str(), PROP_VALUE_MAX-1); in property_get()
43 value[PROP_VALUE_MAX-1] = '\0'; in property_get()
51 strncpy(value, g_properties[key].c_str(), PROP_VALUE_MAX-1); in __system_property_get()
53 value[PROP_VALUE_MAX-1] = '\0'; in __system_property_get()
/bionic/tests/
Dsystem_properties_test.cpp80 char value[PROP_VALUE_MAX]; in hierarchical_test_callback()
120 char propvalue[PROP_VALUE_MAX]; in TEST()
144 char propvalue[PROP_VALUE_MAX]; in TEST()
181 char prop_value[PROP_VALUE_MAX]; in TEST()
182 char prop_value_ret[PROP_VALUE_MAX]; in TEST()
189 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", count); in TEST()
190 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
192 prop_value[PROP_VALUE_MAX - 1] = 0; in TEST()
194 ret = __system_property_add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST()
207 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", i); in TEST()
[all …]
/bionic/benchmarks/
Dproperty_benchmark.cpp94 value_lens[i] = (random() % (PROP_VALUE_MAX - 1)) + 1; in LocalPropertyTestState()
95 values[i] = new char[PROP_VALUE_MAX]; in LocalPropertyTestState()
151 char value[PROP_VALUE_MAX]; in BM_property_get()
176 char propvalue[PROP_VALUE_MAX]; in BM_property_read()
/bionic/libc/include/sys/
Dsystem_properties.h39 #define PROP_VALUE_MAX 92 macro
D_system_properties.h58 char value[PROP_VALUE_MAX];
/bionic/libc/bionic/
Dbionic_systrace.cpp65 char value[PROP_VALUE_MAX]; in should_trace()
Dsystem_properties_compat.c64 char value[PROP_VALUE_MAX];
Dsystem_properties.cpp175 char value[PROP_VALUE_MAX];
1151 if (strlen(value) >= PROP_VALUE_MAX) return -1; in __system_property_set()
1169 if (len >= PROP_VALUE_MAX) in __system_property_update()
1206 if (valuelen >= PROP_VALUE_MAX) in __system_property_add()
Dmalloc_common.cpp311 char value[PROP_VALUE_MAX]; in malloc_init_impl()
Dlibc_logging.cpp508 char buf[PROP_VALUE_MAX]; in refresh_cache()
/bionic/libc/malloc_debug/
DConfig.cpp265 char property_str[PROP_VALUE_MAX]; in SetFromProperties()
/bionic/libc/tzcode/
Dlocaltime.c1335 static char buf[PROP_VALUE_MAX]; in tzset_unlocked()