Home
last modified time | relevance | path

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

12

/external/v8/test/unittests/compiler/
Dinstruction-selector-unittest.cc192 EXPECT_EQ(0, s.ToInt32(s[0]->OutputAt(0))); in TARGET_TEST_F()
470 int32_t deopt_id_before = s.ToInt32(call_instr->InputAt(1)); in TARGET_TEST_F()
479 EXPECT_EQ(43, s.ToInt32(call_instr->InputAt(3))); in TARGET_TEST_F()
480 EXPECT_EQ(0, s.ToInt32(call_instr->InputAt(4))); // This should be a context. in TARGET_TEST_F()
583 int32_t deopt_id_before = s.ToInt32(call_instr->InputAt(1)); in TARGET_TEST_F()
593 EXPECT_EQ(63, s.ToInt32(call_instr->InputAt(3))); in TARGET_TEST_F()
596 EXPECT_EQ(66, s.ToInt32(call_instr->InputAt(4))); in TARGET_TEST_F()
598 EXPECT_EQ(64, s.ToInt32(call_instr->InputAt(5))); in TARGET_TEST_F()
600 EXPECT_EQ(65, s.ToInt32(call_instr->InputAt(6))); in TARGET_TEST_F()
607 EXPECT_EQ(43, s.ToInt32(call_instr->InputAt(8))); in TARGET_TEST_F()
[all …]
Dinstruction-selector-unittest.h205 int32_t ToInt32(const InstructionOperand* operand) const { in ToInt32() function
206 return ToConstant(operand).ToInt32(); in ToInt32()
/external/v8/test/unittests/compiler/arm/
Dinstruction-selector-arm-unittest.cc172 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
183 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
234 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
250 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
376 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
399 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
571 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
585 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
645 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
664 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_P()
[all …]
/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/unittests/compiler/mips/
Dinstruction-selector-mips-unittest.cc343 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
369 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
370 EXPECT_EQ(width, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
386 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
387 EXPECT_EQ(width, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
498 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
500 EXPECT_EQ(actual_width, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
515 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
517 EXPECT_EQ(actual_width, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
532 EXPECT_EQ(0, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
[all …]
/external/v8/test/unittests/compiler/mips64/
Dinstruction-selector-mips64-unittest.cc352 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
376 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
377 EXPECT_EQ(width, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
393 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
394 EXPECT_EQ(width, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
451 EXPECT_EQ(0, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
452 EXPECT_EQ(shift, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
462 EXPECT_EQ(0, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
463 EXPECT_EQ(shift, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
477 EXPECT_EQ(0, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
[all …]
/external/v8/test/unittests/compiler/arm64/
Dinstruction-selector-arm64-unittest.cc416 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
429 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
530 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
646 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
679 EXPECT_EQ(0, s.ToInt32(s[0]->InputAt(0))); in TEST_F()
721 EXPECT_EQ(0, s.ToInt32(s[0]->InputAt(0))); in TEST_F()
723 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
747 EXPECT_EQ(0, s.ToInt32(s[0]->InputAt(0))); in TEST_F()
749 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(2))); in TEST_F()
770 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
[all …]
/external/v8/test/cctest/
Dtest-access-checks.cc28 g_cross_context_int = value->ToInt32(context).ToLocalChecked()->Value(); in NamedSetter()
70 g_cross_context_int = value->ToInt32(context).ToLocalChecked()->Value(); in IndexedSetter()
110 g_cross_context_int = value->ToInt32(context).ToLocalChecked()->Value(); in SetCrossContextInt()
Dtest-strings.cc1118 CHECK(results[i]->ToInt32(&value)); in TEST()
1119 CHECK_EQ(value, result->ToInt32(context).ToLocalChecked()->Value()); in TEST()
1352 result->ToInt32(context.local()).ToLocalChecked()->Value() == 0 ? 0 : 1; in TEST()
/external/v8/test/unittests/compiler/ia32/
Dinstruction-selector-ia32-unittest.cc43 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
56 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
82 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
227 EXPECT_EQ(base, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
247 EXPECT_EQ(index, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
285 EXPECT_EQ(base, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
308 EXPECT_EQ(index, s.ToInt32(s[0]->InputAt(1))); in TEST_P()
615 EXPECT_EQ(imm, s.ToInt32(s[0]->InputAt(input_count - 1))); in TEST_P()
/external/pdfium/xfa/src/fxjse/src/
Dcontext.cpp141 nLine = hValue.As<v8::Object>()->Get(3)->ToInt32()->Value(); in FXJSE_ReturnValue_GetLineInfo()
142 nCol = hValue.As<v8::Object>()->Get(5)->ToInt32()->Value(); in FXJSE_ReturnValue_GetLineInfo()
/external/v8/src/runtime/
Druntime-utils.h112 RUNTIME_ASSERT(args[index]->ToInt32(&name));
Druntime-strings.cc428 if (!args[1]->ToInt32(&array_length)) { in RUNTIME_FUNCTION()
498 if (!args[1]->ToInt32(&array_length)) { in RUNTIME_FUNCTION()
/external/v8/src/compiler/
Dcode-generator-impl.h47 return ToConstant(instr_->InputAt(index)).ToInt32(); in InputInt32()
Dinstruction.h1021 int32_t ToInt32() const { in ToInt32() function
1029 if (type() == kInt32) return ToInt32(); in ToInt64()
1040 if (type() == kInt32) return ToInt32(); in ToFloat64()
1396 return ImmediateOperand(ImmediateOperand::INLINE, constant.ToInt32()); in AddImmediate()
/external/v8/src/compiler/ia32/
Dcode-generator-ia32.cc72 return Immediate(reinterpret_cast<Address>(constant.ToInt32()), in ToImmediate()
77 return Immediate(constant.ToInt32()); in ToImmediate()
124 return Operand(base, ctant.ToInt32(), ctant.rmode()); in MemoryOperand()
144 return Operand(base, index, scale, ctant.ToInt32(), ctant.rmode()); in MemoryOperand()
162 return Operand(index, scale, ctant.ToInt32(), ctant.rmode()); in MemoryOperand()
166 return Operand(ctant.ToInt32(), ctant.rmode()); in MemoryOperand()
/external/v8/test/cctest/compiler/
Dtest-run-inlining.cc33 ->ToInt32(args.GetIsolate()->GetCurrentContext()) in AssertInlineCount()
/external/v8/src/
Dtyping-asm.cc409 if (!value->ToInt32(&value32)) FAIL(label, "illegal case label value"); in VisitSwitchStatement()
603 } else if (value->ToInt32(&i)) { in VisitLiteral()
1272 left->value()->ToInt32(&i)) { in VisitBinaryOperation()
1277 right->value()->ToInt32(&i)) { in VisitBinaryOperation()
Dmessages.cc194 ->ToInt32(&pos_)); in CallSite()
/external/v8/src/compiler/x87/
Dcode-generator-x87.cc66 return Immediate(reinterpret_cast<Address>(constant.ToInt32()), in ToImmediate()
71 return Immediate(constant.ToInt32()); in ToImmediate()
118 return Operand(base, ctant.ToInt32(), ctant.rmode()); in MemoryOperand()
138 return Operand(base, index, scale, ctant.ToInt32(), ctant.rmode()); in MemoryOperand()
156 return Operand(index, scale, ctant.ToInt32(), ctant.rmode()); in MemoryOperand()
160 return Operand(ctant.ToInt32(), ctant.rmode()); in MemoryOperand()
/external/v8/test/unittests/compiler/x64/
Dinstruction-selector-x64-unittest.cc225 EXPECT_EQ(32, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
242 EXPECT_EQ(32, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
1236 EXPECT_EQ(x, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
1255 EXPECT_EQ(x, s.ToInt32(s[0]->InputAt(1))); in TEST_F()
/external/v8/src/compiler/mips/
Dcode-generator-mips.cc73 return Operand(constant.ToInt32()); in InputImmediate()
1909 __ li(dst, Operand(src.ToInt32(), src.rmode())); in AssembleMove()
1911 __ li(dst, Operand(src.ToInt32())); in AssembleMove()
/external/v8/src/compiler/arm/
Dcode-generator-arm.cc47 return Operand(constant.ToInt32()); in InputImmediate()
1582 __ mov(dst, Operand(src.ToInt32(), src.rmode())); in AssembleMove()
1584 __ mov(dst, Operand(src.ToInt32())); in AssembleMove()
/external/v8/src/ic/
Dic-state.cc229 op_ == Token::MOD && right->ToInt32(&fixed_right_arg_value) && in Update()

12