Home
last modified time | relevance | path

Searched refs:getPosition (Results 1 – 25 of 221) sorted by relevance

123456789

/external/jsilver/src/com/google/clearsilver/jsilver/syntax/analysis/
DDepthFirstAdapter.java77 if(node.getPosition() != null) in caseACommentCommand()
79 node.getPosition().apply(this); in caseACommentCommand()
123 if(node.getPosition() != null) in caseAVarCommand()
125 node.getPosition().apply(this); in caseAVarCommand()
148 if(node.getPosition() != null) in caseALvarCommand()
150 node.getPosition().apply(this); in caseALvarCommand()
173 if(node.getPosition() != null) in caseAEvarCommand()
175 node.getPosition().apply(this); in caseAEvarCommand()
198 if(node.getPosition() != null) in caseAUvarCommand()
200 node.getPosition().apply(this); in caseAUvarCommand()
[all …]
DReversedDepthFirstAdapter.java82 if(node.getPosition() != null) in caseACommentCommand()
84 node.getPosition().apply(this); in caseACommentCommand()
128 if(node.getPosition() != null) in caseAVarCommand()
130 node.getPosition().apply(this); in caseAVarCommand()
153 if(node.getPosition() != null) in caseALvarCommand()
155 node.getPosition().apply(this); in caseALvarCommand()
178 if(node.getPosition() != null) in caseAEvarCommand()
180 node.getPosition().apply(this); in caseAEvarCommand()
203 if(node.getPosition() != null) in caseAUvarCommand()
205 node.getPosition().apply(this); in caseAUvarCommand()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DAutoEscaper.java156 setCurrentPosition(node.getPosition()); in caseAIfCommand()
208 saveAutoEscapingContext(node, node.getPosition()); in caseACallCommand()
213 saveAutoEscapingContext(node, node.getPosition()); in caseALvarCommand()
218 saveAutoEscapingContext(node, node.getPosition()); in caseAEvarCommand()
223 saveAutoEscapingContext(node, node.getPosition()); in caseALincludeCommand()
228 saveAutoEscapingContext(node, node.getPosition()); in caseAIncludeCommand()
233 saveAutoEscapingContext(node, node.getPosition()); in caseAHardLincludeCommand()
238 saveAutoEscapingContext(node, node.getPosition()); in caseAHardIncludeCommand()
243 applyAutoEscaping(node, node.getPosition()); in caseAVarCommand()
248 applyAutoEscaping(node, node.getPosition()); in caseAAltCommand()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAbstractCursorTest.java61 assertThat(cursor.getPosition()).isEqualTo(0); in testGetPosition()
70 assertThat(cursor.getPosition()).isEqualTo(0); in testGetPositionSingleEntry()
77 assertThat(cursor.getPosition()).isEqualTo(0); in testGetPositionEmptyList()
88 assertThat(cursor.getPosition()).isEqualTo(1); in testMoveToNext()
99 assertThat(cursor.getPosition()).isEqualTo(1); in testAttemptToMovePastEnd()
103 assertThat(cursor.getPosition()).isEqualTo(2); in testAttemptToMovePastEnd()
113 assertThat(cursor.getPosition()).isEqualTo(1); in testAttemptToMovePastSingleEntry()
121 assertThat(cursor.getPosition()).isEqualTo(0); in testAttemptToMovePastEmptyList()
130 assertThat(cursor.getPosition()).isEqualTo(1); in testMoveToPrevious()
132 assertThat(cursor.getPosition()).isEqualTo(0); in testMoveToPrevious()
[all …]
DSQLiteCursorTest.java139 assertThat(cursor.getPosition()).isEqualTo(-1); in testMoveBackwards()
142 assertThat(cursor.getPosition()).isEqualTo(0); in testMoveBackwards()
144 assertThat(cursor.getPosition()).isEqualTo(1); in testMoveBackwards()
146 assertThat(cursor.getPosition()).isEqualTo(2); in testMoveBackwards()
149 assertThat(cursor.getPosition()).isEqualTo(0); in testMoveBackwards()
151 assertThat(cursor.getPosition()).isEqualTo(1); in testMoveBackwards()
153 assertThat(cursor.getPosition()).isEqualTo(2); in testMoveBackwards()
156 assertThat(cursor.getPosition()).isEqualTo(1); in testMoveBackwards()
196 assertThat(cursor.getPosition()).isEqualTo(0); in testGetPosition()
199 assertThat(cursor.getPosition()).isEqualTo(1); in testGetPosition()
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DTemplateInterpreter.java107 setLastPosition(node.getPosition()); in caseAVarCommand()
119 setLastPosition(node.getPosition()); in caseAUvarCommand()
131 setLastPosition(node.getPosition()); in caseALvarCommand()
140 setLastPosition(node.getPosition()); in caseAEvarCommand()
167 setLastPosition(node.getPosition()); in caseAHardLincludeCommand()
177 setLastPosition(node.getPosition()); in caseALincludeCommand()
186 setLastPosition(node.getPosition()); in caseAHardIncludeCommand()
196 setLastPosition(node.getPosition()); in caseAIncludeCommand()
205 setLastPosition(node.getPosition()); in caseASetCommand()
230 setLastPosition(node.getPosition()); in caseANameCommand()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ranking/
DNaturalRanking.java224 out[ranks[0].getPosition()] = pos; in rank()
226 tiesTrace.add(ranks[0].getPosition()); in rank()
235 tiesTrace.add(ranks[i].getPosition()); in rank()
238 tiesTrace.add(ranks[i].getPosition()); in rank()
240 out[ranks[i].getPosition()] = pos; in rank()
269 ranks[k].getValue(), ranks[k].getPosition() - 1); in removeNaNs()
273 ranks[i].getValue(), ranks[i].getPosition()); in removeNaNs()
292 value, ranks[i].getPosition()); in recodeNaNs()
460 public int getPosition() { in getPosition() method in NaturalRanking.IntDoublePair
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DTemplateTranslator.java234 capturePosition(node.getPosition()); in caseAVarCommand()
251 capturePosition(node.getPosition()); in caseAUvarCommand()
261 capturePosition(node.getPosition()); in caseASetCommand()
285 capturePosition(node.getPosition()); in caseANameCommand()
296 capturePosition(node.getPosition()); in caseAIfCommand()
313 capturePosition(node.getPosition()); in caseAEachCommand()
325 capturePosition(node.getPosition()); in caseAWithCommand()
374 capturePosition(node.getPosition()); in caseALoopToCommand()
387 capturePosition(node.getPosition()); in caseALoopCommand()
401 capturePosition(node.getPosition()); in caseALoopIncCommand()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DBCELFactory.java93 _out.println(" InstructionHandle ih_" + ih.getPosition() + ";"); in start()
95 _out.print(" InstructionHandle ih_" + ih.getPosition() + " = "); in start()
269 final int pos = bh.getPosition(); in visitBranchInstruction()
293 final int t_pos = bh.getTarget().getPosition(); in visitBranchInstruction()
322 final int pos = bh.getPosition(); in updateBranchTargets()
324 int t_pos = bh.getTarget().getPosition(); in updateBranchTargets()
329 t_pos = ihs[j].getPosition(); in updateBranchTargets()
342 _out.println(" method.addExceptionHandler(" + "ih_" + h.getStartPC().getPosition() in updateExceptionHandlers()
343 + ", " + "ih_" + h.getEndPC().getPosition() + ", " + "ih_" in updateExceptionHandlers()
344 + h.getHandlerPC().getPosition() + ", " + type + ");"); in updateExceptionHandlers()
/external/replicaisland/src/com/replica/replicaisland/
DAttackAtDistanceComponent.java52 mDistance.set(player.getPosition()); in update()
53 mDistance.subtract(parentObject.getPosition()); in update()
58 (Utils.sign(player.getPosition().x - parentObject.getPosition().x) in update()
DLifetimeComponent.java92 Math.abs(parentObject.getPosition().x - camera.getFocusPositionX()); in update()
94 Math.abs(parentObject.getPosition().y - camera.getFocusPositionY()); in update()
108 parentObject.getPosition().y + 10.0f) == HotSpotSystem.HotSpotType.DIE) { in update()
145 GameObject object = factory.spawn(mSpawnOnDeathType, parentObject.getPosition().x, in die()
146 parentObject.getPosition().y, parentObject.facingDirection.x < 0.0f); in die()
DMovementComponent.java45 float newX = object.getPosition().x + offsetX; in update()
51 float newY = object.getPosition().y + offsetY; in update()
55 object.getPosition().set(newX, newY); in update()
DTheSourceComponent.java69 mShakeStartPosition = parentObject.getPosition().x; in update()
97 parentObject.getPosition().y += offset; in update()
132 parentObject.getPosition().x = mShakeStartPosition + delta; in update()
136 parentObject.getPosition().x = mShakeStartPosition; in update()
DHitReactionComponent.java129 victim.getPosition().x : parent.getPosition().x; in hitVictim()
131 victim.getPosition().y : parent.getPosition().y; in hitVictim()
179 Vector2 newVelocity = pool.allocate(parent.getPosition()); in receivedHit()
180 newVelocity.subtract(attacker.getPosition()); in receivedHit()
DGameObjectManager.java89 final float distance2 = mCameraFocus.distance2(gameObject.getPosition()); in update()
116 final Vector2 position = gameObject.getPosition(); in update()
192 float delta = ((GameObject) object1).getPosition().x in compare()
193 - ((GameObject) object2).getPosition().x; in compare()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
Dopt.cpp679 StandardLinkOpts.getPosition() < PassList.getPosition(i)) { in main()
684 if (OptLevelO0 && OptLevelO0.getPosition() < PassList.getPosition(i)) { in main()
689 if (OptLevelO1 && OptLevelO1.getPosition() < PassList.getPosition(i)) { in main()
694 if (OptLevelO2 && OptLevelO2.getPosition() < PassList.getPosition(i)) { in main()
699 if (OptLevelOs && OptLevelOs.getPosition() < PassList.getPosition(i)) { in main()
704 if (OptLevelOz && OptLevelOz.getPosition() < PassList.getPosition(i)) { in main()
709 if (OptLevelO3 && OptLevelO3.getPosition() < PassList.getPosition(i)) { in main()
/external/skqp/tests/
DFakeStreams.h59 if (fStream.getPosition() + size > fLimit) { in read()
60 size = fLimit - fStream.getPosition(); in read()
74 size_t getPosition() const override { return fStream.getPosition(); } in getPosition() function
DStreamTest.cpp502 REPORTER_ASSERT(r, stream1.getPosition() == middle); in DEF_TEST()
525 REPORTER_ASSERT(r, stream->getPosition() == stream->getLength()); in DEF_TEST()
532 REPORTER_ASSERT(r, stream->getPosition() == 0); in DEF_TEST()
541 REPORTER_ASSERT(r, stream->getPosition() == 0); in DEF_TEST()
544 REPORTER_ASSERT(r, stream->getPosition() == 0); in DEF_TEST()
551 REPORTER_ASSERT(r, stream->getPosition() == remaining); in DEF_TEST()
556 REPORTER_ASSERT(r, stream->getPosition() == remaining); in DEF_TEST()
563 REPORTER_ASSERT(r, stream->getPosition() == arbitrary); in DEF_TEST()
573 REPORTER_ASSERT(r, stream->getPosition() == 0); in DEF_TEST()
585 REPORTER_ASSERT(r, stream->getPosition() == remaining); in DEF_TEST()
[all …]
/external/skia/tests/
DFakeStreams.h59 if (fStream.getPosition() + size > fLimit) { in read()
60 size = fLimit - fStream.getPosition(); in read()
74 size_t getPosition() const override { return fStream.getPosition(); } in getPosition() function
DStreamTest.cpp502 REPORTER_ASSERT(r, stream1.getPosition() == middle); in DEF_TEST()
525 REPORTER_ASSERT(r, stream->getPosition() == stream->getLength()); in DEF_TEST()
532 REPORTER_ASSERT(r, stream->getPosition() == 0); in DEF_TEST()
541 REPORTER_ASSERT(r, stream->getPosition() == 0); in DEF_TEST()
544 REPORTER_ASSERT(r, stream->getPosition() == 0); in DEF_TEST()
551 REPORTER_ASSERT(r, stream->getPosition() == remaining); in DEF_TEST()
556 REPORTER_ASSERT(r, stream->getPosition() == remaining); in DEF_TEST()
563 REPORTER_ASSERT(r, stream->getPosition() == arbitrary); in DEF_TEST()
573 REPORTER_ASSERT(r, stream->getPosition() == 0); in DEF_TEST()
585 REPORTER_ASSERT(r, stream->getPosition() == remaining); in DEF_TEST()
[all …]
/external/llvm/tools/opt/
Dopt.cpp527 StandardLinkOpts.getPosition() < PassList.getPosition(i)) { in main()
532 if (OptLevelO1 && OptLevelO1.getPosition() < PassList.getPosition(i)) { in main()
537 if (OptLevelO2 && OptLevelO2.getPosition() < PassList.getPosition(i)) { in main()
542 if (OptLevelOs && OptLevelOs.getPosition() < PassList.getPosition(i)) { in main()
547 if (OptLevelOz && OptLevelOz.getPosition() < PassList.getPosition(i)) { in main()
552 if (OptLevelO3 && OptLevelO3.getPosition() < PassList.getPosition(i)) { in main()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java271 writeHeader(headerWriter, dataSectionOffset, offsetWriter.getPosition());
333 stringIndexSectionOffset = indexWriter.getPosition();
334 stringDataSectionOffset = offsetWriter.getPosition();
341 indexWriter.writeInt(offsetWriter.getPosition());
350 typeSectionOffset = writer.getPosition();
363 protoSectionOffset = writer.getPosition();
379 fieldSectionOffset = writer.getPosition();
395 methodSectionOffset = writer.getPosition();
411 classIndexSectionOffset = indexWriter.getPosition();
412 classDataSectionOffset = offsetWriter.getPosition();
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DBranchInstruction.java96 final int t = _target.getPosition(); in getTargetOffset()
154 t = "" + target.getPosition(); in toString()
159 index = target.getPosition(); in toString()
262 protected int getPosition() { in getPosition() method in BranchInstruction
DBranchHandle.java73 public int getPosition() { in getPosition() method in BranchHandle
74 return bi.getPosition(); in getPosition()
89 super.setPosition(bi.getPosition()); in updatePosition()
/external/swiftshader/third_party/LLVM/tools/opt/
Dopt.cpp598 StandardCompileOpts.getPosition() < PassList.getPosition(i)) { in main()
604 StandardLinkOpts.getPosition() < PassList.getPosition(i)) { in main()
609 if (OptLevelO1 && OptLevelO1.getPosition() < PassList.getPosition(i)) { in main()
614 if (OptLevelO2 && OptLevelO2.getPosition() < PassList.getPosition(i)) { in main()
619 if (OptLevelO3 && OptLevelO3.getPosition() < PassList.getPosition(i)) { in main()

123456789