Home
last modified time | relevance | path

Searched refs:PROP_NAME_MAX (Results 1 – 6 of 6) sorted by relevance

/bionic/tests/
Dsystem_properties_test.cpp79 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/
Dsystem_properties.h38 #define PROP_NAME_MAX 32 macro
D_system_properties.h57 char name[PROP_NAME_MAX];
/bionic/libc/bionic/
Dsystem_properties_compat.c62 char name[PROP_NAME_MAX];
79 if (len >= PROP_NAME_MAX) in __system_property_find_compat()
Dsystem_properties.cpp1150 if (strlen(key) >= PROP_NAME_MAX) return -1; in __system_property_set()
1204 if (namelen >= PROP_NAME_MAX) in __system_property_add()
/bionic/benchmarks/
Dproperty_benchmark.cpp75 name_lens[i] = (random() % (PROP_NAME_MAX - 10)) + 10; in LocalPropertyTestState()
76 names[i] = new char[PROP_NAME_MAX + 1]; in LocalPropertyTestState()