Searched refs:PROP_VALUE_MAX (Results 1 – 15 of 15) sorted by relevance
/bionic/tests/ |
D | system_properties_test.cpp | 69 char value[PROP_VALUE_MAX]; in hierarchical_test_callback() 111 char propvalue[PROP_VALUE_MAX]; in TEST() 149 char propvalue[PROP_VALUE_MAX]; in TEST() 169 char prop_value[PROP_VALUE_MAX]; in TEST() 170 char prop_value_ret[PROP_VALUE_MAX]; in TEST() 177 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", count); in TEST() 178 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST() 180 prop_value[PROP_VALUE_MAX - 1] = 0; in TEST() 182 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST() 195 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", i); in TEST() [all …]
|
D | system_properties_test2.cpp | 47 char propvalue[PROP_VALUE_MAX]; in TEST() 60 for (size_t i = 0; i < PROP_VALUE_MAX; i++) { in TEST() 142 char propvalue[PROP_VALUE_MAX]; in TEST() 158 char propvalue[PROP_VALUE_MAX]; in TEST()
|
/bionic/benchmarks/ |
D | property_benchmark.cpp | 77 value_lens[i] = (random() % (PROP_VALUE_MAX - 1)) + 1; in LocalPropertyTestState() 78 values[i] = new char[PROP_VALUE_MAX]; in LocalPropertyTestState() 134 char value[PROP_VALUE_MAX]; in BM_property_get() 159 char propvalue[PROP_VALUE_MAX]; in BM_property_read()
|
/bionic/libc/bionic/ |
D | system_property_set.cpp | 175 char value[PROP_VALUE_MAX]; 228 char value[PROP_VALUE_MAX]; in detect_protocol_version() 259 if (strlen(value) >= PROP_VALUE_MAX) return -1; in __system_property_set() 270 if (strlen(value) >= PROP_VALUE_MAX && strncmp(key, "ro.", 3) != 0) return -1; in __system_property_set()
|
D | malloc_common_dynamic.cpp | 230 char program[PROP_VALUE_MAX]; in CheckLoadMallocDebug() 374 char prop[PROP_VALUE_MAX]; in MallocInitImpl()
|
D | malloc_heapprofd.cpp | 303 char property_value[PROP_VALUE_MAX]; in HeapprofdShouldLoad()
|
D | grp_pwd.cpp | 395 char value[PROP_VALUE_MAX] = { 0 }; in device_launched_before_api_29()
|
/bionic/libc/private/ |
D | CachedProperty.h | 92 char cached_value_[PROP_VALUE_MAX]; 104 strlcpy(instance->cached_value_, value, PROP_VALUE_MAX); in Callback()
|
/bionic/libc/system_properties/ |
D | system_properties.cpp | 213 char value_buf[PROP_VALUE_MAX]; in ReadCallback() 230 if (len >= PROP_VALUE_MAX) { in Update() 275 if (valuelen >= PROP_VALUE_MAX && !is_read_only(name)) { in Add()
|
D | prop_area.cpp | 176 if (valuelen >= PROP_VALUE_MAX) { in new_prop_info()
|
/bionic/libc/include/sys/ |
D | system_properties.h | 41 #define PROP_VALUE_MAX 92 macro
|
/bionic/libc/system_properties/include/system_properties/ |
D | prop_info.h | 62 char value[PROP_VALUE_MAX];
|
D | prop_area.h | 122 bytes_used_ += __BIONIC_ALIGN(PROP_VALUE_MAX, sizeof(uint_least32_t)); in prop_area()
|
/bionic/linker/ |
D | linker_logger.cpp | 106 char debug_ld_app[PROP_VALUE_MAX] = {}; in ResetState()
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 46 char buf[PROP_VALUE_MAX]; in tzset_unlocked()
|