Home
last modified time | relevance | path

Searched refs:ToInt (Results 1 – 25 of 55) sorted by relevance

123

/external/v8/src/compiler/
Djump-threading.cc24 if (result[num.ToInt()] == unvisited()) { in PushIfUnvisited()
26 result[num.ToInt()] = onstack(); in PushIfUnvisited()
31 RpoNumber to_to = result[to.ToInt()]; in Forward()
34 TRACE(" xx %d\n", from.ToInt()); in Forward()
35 result[from.ToInt()] = from; in Forward()
37 TRACE(" fw %d -> %d (recurse)\n", from.ToInt(), to.ToInt()); in Forward()
39 result[to.ToInt()] = onstack(); in Forward()
42 TRACE(" fw %d -> %d (cycle)\n", from.ToInt(), to.ToInt()); in Forward()
43 result[from.ToInt()] = to; // break the cycle. in Forward()
46 TRACE(" fw %d -> %d (forward)\n", from.ToInt(), to.ToInt()); in Forward()
[all …]
Dscheduler.cc382 TRACE("Create block id:%d for #%d:%s\n", block->id().ToInt(), node->id(), in BuildBlockForNode()
533 node->op()->mnemonic(), block->id().ToInt()); in TraceConnect()
536 node->op()->mnemonic(), block->id().ToInt(), succ->id().ToInt()); in TraceConnect()
828 if (loop != nullptr && !loop->members->Contains(succ->id().ToInt())) { in ComputeAndInsertSpecialRPO()
901 current->id().ToInt(), loop_depth); in ComputeAndInsertSpecialRPO()
907 TRACE("id:%d is not in a loop (depth == %d)\n", current->id().ToInt(), in ComputeAndInsertSpecialRPO()
911 current->id().ToInt(), current->loop_header()->id().ToInt(), in ComputeAndInsertSpecialRPO()
947 if (!loops_[loop_num].members->Contains(member->id().ToInt())) { in ComputeLoopInfo()
948 loops_[loop_num].members->Add(member->id().ToInt()); in ComputeLoopInfo()
960 if (!loops_[loop_num].members->Contains(pred->id().ToInt())) { in ComputeLoopInfo()
[all …]
Dlive-range-separator.cc75 int first_block_nr = first_block->rpo_number().ToInt(); in SplinterLiveRange()
76 int last_block_nr = last_block->rpo_number().ToInt(); in SplinterLiveRange()
Dcode-generator.cc121 buffer, "-- B%d start%s%s%s%s", block->rpo_number().ToInt(), in GenerateCode()
131 SNPrintF(buffer, " (loop up to %d)", block->loop_end().ToInt()); in GenerateCode()
136 SNPrintF(buffer, " (in loop %d)", block->loop_header().ToInt()); in GenerateCode()
392 data->SetOsrAstId(Smi::FromInt(info_->osr_ast_id().ToInt())); in PopulateDeoptimizationData()
396 data->SetOsrAstId(Smi::FromInt(osr_ast_id.ToInt())); in PopulateDeoptimizationData()
Dverifier.cc1122 if (idom != nullptr && !block_doms->Contains(idom->id().ToInt())) { in Run()
1134 succ_doms->Add(block->id().ToInt()); in Run()
1139 bool had = succ_doms->Contains(block->id().ToInt()); in Run()
1140 if (had) succ_doms->Remove(block->id().ToInt()); in Run()
1142 if (had) succ_doms->Add(block->id().ToInt()); in Run()
1159 !dominators[idom->id().ToSize()]->Contains(dom->id().ToInt())) { in Run()
Dinstruction.cc519 return os << "RPO" << constant.ToRpoNumber().ToInt(); in operator <<()
773 return deoptimization_entries_[state_id.ToInt()]; in GetFrameStateDescriptor()
922 os << " B" << pred.ToInt(); in operator <<()
948 os << " B" << succ.ToInt(); in operator <<()
Dschedule.h47 int ToInt() const { return static_cast<int>(index_); } in ToInt() function
/external/clang/lib/AST/
DASTDiagnostic.cpp544 llvm::APSInt FromInt, ToInt; member
611 void SetNode(llvm::APSInt FromInt, llvm::APSInt ToInt, in SetNode() argument
614 FlatTree[CurrentNode].ToInt = ToInt; in SetNode()
714 void GetNode(llvm::APSInt &FromInt, llvm::APSInt &ToInt, in GetNode() argument
717 ToInt = FlatTree[ReadNode].ToInt; in GetNode()
1048 llvm::APSInt FromInt, ToInt; in DiffNonTypes() local
1057 ToExpr, ToInt, ToValueDecl); in DiffNonTypes()
1071 HasToInt = GetInt(Context, ToIter, ToExpr, ToInt, in DiffNonTypes()
1075 Tree.SetNode(FromInt, ToInt, HasFromInt, HasToInt); in DiffNonTypes()
1076 Tree.SetSame(FromInt == ToInt); in DiffNonTypes()
[all …]
/external/v8/src/runtime/
Druntime-compiler.cc263 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION()
275 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION()
282 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION()
306 ast_id.ToInt(), data->OsrPcOffset()->value()); in RUNTIME_FUNCTION()
329 PrintF(" at AST id %d]\n", ast_id.ToInt()); in RUNTIME_FUNCTION()
/external/v8/test/cctest/compiler/
Dtest-jump-threading.cc81 rpo_number_ = RpoNumber::FromInt(rpo_number_.ToInt() + 1); in End()
115 CHECK(expected[i] == result[i].ToInt()); in VerifyForwarding()
624 CHECK_EQ(target, code.sequence_.InputRpo(instr, 0).ToInt()); in CheckJump()
642 CHECK_EQ(t1, code.sequence_.InputRpo(instr, 0).ToInt()); in CheckBranch()
643 CHECK_EQ(t2, code.sequence_.InputRpo(instr, 1).ToInt()); in CheckBranch()
650 CHECK_EQ(expected[i++], block->ao_number().ToInt()); in CheckAssemblyOrder()
/external/pdfium/fpdfsdk/src/javascript/
Dapp.cpp309 iIcon = CJS_Value(pRuntime, pValue, CJS_Value::VT_unknown).ToInt(); in alert()
312 iType = CJS_Value(pRuntime, pValue, CJS_Value::VT_unknown).ToInt(); in alert()
359 iIcon = params[i].ToInt(); in alert()
361 iType = params[i].ToInt(); in alert()
382 pEnv->JS_appBeep(params[0].ToInt()); in beep()
425 FX_DWORD dwInterval = params.size() > 1 ? params[1].ToInt() : 1000; in setInterval()
463 FX_DWORD dwTimeOut = params.size() > 1 ? params[1].ToInt() : 1000; in setTimeOut()
DPublicMethods.cpp926 int iDec = params[0].ToInt(); in AFNumber_Format()
927 int iSepStyle = params[1].ToInt(); in AFNumber_Format()
928 int iNegStyle = params[2].ToInt(); in AFNumber_Format()
1094 int iSepStyle = params[1].ToInt(); in AFNumber_Keystroke()
1223 int iDec = params[0].ToInt(); in AFPercent_Format()
1227 int iSepStyle = params[1].ToInt(); in AFPercent_Format()
1462 int iIndex = params[0].ToInt(); in AFDate_Format()
1499 int iIndex = params[0].ToInt(); in AFDate_Keystroke()
1535 int iIndex = params[0].ToInt(); in AFTime_Format()
1559 int iIndex = params[0].ToInt(); in AFTime_Keystroke()
[all …]
Dutil.cpp162 strSegment.Format(c_strFormat.c_str(), params[iIndex].ToInt()); in printf()
208 int nFormat = p1.ToInt(); in printd()
546 int nByte = params[0].ToInt(); in byteToChar()
DDocument.cpp325 int nIndex = params[0].ToInt(); in getNthFieldName()
445 nStart = params[1].ToInt(); in print()
447 nEnd = params[2].ToInt(); in print()
706 bUI = CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToInt(); in mailDoc()
1361 int nPageNo = params.size() > 0 ? params[0].ToInt() : 0; in getPageNthWord()
1362 int nWordNo = params.size() > 1 ? params[1].ToInt() : 0; in getPageNthWord()
1431 int nPageNo = params.size() > 0 ? params[0].ToInt() : 0; in getPageNumWords()
DField.cpp956 iSelecting = SelValue.ToInt(); in currentValueIndices()
2089 pArray[0] = (FX_FLOAT)Upper_Leftx.ToInt(); in rect()
2090 pArray[1] = (FX_FLOAT)Lower_Righty.ToInt(); in rect()
2091 pArray[2] = (FX_FLOAT)Lower_Rightx.ToInt(); in rect()
2092 pArray[3] = (FX_FLOAT)Upper_Lefty.ToInt(); in rect()
2946 nface = params[0].ToInt(); in buttonGetCaption()
2979 nface = params[0].ToInt(); in buttonGetIcon()
3052 int nWidget = params[0].ToInt(); in checkThisBox()
3095 int nWidget = params[0].ToInt(); in defaultIsChecked()
3171 nIdx = params[0].ToInt(); in getItemAt()
[all …]
DJS_Value.h54 int ToInt() const;
DJS_Value.cpp104 int CJS_Value::ToInt() const { in ToInt() function in CJS_Value
299 iValue = CJS_Value::ToInt(); in operator >>()
/external/v8/src/
Dtype-feedback-vector-inl.h85 DCHECK(slot.ToInt() < slot_count()); in GetIndex()
86 return kReservedIndexCount + slot.ToInt(); in GetIndex()
Dutils.h1043 int ToInt() const { return id_; }
1055 return lhs.ToInt() < rhs.ToInt();
1058 return lhs.ToInt() > rhs.ToInt();
1067 int ToInt() const { return id_; }
1077 friend size_t hash_value(FeedbackVectorSlot slot) { return slot.ToInt(); }
1090 int ToInt() const { return id_; }
Dtype-feedback-vector.cc30 int index = VectorICComputer::index(kReservedIndexCount, slot.ToInt()); in GetKind()
32 return VectorICComputer::decode(data, slot.ToInt()); in GetKind()
38 int index = VectorICComputer::index(kReservedIndexCount, slot.ToInt()); in SetKind()
40 int new_data = VectorICComputer::encode(data, slot.ToInt(), kind); in SetKind()
158 return kReservedIndexCount + slot.ToInt(); in GetIndexFromSpec()
Doptimizing-compile-dispatcher.cc231 info->osr_ast_id().ToInt()); in InstallOptimizedFunctions()
350 PrintF(", AST id %d]\n", info->osr_ast_id().ToInt()); in AddToOsrBuffer()
Dtype-info.cc33 return static_cast<uint32_t>(ast_id.ToInt()); in IdToKey()
53 DCHECK(slot.ToInt() >= 0 && slot.ToInt() < feedback_vector_->length()); in GetInfo()
Dtype-feedback-vector.h291 bool HasNext() const { return slot_.ToInt() < metadata()->slot_count(); } in HasNext()
297 slot_ = FeedbackVectorSlot(slot_.ToInt() + entry_size()); in Next()
Ddeoptimizer.cc676 os << "[couldn't find pc offset for node=" << id.ToInt() << "]\n" in GetOutputInfo()
802 node_id.ToInt(), in DoComputeOutputFrames()
830 " => node=%d, height=%d\n", node_id.ToInt(), height_in_bytes); in DoComputeJSFrame()
1049 bytecode_offset.ToInt(), height_in_bytes); in DoComputeInterpretedFrame()
1194 BytecodeArray::kHeaderSize - kHeapObjectTag + bytecode_offset.ToInt(); in DoComputeInterpretedFrame()
2246 buffer_->Add(node_id.ToInt(), zone()); in BeginJSFrame()
2255 buffer_->Add(bytecode_offset.ToInt(), zone()); in BeginInterpretedFrame()
2963 node_id.ToInt(), arg_count, height); in CreateNextTranslatedFrame()
2980 bytecode_offset.ToInt(), arg_count, height); in CreateNextTranslatedFrame()
/external/tinyxml2/
Dtinyxml2.cpp401 bool XMLUtil::ToInt( const char* str, int* value ) in ToInt() function in XMLUtil
418 if ( ToInt( str, &ival )) { in ToBool()
1024 if ( XMLUtil::ToInt( Value(), value )) in QueryIntValue()
1171 if ( XMLUtil::ToInt( t, _value ) ) { in QueryIntText()

123