Home
last modified time | relevance | path

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

123456

/bionic/libc/kernel/uapi/linux/
Dswab.h62 static __always_inline __u16 __swab16p(const __u16 * p) { in __swab16p()
69 static __always_inline __u32 __swab32p(const __u32 * p) { in __swab32p()
76 static __always_inline __u64 __swab64p(const __u64 * p) { in __swab64p()
83 static inline __u32 __swahw32p(const __u32 * p) { in __swahw32p()
90 static inline __u32 __swahb32p(const __u32 * p) { in __swahb32p()
97 static inline void __swab16s(__u16 * p) { in __swab16s()
104 static __always_inline void __swab32s(__u32 * p) { in __swab32s()
111 static __always_inline void __swab64s(__u64 * p) { in __swab64s()
118 static inline void __swahw32s(__u32 * p) { in __swahw32s()
125 static inline void __swahb32s(__u32 * p) { in __swahb32s()
Dmroute6.h59 #define IF_SET(n,p) ((p)->ifs_bits[(n) / NIFBITS] |= (1 << ((n) % NIFBITS))) argument
60 #define IF_CLR(n,p) ((p)->ifs_bits[(n) / NIFBITS] &= ~(1 << ((n) % NIFBITS))) argument
61 #define IF_ISSET(n,p) ((p)->ifs_bits[(n) / NIFBITS] & (1 << ((n) % NIFBITS))) argument
63 #define IF_ZERO(p) bzero(p, sizeof(* (p))) argument
Derspan.h27 __u8 hwid_upper : 2, ft : 5, p : 1; member
30 __u8 p : 1, ft : 5, hwid_upper : 2; member
Dppp_defs.h25 #define PPP_ADDRESS(p) (((__u8 *) (p))[0]) argument
26 #define PPP_CONTROL(p) (((__u8 *) (p))[1]) argument
27 #define PPP_PROTOCOL(p) ((((__u8 *) (p))[2] << 8) + ((__u8 *) (p))[3]) argument
100 struct pppstat p; member
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c215 #define MEMSIZE(p) \ argument
241 struct parse *p = &pa; in regcomp() local
341 struct parse *p, in p_ere()
395 struct parse *p, in p_ere_exp()
549 struct parse *p) in p_str()
573 struct parse *p, in p_bre()
616 struct parse *p, in p_simp_re()
738 struct parse *p) in p_count()
763 struct parse *p) in p_bracket()
844 struct parse *p, in p_b_term()
[all …]
/bionic/libc/bionic/
Dfts.c57 #define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES) argument
75 FTSENT *p, *root; in __fts_open() local
177 fts_load(FTS *sp, FTSENT *p) in fts_load()
203 FTSENT *freep, *p; in fts_close() local
245 #define NAPPEND(p) \ argument
252 FTSENT *p, *tmp; in fts_read() local
444 fts_set(FTS *sp __unused, FTSENT *p, int instr) in fts_set()
458 FTSENT *p; in fts_children() local
540 FTSENT *p, *head; in fts_build() local
785 fts_stat(FTS *sp, FTSENT *p, int follow, int dfd) in fts_stat()
[all …]
Dnew.cpp27 void* p = malloc(size); in operator new() local
35 void* p = malloc(size); in operator new[]() local
Dstrchr.cpp32 char* strchr(const char* p, int ch) { in strchr()
Dstrrchr.cpp32 char* strrchr(const char* p, int ch) { in strrchr()
Dstrnlen.c32 char* p = memchr(str, 0, maxlen); in strnlen() 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* align_down(T* p, size_t align) { in align_down()
48 static inline T* align_up(T* p, size_t align) { in align_up()
86 static inline uintptr_t untag_address(uintptr_t p) { in untag_address()
95 static inline T* untag_address(T* p) { in untag_address()
/bionic/tests/
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.cpp113 char* p; in TEST() local
119 char* p; in TEST() local
137 char* p; in TEST() local
143 char* p; in TEST() local
149 char* p; in TEST() local
Dheap_tagging_level_test.cpp104 std::unique_ptr<int[]> p = std::make_unique<int[]>(4); in TEST() local
136 std::unique_ptr<int[]> p = std::make_unique<int[]>(4); in TEST() local
Dstdlib_test.cpp113 unsigned short p[7] = { 0x0102, 0x0304, 0x0506, 0x0708, 0x090a, 0x0b0c, 0x0d0e }; in TEST() local
309 char* p = realpath(path, nullptr); in TEST() local
316 char* p = realpath("", nullptr); in TEST() local
323 char* p = realpath("/this/directory/path/almost/certainly/does/not/exist", nullptr); in TEST() local
334 char* p = realpath(link.c_str(), nullptr); in TEST() local
341 char* p = realpath("/dev/null/.", nullptr); in TEST() local
359 char* p = realpath("/proc/self/exe", buf); in TEST() local
368 char* p = realpath("/proc/./version", nullptr); in TEST() local
374 char* p = realpath("/dev/../proc/version", nullptr); in TEST() local
505 char* p; in CheckStrToFloat() local
Dstack_protector_test_helper.cpp22 volatile char* p; in modify_stack_protector_test() 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.cpp79 void* realloc(void* p, size_t byte_count) { in realloc()
83 void* reallocarray(void* p, size_t item_count, size_t item_size) { in reallocarray()
/bionic/libc/upstream-openbsd/android/include/
Dopenbsd-compat.h58 #define explicit_bzero(p, s) memset(p, 0, s) argument
62 #define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES) argument
/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/stdio/
Dparsefloat.c41 char *commit, *p; in parsefloat() local
189 wchar_t *commit, *p; in wparsefloat() local
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcslen.c44 const wchar_t *p; in wcslen() local

123456