Searched refs:PROP_NAME_MAX (Results 1 – 6 of 6) sorted by relevance
/bionic/tests/ |
D | system_properties_test.cpp | 79 char name[PROP_NAME_MAX]; in hierarchical_test_callback() 180 char prop_name[PROP_NAME_MAX]; in TEST() 187 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count); in TEST() 188 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 191 prop_name[PROP_NAME_MAX - 1] = 0; in TEST() 194 ret = __system_property_add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST() 205 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i); in TEST() 206 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 209 prop_name[PROP_NAME_MAX - 1] = 0; in TEST() 266 char prop_name[PROP_NAME_MAX]; in TEST() [all …]
|
/bionic/libc/include/sys/ |
D | system_properties.h | 38 #define PROP_NAME_MAX 32 macro
|
D | _system_properties.h | 57 char name[PROP_NAME_MAX];
|
/bionic/libc/bionic/ |
D | system_properties_compat.c | 62 char name[PROP_NAME_MAX]; 79 if (len >= PROP_NAME_MAX) in __system_property_find_compat()
|
D | system_properties.cpp | 1150 if (strlen(key) >= PROP_NAME_MAX) return -1; in __system_property_set() 1204 if (namelen >= PROP_NAME_MAX) in __system_property_add()
|
/bionic/benchmarks/ |
D | property_benchmark.cpp | 75 name_lens[i] = (random() % (PROP_NAME_MAX - 10)) + 10; in LocalPropertyTestState() 76 names[i] = new char[PROP_NAME_MAX + 1]; in LocalPropertyTestState()
|