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

1234567

/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/update_engine/common/
H A Derror_code_utils.h29 std::string ErrorCodeToString(ErrorCode code);
H A Derror_code_utils.cc26 string ErrorCodeToString(ErrorCode code) { argument
27 // If the given code has both parts (i.e. the error code part and the flags
29 // has case statements only for the base error code or a single flag but
31 if ((static_cast<int>(code) & static_cast<int>(ErrorCode::kSpecialFlags)) &&
32 (static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags)))
33 code = static_cast<ErrorCode>(
34 static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags));
35 switch (code) {
155 return "Unknown error: " + base::UintToString(static_cast<unsigned>(code));
[all...]
H A Daction_processor.cc108 ErrorCode code) {
111 delegate_->ActionCompleted(this, actionptr, code);
113 current_action_->ActionCompleted(code);
119 << " with code " << utils::ErrorCodeToString(code);
120 if (!actions_.empty() && code != ErrorCode::kSuccess) {
128 suspended_error_code_ = code;
131 StartNextActionOrFinish(code);
134 void ActionProcessor::StartNextActionOrFinish(ErrorCode code) { argument
137 delegate_->ProcessingDone(this, code);
107 ActionComplete(AbstractAction* actionptr, ErrorCode code) argument
[all...]
H A Daction_processor.h28 // is based on the KSAction* classes from the Google Update Engine code at
29 // http://code.google.com/p/update-engine/ . The author of this file sends
89 void ActionComplete(AbstractAction* actionptr, ErrorCode code);
93 // the passed error code. If there are no more actions to process, the
95 void StartNextActionOrFinish(ErrorCode code);
105 // being suspended. This error code is stored here to be reported back to the
126 // to the ActionProcessor is passed. |code| is set to the exit code of the
129 ErrorCode code) {}
139 ErrorCode code) {}
128 ProcessingDone(const ActionProcessor* processor, ErrorCode code) argument
137 ActionCompleted(ActionProcessor* processor, AbstractAction* action, ErrorCode code) argument
[all...]
H A Dhttp_common.cc27 const char *GetHttpResponseDescription(HttpResponseCode code) { argument
29 HttpResponseCode code; member in struct:chromeos_update_engine::__anon2683
60 if ((is_found = (http_response_table[i].code == code)))
/system/bt/bta/ag/
H A Dbta_ag_rfc.cc43 void bta_ag_port_cback_1(uint32_t code, uint16_t port_handle);
44 void bta_ag_port_cback_2(uint32_t code, uint16_t port_handle);
45 void bta_ag_port_cback_3(uint32_t code, uint16_t port_handle);
46 void bta_ag_port_cback_4(uint32_t code, uint16_t port_handle);
47 void bta_ag_port_cback_5(uint32_t code, uint16_t port_handle);
48 void bta_ag_port_cback_6(uint32_t code, uint16_t port_handle);
49 void bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle);
50 void bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle);
51 void bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle);
52 void bta_ag_mgmt_cback_4(uint32_t code, uint16_
76 bta_ag_port_cback(UNUSED_ATTR uint32_t code, uint16_t port_handle, uint16_t handle) argument
108 bta_ag_mgmt_cback(uint32_t code, uint16_t port_handle, uint16_t handle) argument
173 bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle) argument
176 bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle) argument
179 bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle) argument
182 bta_ag_mgmt_cback_4(uint32_t code, uint16_t port_handle) argument
185 bta_ag_mgmt_cback_5(uint32_t code, uint16_t port_handle) argument
188 bta_ag_mgmt_cback_6(uint32_t code, uint16_t port_handle) argument
191 bta_ag_port_cback_1(uint32_t code, uint16_t port_handle) argument
194 bta_ag_port_cback_2(uint32_t code, uint16_t port_handle) argument
197 bta_ag_port_cback_3(uint32_t code, uint16_t port_handle) argument
200 bta_ag_port_cback_4(uint32_t code, uint16_t port_handle) argument
203 bta_ag_port_cback_5(uint32_t code, uint16_t port_handle) argument
206 bta_ag_port_cback_6(uint32_t code, uint16_t port_handle) argument
[all...]
/system/netd/libnetdutils/include/netdutils/
H A DStatus.h28 // or moderate performance code. This can definitely be improved but
35 explicit Status(int code) : mCode(code) {} argument
37 Status(int code, const std::string& msg) : mCode(code), mMsg(msg) { assert(!ok()); } argument
39 int code() const { return mCode; } function in class:android::netdutils::Status
41 bool ok() const { return code() == 0; }
45 bool operator==(const Status& other) const { return code() == other.code(); }
/system/core/libunwindstack/include/unwindstack/
H A DError.h35 ErrorCode code; member in struct:unwindstack::ErrorData
36 uint64_t address; // Only valid when code is ERROR_MEMORY_INVALID.
H A DDwarfError.h38 DwarfErrorCode code; member in struct:unwindstack::DwarfErrorData
/system/netd/libnetdutils/
H A DStatus.cpp33 return status.code() == err;
40 return binder::Status::fromServiceSpecificError(status.code(), status.msg().c_str());
50 return os << "Status[code: " << s.code() << ", msg: \"" << s.msg() << "\"]";
/system/core/libunwindstack/
H A DJitDebug.cpp112 JITCodeEntry32Pack code; local
113 if (!memory_->ReadFully(entry_addr_, &code, sizeof(code))) {
117 *start = code.symfile_addr;
118 *size = code.symfile_size;
119 return code.next;
123 JITCodeEntry32Pad code; local
124 if (!memory_->ReadFully(entry_addr_, &code, sizeof(code))) {
128 *start = code
134 JITCodeEntry64 code; local
[all...]
H A DDwarfSection.cpp53 last_error_.code = DWARF_ERROR_ILLEGAL_STATE;
61 last_error_.code = DWARF_ERROR_NONE;
64 last_error_.code = DWARF_ERROR_ILLEGAL_STATE;
99 last_error_.code = DWARF_ERROR_ILLEGAL_STATE;
104 last_error_.code = DWARF_ERROR_NOT_IMPLEMENTED;
132 last_error_.code = DWARF_ERROR_MEMORY_INVALID;
143 last_error_.code = DWARF_ERROR_ILLEGAL_VALUE;
158 last_error_.code = DWARF_ERROR_MEMORY_INVALID;
187 last_error_.code = DWARF_ERROR_ILLEGAL_VALUE;
194 last_error_.code
[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/netd/server/dns/
H A DDnsTlsDispatcher.cpp87 DnsTlsTransport::Response code = DnsTlsTransport::Response::internal_error; local
89 code = this->query(server, mark, query, ans, resplen);
90 switch (code) {
95 return code;
107 return code;
131 DnsTlsTransport::Response code = result.code; local
132 if (code == DnsTlsTransport::Response::success) {
135 code = DnsTlsTransport::Response::limit_error;
142 ALOGV("Query failed: %u", (unsigned int) code);
[all...]
/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);
/system/core/libsysutils/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);
/system/extras/tests/workloads/
H A Dcapture.sh63 code=$4
65 case $code in
72 (--) echo unknown code=$code;;
/system/bt/service/
H A Dlogging_helpers.cc22 #define CASE_RETURN_TEXT(code) \
23 case code: \
24 return #code
62 return "unknown state code";
71 return "unknown discovery state code";
100 return "unknown status code";
130 return "unknown state code";
134 const char* BtAclText(const bt_acl_state_t code) { argument
135 switch (code) {
139 return "unknown ACL code";
[all...]
/system/core/libpixelflinger/tests/arch-mips64/disassembler/
H A Dmips64_disassembler_test.cpp8 * * Redistributions of source code must retain the above copyright
38 uint32_t code; member in struct:test_table_entry_t
120 uint32_t code; member in struct:test_branches_table_entry_t
137 uint32_t code; member in struct:test_jump_table_entry_t
156 mips_disassem(&test->code, instr, 0);
162 "Actual : %s\n", test->code, test->instr, instr);
170 mips_disassem(&test->code, instr, 0);
171 //printf("DBG code address: %lx\n", (uint64_t)(&test->code));
183 "Actual : %s\n", test->code, tem
[all...]
/system/connectivity/wificond/tests/
H A Doffload_test_utils.h38 android::hardware::wifi::offload::V1_0::OffloadStatusCode code);
41 android::hardware::wifi::offload::V1_0::OffloadStatusCode code,
/system/media/audio_utils/
H A DErrorLog.cpp31 void error_log_log(error_log_t *error_log, int32_t code, int64_t now_ns) argument
36 reinterpret_cast<ErrorLog<int32_t> *>(error_log)->log(code, now_ns);
/system/core/lmkd/
H A Dstatslog.c36 stats_write_lmk_state_changed(android_log_context ctx, int32_t code, int32_t state) { argument
49 if ((ret = android_log_write_int32(ctx, code)) < 0) {
65 stats_write_lmk_kill_occurred(android_log_context ctx, int32_t code, int32_t uid, argument
80 if ((ret = android_log_write_int32(ctx, code)) < 0) {
/system/core/libsysutils/src/
H A DSocketClient.cpp71 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { argument
72 return sendMsg(code, msg, addErrno, mUseCmdNum);
75 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { argument
81 ret = asprintf(&buf, "%d %d %s (%s)", code, getCmdNum(), msg, strerror(errno));
83 ret = asprintf(&buf, "%d %s (%s)", code, msg, strerror(errno));
87 ret = asprintf(&buf, "%d %d %s", code, getCmdNum(), msg);
89 ret = asprintf(&buf, "%d %s", code, msg);
100 // send 3-digit code, null, binary-length, binary data
101 int SocketClient::sendBinaryMsg(int code, const void *data, int len) { argument
103 // 4 bytes for the code
125 sendCode(int code) argument
[all...]

Completed in 595 milliseconds

1234567