/system/core/libpixelflinger/codeflinger/ |
H A D | Arm64Disassembler.h | 8 * * Redistributions of source code must retain the above copyright 33 int arm64_disassemble(uint32_t code, char* instr);
|
H A D | Arm64Disassembler.cpp | 8 * * 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 D | error_code_utils.h | 29 std::string ErrorCodeToString(ErrorCode code);
|
H A D | error_code_utils.cc | 26 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) { 151 return "Unknown error: " + base::UintToString(static_cast<unsigned>(code)); [all...] |
H A D | action_processor.cc | 108 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 D | action_processor.h | 28 // 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 D | http_common.cc | 27 const char *GetHttpResponseDescription(HttpResponseCode code) { argument 29 HttpResponseCode code; member in struct:chromeos_update_engine::__anon2549 60 if ((is_found = (http_response_table[i].code == code)))
|
H A D | http_common.h | 54 // 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 D | bta_ag_rfc.cc | 44 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, argument 109 static void bta_ag_mgmt_cback(uint32_t code, uint16_t port_handle, argument 116 APPL_TRACE_DEBUG("ag_mgmt_cback : code = %d, port_handle = %d, handle = %d", 117 code, port_handl 191 bta_ag_mgmt_cback_1(uint32_t code, uint16_t handle) argument 194 bta_ag_mgmt_cback_2(uint32_t code, uint16_t handle) argument 197 bta_ag_mgmt_cback_3(uint32_t code, uint16_t handle) argument 200 bta_ag_port_cback_1(uint32_t code, uint16_t handle) argument 203 bta_ag_port_cback_2(uint32_t code, uint16_t handle) argument 206 bta_ag_port_cback_3(uint32_t code, uint16_t handle) argument [all...] |
/system/extras/tests/sdcard/ |
H A D | sysutil.h | 8 * * 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 D | metrics_utils.h | 30 // 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/core/include/sysutils/ |
H A D | SocketClient.h | 48 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 D | SocketClient.h | 48 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 D | capture.sh | 63 code=$4 65 case $code in 72 (--) echo unknown code=$code;;
|
/system/bt/service/ |
H A D | logging_helpers.cc | 22 #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 D | mips64_disassembler_test.cpp | 8 * * 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/media/audio_utils/ |
H A D | ErrorLog.cpp | 31 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/extras/perfprofd/quipper/base/ |
H A D | compiler_specific.h | 2 // 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/core/libsysutils/src/ |
H A D | SocketClient.cpp | 71 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...] |
/system/update_engine/payload_consumer/ |
H A D | filesystem_verifier_action_unittest.cc | 81 void ProcessingDone(const ActionProcessor* processor, ErrorCode code) { argument 89 ErrorCode code) { 92 code_ = code; 96 ErrorCode code() const { return code_; } function in class:chromeos_update_engine::FilesystemVerifierActionTestDelegate 196 EXPECT_EQ(ErrorCode::kError, delegate.code()); 197 return (ErrorCode::kError == delegate.code()); 201 EXPECT_EQ(expected_exit_code, delegate.code()); 202 return (expected_exit_code == delegate.code()); 204 EXPECT_EQ(ErrorCode::kSuccess, delegate.code()); 227 ErrorCode code) { 87 ActionCompleted(ActionProcessor* processor, AbstractAction* action, ErrorCode code) argument 225 ActionCompleted(ActionProcessor* processor, AbstractAction* action, ErrorCode code) argument [all...] |
H A D | xz_extent_writer.cc | 35 #define __XZ_ERROR_STRING_CASE(code) case code: return #code;
|
/system/media/audio_utils/include/audio_utils/ |
H A D | ErrorLog.h | 38 * together with the first time the error code occurs and the last time the error code occurs. 40 * The type T represents the error code type and is an int32_t for the C API. 61 * \brief Adds new error code to the error log. 63 * Consecutive errors with the same code will be aggregated 66 * \param code error code of type T. 69 void log(const T &code, int64_t nowNs) argument 76 if (code == mEntries[mIdx].mCode 87 mEntries[mIdx].setFirstError(code, nowN 171 setFirstError(T code, int64_t time) argument [all...] |
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_rfc.cc | 46 static void bta_hf_client_port_cback(UNUSED_ATTR uint32_t code, argument 73 static void bta_hf_client_mgmt_cback(uint32_t code, uint16_t port_handle) { argument 77 APPL_TRACE_DEBUG("%s: code = %d, port_handle = %d serv = %d", __func__, code, 81 if (code != PORT_SUCCESS && client_cb != NULL && 91 if (code == PORT_SUCCESS) { 129 port_handle == client_cb->conn_handle) { /* code != PORT_SUC */
|
/system/vold/ |
H A D | vdc.cpp | 160 int code = atoi(strtok(res, " ")); local 161 if (code >= 200 && code < 600) { 164 if (code == 200) { 167 return code;
|
/system/core/toolbox/ |
H A D | getevent.c | 211 static void print_event(int type, int code, int value, int print_flags) argument 222 code_label = get_label(syn_labels, code); 225 code_label = get_label(key_labels, code); 229 code_label = get_label(rel_labels, code); 232 code_label = get_label(abs_labels, code); 233 switch(code) { 239 code_label = get_label(msc_labels, code); 242 code_label = get_label(led_labels, code); 245 code_label = get_label(snd_labels, code); 248 code_label = get_label(sw_labels, code); [all...] |