Home
last modified time | relevance | path

Searched refs:oldPos (Results 1 – 19 of 19) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java254 int oldPos = pos.getIndex(); in parseObject() local
268 pos.setIndex(oldPos); in parseObject()
271 if (pos.getErrorIndex() != -1 || pos.getIndex() == oldPos) { in parseObject()
294 int parseDistance = pos.getIndex() - oldPos; in parseObject()
324 pos.setIndex(oldPos); in parseObject()
DSimpleDateFormat.java3777 int oldPos = pos.getIndex(); in parseInt() local
3801 int nDigits = pos.getIndex() - oldPos; in parseInt()
3809 pos.setIndex(oldPos + maxDigits); in parseInt()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java252 int oldPos = pos.getIndex(); in parseObject() local
266 pos.setIndex(oldPos); in parseObject()
269 if (pos.getErrorIndex() != -1 || pos.getIndex() == oldPos) { in parseObject()
292 int parseDistance = pos.getIndex() - oldPos; in parseObject()
322 pos.setIndex(oldPos); in parseObject()
DSimpleDateFormat.java3793 int oldPos = pos.getIndex(); in parseInt() local
3817 int nDigits = pos.getIndex() - oldPos; in parseInt()
3825 pos.setIndex(oldPos + maxDigits); in parseInt()
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp180 int32_t oldPos = pos.getIndex(); in parseObject() local
211 pos.setIndex(oldPos); in parseObject()
215 if (pos.getErrorIndex() != -1 || pos.getIndex() == oldPos) { in parseObject()
237 int32_t parseDistance = pos.getIndex() - oldPos; in parseObject()
273 pos.setIndex(oldPos); in parseObject()
283 pos.setIndex(oldPos); in parseObject()
Dtimezone.cpp1384 int32_t oldPos = pos.getIndex(); in parseCustomID() local
1387 if ((pos.getIndex() - oldPos) != 2) { in parseCustomID()
1400 oldPos = pos.getIndex(); in parseCustomID()
1404 || (pos.getIndex() - oldPos) != 2) { in parseCustomID()
Dsmpdtfmt.cpp3784 int32_t oldPos = pos.getIndex(); in parseInt() local
3790 int32_t nDigits = pos.getIndex() - oldPos; in parseInt()
3798 pos.setIndex(oldPos + maxDigits); in parseInt()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DZoneMeta.java693 int oldPos = pos.getIndex(); in parseCustomID() local
695 if ((pos.getIndex() - oldPos) != 2) { in parseCustomID()
706 oldPos = pos.getIndex(); in parseCustomID()
709 || (pos.getIndex() - oldPos) != 2) { in parseCustomID()
DUnicodeSetStringSpan.java773 int oldPos = pos; in spanBack() local
774 pos = spanSet.spanBack(s, oldPos, SpanCondition.CONTAINED); in spanBack()
775 spanLength = oldPos - pos; in spanBack()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DZoneMeta.java696 int oldPos = pos.getIndex(); in parseCustomID() local
698 if ((pos.getIndex() - oldPos) != 2) { in parseCustomID()
709 oldPos = pos.getIndex(); in parseCustomID()
712 || (pos.getIndex() - oldPos) != 2) { in parseCustomID()
DUnicodeSetStringSpan.java777 int oldPos = pos; in spanBack() local
778 pos = spanSet.spanBack(s, oldPos, SpanCondition.CONTAINED); in spanBack()
779 spanLength = oldPos - pos; in spanBack()
/external/icu/icu4c/source/common/
Dunisetspan.cpp922 int32_t oldPos=pos; in spanBack() local
923 pos=spanSet.spanBack(s, oldPos, USET_SPAN_CONTAINED); in spanBack()
924 spanLength=oldPos-pos; in spanBack()
1275 int32_t oldPos=pos; in spanBackUTF8() local
1276 pos=spanSet.spanBackUTF8((const char *)s, oldPos, USET_SPAN_CONTAINED); in spanBackUTF8()
1277 spanLength=oldPos-pos; in spanBackUTF8()
/external/cldr/tools/java/org/unicode/cldr/util/
DXMLSource.java285 int oldPos = oldPath.lastIndexOf('/'); in stripLastElement() local
287 Matcher verifyElement = MIDDLE_OF_ATTRIBUTE_VALUE.matcher(oldPath.substring(oldPos)); in stripLastElement()
289 oldPos = oldPath.lastIndexOf('/', oldPos - 1); in stripLastElement()
291 verifyElement.reset(oldPath.substring(oldPos)); in stripLastElement()
293 oldPath = oldPath.substring(0, oldPos); in stripLastElement()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java691 int oldPos = 0; in genTestFile() local
692 while (oldPos < coreSentence.length()) { in genTestFile()
694 int pos = coreSentence.indexOf(". ", oldPos); in genTestFile()
696 int pos2 = coreSentence.indexOf('\u3002', oldPos); in genTestFile()
699 String sentence = coreSentence.substring(oldPos, pos).trim(); in genTestFile()
701 oldPos = pos; in genTestFile()
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dhello_ar_application.cc725 glm::vec4 oldPos = pendingAnchor->GetAnchorPos(ar_session_); in OnTouchTranslate() local
726 glm::vec3 movement = glm::vec3(newPos - oldPos); in OnTouchTranslate()
731 backToOrigin = glm::translate(backToOrigin, -glm::vec3(oldPos)); in OnTouchTranslate()
733 backToPlane = glm::translate(backToPlane, glm::vec3(oldPos)); in OnTouchTranslate()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dhello_ar_application.cc726 glm::vec4 oldPos = pendingAnchor->GetAnchorPos(ar_session_); in OnTouchTranslate() local
727 glm::vec3 movement = glm::vec3(newPos - oldPos); in OnTouchTranslate()
732 backToOrigin = glm::translate(backToOrigin, -glm::vec3(oldPos)); in OnTouchTranslate()
734 backToPlane = glm::translate(backToPlane, glm::vec3(oldPos)); in OnTouchTranslate()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp2458 Instruction *oldPos = this->bb->getExit(); in visit() local
2829 if (!oldPos) { in visit()
2830 oldPos = this->bb->getEntry(); in visit()
2831 oldPos->precise = insn->exact; in visit()
2834 if (unlikely(!oldPos)) in visit()
2837 while (oldPos->next) { in visit()
2838 oldPos = oldPos->next; in visit()
2839 oldPos->precise = insn->exact; in visit()
2841 oldPos->saturate = insn->dest.saturate; in visit()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java2276 final int oldPos = pos; in readStringRequireUtf8() local
2278 if (size <= (bufferSize - oldPos) && size > 0) { in readStringRequireUtf8()
2282 pos = oldPos + size; in readStringRequireUtf8()
2283 tempPos = oldPos; in readStringRequireUtf8()
/external/ImageMagick/coders/
Dxcf.c1415 oldPos=TellBlob(image); in ReadXCFImage() local
1440 offset=SeekBlob(image,oldPos,SEEK_SET); /* restore the position! */ in ReadXCFImage()