/system/core/sh/ |
D | memalloc.h | 67 #define STARTSTACKSTR(p) p = stackblock(), sstrnleft = stackblocksize() argument 68 #define STPUTC(c, p) (--sstrnleft >= 0? (*p++ = (c)) : (p = growstackstr(), *p++ = (c))) argument 69 #define CHECKSTRSPACE(n, p) { if (sstrnleft < n) p = makestrspace(); } argument 70 #define USTPUTC(c, p) (--sstrnleft, *p++ = (c)) argument 71 #define STACKSTRNUL(p) (sstrnleft == 0? (p = growstackstr(), *p = '\0') : (*p = '\0')) argument 72 #define STUNPUTC(p) (++sstrnleft, --p) argument 73 #define STTOPC(p) p[-1] argument 74 #define STADJUST(amount, p) (p += (amount), sstrnleft -= (amount)) argument 75 #define grabstackstr(p) stalloc(stackblocksize() - sstrnleft) argument 77 #define ckfree(p) free((pointer)(p)) argument
|
D | memalloc.c | 61 pointer p; in ckmalloc() local 75 ckrealloc(pointer p, int nbytes) in ckrealloc() 91 char *p; in savestr() local 126 char *p; in stalloc() local 152 stunalloc(pointer p) in stunalloc() 239 char *p = stalloc(newlen); in growstackblock() local 301 ungrabstackstr(char *s, char *p) in ungrabstackstr()
|
D | expand.c | 137 char *p; in expandarg() local 183 argstr(char *p, int flag) in argstr() 259 exptilde(char *p, int flag) in exptilde() 349 char *p, *start; in expari() local 414 char *p; in expbackq() local 483 subevalvar(char *p, char *str, int strloc, int subtype, int startloc, int varflags) in subevalvar() 605 evalvar(char *p, int flag) in evalvar() 826 char *p; in varvalue() local 832 #define STRTODEST(p) \ in varvalue() argument 949 char *p; in ifsbreakup() local [all …]
|
D | cd.c | 83 char *p, *d; in cdcmd() local 152 char *p; in docd() local 216 char *p; in getcomponent() local 245 char *p; in updatepwd() local 399 char *p; in find_curdir() local
|
D | show.c | 168 char *p; in sharg() local 320 char *p; in trstring() local 392 char *p; in opentrace() local
|
D | var.c | 222 const char *p; in setvar() local 464 print_quoted(const char *p) in print_quoted() 511 const char *p; in showvars() local 565 const char *p; in exportcmd() local 626 char *p; in mklocal() local 778 strequal(const char *p, const char *q) in strequal() 802 const char *p = name; in find_var() local
|
/system/core/libmemtrack/ |
D | memtrack.c | 67 void memtrack_proc_destroy(struct memtrack_proc *p) in memtrack_proc_destroy() 113 static int memtrack_proc_sanity_check(struct memtrack_proc *p) in memtrack_proc_sanity_check() 119 int memtrack_proc_get(struct memtrack_proc *p, pid_t pid) in memtrack_proc_get() 139 static ssize_t memtrack_proc_sum(struct memtrack_proc *p, in memtrack_proc_sum() 159 ssize_t memtrack_proc_graphics_total(struct memtrack_proc *p) in memtrack_proc_graphics_total() 165 ssize_t memtrack_proc_graphics_pss(struct memtrack_proc *p) in memtrack_proc_graphics_pss() 172 ssize_t memtrack_proc_gl_total(struct memtrack_proc *p) in memtrack_proc_gl_total() 178 ssize_t memtrack_proc_gl_pss(struct memtrack_proc *p) in memtrack_proc_gl_pss() 185 ssize_t memtrack_proc_other_total(struct memtrack_proc *p) in memtrack_proc_other_total() 193 ssize_t memtrack_proc_other_pss(struct memtrack_proc *p) in memtrack_proc_other_pss()
|
/system/core/adb/ |
D | transport_usb.c | 32 static inline void fix_endians(apacket *p) in fix_endians() 46 #define fix_endians(p) do {} while (0) argument 53 static int remote_read(apacket *p, atransport *t) in remote_read() 82 static int remote_write(apacket *p, atransport *t) in remote_write()
|
D | sockets.c | 130 static int local_socket_enqueue(asocket *s, apacket *p) in local_socket_enqueue() 201 apacket *p, *n; in local_socket_destroy() local 273 apacket *p; in local_socket_event_func() local 321 apacket *p = get_apacket(); in local_socket_event_func() local 465 static int remote_socket_enqueue(asocket *s, apacket *p) in remote_socket_enqueue() 481 apacket *p = get_apacket(); in remote_socket_ready() local 492 apacket *p = get_apacket(); in remote_socket_close() local 544 apacket *p = get_apacket(); in connect_to_remote() local 655 static int smart_socket_enqueue(asocket *s, apacket *p) in smart_socket_enqueue()
|
D | transport.c | 103 dump_packet(const char* name, const char* func, apacket* p) in dump_packet() 144 char *p = (char*)ppacket; /* really read a packet address */ in read_packet() local 175 char *p = (char*) ppacket; /* we really write the packet address */ in write_packet() local 208 apacket *p = 0; in transport_socket_events() local 217 void send_packet(apacket *p, atransport *t) in send_packet() 263 apacket *p; in output_thread() local 318 apacket *p; in input_thread() local 434 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue() 447 apacket* p = get_apacket(); in device_tracker_send() local 530 char *p = (char*)m; in transport_read_action() local [all …]
|
D | jdwp_service.c | 125 char* p = buffer; in jdwp_process_list() local 242 char* p = proc->in_buff + proc->in_len; in jdwp_process_event() local 571 jdwp_socket_enqueue( asocket* s, apacket* p ) in jdwp_socket_enqueue() 590 apacket* p = get_apacket(); in jdwp_socket_ready() local 645 apacket* p = get_apacket(); in jdwp_process_list_updated() local 678 apacket* p = get_apacket(); in jdwp_tracker_ready() local 686 jdwp_tracker_enqueue( asocket* s, apacket* p ) in jdwp_tracker_enqueue()
|
D | transport_local.c | 33 static inline void fix_endians(apacket *p) in fix_endians() 43 #define fix_endians(p) do {} while (0) argument 58 static int remote_read(apacket *p, atransport *t) in remote_read() 89 static int remote_write(apacket *p, atransport *t) in remote_write()
|
/system/core/run-as/ |
D | package.c | 279 skip_spaces(const char* p, const char* end) in skip_spaces() 291 skip_non_spaces(const char* p, const char* end) in skip_non_spaces() 303 find_first(const char* p, const char* end, char ch) in find_first() 318 compare_name(const char* p, const char* end, const char* name) in compare_name() 357 const char* p = *pp; in parse_spaces() local 381 const char* p = *pp; in parse_positive_decimal() local 428 const char* p; in get_package_info() local
|
/system/extras/tests/memtest/ |
D | thumb.cpp | 16 void thumb_function_1(int*p) in thumb_function_1() 22 void thumb_function_2(int*p) in thumb_function_2()
|
D | memtest.cpp | 39 static void usage(char* p) { in usage() 215 void arm_function_3(int*p) { in arm_function_3() 220 void arm_function_2(int*p) { in arm_function_2() 225 void arm_function_1(int*p) { in arm_function_1()
|
/system/core/libmincrypt/ |
D | sha.c | 41 uint8_t* p = ctx->buf; in SHA1_Transform() local 109 const uint8_t* p = (const uint8_t*)data; in SHA_update() local 124 uint8_t *p = ctx->buf; in SHA_final() local
|
D | sha256.c | 60 uint8_t* p = ctx->buf; in SHA256_Transform() local 138 const uint8_t* p = (const uint8_t*)data; in SHA256_update() local 153 uint8_t *p = ctx->buf; in SHA256_final() local
|
/system/core/libutils/ |
D | LinearAllocator.cpp | 52 #define ALIGN_PTR(p) ((void*)(ALIGN((size_t)p))) argument 122 Page* p = mPages; in ~LinearAllocator() local 132 void* LinearAllocator::start(Page* p) { in start() 136 void* LinearAllocator::end(Page* p) { in end() 152 Page* p = newPage(mPageSize); in ensureNext() local
|
/system/core/libpixelflinger/tests/codegen/ |
D | codegen.cpp | 36 static void ggl_test_codegen(uint32_t n, uint32_t p, uint32_t t0, uint32_t t1) in ggl_test_codegen() 73 uint32_t p; in main() local
|
/system/extras/ext4_utils/ |
D | crc16.c | 51 const u8 *p = buf; in ext4_crc16() local
|
/system/core/libsparse/ |
D | sparse_crc32.c | 103 const uint8_t *p = buf; in sparse_crc32() local
|
/system/core/sh/bltin/ |
D | echo.c | 62 char *p; in echocmd() local
|
/system/extras/fatblock/ |
D | utils.c | 24 void strpadcpy(char *d, const char *s, char p, size_t l) in strpadcpy()
|
/system/core/include/utils/ |
D | UniquePtr.h | 36 delete p; in operator() local
|
/system/core/toolbox/ |
D | dmesg.c | 14 char *p; in dmesg_main() local
|