Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 70) sorted by relevance

123

/system/core/libpixelflinger/codeflinger/
DArm64Disassembler.cpp134 static void decode_token(uint32_t code, char *token, char *instr_part) in decode_token() argument
137 sprintf(instr_part, "0x%x", bits_unsigned(code, 21,10)); in decode_token()
139 sprintf(instr_part, "0x%x", bits_unsigned(code, 20,5)); in decode_token()
141 sprintf(instr_part, "lsl #%d", bits_unsigned(code, 23,22) * 12); in decode_token()
145 sprintf(instr_part, "%s", shift2_table[bits_unsigned(code, 23,22)]); in decode_token()
148 sprintf(instr_part, "%d", bits_unsigned(code, 22,21) * 16); in decode_token()
150 sprintf(instr_part, "%d", bits_unsigned(code, 15,10)); in decode_token()
152 sprintf(instr_part, "%d", bits_unsigned(code, 12,12) * 2); in decode_token()
154 sprintf(instr_part, "%d", bits_unsigned(code, 12,12) * 3); in decode_token()
156 sprintf(instr_part, "%d", bits_unsigned(code, 12,10)); in decode_token()
[all …]
DArm64Disassembler.h33 int arm64_disassemble(uint32_t code, char* instr);
/system/core/libpixelflinger/tests/arch-arm64/disassembler/
Darm64_diassembler_test.cpp32 int arm64_disassemble(uint32_t code, char* instr);
36 uint32_t code; member
301 arm64_disassemble(test->code, instr); in main()
307 "Actual : %s\n", test->code, test->instr, instr); in main()
/system/core/libsysutils/src/
DSocketClient.cpp53 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { in sendMsg() argument
54 return sendMsg(code, msg, addErrno, mUseCmdNum); in sendMsg()
57 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { in sendMsg() argument
63 ret = asprintf(&buf, "%d %d %s (%s)", code, getCmdNum(), msg, strerror(errno)); in sendMsg()
65 ret = asprintf(&buf, "%d %s (%s)", code, msg, strerror(errno)); in sendMsg()
69 ret = asprintf(&buf, "%d %d %s", code, getCmdNum(), msg); in sendMsg()
71 ret = asprintf(&buf, "%d %s", code, msg); in sendMsg()
83 int SocketClient::sendBinaryMsg(int code, const void *data, int len) { in sendBinaryMsg() argument
88 snprintf(buf, 4, "%.3d", code); in sendBinaryMsg()
107 int SocketClient::sendCode(int code) { in sendCode() argument
[all …]
/system/core/include/sysutils/
DSocketClient.h48 int sendMsg(int code, const char *msg, bool addErrno);
49 int sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum);
54 int sendCode(int code);
59 int sendBinaryMsg(int code, const void *data, int len);
DSocketListener.h44 void sendBroadcast(int code, const char *msg, bool addErrno);
/system/core/toolbox/
Dgetevent.c193 static void print_event(int type, int code, int value, int print_flags) in print_event() argument
204 code_label = get_label(syn_labels, code); in print_event()
207 code_label = get_label(key_labels, code); in print_event()
211 code_label = get_label(rel_labels, code); in print_event()
214 code_label = get_label(abs_labels, code); in print_event()
215 switch(code) { in print_event()
221 code_label = get_label(msc_labels, code); in print_event()
224 code_label = get_label(led_labels, code); in print_event()
227 code_label = get_label(snd_labels, code); in print_event()
230 code_label = get_label(sw_labels, code); in print_event()
[all …]
Dsendevent.c16 __u16 code; member
71 event.code = atoi(argv[3]); in sendevent_main()
DNOTICE23 * Redistributions of source code must retain the above copyright
51 1. Redistributions of source code must retain the above copyright
80 1. Redistributions of source code must retain the above copyright
106 This code is derived from software contributed to Berkeley by
112 1. Redistributions of source code must retain the above copyright
141 1. Redistributions of source code must retain the above copyright
167 This code is derived from software contributed to Berkeley by
173 1. Redistributions of source code must retain the above copyright
202 1. Redistributions of source code must retain the above copyright
231 1. Redistributions of source code must retain the above copyright
[all …]
/system/vold/
Dvdc.c145 int code; in do_monitor() local
150 code = atoi(tmp); in do_monitor()
154 if (code >= 200 && code < 600) in do_monitor()
/system/extras/tests/sdcard/
Dsysutil.h111 void syncAndDropCaches(int code = 3);
119 void fsyncAndDropCaches(int fd, int code = 3);
Dsysutil.cpp390 void syncAndDropCaches(int code) in syncAndDropCaches() argument
394 writeIntToFile(kDropCaches, code); in syncAndDropCaches()
399 void fsyncAndDropCaches(int fd, int code) in fsyncAndDropCaches() argument
403 writeIntToFile(kDropCaches, code); in fsyncAndDropCaches()
/system/core/healthd/
Dhealthd_mode_charger.cpp460 static int set_key_callback(int code, int value, void *data) in set_key_callback() argument
466 if (code > KEY_MAX) in set_key_callback()
470 if (charger->keys[code].down == down) in set_key_callback()
476 charger->keys[code].timestamp = now; in set_key_callback()
477 charger->keys[code].down = down; in set_key_callback()
478 charger->keys[code].pending = true; in set_key_callback()
480 LOGV("[%" PRId64 "] key[%d] down\n", now, code); in set_key_callback()
482 int64_t duration = now - charger->keys[code].timestamp; in set_key_callback()
486 now, code, secs, msecs); in set_key_callback()
497 set_key_callback(ev->code, ev->value, charger); in update_input_state()
[all …]
/system/netd/server/
Dndc.c162 int code; in do_monitor() local
167 code = atoi(tmp); in do_monitor()
171 if (code >= 200 && code < 600) in do_monitor()
DNetlinkHandler.h36 void notify(int code, const char *format, ...);
DNetlinkHandler.cpp127 void NetlinkHandler::notify(int code, const char *format, ...) { in notify() argument
132 mNm->getBroadcaster()->sendBroadcast(code, msg, false); in notify()
/system/core/libutils/
DProcessCallStack.cpp161 int code; in update() local
162 while ((code = readdir_r(dp, &entry, &ep)) == 0 && ep != NULL) { in update()
197 if (code != 0) { // returns positive error value on error in update()
199 __FUNCTION__, PATH_SELF_TASK, -code, strerror(code)); in update()
/system/media/camera/docs/
DREADME.md7 C code, Java code, and even XML itself (as a sanity check).
/system/extras/tests/bionic/libc/common/
Dtest_udp.c26 usage(int code) in usage() argument
33 exit(code); in usage()
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp83 virtual status_t onTransact(uint32_t code,
312 status_t AddIntsService::onTransact(uint32_t code, const Parcel &data, in onTransact() argument
330 switch (code) { in onTransact()
338 cerr << "server onTransact unknown code, code: " << code << endl; in onTransact()
/system/extras/tests/framebuffer/
Dminui.h38 unsigned code; member
/system/core/fastbootd/
Dprotocol.c113 static void fastboot_ack(struct protocol_handle *phandle, const char *code, in fastboot_ack() argument
124 snprintf(response, 64, "%s%s", code, reason); in fastboot_ack()
/system/core/
DNOTICE4 == in this case for the Android-specific code. ==
16 == in this case for Apache Commons code. ==
40 == in this case for the Nuance code. ==
49 == in this case for the Media Codecs code. ==
59 == in this case for the TagSoup code. ==
78 == in this case for Additional Codecs code. ==
88 == in this case for the Audio Effects code. ==
123 including but not limited to software source code, documentation
128 not limited to compiled object code, generated documentation,
152 communication on electronic mailing lists, source code control systems,
[all …]
/system/core/debuggerd/
Dtombstone.cpp91 static const char* get_sigcode(int signo, int code) { in get_sigcode() argument
95 switch (code) { in get_sigcode()
108 switch (code) { in get_sigcode()
118 switch (code) { in get_sigcode()
131 switch (code) { in get_sigcode()
138 switch (code) { in get_sigcode()
148 switch (code) { in get_sigcode()
/system/extras/tests/bionic/libstdc++/
DREADME.TXT13 All test programs should exit with a status code of 0 in case of success, and 1

123