Home
last modified time | relevance | path

Searched refs:inputEnd (Results 1 – 13 of 13) sorted by relevance

/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DBase64Variant.java379 final int inputEnd = input.length; in encode() local
380 final StringBuilder sb = new StringBuilder(inputEnd + (inputEnd >> 2) + (inputEnd >> 3)); in encode()
389 int safeInputEnd = inputEnd-3; // to get only full triplets in encode()
406 int inputLeft = inputEnd - inputPtr; // 0, 1 or 2 in encode()
433 final int inputEnd = input.length; in encode() local
434 final StringBuilder sb = new StringBuilder(inputEnd + (inputEnd >> 2) + (inputEnd >> 3)); in encode()
442 int safeInputEnd = inputEnd-3; in encode()
454 int inputLeft = inputEnd - inputPtr; in encode()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DUTF8JsonGenerator.java806 final int inputEnd = offset + len; in _writeSegmentedRaw() local
809 while (offset < inputEnd) { in _writeSegmentedRaw()
821 if (++offset >= inputEnd) { in _writeSegmentedRaw()
833 offset = _outputRawMultiByteChar(ch, cbuf, offset, inputEnd); in _writeSegmentedRaw()
1871 byte[] input, int inputPtr, final int inputEnd) in _writeBinary() argument
1875 int safeInputEnd = inputEnd - 3; in _writeBinary()
1899 int inputLeft = inputEnd - inputPtr; // 0, 1 or 2 in _writeBinary()
1918 int inputEnd = 0; in _writeBinary() local
1927 inputEnd = _readMore(data, readBuffer, inputPtr, inputEnd, bytesLeft); in _writeBinary()
1929 if (inputEnd < 3) { // required to try to read to have at least 3 bytes in _writeBinary()
[all …]
DWriterBasedJsonGenerator.java1558 …d final void _writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, final int inputEnd) in _writeBinary() argument
1562 int safeInputEnd = inputEnd - 3; in _writeBinary()
1586 int inputLeft = inputEnd - inputPtr; // 0, 1 or 2 in _writeBinary()
1605 int inputEnd = 0; in _writeBinary() local
1614 inputEnd = _readMore(data, readBuffer, inputPtr, inputEnd, bytesLeft); in _writeBinary()
1616 if (inputEnd < 3) { // required to try to read to have at least 3 bytes in _writeBinary()
1619 lastFullOffset = inputEnd-3; in _writeBinary()
1638 inputEnd = _readMore(data, readBuffer, inputPtr, inputEnd, bytesLeft); in _writeBinary()
1640 if (inputEnd > 0) { // yes, but do we have room for output? in _writeBinary()
1646 if (inputPtr < inputEnd) { in _writeBinary()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/io/
DJsonStringEncoder.java257 int inputEnd = text.length(); in quoteAsUTF8() local
263 while (inputPtr < inputEnd) { in quoteAsUTF8()
280 if (++inputPtr >= inputEnd) { in quoteAsUTF8()
318 if (inputPtr >= inputEnd) { in quoteAsUTF8()
359 int inputEnd = text.length(); in encodeAsUTF8() local
366 while (inputPtr < inputEnd) { in encodeAsUTF8()
380 if (inputPtr >= inputEnd) { in encodeAsUTF8()
412 if (inputPtr >= inputEnd) { in encodeAsUTF8()
456 int inputEnd = text.length(); in encodeAsUTF8() local
463 while (inputPtr < inputEnd) { in encodeAsUTF8()
[all …]
/external/llvm-project/pstl/test/support/
Dutils.h940 operator()(Policy&& exec, Op op, Iterator inputBegin, Iterator inputEnd, Rest&&... rest)
942 invoke_if<Iterator>()(std::distance(inputBegin, inputEnd) <= sizeLimit, op, exec,
943 … make_iterator<Iterator>()(inputBegin), make_iterator<Iterator>()(inputEnd),
950 …operator()(Policy&& exec, Op op, InputIterator inputBegin, InputIterator inputEnd, OutputIterator …
953 invoke_if<InputIterator>()(std::distance(inputBegin, inputEnd) <= sizeLimit, op, exec,
954 … make_iterator<InputIterator>()(inputBegin), make_iterator<InputIterator>()(inputEnd),
961 …operator()(Policy&& exec, Op op, InputIterator inputBegin, InputIterator inputEnd, OutputIterator …
964 invoke_if<InputIterator>()(std::distance(inputBegin, inputEnd) <= sizeLimit, op, exec,
965 … make_iterator<InputIterator>()(inputBegin), make_iterator<InputIterator>()(inputEnd),
1027 operator()(Policy&& exec, Op op, Iterator inputBegin, Iterator inputEnd, Rest&&... rest)
[all …]
/external/brotli/java/org/brotli/dec/
DState.java40 int inputEnd; field in State
DDecode.java341 s.inputEnd = BitReader.readFewBits(s, 1); in decodeMetaBlockLength()
345 if ((s.inputEnd != 0) && BitReader.readFewBits(s, 1) != 0) { in decodeMetaBlockLength()
377 if (s.inputEnd == 0) { in decodeMetaBlockLength()
717 if ((s.inputEnd == 0) && newSize < 16384 && s.maxRingBufferSize >= 16384) { in maybeReallocateRingBuffer()
734 if (s.inputEnd != 0) { in readNextMetablockHeader()
/external/icu/android_icu4j/testing/src/com/android/icu/test/util/regex/
DMatcherNativeTest.java94 private int inputStart, inputEnd; field in MatcherNativeTest.Matcher
116 return inputEnd; in regionEnd()
126 inputEnd = end; in reset()
127 matcherNative.setInput(input, inputStart, inputEnd); in reset()
/external/brotli/csharp/org/brotli/dec/
DState.cs24 internal bool inputEnd; field in Org.Brotli.Dec.State
DDecode.cs64 state.inputEnd = Org.Brotli.Dec.BitReader.ReadBits(br, 1) == 1; in DecodeMetaBlockLength()
68 if (state.inputEnd && Org.Brotli.Dec.BitReader.ReadBits(br, 1) != 0) in DecodeMetaBlockLength()
108 if (!state.inputEnd) in DecodeMetaBlockLength()
467 if (!state.inputEnd && newSize < 16384 && state.maxRingBufferSize >= 16384) in MaybeReallocateRingBuffer()
505 if (state.inputEnd) in ReadMetablockInfo()
/external/brotli/js/
Ddecode.js233 s.inputEnd = readFewBits(s, 1);
237 if ((s.inputEnd != 0) && readFewBits(s, 1) != 0) {
275 if (s.inputEnd == 0) {
689 if ((s.inputEnd == 0) && newSize < 16384 && s.maxRingBufferSize >= 16384) {
709 if (s.inputEnd != 0) {
1818 this.inputEnd = 0;
/external/antlr/runtime/C/src/
Dantlr3string.c364 UTF16 * inputEnd; in toUTF8_UTF16() local
387 inputEnd = (UTF16 *) (string->chars); in toUTF8_UTF16()
394 (const UTF16**)&inputEnd, in toUTF8_UTF16()
/external/zstd/lib/compress/
Dzstd_lazy.c65 U32 curr, const BYTE* inputEnd, in ZSTD_insertDUBT1() argument
78 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1()