Home
last modified time | relevance | path

Searched refs:Add (Results 1 – 14 of 14) sorted by relevance

/bionic/tests/
Dsystem_properties_test.cpp97 ASSERT_EQ(0, system_properties.Add("property", 8, "value1", 6)); in TEST()
98 ASSERT_EQ(0, system_properties.Add("other_property", 14, "value2", 6)); in TEST()
99 ASSERT_EQ(0, system_properties.Add("property_other", 14, "value3", 6)); in TEST()
109 ASSERT_EQ(0, system_properties.Add(name, strlen(name), "value", 5)); in TEST()
133 ASSERT_EQ(0, system_properties.Add("property", 8, "oldvalue1", 9)); in TEST()
134 ASSERT_EQ(0, system_properties.Add("other_property", 14, "value2", 6)); in TEST()
135 ASSERT_EQ(0, system_properties.Add("property_other", 14, "value3", 6)); in TEST()
182 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST()
214 ASSERT_EQ(0, system_properties.Add("property", 8, "value1", 6)); in TEST()
215 ASSERT_EQ(0, system_properties.Add("other_property", 14, "value2", 6)); in TEST()
[all …]
/bionic/libc/bionic/
Dscandir.cpp52 bool Add(dirent* entry) { in Add() function in ScandirResult
121 names.Add(entry); in scandirat()
Dsystem_property_api.cpp100 return system_properties.Add(name, namelen, value, valuelen); in __system_property_add()
/bionic/linker/
Dlinker_cfi.h61 void Add(uintptr_t begin, uintptr_t end, uintptr_t cfi_check);
Dlinker_cfi.cpp100 void CFIShadowWriter::Add(uintptr_t begin, uintptr_t end, uintptr_t cfi_check) { in Add() function in CFIShadowWriter
190 Add(si->base, si->base + si->size, cfi_check); in AddLibrary()
/bionic/libc/system_properties/include/system_properties/
Dsystem_properties.h68 int Add(const char* name, unsigned int namelen, const char* value, unsigned int valuelen);
/bionic/libc/malloc_debug/
Dmalloc_debug.cpp347 PointerData::Add(pointer, size); in InternalMalloc()
512 PointerData::Add(pointer, bytes); in debug_memalign()
581 PointerData::Add(pointer, real_size); in debug_realloc()
599 PointerData::Add(pointer, real_size); in debug_realloc()
626 PointerData::Add(new_pointer, real_size); in debug_realloc()
696 PointerData::Add(pointer, size); in debug_calloc()
DPointerData.h138 static void Add(const void* pointer, size_t size);
DPointerData.cpp174 void PointerData::Add(const void* ptr, size_t pointer_size) { in Add() function in PointerData
DREADME.md188 Add an extra amount to allocate for every allocation.
/bionic/benchmarks/
Dproperty_benchmark.cpp82 if (system_properties_.Add(names[i], name_lens[i], values[i], value_lens[i]) < 0) { in LocalPropertyTestState()
/bionic/
DREADME.md167 1. Add entries to SYSCALLS.TXT.
170 3. Add constants (and perhaps types) to the appropriate header file.
175 4. Add function declarations to the appropriate header file. Don't forget
177 5. Add the function name to the correct section in libc/libc.map.txt and
179 6. Add at least basic tests. Even a test that deliberately supplies
/bionic/libc/system_properties/
Dsystem_properties.cpp258 int SystemProperties::Add(const char* name, unsigned int namelen, const char* value, in Add() function in SystemProperties
/bionic/libc/tools/
Dpylintrc13 # Add files or directories to the blacklist. They should be base names, not
66 # Add a comment according to your evaluation note. This is used by the global