/bionic/libc/system_properties/ |
H A D | contexts_split.cpp | 125 static inline int read_spec_entry(char** entry, char** ptr, int* len) { argument 129 while (isspace(**ptr) && **ptr != '\0') (*ptr)++; 131 tmp_buf = *ptr; 134 while (!isspace(**ptr) && **ptr != '\0') { 135 (*ptr)++;
|
/bionic/libc/bionic/ |
H A D | net_if.cpp | 156 struct if_nameindex* ptr = array; local 157 while (ptr->if_index != 0 || ptr->if_name != nullptr) { 158 free(ptr->if_name); 159 ++ptr;
|
H A D | __libc_init_main_thread.cpp | 39 extern "C" int __set_tls(void* ptr);
|
H A D | pthread_key.cpp | 174 int pthread_setspecific(pthread_key_t key, const void* ptr) { 183 data->data = const_cast<void*>(ptr);
|
H A D | system_property_set.cpp | 126 uint32_t* ptr = uint_buf_ + uint_buf_index_; 128 iov_[iov_index_].iov_base = ptr; 129 iov_[iov_index_].iov_len = sizeof(*ptr);
|
/bionic/libc/kernel/uapi/linux/android/ |
H A D | binder.h | 101 binder_uintptr_t ptr; member in struct:binder_node_debug_info 123 binder_uintptr_t ptr; member in union:binder_transaction_data::__anon245 136 } ptr; member in union:binder_transaction_data::__anon246 145 binder_uintptr_t ptr; member in struct:binder_ptr_cookie 158 binder_uintptr_t ptr; member in struct:binder_pri_ptr_cookie
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/android/ |
H A D | binder.h | 101 binder_uintptr_t ptr; member in struct:binder_node_debug_info 123 binder_uintptr_t ptr; member in union:binder_transaction_data::__anon1392 136 } ptr; member in union:binder_transaction_data::__anon1393 145 binder_uintptr_t ptr; member in struct:binder_ptr_cookie 158 binder_uintptr_t ptr; member in struct:binder_pri_ptr_cookie
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/android/ |
H A D | binder.h | 101 binder_uintptr_t ptr; member in struct:binder_node_debug_info 123 binder_uintptr_t ptr; member in union:binder_transaction_data::__anon2662 136 } ptr; member in union:binder_transaction_data::__anon2663 145 binder_uintptr_t ptr; member in struct:binder_ptr_cookie 158 binder_uintptr_t ptr; member in struct:binder_pri_ptr_cookie
|
/bionic/tests/ |
H A D | string_test.cpp | 212 Character *ptr, *ptr1, *ptr2; member in class:StringTestState 240 ptr = ptr1 = ptr2 = nullptr; 242 ptr = glob_ptr + alignments[align1_index_]; 261 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN); 267 strcpy(state.ptr + state.MAX_LEN - 1, state.ptr1); 270 EXPECT_TRUE(memcmp(state.ptr, state.ptr2, 2 * state.MAX_LEN) == 0); 517 memcpy(state.ptr, state.ptr1, state.MAX_LEN); 522 memset(state.ptr + state.MAX_LEN, '\1', state.MAX_LEN); 523 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); 524 state.ptr[ 933 char* ptr = reinterpret_cast<char*>(malloc(sizeof(char) * len)); local [all...] |
H A D | stdlib_test.cpp | 194 void* ptr; local 198 ASSERT_EQ(EINVAL, posix_memalign(&ptr, align, 256)) 208 ASSERT_EQ(EINVAL, posix_memalign(&ptr, fail_align, 256)) 211 ASSERT_EQ(0, posix_memalign(&ptr, align, 256)) 213 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(ptr) & (align - 1)) 214 << "Did not return a valid aligned ptr " << ptr << " expected alignment " << align; 215 free(ptr); 223 void* ptr; local 224 ASSERT_EQ(0, posix_memalign(&ptr, 1 227 << "Pointer not aligned at size " << size << " ptr " << ptr; local 233 void* ptr; local 249 void* ptr = aligned_alloc(align, 256); local 272 void* ptr = aligned_alloc(2048, size); local [all...] |
H A D | leak_test.cpp | 139 const auto thread_function = +[](void* ptr) -> void* { 140 thread_data* data = static_cast<thread_data*>(ptr);
|
H A D | buffer_tests.cpp | 196 uint64_t ptr = reinterpret_cast<uint64_t>(orig_ptr); local 201 ptr += alignment - (ptr & (alignment - 1)); 202 ptr |= alignment | or_mask; 205 return reinterpret_cast<void*>(ptr);
|
/bionic/libc/malloc_hooks/ |
H A D | malloc_hooks.cpp | 159 void* ptr = __malloc_hook(size, __builtin_return_address(0)); local 160 if (ptr != nullptr) { 161 memset(ptr, 0, size); 163 return ptr; 182 void* ptr = __memalign_hook(alignment, size, __builtin_return_address(0)); local 183 if (ptr == nullptr) { 186 return ptr;
|
/bionic/libc/dns/resolv/ |
H A D | res_comp.c | 132 dn_skipname(const u_char *ptr, const u_char *eom) { argument 133 const u_char *saveptr = ptr; 135 if (ns_name_skip(&ptr, eom) == -1) 137 return (ptr - saveptr);
|
/bionic/libc/kernel/uapi/drm/ |
H A D | armada_drm.h | 42 __u64 ptr; member in struct:drm_armada_gem_pwrite
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/drm/ |
H A D | armada_drm.h | 42 __u64 ptr; member in struct:drm_armada_gem_pwrite
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/drm/ |
H A D | armada_drm.h | 42 __u64 ptr; member in struct:drm_armada_gem_pwrite
|
/bionic/libc/malloc_debug/ |
H A D | PointerData.cpp | 174 void PointerData::Add(const void* ptr, size_t pointer_size) { argument 175 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); 185 void PointerData::Remove(const void* ptr) { argument 186 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); 203 size_t PointerData::GetFrames(const void* ptr, uintptr_t* frames, size_t max_frames) { argument 204 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); 291 void* PointerData::AddFreed(const void* ptr) { argument 292 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); 314 void PointerData::LogFreeBacktrace(const void* ptr) { argument 317 uintptr_t pointer = reinterpret_cast<uintptr_t>(ptr); 491 Exists(const void* ptr) argument [all...] |
/bionic/libc/dns/net/ |
H A D | gethnamaddr.c | 210 #define BOUNDS_CHECK(ptr, count) \ 212 if (eom - (ptr) < (count)) \ 616 char *ptr = hbuf; local 619 if (ptr + size > hbuf_end) { 622 if (fread(ptr, 1, size, proxy) != size) return NULL; 623 hp->h_name = ptr; 624 ptr += size; 637 if (ptr + size > hbuf_end) { 640 if (fread(ptr, 1, size, proxy) != size) return NULL; 642 *aliases++ = ptr; 1347 char *cp, **q, *ptr; local [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | bcache.h | 29 __u64 ptr[]; member in struct:bkey 33 { return(k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(struct bkey * k, unsigned i, __u64 v) \ 34 { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | bcache.h | 29 __u64 ptr[]; member in struct:bkey 33 { return(k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(struct bkey * k, unsigned i, __u64 v) \ 34 { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | bcache.h | 29 __u64 ptr[]; member in struct:bkey 33 { return(k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(struct bkey * k, unsigned i, __u64 v) \ 34 { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | xt_hashlimit.h | 51 void * ptr; member in union:xt_hashlimit_info::__anon721
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/ |
H A D | xt_hashlimit.h | 51 void * ptr; member in union:xt_hashlimit_info::__anon1868
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/netfilter/ |
H A D | xt_hashlimit.h | 51 void * ptr; member in union:xt_hashlimit_info::__anon3138
|