Home
last modified time | relevance | path

Searched refs:endPosition (Results 1 – 18 of 18) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/draft/
DNormalizedIdentifierParser.java34 private int endPosition; field in NormalizedIdentifierParser
41 startPosition = endPosition = position; in set()
47 startPosition = endPosition; in next()
48 if (endPosition >= input.length()) { in next()
56 int codePoint = input.codePointAt(endPosition); in next()
58 endPosition += codePoint < 0x10000 ? 1 : 2; in next()
81 loop: while (endPosition < input.length()) { in next()
82 codePoint = input.codePointAt(endPosition); in next()
95 endPosition += codePoint < 0x10000 ? 1 : 2; in next()
116 return input.substring(startPosition, endPosition);
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DSampleDataQueue.java89 while (this.totalBytesWritten > lastNodeToKeep.endPosition) { in discardUpstreamSampleBytes()
96 lastNodeToKeep.next = new AllocationNode(lastNodeToKeep.endPosition, allocationLength); in discardUpstreamSampleBytes()
99 this.totalBytesWritten == lastNodeToKeep.endPosition in discardUpstreamSampleBytes()
161 while (absolutePosition >= firstAllocationNode.endPosition) { in discardDownstreamTo()
307 int toCopy = Math.min(remaining, (int) (readAllocationNode.endPosition - absolutePosition)); in readData()
312 if (absolutePosition == readAllocationNode.endPosition) { in readData()
329 int toCopy = Math.min(remaining, (int) (readAllocationNode.endPosition - absolutePosition)); in readData()
339 if (absolutePosition == readAllocationNode.endPosition) { in readData()
351 while (absolutePosition >= readAllocationNode.endPosition) { in advanceReadTo()
393 new AllocationNode(writeAllocationNode.endPosition, allocationLength)); in preAppend()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/
DDataSchemeDataSource.java36 private int endPosition; field in DataSchemeDataSource
68 endPosition = in open()
70 if (endPosition > data.length || readPosition > endPosition) { in open()
75 return (long) endPosition - readPosition; in open()
83 int remainingBytes = endPosition - readPosition; in read()
/external/angle/samples/particle_system/
DParticleSystem.cpp98 mParticles[i].endPosition.x() = sinf(endAngle) * endRadius; in initialize()
99 mParticles[i].endPosition.y() = cosf(endAngle) * endRadius; in initialize()
100 mParticles[i].endPosition.z() = 0.0f; in initialize()
171 &mParticles[0].endPosition); in draw()
216 Vector3 endPosition; member
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DReplacement.java31 public static Replacement create(int startPosition, int endPosition, String replaceWith) { in create() argument
33 checkArgument(startPosition <= endPosition, "startPosition cannot be after endPosition"); in create()
34 return new Replacement(Range.closedOpen(startPosition, endPosition), replaceWith); in create()
DRemoveUnusedImports.java249 int endPosition = importTree.getEndPosition(unit.endPositions); in buildReplacements() local
250 endPosition = Math.max(CharMatcher.isNot(' ').indexIn(contents, endPosition), endPosition); in buildReplacements()
252 if (endPosition + sep.length() < contents.length() in buildReplacements()
253 && contents.subSequence(endPosition, endPosition + sep.length()).toString().equals(sep)) { in buildReplacements()
254 endPosition += sep.length(); in buildReplacements()
256 replacements.put(Range.closedOpen(importTree.getStartPosition(), endPosition), ""); in buildReplacements() local
DStringWrapper.java128 int endPosition = getEndPosition(unit, literalTree); in getReflowReplacements() local
129 int lineEnd = endPosition; in getReflowReplacements()
/external/easymock/src/org/easymock/internal/
DMocksBehavior.java111 int endPosition = position; in addActual() local
123 if (endPosition == behaviorLists.size()) { in addActual()
124 endPosition--; in addActual()
128 StringBuilder errorMessage = new StringBuilder(70 * (endPosition in addActual()
138 for (int i = initialPosition; i <= endPosition; i++) { in addActual()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DMetadataUtil.java330 int endPosition = position + ilst.readInt(); in parseIlstElement() local
390 return parseInternalAttribute(ilst, endPosition); in parseIlstElement()
395 ilst.setPosition(endPosition); in parseIlstElement()
409 ParsableByteArray ilst, int endPosition, String key) { in parseMdtaMetadataEntryFromIlst() argument
411 while ((atomPosition = ilst.getPosition()) < endPosition) { in parseMdtaMetadataEntryFromIlst()
536 private static Id3Frame parseInternalAttribute(ParsableByteArray data, int endPosition) { in parseInternalAttribute() argument
541 while (data.getPosition() < endPosition) { in parseInternalAttribute()
DMp4Extractor.java293 long endPosition = input.getLength(); in readAtomHeader() local
294 if (endPosition == C.LENGTH_UNSET) { in readAtomHeader()
297 endPosition = containerAtom.endPosition; in readAtomHeader()
300 if (endPosition != C.LENGTH_UNSET) { in readAtomHeader()
301 atomSize = endPosition - input.getPosition() + atomHeaderBytesRead; in readAtomHeader()
310 long endPosition = input.getPosition() + atomSize - atomHeaderBytesRead; in readAtomHeader() local
314 containerAtoms.push(new ContainerAtom(atomType, endPosition)); in readAtomHeader()
316 processAtomEnded(endPosition); in readAtomHeader()
368 while (!containerAtoms.isEmpty() && containerAtoms.peek().endPosition == atomEndPosition) { in processAtomEnded()
DAtom.java422 public final long endPosition; field in Atom.ContainerAtom
430 public ContainerAtom(int type, long endPosition) { in ContainerAtom() argument
432 this.endPosition = endPosition; in ContainerAtom()
DFragmentedMp4Extractor.java354 long endPosition = input.getLength(); in readAtomHeader() local
355 if (endPosition == C.LENGTH_UNSET && !containerAtoms.isEmpty()) { in readAtomHeader()
356 endPosition = containerAtoms.peek().endPosition; in readAtomHeader()
358 if (endPosition != C.LENGTH_UNSET) { in readAtomHeader()
359 atomSize = endPosition - input.getPosition() + atomHeaderBytesRead; in readAtomHeader()
392 long endPosition = input.getPosition() + atomSize - Atom.HEADER_SIZE; in readAtomHeader() local
393 containerAtoms.push(new ContainerAtom(atomType, endPosition)); in readAtomHeader()
395 processAtomEnded(endPosition); in readAtomHeader()
433 while (!containerAtoms.isEmpty() && containerAtoms.peek().endPosition == atomEndPosition) { in processAtomEnded()
/external/dng_sdk/source/
Ddng_stream.cpp386 uint64 endPosition = fPosition + count; in Put() local
391 endPosition <= fBufferLimit) in Put()
398 if (fBufferEnd < endPosition) in Put()
399 fBufferEnd = endPosition; in Put()
431 fBufferEnd = endPosition; in Put()
442 fPosition = endPosition; in Put()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPathParser.java98 int endPosition = 0; in getFloats() local
108 endPosition = result.mEndPosition; in getFloats()
110 if (startPosition < endPosition) { in getFloats()
111 results[count++] = Float.parseFloat(s.substring(startPosition, endPosition)); in getFloats()
116 startPosition = endPosition; in getFloats()
118 startPosition = endPosition + 1; in getFloats()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCueParser.java589 int adjustedRubyTextEnd = rubyTextElement.endPosition - deletedCharCount; in applyRubySpans()
957 private final int endPosition; field in WebvttCueParser.Element
959 private Element(StartTag startTag, int endPosition) { in Element() argument
961 this.endPosition = endPosition; in Element()
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp184 int32_t endPosition = ubidi_getLength(fBidi.get()); in consume() local
189 while (fUTF16LogicalPosition < endPosition) { in consume()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DArrayDecoders.java262 final int endPosition = in decodeGroupField() local
266 return endPosition; in decodeGroupField()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp349 int32_t endPosition = fBidi->getLength(); in consume() local
354 while (fUTF16LogicalPosition < endPosition) { in consume()