Home
last modified time | relevance | path

Searched refs:ToInt32 (Results 1 – 25 of 30) sorted by relevance

12

/external/v8/src/compiler/
Dinstruction-selector-unittest.cc136 EXPECT_EQ(0, s.ToInt32(s[0]->OutputAt(0))); in TARGET_TEST_F()
381 int32_t deopt_id_before = s.ToInt32(call_instr->InputAt(1)); in TARGET_TEST_F()
389 EXPECT_EQ(43, s.ToInt32(call_instr->InputAt(2))); in TARGET_TEST_F()
390 EXPECT_EQ(0, s.ToInt32(call_instr->InputAt(3))); in TARGET_TEST_F()
391 EXPECT_EQ(44, s.ToInt32(call_instr->InputAt(4))); in TARGET_TEST_F()
392 EXPECT_EQ(45, s.ToInt32(call_instr->InputAt(5))); in TARGET_TEST_F()
466 int32_t deopt_id_before = s.ToInt32(call_instr->InputAt(1)); in TARGET_TEST_F()
473 EXPECT_EQ(63, s.ToInt32(call_instr->InputAt(2))); in TARGET_TEST_F()
475 EXPECT_EQ(66, s.ToInt32(call_instr->InputAt(3))); in TARGET_TEST_F()
476 EXPECT_EQ(64, s.ToInt32(call_instr->InputAt(4))); in TARGET_TEST_F()
[all …]
Dinstruction-selector-unittest.h146 int32_t ToInt32(const InstructionOperand* operand) const { in ToInt32() function
147 return ToConstant(operand).ToInt32(); in ToInt32()
Dcode-generator-impl.h42 return ToConstant(instr_->InputAt(index)).ToInt32(); in InputInt32()
Dinstruction.h669 int32_t ToInt32() const { in ToInt32() function
675 if (type() == kInt32) return ToInt32(); in ToInt64()
681 if (type() == kInt32) return ToInt32(); in ToFloat64()
Dcode-generator.cc389 isolate()->factory()->NewNumberFromInt(constant.ToInt32()); in AddTranslationForOperand()
Dinstruction.cc300 return os << constant.ToInt32(); in operator <<()
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32-unittest.cc39 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
48 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
72 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
135 EXPECT_EQ(base, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
151 EXPECT_EQ(index, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
181 EXPECT_EQ(base, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
199 EXPECT_EQ(index, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
Dcode-generator-ia32.cc61 return Immediate(constant.ToInt32()); in ToImmediate()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm-unittest.cc147 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
158 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
206 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
221 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
343 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
365 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
534 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
548 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
605 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
623 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
[all …]
Dcode-generator-arm.cc46 return Operand(constant.ToInt32()); in InputImmediate()
729 __ mov(dst, Operand(src.ToInt32())); in AssembleMove()
/external/zlib/src/contrib/dotzlib/DotZLib/
DChecksumImpl.cs140 … _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
191 … _current = adler32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
DGZipStream.cs166 result = gzread(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Read()
210 int result = gzwrite(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Write()
/external/v8/test/cctest/compiler/
Dinstruction-selector-tester.h101 int32_t ToInt32(const InstructionOperand* operand) const { in ToInt32() function
105 return immediates[i].ToInt32(); in ToInt32()
Dtest-run-inlining.cc28 CHECK_EQ(args[0]->ToInt32()->Value(), topmost->GetInlineCount()); in AssertInlineCount()
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64-unittest.cc260 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
273 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
533 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
567 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
601 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
668 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
686 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
703 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
726 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
766 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
[all …]
Dcode-generator-arm64.cc89 return Operand(constant.ToInt32()); in ToImmediate()
/external/v8/src/
Dexecution.h65 MUST_USE_RESULT static MaybeHandle<Object> ToInt32(
Druntime.js582 function ToInt32(x) { class
Dexecution.cc530 MaybeHandle<Object> Execution::ToInt32( in ToInt32() function in v8::internal::Execution
Di18n.cc56 object->ToInt32(value); in ExtractIntegerSetting()
/external/v8/src/ic/
Dic-state.cc337 op_ == Token::MOD && right->ToInt32(&fixed_right_arg_value) && in Update()
/external/v8/src/compiler/x64/
Dcode-generator-x64.cc100 return Immediate(constant.ToInt32()); in ToImmediate()
/external/pdfium/fpdfsdk/src/jsapi/
Dfxjs_v8.cpp726 return pValue->ToInt32(context).ToLocalChecked()->Value(); in JS_ToInt32()
/external/v8/test/cctest/
Dtest-strings.cc1092 result->ToInt32()->Value()); in TEST()
Dtest-api.cc4774 CHECK_EQ(0, obj->ToInt32()->Value()); in THREADED_TEST()
4780 CHECK_EQ(-1912276171, obj->ToInt32()->Value()); in THREADED_TEST()
4786 CHECK_EQ(42, obj->ToInt32()->Value()); in THREADED_TEST()
4792 CHECK_EQ(-37, obj->ToInt32()->Value()); in THREADED_TEST()
4798 CHECK_EQ(-2128394905, obj->ToInt32()->Value()); in THREADED_TEST()
4804 CHECK_EQ(42, obj->ToInt32()->Value()); in THREADED_TEST()
4810 CHECK_EQ(-1431655765, obj->ToInt32()->Value()); in THREADED_TEST()
4894 Local<Value> to_int32_result = obj->ToInt32(); in THREADED_TEST()

12