Home
last modified time | relevance | path

Searched refs:getNumber (Results 1 – 25 of 247) sorted by relevance

12345678910

/third_party/typescript/tests/baselines/reference/
DinferParameterWithMethodCallInitializer.symbols2 function getNumber(): number {
3 >getNumber : Symbol(getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 0, 0))
10 getNumber(): number {
11 >getNumber : Symbol(Example.getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 3, 15))
15 doSomething(a = this.getNumber()): typeof a {
18 >this.getNumber : Symbol(Example.getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 3, 15))
20 >getNumber : Symbol(Example.getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 3, 15))
27 function weird(this: Example, a = this.getNumber()) {
32 >this.getNumber : Symbol(Example.getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 3, 15))
34 >getNumber : Symbol(Example.getNumber, Decl(inferParameterWithMethodCallInitializer.ts, 3, 15))
[all …]
DinferParameterWithMethodCallInitializer.types2 function getNumber(): number {
3 >getNumber : () => number
11 getNumber(): number {
12 >getNumber : () => number
17 doSomething(a = this.getNumber()): typeof a {
20 >this.getNumber() : number
21 >this.getNumber : () => number
23 >getNumber : () => number
30 function weird(this: Example, a = this.getNumber()) {
34 >this.getNumber() : number
[all …]
DinferParameterWithMethodCallInitializer.js2 function getNumber(): number {
6 getNumber(): number {
9 doSomething(a = this.getNumber()): typeof a {
13 function weird(this: Example, a = this.getNumber()) {
17 doSomething(this: Example, a = this.getNumber()) {
24 function getNumber() {
30 Example.prototype.getNumber = function () { method in Example
34 if (a === void 0) { a = this.getNumber(); }
40 if (a === void 0) { a = this.getNumber(); }
47 if (a === void 0) { a = this.getNumber(); }
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionSchemaLite.java79 int fieldNumber = extension.getNumber(); in parseExtension()
295 return descriptor.getNumber(); in extensionNumber()
306 descriptor.getNumber(), in serializeExtension()
313 descriptor.getNumber(), in serializeExtension()
320 descriptor.getNumber(), in serializeExtension()
327 descriptor.getNumber(), in serializeExtension()
334 descriptor.getNumber(), in serializeExtension()
341 descriptor.getNumber(), in serializeExtension()
348 descriptor.getNumber(), in serializeExtension()
355 descriptor.getNumber(), in serializeExtension()
[all …]
DExtensionSchemaFull.java96 int fieldNumber = extension.descriptor.getNumber(); in parseExtension()
310 return descriptor.getNumber(); in extensionNumber()
320 descriptor.getNumber(), in serializeExtension()
327 descriptor.getNumber(), in serializeExtension()
334 descriptor.getNumber(), in serializeExtension()
341 descriptor.getNumber(), in serializeExtension()
348 descriptor.getNumber(), in serializeExtension()
355 descriptor.getNumber(), in serializeExtension()
362 descriptor.getNumber(), in serializeExtension()
369 descriptor.getNumber(), in serializeExtension()
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DProto2UnknownEnumValueTest.java51 singularField.getNumber(), in buildPayloadWithUnknownEnumValues()
53 .addVarint(TestAllTypes.NestedEnum.BAR.getNumber()) in buildPayloadWithUnknownEnumValues()
57 repeatedField.getNumber(), in buildPayloadWithUnknownEnumValues()
59 .addVarint(TestAllTypes.NestedEnum.FOO.getNumber()) in buildPayloadWithUnknownEnumValues()
61 .addVarint(TestAllTypes.NestedEnum.BAZ.getNumber()) in buildPayloadWithUnknownEnumValues()
79 1901, unknown.getField(singularField.getNumber()).getVarintList().get(0).longValue()); in testUnknownEnumValues()
81 1902, unknown.getField(repeatedField.getNumber()).getVarintList().get(0).longValue()); in testUnknownEnumValues()
83 1903, unknown.getField(repeatedField.getNumber()).getVarintList().get(1).longValue()); in testUnknownEnumValues()
105 1901, unknown.getField(singularField.getNumber()).getVarintList().get(0).longValue()); in testExtensionUnknownEnumValues()
107 1902, unknown.getField(repeatedField.getNumber()).getVarintList().get(0).longValue()); in testExtensionUnknownEnumValues()
[all …]
DUnknownEnumValueTest.java110 TestAllTypes.NestedEnum.UNRECOGNIZED.getNumber(); in testUnknownEnumValues()
153 assertEquals(4321, unknown4321.getNumber()); in testUnknownEnumValueInReflectionApi()
154 assertEquals(5432, unknown5432.getNumber()); in testUnknownEnumValueInReflectionApi()
155 assertEquals(6543, unknown6543.getNumber()); in testUnknownEnumValueInReflectionApi()
194 4321, ((EnumValueDescriptor) message.getField(optionalNestedEnumField)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
197 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
200 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
206 4321, ((EnumValueDescriptor) message.getField(optionalNestedEnumField)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
209 ((EnumValueDescriptor) message.getRepeatedField(repeatedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
212 ((EnumValueDescriptor) message.getRepeatedField(packedNestedEnumField, 0)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
[all …]
DEnumTest.java42 ForeignEnum e = ForeignEnum.forNumber(ForeignEnum.FOREIGN_BAR.getNumber()); in testForNumber()
52 TestAllTypes.OneofFieldCase.ONEOF_NESTED_MESSAGE.getNumber()); in testForNumber_oneof()
60 ForeignEnumLite e = ForeignEnumLite.forNumber(ForeignEnumLite.FOREIGN_LITE_BAR.getNumber()); in testForNumberLite()
70 TestAllTypesLite.OneofFieldCase.ONEOF_NESTED_MESSAGE.getNumber()); in testForNumberLite_oneof()
DUnknownFieldSetTest.java69 return unknownFields.getField(field.getNumber()); in getField()
294 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup()
296 UnknownFieldSet.Field nestedField = group.getField(nestedFieldDescriptor.getNumber()); in testGroup()
430 singularField.getNumber(), in testParseUnknownEnumValue()
432 .addVarint(TestAllTypes.NestedEnum.BAR.getNumber()) in testParseUnknownEnumValue()
436 repeatedField.getNumber(), in testParseUnknownEnumValue()
438 .addVarint(TestAllTypes.NestedEnum.FOO.getNumber()) in testParseUnknownEnumValue()
440 .addVarint(TestAllTypes.NestedEnum.BAZ.getNumber()) in testParseUnknownEnumValue()
454 message.getUnknownFields().getField(singularField.getNumber()).getVarintList()); in testParseUnknownEnumValue()
457 message.getUnknownFields().getField(repeatedField.getNumber()).getVarintList()); in testParseUnknownEnumValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCFIInstrInserter.cpp108 return -MBBVector[MBB->getNumber()].IncomingCFAOffset; in getCorrectCFAOffset()
144 MBBVector[MBB.getNumber()] = MBBInfo; in calculateCFAInfo()
152 if (MBBVector[MBB.getNumber()].Processed) continue; in calculateCFAInfo()
153 updateSuccCFAInfo(MBBVector[MBB.getNumber()]); in calculateCFAInfo()
229 MBBCFAInfo &CurrentInfo = MBBVector[Current->getNumber()]; in updateSuccCFAInfo()
235 MBBCFAInfo &SuccInfo = MBBVector[Succ->getNumber()]; in updateSuccCFAInfo()
246 const MBBCFAInfo *PrevMBBInfo = &MBBVector[MF.front().getNumber()]; in insertCFIInstrs()
252 if (MBB.getNumber() == MF.front().getNumber()) continue; in insertCFIInstrs()
254 const MBBCFAInfo &MBBInfo = MBBVector[MBB.getNumber()]; in insertCFIInstrs()
298 errs() << "Pred: " << Pred.MBB->getName() << " #" << Pred.MBB->getNumber() in report()
[all …]
DBranchRelaxation.cpp129 unsigned PrevNum = MF->begin()->getNumber(); in INITIALIZE_PASS()
131 const unsigned Num = MBB.getNumber(); in INITIALIZE_PASS()
144 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs()
145 dbgs() << format("%%bb.%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset) in dumpBBs()
162 BlockInfo[MBB.getNumber()].Size = computeBlockSize(MBB); in scanFunction()
185 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset()
197 unsigned PrevNum = Start.getNumber(); in adjustBlockOffsets()
199 unsigned Num = MBB.getNumber(); in adjustBlockOffsets()
218 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in createNewBlockAfter()
245 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in splitBlockBeforeInstr()
[all …]
DMachineTraceMetrics.cpp100 FixedBlockInfo *FBI = &BlockInfo[MBB->getNumber()]; in getResources()
136 unsigned PROffset = MBB->getNumber() * PRKinds; in getResources()
177 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeDepthResources()
179 unsigned PROffset = MBB->getNumber() * PRKinds; in computeDepthResources()
184 TBI->Head = MBB->getNumber(); in computeDepthResources()
192 unsigned PredNum = TBI->Pred->getNumber(); in computeDepthResources()
210 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeHeightResources()
212 unsigned PROffset = MBB->getNumber() * PRKinds; in computeHeightResources()
216 ArrayRef<unsigned> PRCycles = MTM.getProcResourceCycles(MBB->getNumber()); in computeHeightResources()
220 TBI->Tail = MBB->getNumber(); in computeHeightResources()
[all …]
DLiveRangeCalc.cpp232 assert(Seen.test(MBB->getNumber())); in updateFromLiveIns()
279 unsigned BN = MBB.getNumber(); in isDefOnEntry()
287 DefOnEntry[S->getNumber()] = true; in isDefOnEntry()
296 WorkList.insert(P->getNumber()); in isDefOnEntry()
339 WorkList.insert(P->getNumber()); in isDefOnEntry()
349 unsigned UseMBBNum = UseMBB.getNumber(); in findReachingDefs()
388 if (Seen.test(Pred->getNumber())) { in findReachingDefs()
416 WorkList.push_back(Pred->getNumber()); in findReachingDefs()
503 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
593 DefBlocks.set(Indexes.getMBBFromIndex(I)->getNumber()); in isJointlyDominated()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGSort.cpp205 return A->getNumber() > B->getNumber(); in operator ()()
219 return A->getNumber() < B->getNumber(); in operator ()()
255 NumPredsLeft[MBB.getNumber()] = N; in sortBlocks()
300 if (--NumPredsLeft[Succ->getNumber()] == 0) in sortBlocks()
319 if (Next->getNumber() < MBB->getNumber() && in sortBlocks()
322 R->getHeader()->getNumber() < Next->getNumber())) { in sortBlocks()
367 assert(MBB.getNumber() >= 0 && "Renumbered blocks should be non-negative."); in sortBlocks()
376 (Pred->getNumber() < MBB.getNumber() || Region->contains(Pred)) && in sortBlocks()
382 assert(Pred->getNumber() < MBB.getNumber() && in sortBlocks()
391 assert(Pred->getNumber() < MBB.getNumber() && in sortBlocks()
DWebAssemblyCFGStackify.cpp223 int MBBNumber = MBB.getNumber(); in placeBlockMarker()
225 if (Pred->getNumber() < MBBNumber) { in placeBlockMarker()
248 if (MachineBasicBlock *ScopeTop = ScopeTops[I->getNumber()]) { in placeBlockMarker()
249 if (ScopeTop->getNumber() > Header->getNumber()) { in placeBlockMarker()
272 if (MBB.getNumber() > LoopBottom->getNumber()) in placeBlockMarker()
350 if (EndToBegin[&MI]->getParent()->getNumber() >= Header->getNumber()) in placeBlockMarker()
366 int Number = MBB.getNumber(); in placeBlockMarker()
368 ScopeTops[Number]->getNumber() > Header->getNumber()) in placeBlockMarker()
432 assert((!ScopeTops[AfterLoop->getNumber()] || in placeLoopMarker()
433 ScopeTops[AfterLoop->getNumber()]->getNumber() < MBB.getNumber()) && in placeLoopMarker()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp96 FirstImpreciseBlock = MBB.getNumber(); in GetAlignmentAdjustment()
126 if (MBB->getNumber() > 0) { in ComputeBlockSizes()
129 auto &BS = BlockSizes[MBB->getNumber()-1]; in ComputeBlockSizes()
140 FirstImpreciseBlock = MBB->getNumber(); in ComputeBlockSizes()
143 BlockSizes[MBB->getNumber()].first = BlockSize; in ComputeBlockSizes()
157 if (MBB->getNumber() > 0) { in modifyAdjustment()
158 auto &BS = BlockSizes[MBB->getNumber()-1]; in modifyAdjustment()
170 Offset += BlockSizes[MBB->getNumber()].first; in modifyAdjustment()
183 if (Dest->getNumber() <= Src->getNumber()) { in computeBranchSize()
190 int DestBlock = Dest->getNumber(); in computeBranchSize()
[all …]
DPPCBranchCoalescing.cpp236 << Cand.BranchBlock->getNumber() << " can be coalesced:"); in canCoalesceBranch()
427 << TargetMBB.getNumber() << "\n"); in canMoveToBeginning()
458 << TargetMBB.getNumber() << "\n"); in canMoveToEnd()
756 LLVM_DEBUG(dbgs() << "Blocks " << Cand1.BranchBlock->getNumber() in runOnMachineFunction()
757 << " and " << Cand2.BranchBlock->getNumber() in runOnMachineFunction()
763 << Cand1.BranchBlock->getNumber() << " and " in runOnMachineFunction()
764 << Cand2.BranchBlock->getNumber() << "\n"); in runOnMachineFunction()
768 LLVM_DEBUG(dbgs() << "Merging blocks " << Cand1.BranchBlock->getNumber() in runOnMachineFunction()
769 << " and " << Cand1.BranchTargetBlock->getNumber() in runOnMachineFunction()
/third_party/typescript/tests/cases/compiler/
DinferParameterWithMethodCallInitializer.ts2 function getNumber(): number { function
6 getNumber(): number { method in Example
9 doSomething(a = this.getNumber()): typeof a {
13 function weird(this: Example, a = this.getNumber()) {
17 doSomething(this: Example, a = this.getNumber()) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86VZeroUpper.cpp188 if (!BlockStates[MBB.getNumber()].AddedToDirtySuccessors) { in addDirtySuccessor()
190 BlockStates[MBB.getNumber()].AddedToDirtySuccessors = true; in addDirtySuccessor()
200 BlockStates[MBB.getNumber()].FirstUnguardedCall = MBB.end(); in processBasicBlock()
261 BlockStates[MBB.getNumber()].FirstUnguardedCall = MI; in processBasicBlock()
266 LLVM_DEBUG(dbgs() << "MBB #" << MBB.getNumber() << " exit state: " in processBasicBlock()
275 BlockStates[MBB.getNumber()].ExitState = CurState; in processBasicBlock()
330 BlockState &BBState = BlockStates[MBB.getNumber()]; in runOnMachineFunction()
341 LLVM_DEBUG(dbgs() << "MBB #" << MBB.getNumber() in runOnMachineFunction()
/third_party/protobuf/php/tests/
DDescriptorsTest.php123 $enumDescMap[$enumValueDesc->getNumber()] = $enumValueDesc->getName();
146 $this->assertSame(1, $fieldDesc->getNumber());
154 $this->assertSame(16, $fieldDesc->getNumber());
163 $this->assertSame(17, $fieldDesc->getNumber());
172 $this->assertSame(31, $fieldDesc->getNumber());
180 $this->assertSame(47, $fieldDesc->getNumber());
190 $this->assertSame(51, $fieldDesc->getNumber());
198 $this->assertSame(71, $fieldDesc->getNumber());
255 $fieldDescMap[$fieldDesc->getNumber()] = $fieldDesc;
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DUnknownFieldSetTest.java62 return unknownFields.getField(field.getNumber()); in getField()
139 assertTrue(group.hasField(nestedFieldDescriptor.getNumber())); in testGroup()
142 group.getField(nestedFieldDescriptor.getNumber()); in testGroup()
280 .addField(singularField.getNumber(), in testParseUnknownEnumValue()
282 .addVarint(TestAllTypes.NestedEnum.BAR.getNumber()) in testParseUnknownEnumValue()
285 .addField(repeatedField.getNumber(), in testParseUnknownEnumValue()
287 .addVarint(TestAllTypes.NestedEnum.FOO.getNumber()) in testParseUnknownEnumValue()
289 .addVarint(TestAllTypes.NestedEnum.BAZ.getNumber()) in testParseUnknownEnumValue()
304 .getField(singularField.getNumber()) in testParseUnknownEnumValue()
308 .getField(repeatedField.getNumber()) in testParseUnknownEnumValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp85 LLVM_DEBUG(dbgs() << msg << "BB" << b->getNumber() << "size " << b->size(); \
90 dbgs() << msg << "BB" << b->getNumber() << "size " << b->size(); \
186 dbgs() << "BB" << (*iterBlk)->getNumber(); in printOrderedBlocks()
649 LLVM_DEBUG(dbgs() << "BB" << MBB->getNumber() in isReturnBlock()
860 assert(((*It).first)->getNumber() != -1); in run()
861 LLVM_DEBUG(dbgs() << "Erase BB" << ((*It).first)->getNumber() << "\n";); in run()
896 dbgs() << "unreachable block BB" << MBB->getNumber() << "\n"; in orderBlocks()
904 LLVM_DEBUG(dbgs() << "Begin patternMatch BB" << MBB->getNumber() << "\n";); in patternMatch()
909 LLVM_DEBUG(dbgs() << "End patternMatch BB" << MBB->getNumber() in patternMatch()
1088 << Src1MBB->getNumber() << " src2 = BB" in isSameloopDetachedContbreak()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBasicBlockInfo.cpp49 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
81 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
98 unsigned DestOffset = BBInfo[DestBB->getNumber()].Offset; in isBBInRange()
121 unsigned BBNum = BB->getNumber(); in adjustBBOffsetsAfter()
124 << " - number: " << BB->getNumber() << "\n" in adjustBBOffsetsAfter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp791 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
807 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
821 return LHS->getNumber() < RHS->getNumber(); in CompareMBBNumbers()
834 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock()
882 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in splitBlockBeforeInstr()
937 unsigned CPEOffset = BBInfo[Water->getNumber()].postOffset(); in isWaterInRange()
942 NextBlockOffset = BBInfo[Water->getNumber()].postOffset(); in isWaterInRange()
945 NextBlockOffset = BBInfo[NextBlock->getNumber()].Offset; in isWaterInRange()
982 unsigned Block = MI->getParent()->getNumber(); in isCPEntryInRange()
1013 unsigned BBNum = BB->getNumber(); in adjustBBOffsetsAfter()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430BranchSelector.cpp95 unsigned TotalSize = BlockOffsets[Begin->getNumber()]; in measureFunction()
97 BlockOffsets[MBB.getNumber()] = TotalSize; in measureFunction()
133 BlockOffsets[DestBB->getNumber()] - BlockOffsets[MBB->getNumber()]; in expandBranches()
212 for (int i = MBB->getNumber() + 1, e = BlockOffsets.size(); i < e; ++i) { in expandBranches()

12345678910