Home
last modified time | relevance | path

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

12345678910>>...17

/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);
47 void bta_ag_port_cback_4(uint32_t code, uint16_t port_handle);
48 void bta_ag_port_cback_5(uint32_t code, uint16_t port_handle);
49 void bta_ag_port_cback_6(uint32_t code, uint16_t port_handle);
50 void bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle);
51 void bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle);
52 void bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle);
53 void bta_ag_mgmt_cback_4(uint32_t code, uint16_t port_handle);
[all …]
/system/core/libunwindstack/
DJitDebug.cpp112 JITCodeEntry32Pack code; in ReadEntry32Pack() local
113 if (!memory_->ReadFully(entry_addr_, &code, sizeof(code))) { in ReadEntry32Pack()
117 *start = code.symfile_addr; in ReadEntry32Pack()
118 *size = code.symfile_size; in ReadEntry32Pack()
119 return code.next; in ReadEntry32Pack()
123 JITCodeEntry32Pad code; in ReadEntry32Pad() local
124 if (!memory_->ReadFully(entry_addr_, &code, sizeof(code))) { in ReadEntry32Pad()
128 *start = code.symfile_addr; in ReadEntry32Pad()
129 *size = code.symfile_size; in ReadEntry32Pad()
130 return code.next; in ReadEntry32Pad()
[all …]
DDwarfSection.cpp43 last_error_.code = DWARF_ERROR_NONE; in Step()
46 last_error_.code = DWARF_ERROR_ILLEGAL_STATE; in Step()
86 last_error_.code = DWARF_ERROR_MEMORY_INVALID; in FillInCieHeader()
94 last_error_.code = DWARF_ERROR_MEMORY_INVALID; in FillInCieHeader()
104 last_error_.code = DWARF_ERROR_MEMORY_INVALID; in FillInCieHeader()
110 last_error_.code = DWARF_ERROR_ILLEGAL_VALUE; in FillInCieHeader()
120 last_error_.code = DWARF_ERROR_MEMORY_INVALID; in FillInCieHeader()
126 last_error_.code = DWARF_ERROR_ILLEGAL_VALUE; in FillInCieHeader()
136 last_error_.code = DWARF_ERROR_MEMORY_INVALID; in FillInCie()
143 last_error_.code = DWARF_ERROR_UNSUPPORTED_VERSION; in FillInCie()
[all …]
DElfInterfaceArm.cpp39 last_error_.code = ERROR_UNWIND_INFO; in FindEntry()
68 last_error_.code = ERROR_UNWIND_INFO; in FindEntry()
75 last_error_.code = ERROR_MEMORY_INVALID; in GetPrel31Addr()
115 last_error_.code = ERROR_UNWIND_INFO; in StepExidx()
151 last_error_.code = ERROR_NONE; in StepExidx()
160 last_error_.code = ERROR_UNWIND_INFO; in StepExidx()
164 last_error_.code = ERROR_MEMORY_INVALID; in StepExidx()
DDwarfEhFrameWithHdr.cpp47 last_error_.code = DWARF_ERROR_MEMORY_INVALID; in Init()
55 last_error_.code = DWARF_ERROR_UNSUPPORTED_VERSION; in Init()
68 last_error_.code = DWARF_ERROR_ILLEGAL_VALUE; in Init()
74 last_error_.code = DWARF_ERROR_MEMORY_INVALID; in Init()
81 last_error_.code = DWARF_ERROR_MEMORY_INVALID; in Init()
87 last_error_.code = DWARF_ERROR_NO_FDES; in Init()
114 last_error_.code = DWARF_ERROR_ILLEGAL_STATE; in GetFdeFromPc()
133 last_error_.code = DWARF_ERROR_MEMORY_INVALID; in GetFdeInfoFromIndex()
/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/netd/libnetdutils/include/netdutils/
DStatus.h37 explicit Status(int code) : mCode(code) {} in Status() argument
40 Status(int code, std::string msg) : mCode(code), mMsg(std::move(msg)) { assert(!ok()); } in Status() argument
42 int code() const { return mCode; } in code() function
44 bool ok() const { return code() == 0; } in ok()
51 bool operator==(const Status& other) const { return code() == other.code(); }
/system/update_engine/common/
Daction_processor.cc109 ErrorCode code) { in ActionComplete() argument
112 delegate_->ActionCompleted(this, actionptr, code); in ActionComplete()
114 current_action_->ActionCompleted(code); in ActionComplete()
119 << 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>(static_cast<int>(code) & in ErrorCodeToString()
35 switch (code) { in ErrorCodeToString()
168 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.h92 void ActionComplete(AbstractAction* actionptr, ErrorCode code);
100 void StartNextActionOrFinish(ErrorCode code);
134 ErrorCode code) {} in ProcessingDone() argument
144 ErrorCode code) {} in ActionCompleted() argument
/system/tools/xsdc/src/com/android/xsdc/
DCodeWriter.java46 public void println(String code) { in println() argument
47 print(code + "\n"); in println()
50 public void print(String code) { in print() argument
51 String[] lines = code.split("\n", -1); in print()
72 public void printf(String code, Object... arguments) { in printf() argument
73 print(String.format(code, arguments)); in printf()
/system/netd/libnetdutils/
DStatusTest.cpp35 EXPECT_EQ(1, status2.code()); in TEST()
40 EXPECT_EQ(1, status3.code()); in TEST()
47 EXPECT_EQ(4, status6.code()); in TEST()
52 EXPECT_EQ(42, s.code()); in TEST()
64 EXPECT_EQ(42, s.code()); in TEST()
70 EXPECT_EQ(666, s.code()); in TEST()
78 EXPECT_EQ(666, s.code()); in TEST()
/system/netd/resolv/
DDnsTlsDispatcher.cpp92 DnsTlsTransport::Response code = DnsTlsTransport::Response::internal_error; in query() local
94 code = this->query(server, mark, query, ans, resplen); in query()
95 switch (code) { in query()
100 return code; in query()
112 return code; in query()
136 DnsTlsTransport::Response code = result.code; in query() local
137 if (code == DnsTlsTransport::Response::success) { in query()
140 code = DnsTlsTransport::Response::limit_error; in query()
147 ALOGV("Query failed: %u", (unsigned int) code); in query()
157 return code; in query()
/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/core/libsysutils/src/
DSocketClient.cpp73 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { in sendMsg() argument
74 return sendMsg(code, msg, addErrno, mUseCmdNum); in sendMsg()
77 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { in sendMsg() argument
83 ret = asprintf(&buf, "%d %d %s (%s)", code, getCmdNum(), msg, strerror(errno)); in sendMsg()
85 ret = asprintf(&buf, "%d %s (%s)", code, msg, strerror(errno)); in sendMsg()
89 ret = asprintf(&buf, "%d %d %s", code, getCmdNum(), msg); in sendMsg()
91 ret = asprintf(&buf, "%d %s", code, msg); in sendMsg()
103 int SocketClient::sendBinaryMsg(int code, const void *data, int len) { in sendBinaryMsg() argument
108 snprintf(buf, 4, "%.3d", code); in sendBinaryMsg()
127 int SocketClient::sendCode(int code) { in sendCode() argument
[all …]
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dhci_socket.py200 bind_layers(HCI_Event_Hdr, HCI_Event_Inquiry_Result, code=0x02)
201 bind_layers(HCI_Event_Hdr, HCI_Event_Connection_Complete, code=0x03)
202 bind_layers(HCI_Event_Hdr, HCI_Event_Remote_Name_Request_Complete, code=0x07)
204 HCI_Event_Hdr, HCI_Event_Read_Remote_Supported_Features_Complete, code=0x0b)
208 code=0x0c)
209 bind_layers(HCI_Event_Hdr, HCI_Event_Read_Clock_Offset_Complete, code=0x1c)
211 HCI_Event_Hdr, HCI_Event_Read_Remote_Extended_Features_Complete, code=0x23)
212 bind_layers(HCI_Event_Hdr, HCI_Event_Extended_Inquiry_Result, code=0x2f)
324 ).type and response[HCI_Event_Hdr].code == 0xf and response[
337 connection_complete[HCI_Event_Hdr].code == 0x3):
[all …]
/system/core/libsysutils/include/sysutils/
DSocketClient.h46 int sendMsg(int code, const char *msg, bool addErrno);
47 int sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum);
52 int sendCode(int code);
57 int sendBinaryMsg(int code, const void *data, int len);
/system/extras/tests/workloads/
Dcapture.sh63 code=$4
65 case $code in
72 (--) echo unknown code=$code;;
/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/extras/power_profile/gps_on/Application/
Dbuild.gradle22 // keep boilerplate and common code separate from
23 // the main sample code.
25 'main', // main sample code; look here for the interesting stuff.
27 'template'] // boilerplate code that is generated by the sample template process
/system/update_engine/payload_consumer/
Dfilesystem_verifier_action_unittest.cc61 void ProcessingDone(const ActionProcessor* processor, ErrorCode code) { in ProcessingDone() argument
69 ErrorCode code) { in ActionCompleted() argument
72 code_ = code; in ActionCompleted()
82 ErrorCode code() const { return code_; } in code() function in chromeos_update_engine::FilesystemVerifierActionTestDelegate
161 EXPECT_EQ(ErrorCode::kError, delegate.code()); in DoTest()
162 return (ErrorCode::kError == delegate.code()); in DoTest()
166 EXPECT_EQ(expected_exit_code, delegate.code()); in DoTest()
167 return (expected_exit_code == delegate.code()); in DoTest()
169 EXPECT_EQ(ErrorCode::kSuccess, delegate.code()); in DoTest()
209 ErrorCode code) { in ActionCompleted() argument
[all …]
/system/bt/build/
DAndroid.bp40 // there are too many unused parameters in all the code.
76 // Enables code coverage for a set of source files. Must be combined with
78 // on generating code coverage.
91 // Enabled code coverage on a binary. These flags allow libraries that were
94 // these flags themselves don't enable code coverage for the source files
96 // on generating code coverage.
/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

12345678910>>...17