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

123456

/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) {
149 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::__anon1979
60 if ((is_found = (http_response_table[i].code == code)))
H A Dhttp_common.h54 // Returns a standard HTTP status line string for a given response code.
55 const char *GetHttpResponseDescription(HttpResponseCode code);
57 // Converts a string beginning with an HTTP error code into numerical value.
/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
91 UNUSED(code);
120 static void bta_ag_mgmt_cback(UINT32 code, UINT16 port_handle, UINT16 handle) argument
127 APPL_TRACE_DEBUG("ag_mgmt_cback : code
212 bta_ag_mgmt_cback_1(UINT32 code, UINT16 handle) argument
213 bta_ag_mgmt_cback_2(UINT32 code, UINT16 handle) argument
214 bta_ag_mgmt_cback_3(UINT32 code, UINT16 handle) argument
215 bta_ag_port_cback_1(UINT32 code, UINT16 handle) argument
216 bta_ag_port_cback_2(UINT32 code, UINT16 handle) argument
217 bta_ag_port_cback_3(UINT32 code, UINT16 handle) argument
[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/update_engine/
H A Dmetrics_utils.h30 // This obviously only works for errors related to downloading so if |code|
33 metrics::DownloadErrorCode GetDownloadErrorCode(ErrorCode code);
39 metrics::AttemptResult GetAttemptResult(ErrorCode code);
/system/bt/service/common/bluetooth/binder/
H A DIBluetoothCallback.cpp38 uint32_t code,
42 VLOG(2) << "IBluetoothCallback transaction: " << code;
46 switch (code) {
59 return BBinder::onTransact(code, data, reply, flags);
37 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DIBluetoothGattClientCallback.cpp38 uint32_t code,
42 VLOG(2) << "IBluetoothGattClientCallback: " << code;
46 switch (code) {
54 return BBinder::onTransact(code, data, reply, flags);
37 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
H A DIBluetoothGattClient.cpp39 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
40 VLOG(2) << "IBluetoothGattClient: " << code;
44 switch (code) {
62 return BBinder::onTransact(code, data, reply, flags);
38 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/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/extras/tests/workloads/
H A Dcapture.sh63 code=$4
65 case $code in
72 (--) echo unknown code=$code;;
/system/nativepower/include/nativepower/
H A DBnPowerManager.h29 status_t onTransact(uint32_t code,
/system/bt/service/
H A Dlogging_helpers.cpp22 #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/shill/
H A Deap_protocol.h46 uint8_t code; variable
48 uint16_t length; // including code and identifier; network byte order
/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
45 UNUSED(code);
71 static void bta_hf_client_mgmt_cback(UINT32 code, UINT16 port_handle) argument
75 APPL_TRACE_DEBUG("bta_hf_client_mgmt_cback : code = %d, port_handle = %d, conn_handle = %d, serv_handle = %d",
76 code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle);
79 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle))
85 if (code == PORT_SUCCESS)
/system/update_engine/payload_consumer/
H A Dxz_extent_writer.cc35 #define __XZ_ERROR_STRING_CASE(code) case code: return #code;

Completed in 6789 milliseconds

123456