Home
last modified time | relevance | path

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

/bionic/tests/
Dsystem_properties_test.cpp69 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 …]
Dsystem_properties_test2.cpp47 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/
Dproperty_benchmark.cpp77 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/
Dsystem_property_set.cpp175 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()
Dmalloc_common_dynamic.cpp230 char program[PROP_VALUE_MAX]; in CheckLoadMallocDebug()
374 char prop[PROP_VALUE_MAX]; in MallocInitImpl()
Dmalloc_heapprofd.cpp303 char property_value[PROP_VALUE_MAX]; in HeapprofdShouldLoad()
Dgrp_pwd.cpp395 char value[PROP_VALUE_MAX] = { 0 }; in device_launched_before_api_29()
/bionic/libc/private/
DCachedProperty.h92 char cached_value_[PROP_VALUE_MAX];
104 strlcpy(instance->cached_value_, value, PROP_VALUE_MAX); in Callback()
/bionic/libc/system_properties/
Dsystem_properties.cpp213 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()
Dprop_area.cpp176 if (valuelen >= PROP_VALUE_MAX) { in new_prop_info()
/bionic/libc/include/sys/
Dsystem_properties.h41 #define PROP_VALUE_MAX 92 macro
/bionic/libc/system_properties/include/system_properties/
Dprop_info.h62 char value[PROP_VALUE_MAX];
Dprop_area.h122 bytes_used_ += __BIONIC_ALIGN(PROP_VALUE_MAX, sizeof(uint_least32_t)); in prop_area()
/bionic/linker/
Dlinker_logger.cpp106 char debug_ld_app[PROP_VALUE_MAX] = {}; in ResetState()
/bionic/libc/tzcode/
Dbionic.cpp46 char buf[PROP_VALUE_MAX]; in tzset_unlocked()