Searched refs:PROP_VALUE_MAX (Results 1 – 12 of 12) sorted by relevance
/bionic/libc/malloc_debug/tests/ |
D | property_fake.cpp | 39 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/ |
D | system_properties_test.cpp | 80 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/ |
D | property_benchmark.cpp | 94 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/ |
D | system_properties.h | 39 #define PROP_VALUE_MAX 92 macro
|
D | _system_properties.h | 58 char value[PROP_VALUE_MAX];
|
/bionic/libc/bionic/ |
D | bionic_systrace.cpp | 65 char value[PROP_VALUE_MAX]; in should_trace()
|
D | system_properties_compat.c | 64 char value[PROP_VALUE_MAX];
|
D | system_properties.cpp | 175 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()
|
D | malloc_common.cpp | 311 char value[PROP_VALUE_MAX]; in malloc_init_impl()
|
D | libc_logging.cpp | 508 char buf[PROP_VALUE_MAX]; in refresh_cache()
|
/bionic/libc/malloc_debug/ |
D | Config.cpp | 265 char property_str[PROP_VALUE_MAX]; in SetFromProperties()
|
/bionic/libc/tzcode/ |
D | localtime.c | 1335 static char buf[PROP_VALUE_MAX]; in tzset_unlocked()
|