Searched refs:mem (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strstr.c | 69 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_strstr() local 123 mem = 0; in twoway_strstr() 145 if (k < mem) k = mem; in twoway_strstr() 147 mem = 0; in twoway_strstr() 152 mem = 0; in twoway_strstr() 157 for (k=MAX(ms+1,mem); n[k] && n[k] == h[k]; k++); in twoway_strstr() 160 mem = 0; in twoway_strstr() 164 for (k=ms+1; k>mem && n[k-1] == h[k-1]; k--); in twoway_strstr() 165 if (k <= mem) return (char *)h; in twoway_strstr() 167 mem = mem0; in twoway_strstr()
|
D | memmem.c | 72 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local 125 mem = 0; in twoway_memmem() 136 if (k < mem) k = mem; in twoway_memmem() 138 mem = 0; in twoway_memmem() 143 mem = 0; in twoway_memmem() 148 for (k=MAX(ms+1,mem); k<l && n[k] == h[k]; k++); in twoway_memmem() 151 mem = 0; in twoway_memmem() 155 for (k=ms+1; k>mem && n[k-1] == h[k-1]; k--); in twoway_memmem() 156 if (k <= mem) return (char *)h; in twoway_memmem() 158 mem = mem0; in twoway_memmem()
|
/bionic/libc/bionic/ |
D | gwp_asan_wrappers.cpp | 122 void gwp_asan_free(void* mem) { in gwp_asan_free() argument 123 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_free() 124 GuardedAlloc.deallocate(mem); in gwp_asan_free() 127 prev_dispatch->free(mem); in gwp_asan_free() 139 size_t gwp_asan_malloc_usable_size(const void* mem) { in gwp_asan_malloc_usable_size() argument 140 if (__predict_false(GuardedAlloc.pointerIsMine(mem))) { in gwp_asan_malloc_usable_size() 141 return GuardedAlloc.getSize(mem); in gwp_asan_malloc_usable_size() 143 return prev_dispatch->malloc_usable_size(mem); in gwp_asan_malloc_usable_size()
|
D | malloc_limit.cpp | 48 static void LimitFree(void* mem); 60 static size_t LimitUsableSize(const void* mem); 106 static inline void* IncrementLimit(void* mem) { in IncrementLimit() argument 107 if (__predict_false(mem == nullptr)) { in IncrementLimit() 110 atomic_fetch_add(&gAllocated, LimitUsableSize(mem)); in IncrementLimit() 111 return mem; in IncrementLimit() 128 void LimitFree(void* mem) { in LimitFree() argument 129 atomic_fetch_sub(&gAllocated, LimitUsableSize(mem)); in LimitFree() 132 return dispatch_table->free(mem); in LimitFree() 134 return Malloc(free)(mem); in LimitFree() [all …]
|
D | malloc_common.cpp | 78 extern "C" void free(void* mem) { in free() argument 80 mem = MaybeUntagAndCheckPointer(mem); in free() 82 dispatch_table->free(mem); in free() 84 Malloc(free)(mem); in free() 136 extern "C" size_t malloc_usable_size(const void* mem) { in malloc_usable_size() argument 138 mem = MaybeUntagAndCheckPointer(mem); in malloc_usable_size() 140 return dispatch_table->malloc_usable_size(mem); in malloc_usable_size() 142 return Malloc(malloc_usable_size)(mem); in malloc_usable_size()
|
/bionic/libc/kernel/uapi/linux/ |
D | kexec.h | 46 const void * mem; member
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
D | setup.h | 108 struct tag_mem32 mem; member
|