Searched refs:code (Results 1 - 25 of 59) sorted by relevance

123

/system/core/libpixelflinger/codeflinger/
H A DArm64Disassembler.h8 * * Redistributions of source code must retain the above copyright
33 int arm64_disassemble(uint32_t code, char* instr);
H A DArm64Disassembler.cpp8 * * Redistributions of source code must retain the above copyright
134 static void decode_token(uint32_t code, char *token, char *instr_part) argument
137 sprintf(instr_part, "0x%x", bits_unsigned(code, 21,10));
139 sprintf(instr_part, "0x%x", bits_unsigned(code, 20,5));
141 sprintf(instr_part, "lsl #%d", bits_unsigned(code, 23,22) * 12);
145 sprintf(instr_part, "%s", shift2_table[bits_unsigned(code, 23,22)]);
148 sprintf(instr_part, "%d", bits_unsigned(code, 22,21) * 16);
150 sprintf(instr_part, "%d", bits_unsigned(code, 15,10));
152 sprintf(instr_part, "%d", bits_unsigned(code, 12,12) * 2);
154 sprintf(instr_part, "%d", bits_unsigned(code, 1
270 arm64_disassemble(uint32_t code, char* instr) argument
[all...]
/system/bt/bta/ag/
H A Dbta_ag_rfc.c42 void bta_ag_port_cback_1(UINT32 code, UINT16 port_handle);
43 void bta_ag_port_cback_2(UINT32 code, UINT16 port_handle);
44 void bta_ag_port_cback_3(UINT32 code, UINT16 port_handle);
46 void bta_ag_mgmt_cback_1(UINT32 code, UINT16 port_handle);
47 void bta_ag_mgmt_cback_2(UINT32 code, UINT16 port_handle);
48 void bta_ag_mgmt_cback_3(UINT32 code, UINT16 port_handle);
88 static void bta_ag_port_cback(UINT32 code, UINT16 port_handle, UINT16 handle) argument
92 UNUSED(code);
123 static void bta_ag_mgmt_cback(UINT32 code, UINT16 port_handle, UINT16 handle) argument
131 APPL_TRACE_DEBUG("ag_mgmt_cback : code
218 bta_ag_mgmt_cback_1(UINT32 code, UINT16 handle) argument
219 bta_ag_mgmt_cback_2(UINT32 code, UINT16 handle) argument
220 bta_ag_mgmt_cback_3(UINT32 code, UINT16 handle) argument
221 bta_ag_port_cback_1(UINT32 code, UINT16 handle) argument
222 bta_ag_port_cback_2(UINT32 code, UINT16 handle) argument
223 bta_ag_port_cback_3(UINT32 code, UINT16 handle) argument
[all...]
H A Dbta_ag_cmd.c60 #define AT_SET_RES_CB(res_cb, c, p, i) {res_cb.code = c; res_cb.p_arg = p; res_cb.int_arg = i;}
62 /* type for AT result code block */
65 UINT8 code; member in struct:__anon6
159 /* AT result code table element */
166 /* AT result code argument types */
203 /* AT result code constant table (Indexed by result code) */
274 /* translation of API result code values to internal values */
329 ** Description Send an AT result code.
335 static void bta_ag_send_result(tBTA_AG_SCB *p_scb, UINT8 code, cha argument
1347 UINT8 code = bta_ag_trans_result[p_result->result]; local
1460 UINT8 code = bta_ag_trans_result[p_result->result]; local
[all...]
/system/extras/tests/sdcard/
H A Dsysutil.h8 * * Redistributions of source code must retain the above copyright
107 // @param code:
111 void syncAndDropCaches(int code = 3);
115 // @param code:
119 void fsyncAndDropCaches(int fd, int code = 3);
/system/core/include/sysutils/
H A DSocketClient.h48 int sendMsg(int code, const char *msg, bool addErrno);
49 int sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum);
52 // Provides a mechanism to send a response code to the client.
53 // Sends the code and a null character.
54 int sendCode(int code);
57 // Sends the code and a null character, followed by 4 bytes of
59 int sendBinaryMsg(int code, const void *data, int len);
H A DSocketListener.h44 void sendBroadcast(int code, const char *msg, bool addErrno);
/system/extras/tests/workloads/
H A Dcapture.sh63 code=$4
65 case $code in
72 (--) echo unknown code=$code;;
/system/extras/perfprofd/quipper/base/
H A Dcompiler_specific.h2 // Use of this source code is governed by a BSD-style license that can be
55 #define NON_EXPORTED_BASE(code) MSVC_SUPPRESS_WARNING(4275) \
56 code
66 #define NON_EXPORTED_BASE(code) code
183 // Use this to annotate code that deliberately reads uninitialized data, for
/system/extras/tests/framebuffer/
H A Dminui.h38 unsigned code; member in struct:event
/system/core/libsysutils/src/
H A DSocketClient.cpp54 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { argument
55 return sendMsg(code, msg, addErrno, mUseCmdNum);
58 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { argument
64 ret = asprintf(&buf, "%d %d %s (%s)", code, getCmdNum(), msg, strerror(errno));
66 ret = asprintf(&buf, "%d %s (%s)", code, msg, strerror(errno));
70 ret = asprintf(&buf, "%d %d %s", code, getCmdNum(), msg);
72 ret = asprintf(&buf, "%d %s", code, msg);
83 // send 3-digit code, null, binary-length, binary data
84 int SocketClient::sendBinaryMsg(int code, const void *data, int len) { argument
86 // 4 bytes for the code
108 sendCode(int code) argument
[all...]
/system/bt/bta/hf_client/
H A Dbta_hf_client_rfc.c43 static void bta_hf_client_port_cback(UINT32 code, UINT16 port_handle) argument
46 UNUSED(code);
73 static void bta_hf_client_mgmt_cback(UINT32 code, UINT16 port_handle) argument
78 APPL_TRACE_DEBUG("bta_hf_client_mgmt_cback : code = %d, port_handle = %d, conn_handle = %d, serv_handle = %d",
79 code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle);
82 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle))
88 if (code == PORT_SUCCESS)
/system/core/toolbox/
H A Dgetevent.c212 static void print_event(int type, int code, int value, int print_flags) argument
223 code_label = get_label(syn_labels, code);
226 code_label = get_label(key_labels, code);
230 code_label = get_label(rel_labels, code);
233 code_label = get_label(abs_labels, code);
234 switch(code) {
240 code_label = get_label(msc_labels, code);
243 code_label = get_label(led_labels, code);
246 code_label = get_label(snd_labels, code);
249 code_label = get_label(sw_labels, code);
[all...]
H A Dsendevent.c19 fprintf(stderr, "use: %s device type code value\n", argv[0]);
34 event.code = atoi(argv[3]);
/system/bt/embdrv/sbc/decoder/include/
H A Doi_osinterface.h66 * @param status Status code associated with the error event
71 * This function initializes the debug code handling.
98 * platform-specific code.
125 * @param code OI_MSG_CODE_* indicating setting the message type.
127 void OI_SetMsgCode(OI_UINT8 code);
/system/core/libpixelflinger/tests/arch-arm64/disassembler/
H A Darm64_diassembler_test.cpp8 * * Redistributions of source code must retain the above copyright
32 int arm64_disassemble(uint32_t code, char* instr);
36 uint32_t code; member in struct:test_table_entry_t
301 arm64_disassemble(test->code, instr);
307 "Actual : %s\n", test->code, test->instr, instr);
/system/netd/server/
H A DNetlinkHandler.h37 void notify(int code, const char *format, ...);
H A Dndc.c162 int code; local
167 code = atoi(tmp);
171 if (code >= 200 && code < 600)
/system/vold/
H A Dvdc.c151 int code; local
155 code = atoi(tmp);
159 if (code >= 200 && code < 600)
/system/media/camera/docs/
H A DCaptureResultTest.mako37 * End generated code
/system/bt/btif/src/
H A Dbtif_rc.c142 static int send_event (int fd, uint16_t type, uint16_t code, int32_t value);
169 tBTA_AV_CODE code, tAVRC_RESPONSE *pmetamsg_resp);
206 int send_event (int fd, uint16_t type, uint16_t code, int32_t value) argument
209 BTIF_TRACE_DEBUG("%s type:%u code:%u value:%d", __FUNCTION__,
210 type, code, value);
213 event.code = code;
448 BTIF_TRACE_ERROR("%s Connect failed with error code: %d",
697 if (pmeta_msg->code >= AVRC_RSP_NOT_IMPL)
709 BTIF_TRACE_DEBUG("%s:Discard vendor dependent rsp. code
919 send_metamsg_rsp(UINT8 rc_handle, UINT8 label, tBTA_AV_CODE code, tAVRC_RESPONSE *pmetamsg_resp) argument
[all...]
/system/core/healthd/
H A Dhealthd_mode_charger.cpp459 static int set_key_callback(int code, int value, void *data) argument
465 if (code > KEY_MAX)
469 if (charger->keys[code].down == down)
475 charger->keys[code].timestamp = now;
476 charger->keys[code].down = down;
477 charger->keys[code].pending = true;
479 LOGV("[%" PRId64 "] key[%d] down\n", now, code);
481 int64_t duration = now - charger->keys[code].timestamp;
485 now, code, secs, msecs);
496 set_key_callback(ev->code, e
509 process_key(struct charger *charger, int code, int64_t now) argument
[all...]
/system/core/libutils/
H A DProcessCallStack.cpp161 int code; local
162 while ((code = readdir_r(dp, &entry, &ep)) == 0 && ep != NULL) {
197 if (code != 0) { // returns positive error value on error
199 __FUNCTION__, PATH_SELF_TASK, -code, strerror(code));
/system/core/gatekeeperd/
H A DIGateKeeperService.h104 virtual status_t onTransact(uint32_t code, const Parcel& data, Parcel* reply,
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp83 virtual status_t onTransact(uint32_t code,
312 status_t AddIntsService::onTransact(uint32_t code, const Parcel &data, argument
330 switch (code) {
338 cerr << "server onTransact unknown code, code: " << code << endl;

Completed in 2494 milliseconds

123