Home
last modified time | relevance | path

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

1234567

/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/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAbstractCursorTest.java66 assertThat(cursor.getPosition(), equalTo(0)); in testGetPosition()
75 assertThat(cursor.getPosition(), equalTo(0)); in testGetPositionSingleEntry()
82 assertThat(cursor.getPosition(), equalTo(0)); in testGetPositionEmptyList()
93 assertThat(cursor.getPosition(), equalTo(1)); in testMoveToNext()
104 assertThat(cursor.getPosition(), equalTo(1)); in testAttemptToMovePastEnd()
108 assertThat(cursor.getPosition(), equalTo(2)); in testAttemptToMovePastEnd()
118 assertThat(cursor.getPosition(), equalTo(1)); in testAttemptToMovePastSingleEntry()
126 assertThat(cursor.getPosition(), equalTo(0)); in testAttemptToMovePastEmptyList()
135 assertThat(cursor.getPosition(), equalTo(1)); in testMoveToPrevious()
137 assertThat(cursor.getPosition(), equalTo(0)); in testMoveToPrevious()
[all …]
DSQLiteCursorTest.java144 assertThat(cursor.getPosition(), equalTo(-1)); in testMoveBackwards()
147 assertThat(cursor.getPosition(), equalTo(0)); in testMoveBackwards()
149 assertThat(cursor.getPosition(), equalTo(1)); in testMoveBackwards()
151 assertThat(cursor.getPosition(), equalTo(2)); in testMoveBackwards()
154 assertThat(cursor.getPosition(), equalTo(0)); in testMoveBackwards()
156 assertThat(cursor.getPosition(), equalTo(1)); in testMoveBackwards()
158 assertThat(cursor.getPosition(), equalTo(2)); in testMoveBackwards()
161 assertThat(cursor.getPosition(), equalTo(1)); in testMoveBackwards()
203 assertThat(cursor.getPosition(), equalTo(0)); in testGetPosition()
206 assertThat(cursor.getPosition(), equalTo(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/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()
DLaunchProjectileComponent.java146 final float x = parentObject.getPosition().x + offsetX; in launch()
147 final float y = parentObject.getPosition().y + offsetY; in launch()
165 object.getPosition().x -= object.width / 2.0f; in launch()
166 object.getPosition().y -= object.height / 2.0f; in launch()
DPatrolComponent.java96 parentObject.getPosition().y + 10.0f); in update()
221 if (Utils.sign(player.getPosition().x - parentObject.getPosition().x) in updateAttack()
223 mWorkingVector.set(parentObject.getPosition()); in updateAttack()
225 mWorkingVector2.set(player.getPosition()); in updateAttack()
DPlayerComponent.java271 } else if (parentObject.getPosition().y < -parentObject.height) { in update()
284 … parentObject.getPosition().y + 10.0f) == HotSpotSystem.HotSpotType.DIE) { in update()
347 final float x = parentObject.getPosition().x; in stateMove()
348 final float y = parentObject.getPosition().y; in stateMove()
410 final float x = parentObject.getPosition().x; in stateStomp()
411 final float y = parentObject.getPosition().y; in stateStomp()
456 if (parentObject.getPosition().y < -parentObject.height) { in stateDead()
472 recorder.setLastDeathPosition(parentObject.getPosition()); in stateDead()
/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/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
/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.java270 writeHeader(headerWriter, dataSectionOffset, offsetWriter.getPosition());
332 stringIndexSectionOffset = indexWriter.getPosition();
333 stringDataSectionOffset = offsetWriter.getPosition();
340 indexWriter.writeInt(offsetWriter.getPosition());
349 typeSectionOffset = writer.getPosition();
362 protoSectionOffset = writer.getPosition();
378 fieldSectionOffset = writer.getPosition();
394 methodSectionOffset = writer.getPosition();
410 classIndexSectionOffset = indexWriter.getPosition();
411 classDataSectionOffset = offsetWriter.getPosition();
[all …]
/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()
/external/llvm/tools/llvm-mcmarkup/
Dllvm-mcmarkup.cpp52 StringRef::const_iterator getPosition() const { return CurPtr; } in getPosition() function in MarkupLexer
125 StringRef::const_iterator Start = Lex.getPosition(); in parseTag()
132 StringRef RawTag(Start, Lex.getPosition() - Start - 1); in parseTag()
176 SMLoc Loc = SMLoc::getFromPointer(Lex.getPosition() - 1); in parseMCMarkup()
/external/flatbuffers/tests/MyGame/Example2/
DMonster.php20 return ($obj->init($bb->getInt($bb->getPosition()) + $bb->getPosition(), $bb));
/external/deqp/framework/common/
DtcuResource.hpp52 virtual int getPosition (void) const = 0;
116 int getPosition (void) const;
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DTableInNestedNS.php20 return ($obj->init($bb->getInt($bb->getPosition()) + $bb->getPosition(), $bb));

1234567