Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 144) sorted by relevance

123456

/bionic/libc/kernel/uapi/linux/
Dswab.h50 static __always_inline __u16 __swab16p(const __u16 * p) { in __swab16p()
57 static __always_inline __u32 __swab32p(const __u32 * p) { in __swab32p()
64 static __always_inline __u64 __swab64p(const __u64 * p) { in __swab64p()
71 static inline __u32 __swahw32p(const __u32 * p) { in __swahw32p()
78 static inline __u32 __swahb32p(const __u32 * p) { in __swahb32p()
85 static inline void __swab16s(__u16 * p) { in __swab16s()
92 static __always_inline void __swab32s(__u32 * p) { in __swab32s()
99 static __always_inline void __swab64s(__u64 * p) { in __swab64s()
106 static inline void __swahw32s(__u32 * p) { in __swahw32s()
113 static inline void __swahb32s(__u32 * p) { in __swahb32s()
/bionic/libc/bionic/
Dnew.cpp28 void* p = malloc(size); in operator new() local
35 void* p = malloc(size); in operator new[]() local
52 void operator delete(void* p) noexcept { free(p); } in operator delete()
53 void operator delete[](void* p) noexcept { free(p); } in operator delete[]()
54 void operator delete(void* p, const std::nothrow_t&) noexcept { free(p); } in operator delete()
55 void operator delete[](void* p, const std::nothrow_t&) noexcept { free(p); } in operator delete[]()
58 void operator delete(void* p, std::size_t) noexcept { free(p); } in operator delete()
59 void operator delete[](void* p, std::size_t) noexcept { free(p); } in operator delete[]()
Dfts.c75 FTSENT *p, *root; in __fts_open() local
179 fts_load(FTS *sp, FTSENT *p) in fts_load()
205 FTSENT *freep, *p; in fts_close() local
249 #define NAPPEND(p) \ argument
256 FTSENT *p, *tmp; in fts_read() local
450 fts_set(FTS *sp, FTSENT *p, int instr) in fts_set()
465 FTSENT *p; in fts_children() local
549 FTSENT *p, *head; in fts_build() local
793 fts_stat(FTS *sp, FTSENT *p, int follow, int dfd) in fts_stat()
871 FTSENT **ap, *p; in fts_sort() local
[all …]
Dstrchr.cpp32 char* strchr(const char* p, int ch) { in strchr()
Dstrrchr.cpp32 char* strrchr(const char* p, int ch) { in strrchr()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c275 struct parse *p = &pa; in regcomp_internal() local
441 p_ere_exp(struct parse *p, struct branchc *bc) in p_ere_exp()
692 p_str(struct parse *p) in p_str()
704 p_branch_eat_delim(struct parse *p, struct branchc *bc) in p_branch_eat_delim()
720 p_branch_ins_offset(struct parse *p, struct branchc *bc) in p_branch_ins_offset()
742 p_branch_fix_tail(struct parse *p, struct branchc *bc) in p_branch_fix_tail()
759 p_branch_empty(struct parse *p, struct branchc *bc) in p_branch_empty()
773 p_branch_do(struct parse *p, struct branchc *bc) in p_branch_do()
793 p_bre_pre_parse(struct parse *p, struct branchc *bc) in p_bre_pre_parse()
810 p_bre_post_parse(struct parse *p, struct branchc *bc) in p_bre_post_parse()
[all …]
/bionic/tests/
Dsys_hwprobe_test.cpp41 uint64_t scalar_cast(uint8_t const* p) { in scalar_cast()
46 uint64_t scalar_memcpy(uint8_t const* p) { in scalar_memcpy()
53 uint64_t vector_memcpy(uint8_t* d, uint8_t const* p) { in vector_memcpy()
59 uint64_t vector_ldst(uint8_t* d, uint8_t const* p) { in vector_ldst()
65 uint64_t vector_ldst64(uint8_t* d, uint8_t const* p) { in vector_ldst64()
77 uint8_t* p = (uint8_t*)tmp + 1; in TEST() local
87 uint8_t* p = (uint8_t*)tmp + 1; in TEST() local
D__cxa_demangle_test.cpp52 char* p = abi::__cxa_demangle("1\006ILeeeEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE", 0, 0, 0); in TEST() local
70 char* p = abi::__cxa_demangle("DTLeeeeeeeeeeeeeeeeeeeeeeeeeEEEEeeEEEE", 0, 0, 0); in TEST() local
Dthread_local_test.cpp32 static void* inc_shared_var(void* p) { in inc_shared_var()
39 static void* inc_local_var(void* p) { in inc_local_var()
112 static void* move_shared_triangle(void* p) { in move_shared_triangle()
119 static void* move_local_triangle(void* p) { in move_local_triangle()
221 void* p = __emutls_get_address(&tls_var[n]); in TEST() local
247 void* p = __emutls_get_address(&tls_var[n]); in TEST() local
Dinttypes_test.cpp115 char* p; in TEST() local
121 char* p; in TEST() local
139 char* p; in TEST() local
145 char* p; in TEST() local
151 char* p; in TEST() local
Dsearch_test.cpp65 static void node_walk(const void* p, VISIT order, int) { in node_walk()
74 static void node_free(void* p) { in node_free()
302 char* p; in TEST() local
311 for (auto& p : entries) { in TEST() local
316 for (auto& p : entries) free(p); in TEST() local
Dstack_protector_test_helper.cpp23 char* p = reinterpret_cast<char*>(&p + 1); in modify_stack_protector_test() local
/bionic/libc/platform/bionic/
Dmacros.h34 static constexpr uintptr_t align_down(uintptr_t p, size_t align) { in align_down()
38 static constexpr uintptr_t align_up(uintptr_t p, size_t align) { in align_up()
43 static inline T* _Nonnull align_down(T* _Nonnull p, size_t align) { in align_down()
48 static inline T* _Nonnull align_up(T* _Nonnull p, size_t align) { in align_up()
88 static inline uintptr_t untag_address(uintptr_t p) { in untag_address()
97 static inline T* _Nonnull untag_address(T* _Nonnull p) { in untag_address()
/bionic/docs/
Dclang_fortify_anatomy.md633 #### tl;dr
646 #### Background
662 ##### (N & 2) == ?
681 ##### (N & 1) == 0
690 ##### (N & 1) == 1, and the true magic of pass_object_size
784 ##### What about pass_object_size(0)?
805 #### Wrapping up argument
/bionic/tests/libs/
Dstack_tagging_helper.cpp36 static inline void mte_set_tag(T* p) { in mte_set_tag()
46 static inline T* mte_get_tag(T* p) { in mte_get_tag()
57 static inline T* mte_increment_tag(T* p) { in mte_increment_tag()
104 for (char* p = buf; p < buf + sizeof(buf) / 2; p += 16) { in vfork_child() local
117 for (char* p = buf; p < buf + sizeof(buf); p += 16) { in vfork_parent() local
152 for (char* p = buf; p < buf + sizeof(buf) / 2; p += 16) { in settag_and_longjmp() local
166 for (char* p = buf; p < buf + sizeof(buf); p += 16) { in check_stack_tags() local
Dheap_tagging_helper.cpp60 std::unique_ptr<int[]> p = std::make_unique<int[]>(4); in main() local
73 void* p = mmap(nullptr, page_size, PROT_READ | PROT_WRITE | PROT_MTE, in main() local
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfgetln.c45 void *p; in __slbexpand() local
66 unsigned char *p; in fgetln() local
/bionic/libc/upstream-netbsd/lib/libc/include/isc/
Dmemcluster.h28 #define memput(p, s) __memput_debug(p, s, __FILE__, __LINE__) argument
32 #define memput(p, s) __memput_record(p, s, __FILE__, __LINE__) argument
/bionic/libc/dns/resolv/
Dres_cache.c210 _bprint_c( char* p, char* end, int c ) in _bprint_c()
225 _bprint_b( char* p, char* end, const char* buf, int len ) in _bprint_b()
248 _bprint_s( char* p, char* end, const char* str ) in _bprint_s()
255 char* _bprint( char* p, char* end, const char* format, ... ) in _bprint()
283 _bprint_hex( char* p, char* end, unsigned value, int numDigits ) in _bprint_hex()
296 _bprint_hexdump( char* p, char* end, const uint8_t* data, int datalen ) in _bprint_hexdump()
339 char* p = buff, *end = p + sizeof(buff); in XLOG_BYTES() local
473 const uint8_t* p = packet->cursor + count; in _dnsPacket_skip() local
484 const uint8_t* p = packet->cursor; in _dnsPacket_readInt16() local
502 const uint8_t* p = packet->cursor; in _dnsPacket_checkBytes() local
[all …]
/bionic/linker/
Dlinker_memory.cpp87 void* realloc(void* p, size_t byte_count) { in realloc()
91 void* reallocarray(void* p, size_t item_count, size_t item_size) { in reallocarray()
/bionic/libdl/
Dlibdl_cfi.cpp46 static uint16_t shadow_load(void* p) { in shadow_load()
60 uintptr_t p = aligned_addr - (static_cast<uintptr_t>(v - CFIShadow::kRegularShadowMin) in cfi_check_addr() local
/bionic/tests/headers/posix/
Dsys_mman_h.c50 void* p; in sys_mman_h() local
/bionic/libc/private/
Dbsd_sys_param.h23 #define ALIGN(p) ((__BIONIC_CAST(reinterpret_cast, uintptr_t, p) + ALIGNBYTES) & ~ALIGNBYTES) argument
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcslen.c44 const wchar_t *p; in wcslen() local
/bionic/libc/arch-riscv64/string/
Dstrchr.c34 strchr_gc(const char *p, int ch) in strchr_gc()

123456