Home
last modified time | relevance | path

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

12345678910

/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 …]
/system/bt/bta/ag/
Dbta_ag_rfc.cc44 void bta_ag_port_cback_1(uint32_t code, uint16_t port_handle);
45 void bta_ag_port_cback_2(uint32_t code, uint16_t port_handle);
46 void bta_ag_port_cback_3(uint32_t code, uint16_t port_handle);
48 void bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle);
49 void bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle);
50 void bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle);
78 static void bta_ag_port_cback(UNUSED_ATTR uint32_t code, uint16_t port_handle, in bta_ag_port_cback() argument
109 static void bta_ag_mgmt_cback(uint32_t code, uint16_t port_handle, in bta_ag_mgmt_cback() argument
117 code, port_handle, handle); in bta_ag_mgmt_cback()
122 if ((code != PORT_SUCCESS) && (port_handle != p_scb->conn_handle)) { in bta_ag_mgmt_cback()
[all …]
/system/core/libpixelflinger/tests/arch-mips64/disassembler/
Dmips64_disassembler_test.cpp38 uint32_t code; member
120 uint32_t code; member
137 uint32_t code; member
156 mips_disassem(&test->code, instr, 0); in main()
162 "Actual : %s\n", test->code, test->instr, instr); in main()
170 mips_disassem(&test->code, instr, 0); in main()
183 "Actual : %s\n", test->code, temp, instr); in main()
191 mips_disassem(&test->code, instr, 0); in main()
204 "Actual : '%s'\n", test->code, temp, instr); in main()
/system/update_engine/common/
Daction_processor.cc108 ErrorCode code) { in ActionComplete() argument
111 delegate_->ActionCompleted(this, actionptr, code); in ActionComplete()
113 current_action_->ActionCompleted(code); in ActionComplete()
119 << " with code " << utils::ErrorCodeToString(code); in ActionComplete()
120 if (!actions_.empty() && code != ErrorCode::kSuccess) { in ActionComplete()
128 suspended_error_code_ = code; in ActionComplete()
131 StartNextActionOrFinish(code); in ActionComplete()
134 void ActionProcessor::StartNextActionOrFinish(ErrorCode code) { in StartNextActionOrFinish() argument
137 delegate_->ProcessingDone(this, code); in StartNextActionOrFinish()
Derror_code_utils.cc26 string ErrorCodeToString(ErrorCode code) { in ErrorCodeToString() argument
31 if ((static_cast<int>(code) & static_cast<int>(ErrorCode::kSpecialFlags)) && in ErrorCodeToString()
32 (static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags))) in ErrorCodeToString()
33 code = static_cast<ErrorCode>( in ErrorCodeToString()
34 static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags)); in ErrorCodeToString()
35 switch (code) { in ErrorCodeToString()
151 return "Unknown error: " + base::UintToString(static_cast<unsigned>(code)); in ErrorCodeToString()
Dhttp_common.cc27 const char *GetHttpResponseDescription(HttpResponseCode code) { in GetHttpResponseDescription() argument
29 HttpResponseCode code; in GetHttpResponseDescription() member
60 if ((is_found = (http_response_table[i].code == code))) in GetHttpResponseDescription()
Daction_processor.h89 void ActionComplete(AbstractAction* actionptr, ErrorCode code);
95 void StartNextActionOrFinish(ErrorCode code);
129 ErrorCode code) {} in ProcessingDone() argument
139 ErrorCode code) {} in ActionCompleted() argument
/system/core/libsysutils/src/
DSocketClient.cpp71 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { in sendMsg() argument
72 return sendMsg(code, msg, addErrno, mUseCmdNum); in sendMsg()
75 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { in sendMsg() argument
81 ret = asprintf(&buf, "%d %d %s (%s)", code, getCmdNum(), msg, strerror(errno)); in sendMsg()
83 ret = asprintf(&buf, "%d %s (%s)", code, msg, strerror(errno)); in sendMsg()
87 ret = asprintf(&buf, "%d %d %s", code, getCmdNum(), msg); in sendMsg()
89 ret = asprintf(&buf, "%d %s", code, msg); in sendMsg()
101 int SocketClient::sendBinaryMsg(int code, const void *data, int len) { in sendBinaryMsg() argument
106 snprintf(buf, 4, "%.3d", code); in sendBinaryMsg()
125 int SocketClient::sendCode(int code) { in sendCode() argument
[all …]
/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/update_engine/payload_consumer/
Dfilesystem_verifier_action_unittest.cc81 void ProcessingDone(const ActionProcessor* processor, ErrorCode code) { in ProcessingDone() argument
89 ErrorCode code) { in ActionCompleted() argument
92 code_ = code; in ActionCompleted()
96 ErrorCode code() const { return code_; } in code() function in chromeos_update_engine::FilesystemVerifierActionTestDelegate
196 EXPECT_EQ(ErrorCode::kError, delegate.code()); in DoTest()
197 return (ErrorCode::kError == delegate.code()); in DoTest()
201 EXPECT_EQ(expected_exit_code, delegate.code()); in DoTest()
202 return (expected_exit_code == delegate.code()); in DoTest()
204 EXPECT_EQ(ErrorCode::kSuccess, delegate.code()); in DoTest()
227 ErrorCode code) { in ActionCompleted() argument
[all …]
/system/extras/tests/workloads/
Dcapture.sh63 code=$4
65 case $code in
72 (--) echo unknown code=$code;;
/system/core/libsysutils/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);
/system/bt/service/
Dlogging_helpers.cc22 #define CASE_RETURN_TEXT(code) \ argument
23 case code: \
24 return #code
134 const char* BtAclText(const bt_acl_state_t code) { in BtAclText() argument
135 switch (code) { in BtAclText()
/system/media/audio_utils/include/audio_utils/
DErrorLog.h69 void log(const T &code, int64_t nowNs) in log() argument
76 if (code == mEntries[mIdx].mCode in log()
87 mEntries[mIdx].setFirstError(code, nowNs); in log()
171 void setFirstError(T code, int64_t time) { in setFirstError()
172 mCode = code; in setFirstError()
224 void error_log_log(error_log_t *error_log, int32_t code, int64_t now_ns);
/system/chre/host/msm/daemon/idl/
DREADME.md2 generated code using the QAIC tool included in the Hexagon SDK. This generated
3 code is checked in to allow compilation of the daemon code without a dependency
/system/core/toolbox/
Dgetevent.c211 static void print_event(int type, int code, int value, int print_flags) in print_event() argument
222 code_label = get_label(syn_labels, code); in print_event()
225 code_label = get_label(key_labels, code); in print_event()
229 code_label = get_label(rel_labels, code); in print_event()
232 code_label = get_label(abs_labels, code); in print_event()
233 switch(code) { in print_event()
239 code_label = get_label(msc_labels, code); in print_event()
242 code_label = get_label(led_labels, code); in print_event()
245 code_label = get_label(snd_labels, code); in print_event()
248 code_label = get_label(sw_labels, code); in print_event()
[all …]
/system/vold/
Dvdc.cpp160 int code = atoi(strtok(res, " ")); in do_monitor() local
161 if (code >= 200 && code < 600) { in do_monitor()
164 if (code == 200) { in do_monitor()
167 return code; in do_monitor()
/system/extras/perfprofd/quipper/base/
Dcompiler_specific.h55 #define NON_EXPORTED_BASE(code) MSVC_SUPPRESS_WARNING(4275) \ argument
56 code
66 #define NON_EXPORTED_BASE(code) code argument
/system/libhwbinder/
DIPCThreadState.cpp130 << "code=" << TypeCode(btd->code) << ", flags=" << (void*)(long)btd->flags << endl in printBinderTransactionData()
142 uint32_t code = (uint32_t)*cmd++; in printReturnCommand() local
143 size_t cmdIndex = code & 0xff; in printReturnCommand()
144 if (code == BR_ERROR) { in printReturnCommand()
148 out << "Unknown reply: " << code << endl; in printReturnCommand()
153 switch (code) { in printReturnCommand()
203 uint32_t code = (uint32_t)*cmd++; in printCommand() local
204 size_t cmdIndex = code & 0xff; in printCommand()
207 out << "Unknown command: " << code << endl; in printCommand()
212 switch (code) { in printCommand()
[all …]
/system/bt/bta/hf_client/
Dbta_hf_client_rfc.cc46 static void bta_hf_client_port_cback(UNUSED_ATTR uint32_t code, in bta_hf_client_port_cback() argument
73 static void bta_hf_client_mgmt_cback(uint32_t code, uint16_t port_handle) { in bta_hf_client_mgmt_cback() argument
77 APPL_TRACE_DEBUG("%s: code = %d, port_handle = %d serv = %d", __func__, code, in bta_hf_client_mgmt_cback()
81 if (code != PORT_SUCCESS && client_cb != NULL && in bta_hf_client_mgmt_cback()
91 if (code == PORT_SUCCESS) { in bta_hf_client_mgmt_cback()
/system/tpm/attestation/
Dattestation.gyp27 # We need this include dir because we include all the local code as
37 # Use -fPIC so this code can be linked into a shared library.
57 # A library for common code.
79 # A library for client code.
83 # Use -fPIC so this code can be linked into a shared library.
121 # A library for server code.
/system/core/libappfuse/tests/
DFuseAppLoopTest.cc36 uint32_t code; member
56 requests.push_back({.code = FUSE_FSYNC, .inode = inode}); in OnFsync()
62 requests.push_back({.code = FUSE_WRITE, .inode = inode}); in OnWrite()
68 requests.push_back({.code = FUSE_READ, .inode = inode}); in OnRead()
73 requests.push_back({.code = FUSE_OPEN, .inode = inode}); in OnOpen()
78 requests.push_back({.code = FUSE_RELEASE, .inode = inode}); in OnRelease()
101 size_t data_size, uint32_t code, size_t expected_out_size) { in CheckCallback() argument
102 request_.Reset(data_size, code, 1); in CheckCallback()
116 EXPECT_EQ(code, callback_.requests[0].code); in CheckCallback()
/system/netd/server/
Dndc.cpp166 int code; in do_monitor() local
171 code = atoi(tmp); in do_monitor()
175 if (code >= 200 && code < 600) in do_monitor()
/system/update_engine/
Dmetrics_utils.h33 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code);
39 metrics::AttemptResult GetAttemptResult(ErrorCode code);
/system/extras/tests/sdcard/
Dsysutil.h111 void syncAndDropCaches(int code = 3);
119 void fsyncAndDropCaches(int fd, int code = 3);

12345678910