Home
last modified time | relevance | path

Searched refs:code_ (Results 1 - 25 of 59) sorted by relevance

123

/test/testfwk/arkxtest/uitest/test/
H A Dwidget_selector_test.cpp238 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
257 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
278 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
301 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
306 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
325 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
330 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
350 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
355 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
381 ASSERT_EQ(NO_ERROR, err.code_); in TEST_F()
[all...]
H A Dfrontend_api_handler_test.cpp82 ASSERT_EQ(ERR_INTERNAL, reply.exception_.code_); in TEST_F()
101 ASSERT_EQ(NO_ERROR, reply.exception_.code_); in TEST_F()
106 ASSERT_EQ(ERR_INTERNAL, reply.exception_.code_) << "The handler should be unavailable after been removed"; in TEST_F()
123 ASSERT_EQ(NO_ERROR, reply.exception_.code_); in TEST_F()
140 ASSERT_EQ(ERR_INTERNAL, reply.exception_.code_); in TEST_F()
148 auto handler = [](const ApiCallInfo &in, ApiReplyInfo &out) { out.exception_.code_ = USAGE_ERROR; }; in TEST_F()
155 ASSERT_EQ(USAGE_ERROR, reply.exception_.code_); in TEST_F()
168 out.exception_.code_ = ERR_OPERATION_UNSUPPORTED; in TEST_F()
178 ASSERT_EQ(NO_ERROR, reply.exception_.code_); in TEST_F()
185 ASSERT_EQ(ERR_OPERATION_UNSUPPORTED, reply.exception_.code_); in TEST_F()
[all...]
H A Dipc_transactor_test.cpp156 ASSERT_EQ(result.exception_.code_, ERR_API_USAGE); in TEST()
163 ASSERT_EQ(result.exception_.code_, ERR_INTERNAL); in TEST()
216 ASSERT_EQ(result.exception_.code_, NO_ERROR); in TEST()
263 ASSERT_EQ(result0.exception_.code_, NO_ERROR); in TEST()
264 ASSERT_EQ(result1.exception_.code_, ERR_API_USAGE); in TEST()
H A Dui_action_test.cpp452 ASSERT_EQ(KEYCODE_BACK, event1.code_); in TEST_F()
455 ASSERT_EQ(KEYCODE_BACK, event2.code_); in TEST_F()
470 ASSERT_EQ(KEYCODE_CTRL, event1.code_); in TEST_F()
472 ASSERT_EQ(KEYCODE_V, event2.code_); in TEST_F()
475 ASSERT_EQ(KEYCODE_CTRL, event3.code_); in TEST_F()
477 ASSERT_EQ(KEYCODE_V, event4.code_); in TEST_F()
491 ASSERT_EQ(keyCode, event1.code_); in TEST_F()
494 ASSERT_EQ(keyCode, event2.code_); in TEST_F()
/third_party/node/deps/v8/src/wasm/baseline/
H A Dliftoff-register.h222 (code_ & (3 << (2 * kBitsPerGpRegCode))); in is_pair()
226 return kNeedI64RegPair && (code_ & (1 << (2 * kBitsPerGpRegCode))) != 0; in is_gp_pair()
229 return kNeedS128RegPair && (code_ & (2 << (2 * kBitsPerGpRegCode))) != 0; in is_fp_pair()
231 constexpr bool is_gp() const { return code_ < kAfterMaxLiftoffGpRegCode; } in is_gp()
233 return code_ >= kAfterMaxLiftoffGpRegCode && in is_fp()
234 code_ < kAfterMaxLiftoffFpRegCode; in is_fp()
253 return Register::from_code(code_ & kCodeMask); in low_gp()
259 return Register::from_code((code_ >> kBitsPerGpRegCode) & kCodeMask); in high_gp()
265 return DoubleRegister::from_code(code_ & kCodeMask); in low_fp()
271 return DoubleRegister::from_code((code_ in high_fp()
313 storage_t code_; global() member in v8::internal::wasm::LiftoffRegister
[all...]
/third_party/node/deps/v8/src/parsing/
H A Dpreparser.h96 PreParserExpression() : code_(TypeField::encode(kNull)) {} in PreParserExpression()
192 return ExpressionTypeField::decode(code_) == kCallTaggedTemplateExpression; in is_tagged_template()
201 bool IsNull() const { return TypeField::decode(code_) == kNull; } in IsNull()
203 return TypeField::decode(code_) == kFailure; in IsFailureExpression()
207 return TypeField::decode(code_) == kIdentifierExpression; in IsIdentifier()
212 return PreParserIdentifier(IdentifierTypeField::decode(code_)); in AsIdentifier()
216 return TypeField::decode(code_) == kExpression && in IsAssignment()
217 ExpressionTypeField::decode(code_) == kAssignment; in IsAssignment()
221 return TypeField::decode(code_) == kObjectLiteralExpression; in IsObjectLiteral()
225 return TypeField::decode(code_) in IsArrayLiteral()
494 Type code_; global() member in v8::internal::PreParserStatement
[all...]
/third_party/node/deps/v8/src/regexp/experimental/
H A Dexperimental-compiler.cc216 // TODO(mbid,v8:10765): Use some upper bound for code_ capacity computed from
218 explicit BytecodeAssembler(Zone* zone) : zone_(zone), code_(0, zone) {} in BytecodeAssembler()
220 ZoneList<RegExpInstruction> IntoCode() && { return std::move(code_); } in IntoCode()
222 void Accept() { code_.Add(RegExpInstruction::Accept(), zone_); } in Accept()
225 code_.Add(RegExpInstruction::Assertion(t), zone_); in Assertion()
229 code_.Add(RegExpInstruction::ClearRegister(register_index), zone_); in ClearRegister()
233 code_.Add(RegExpInstruction::ConsumeRange(from, to), zone_); in ConsumeRange()
237 code_.Add(RegExpInstruction::ConsumeAnyChar(), zone_); in ConsumeAnyChar()
249 code_.Add(RegExpInstruction::SetRegisterToCp(register_index), zone_); in SetRegisterToCp()
255 int index = code_ in Bind()
293 ZoneList<RegExpInstruction> code_; global() member in v8::internal::__anon14955::BytecodeAssembler
[all...]
/third_party/vixl/src/aarch64/
H A Dregisters-aarch64.h93 : code_(0), in CPURegister()
100 : code_(code), in CPURegister()
111 unsigned GetCode() const { return code_; } in GetCode()
122 VIXL_ASSERT(code_ < kRegListSizeInBits); in GetBit()
123 return static_cast<RegList>(1) << code_; in GetBit()
217 return ((code_ < kNumberOfRegisters) || (code_ == kSPRegInternalCode)) &&
225 return (code_ < kNumberOfVRegisters) && (bank_ == kVRegisterBank) &&
239 return (code_ < kNumberOfZRegisters) && (bank_ == kVRegisterBank) &&
247 return (code_ < kNumberOfPRegister
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dcallable.h20 : code_(code), descriptor_(descriptor) {} in Callable()
22 Handle<CodeT> code() const { return code_; } in code()
26 const Handle<CodeT> code_; member in v8::internal::final
/third_party/node/deps/v8/src/snapshot/embedded/
H A Dembedded-data.h76 const uint8_t* code() const { return code_; } in code()
82 Address start = reinterpret_cast<Address>(code_); in IsInCodeRange()
124 delete[] code_; in Dispose()
125 code_ = nullptr; in Dispose()
157 Address start = reinterpret_cast<Address>(code_); in AddressForHashing()
271 : code_(code), code_size_(code_size), data_(data), data_size_(data_size) { in EmbeddedData()
278 const uint8_t* RawCode() const { return code_ + RawCodeOffset(); } in RawCode()
303 const uint8_t* code_; member in v8::internal::final
/third_party/node/deps/v8/src/compiler/backend/
H A Dframe-elider.cc13 FrameElider::FrameElider(InstructionSequence* code) : code_(code) {} in FrameElider()
145 return code_->instruction_blocks(); in instruction_blocks()
149 return code_->InstructionBlockAt(rpo_number); in InstructionBlockAt()
153 return code_->InstructionAt(index); in InstructionAt()
H A Dmove-optimizer.h28 InstructionSequence* code() const { return code_; } in code()
56 InstructionSequence* const code_; member in v8::internal::compiler::final
H A Dmid-tier-register-allocator.h83 InstructionSequence* code() const { return code_; } in code()
92 InstructionSequence* const code_; member in v8::internal::compiler::final
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Ddispatch.h49 DispatchCode Code() const { return code_; } in Code()
51 bool IsSuccess() const { return code_ == DispatchCode::SUCCESS; } in IsSuccess()
52 bool IsFallThrough() const { return code_ == DispatchCode::FALL_THROUGH; } in IsFallThrough()
53 bool IsError() const { return code_ < DispatchCode::SUCCESS; } in IsError()
81 DispatchCode code_; member in v8_crdtp::DispatchResponse
H A Ddispatch.cc22 result.code_ = DispatchCode::SUCCESS; in Success()
29 result.code_ = DispatchCode::FALL_THROUGH; in FallThrough()
36 result.code_ = DispatchCode::PARSE_ERROR; in ParseError()
44 result.code_ = DispatchCode::INVALID_REQUEST; in InvalidRequest()
52 result.code_ = DispatchCode::METHOD_NOT_FOUND; in MethodNotFound()
60 result.code_ = DispatchCode::INVALID_PARAMS; in InvalidParams()
68 result.code_ = DispatchCode::INTERNAL_ERROR; in InternalError()
76 result.code_ = DispatchCode::SERVER_ERROR; in ServerError()
/third_party/node/deps/v8/src/compiler/
H A Dgraph-visualizer.h193 const InstructionSequence& code_; member
201 const InstructionSequence& code_; member
209 const InstructionSequence& code_; member
217 const InstructionSequence* code_; member
225 const InstructionSequence* code_; member
231 const InstructionSequence* code_; member
H A Dgraph-visualizer.cc965 << InstructionOperandAsJSON{&op, &(live_range_json.code_)}; in operator <<()
971 &(live_range_json.code_)}; in operator <<()
1028 os << LiveRangeAsJSON{*child, top_level_live_range_json.code_}; in operator <<()
1065 PrintTopLevelLiveRanges(os, ac_data.fixed_double_live_ranges(), ac.code_); in operator <<()
1067 PrintTopLevelLiveRanges(os, ac_data.fixed_live_ranges(), ac.code_); in operator <<()
1069 PrintTopLevelLiveRanges(os, ac_data.live_ranges(), ac.code_); in operator <<()
1087 const InstructionSequence* code = o.code_; in operator <<()
1249 os << "[" << InstructionOperandAsJSON{&move->destination(), i_json.code_} in operator <<()
1250 << "," << InstructionOperandAsJSON{&move->source(), i_json.code_} in operator <<()
1262 os << InstructionOperandAsJSON{instr->OutputAt(i), i_json.code_}; in operator <<()
[all...]
/test/testfwk/arkxtest/uitest/core/
H A Dwidget_operator.cpp92 if (error.code_ != NO_ERROR) { in GenericClick()
111 if (error.code_ != NO_ERROR) { in ScrollToEnd()
143 if (widgetFrom == nullptr || error.code_ != NO_ERROR) { in DragIntoWidget()
148 if (widgetTo == nullptr || error.code_ != NO_ERROR) { in DragIntoWidget()
161 if (retrieved == nullptr || error.code_ != NO_ERROR) { in PinchWidget()
176 if (retrieved == nullptr || error.code_ != NO_ERROR) { in InputText()
222 if (error.code_ != NO_ERROR) { in ScrollFindWidget()
H A Dwindow_operator.cpp194 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Split()
206 if (out.exception_.code_ != NO_ERROR) { in Split()
244 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Maximize()
257 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Resume()
270 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Minimize()
283 if (out.exception_.code_ == ERR_OPERATION_UNSUPPORTED) { in Close()
301 if (out.exception_.code_ != NO_ERROR) { in BarAction()
H A Dfrontend_api_defines.h72 ErrCode code_; member
79 code_ = ec; in ApiCallErr()
85 code_ = ec; in ApiCallErr()
/third_party/node/deps/v8/src/diagnostics/
H A Ddisassembler.cc44 : isolate_(isolate), code_(code) {}
49 const CodeReference& code() const { return code_; } in code()
55 CodeReference code_; member in v8::internal::V8NameConverter
86 if (!code_.is_null()) { in NameOfAddress()
97 code_.instruction_start()); in NameOfAddress()
99 if (0 <= offs && offs < code_.instruction_size()) { in NameOfAddress()
121 return code_.is_null() ? "" : reinterpret_cast<const char*>(addr); in NameInCode()
H A Dbasic-block-profiler.cc24 code_ = os.str(); in SetCode()
81 code_ = js_heap_data.code().ToCString().get(); in CopyFromJSHeap()
118 Handle<String> code = CopyStringToJSHeap(code_, isolate); in CopyToJSHeap()
230 if (!d.code_.empty()) { in operator <<()
231 os << d.code_.c_str() << std::endl; in operator <<()
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dlossless_common.h119 int8_t code_; member
130 *code = prefix_code.code_; in VP8LPrefixEncodeBits()
142 *code = prefix_code.code_; in VP8LPrefixEncode()
/test/testfwk/arkxtest/uitest/cj/
H A Duitest_ffi.cpp187 if (err.code_ != uitest::ErrCode::NO_ERROR) { in CJ_ApiCall()
188 ret.code = err.code_; in CJ_ApiCall()
197 if (result.exception_.code_ != uitest::ErrCode::NO_ERROR) { in CJ_ApiCall()
198 ret.code = result.exception_.code_; in CJ_ApiCall()
/test/testfwk/arkxtest/uitest/server/
H A Dserver_main.cpp125 if (err.code_ != NO_ERROR) { in DumpLayoutImpl()
151 if (err.code_ == NO_ERROR) { in DumpLayout()
154 } else if (err.code_ != ERR_INITIALIZE_FAILED) { in DumpLayout()
164 if (err.code_ == NO_ERROR) { in DumpLayout()

Completed in 21 milliseconds

123