/external/v8/test/unittests/compiler/ |
D | instruction-selector-unittest.cc | 192 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 …]
|
D | instruction-selector-unittest.h | 205 int32_t ToInt32(const InstructionOperand* operand) const { in ToInt32() function 206 return ToConstant(operand).ToInt32(); in ToInt32()
|
/external/v8/test/unittests/compiler/arm/ |
D | instruction-selector-arm-unittest.cc | 172 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/ |
D | ChecksumImpl.cs | 140 … _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update() 191 … _current = adler32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
|
D | GZipStream.cs | 166 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/ |
D | instruction-selector-mips-unittest.cc | 343 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/ |
D | instruction-selector-mips64-unittest.cc | 352 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/ |
D | instruction-selector-arm64-unittest.cc | 416 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/ |
D | test-access-checks.cc | 28 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()
|
D | test-strings.cc | 1118 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/ |
D | instruction-selector-ia32-unittest.cc | 43 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/ |
D | context.cpp | 141 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/ |
D | runtime-utils.h | 112 RUNTIME_ASSERT(args[index]->ToInt32(&name));
|
D | runtime-strings.cc | 428 if (!args[1]->ToInt32(&array_length)) { in RUNTIME_FUNCTION() 498 if (!args[1]->ToInt32(&array_length)) { in RUNTIME_FUNCTION()
|
/external/v8/src/compiler/ |
D | code-generator-impl.h | 47 return ToConstant(instr_->InputAt(index)).ToInt32(); in InputInt32()
|
D | instruction.h | 1021 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/ |
D | code-generator-ia32.cc | 72 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/ |
D | test-run-inlining.cc | 33 ->ToInt32(args.GetIsolate()->GetCurrentContext()) in AssertInlineCount()
|
/external/v8/src/ |
D | typing-asm.cc | 409 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()
|
D | messages.cc | 194 ->ToInt32(&pos_)); in CallSite()
|
/external/v8/src/compiler/x87/ |
D | code-generator-x87.cc | 66 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/ |
D | instruction-selector-x64-unittest.cc | 225 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/ |
D | code-generator-mips.cc | 73 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/ |
D | code-generator-arm.cc | 47 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/ |
D | ic-state.cc | 229 op_ == Token::MOD && right->ToInt32(&fixed_right_arg_value) && in Update()
|