Searched refs:pa (Results 1 – 9 of 9) sorted by relevance
/bionic/benchmarks/ |
D | property_benchmark.cpp | 129 LocalPropertyTestState pa(nprops); in BM_property_get() local 130 if (!pa.valid) return; in BM_property_get() 134 pa.system_properties().Get(pa.names[random() % nprops], value); in BM_property_get() 142 LocalPropertyTestState pa(nprops); in BM_property_find() local 143 if (!pa.valid) return; in BM_property_find() 146 pa.system_properties().Find(pa.names[random() % nprops]); in BM_property_find() 154 LocalPropertyTestState pa(nprops); in BM_property_read() local 155 if (!pa.valid) return; in BM_property_read() 161 pinfo[i] = pa.system_properties().Find(pa.names[random() % nprops]); in BM_property_read() 166 pa.system_properties().Read(pinfo[i], nullptr, propvalue); in BM_property_read() [all …]
|
/bionic/libc/system_properties/ |
D | system_properties.cpp | 116 prop_area* pa = contexts_->GetSerialPropArea(); in AreaSerial() local 117 if (!pa) { in AreaSerial() 122 return atomic_load_explicit(pa->serial(), memory_order_acquire); in AreaSerial() 130 prop_area* pa = contexts_->GetPropAreaForName(name); in Find() local 131 if (!pa) { in Find() 136 return pa->find(name); in Find() 234 prop_area* pa = contexts_->GetSerialPropArea(); in Update() local 235 if (!pa) { in Update() 251 atomic_store_explicit(pa->serial(), atomic_load_explicit(pa->serial(), memory_order_relaxed) + 1, in Update() 253 __futex_wake(pa->serial(), INT32_MAX); in Update() [all …]
|
D | contexts_serialized.cpp | 138 if (!context_node->pa()) { in GetPropAreaForName() 144 return context_node->pa(); in GetPropAreaForName() 150 context_nodes_[i].pa()->foreach (propfn, cookie); in ForEach()
|
D | prop_area.cpp | 101 prop_area* pa = new (memory_area) prop_area(PROP_AREA_MAGIC, PROP_AREA_VERSION); in map_prop_area_rw() local 104 return pa; in map_prop_area_rw() 127 prop_area* pa = reinterpret_cast<prop_area*>(map_result); in map_fd_ro() local 128 if ((pa->magic() != PROP_AREA_MAGIC) || (pa->version() != PROP_AREA_VERSION)) { in map_fd_ro() 129 munmap(pa, pa_size_); in map_fd_ro() 133 return pa; in map_fd_ro()
|
D | contexts_split.cpp | 338 if (!cnode->pa()) { in GetPropAreaForName() 344 return cnode->pa(); in GetPropAreaForName() 350 l->pa()->foreach (propfn, cookie); in ForEach()
|
/bionic/libc/system_properties/include/system_properties/ |
D | prop_area.h | 97 static void unmap_prop_area(prop_area** pa) { in unmap_prop_area() argument 98 if (*pa) { in unmap_prop_area() 99 munmap(*pa, pa_size_); in unmap_prop_area() 100 *pa = nullptr; in unmap_prop_area()
|
D | context_node.h | 55 prop_area* pa() { in pa() function
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | qsort.c | 119 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in qsort_r() local 149 pa = pb = (char *)a + es; in qsort_r() 156 swap(pa, pb); in qsort_r() 157 pa += es; in qsort_r() 186 d1 = MIN(pa - (char *)a, pb - pa); in qsort_r() 191 d1 = pb - pa; in qsort_r()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regcomp.c | 239 struct parse pa; in regcomp() local 241 struct parse *p = &pa; in regcomp()
|