Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-sctp.c172 u_int16_t chunkLength; in sctp_print() local
177 chunkLength = EXTRACT_16BITS(&chunkDescPtr->chunkLength); in sctp_print()
178 if (chunkLength < sizeof(*chunkDescPtr)) { in sctp_print()
179 printf("%s%d) [Bad chunk length %u]", sep, chunkCount+1, chunkLength); in sctp_print()
183 TCHECK2(*((u_int8_t *)chunkDescPtr), chunkLength); in sctp_print()
184 chunkEnd = ((const u_char*)chunkDescPtr + chunkLength); in sctp_print()
186 align=chunkLength % 4; in sctp_print()
235 if (EXTRACT_16BITS(&chunkDescPtr->chunkLength) < in sctp_print()
240 EXTRACT_16BITS(&chunkDescPtr->chunkLength)); in sctp_print()
244 forces_print(payloadPtr, EXTRACT_16BITS(&chunkDescPtr->chunkLength)- chunksize); in sctp_print()
[all …]
DsctpHeader.h74 u_int16_t chunkLength; member
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextChunkBuilder.cpp168 float chunkLength = 0; in processTextChunk() local
170 chunk.calculateLength(chunkLength, chunkCharacters); in processTextChunk()
175 float textLengthShift = (chunk.desiredTextLength() - chunkLength) / chunkCharacters; in processTextChunk()
185 float textLengthScale = chunk.desiredTextLength() / chunkLength; in processTextChunk()
210 chunkLength = 0; in processTextChunk()
212 chunk.calculateLength(chunkLength, chunkCharacters); in processTextChunk()
215 float textAnchorShift = chunk.calculateTextAnchorShift(chunkLength); in processTextChunk()
/external/icu/icu4c/source/common/
Dutext.cpp48 if(ut->chunkOffset>=ut->chunkLength && !utext_access(ut, ut->chunkNativeLimit, TRUE)) { in utext_moveIndex32()
122 if (ut->chunkOffset<ut->chunkLength) { in utext_setNativeIndex()
186 if (ut->chunkOffset==ut->chunkLength) { in utext_current32()
205 if ((ut->chunkOffset+1) < ut->chunkLength) { in utext_current32()
252 if (nativeIndex>=ut->chunkNativeStart && ut->chunkOffset<ut->chunkLength) { in utext_char32At()
268 if (ut->chunkOffset >= ut->chunkLength) { in utext_next32()
282 if (ut->chunkOffset >= ut->chunkLength) { in utext_next32()
634 ut->chunkLength = 0; in utext_setup()
706 ut->chunkLength = 0; in invalidateChunk()
974 ut->chunkOffset = ut->chunkLength; in utf8TextAccess()
[all …]
/external/chromium_org/third_party/icu/source/common/
Dutext.cpp45 if(ut->chunkOffset>=ut->chunkLength && !utext_access(ut, ut->chunkNativeLimit, TRUE)) { in utext_moveIndex32()
119 if (ut->chunkOffset<ut->chunkLength) { in utext_setNativeIndex()
183 if (ut->chunkOffset==ut->chunkLength) { in utext_current32()
202 if ((ut->chunkOffset+1) < ut->chunkLength) { in utext_current32()
249 if (nativeIndex>=ut->chunkNativeStart && ut->chunkOffset<ut->chunkLength) { in utext_char32At()
265 if (ut->chunkOffset >= ut->chunkLength) { in utext_next32()
279 if (ut->chunkOffset >= ut->chunkLength) { in utext_next32()
980 ut->chunkLength = 0; in utext_setup()
1052 ut->chunkLength = 0; in invalidateChunk()
1315 ut->chunkOffset = ut->chunkLength; in utf8TextAccess()
[all …]
/external/icu/icu4c/source/test/perf/utfperf/
Dutfperf.cpp74 chunkLength = atoi(options[CHUNK_LENGTH].value); in UtfPerformanceTest()
75 if (chunkLength < 1 || OUTPUT_CAPACITY < chunkLength) { in UtfPerformanceTest()
99 int32_t chunkLength, pivotLength; member in UtfPerformanceTest
180 pInterLimit=intermediate+testcase.chunkLength; in call()
241 pInterLimit=intermediate+testcase.chunkLength; in call()
296 pInterLimit=intermediate+testcase.chunkLength; in call()
/external/chromium_org/third_party/icu/source/test/perf/utfperf/
Dutfperf.cpp74 chunkLength = atoi(options[CHUNK_LENGTH].value); in UtfPerformanceTest()
75 if (chunkLength < 1 || OUTPUT_CAPACITY < chunkLength) { in UtfPerformanceTest()
99 int32_t chunkLength, pivotLength; member in UtfPerformanceTest
180 pInterLimit=intermediate+testcase.chunkLength; in call()
241 pInterLimit=intermediate+testcase.chunkLength; in call()
296 pInterLimit=intermediate+testcase.chunkLength; in call()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DTextBreakIteratorICU.cpp221 text->chunkLength = length <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(length) : 0; in textLatin1MoveInPrimaryContext()
222 text->nativeIndexingLimit = text->chunkLength; in textLatin1MoveInPrimaryContext()
223 text->chunkOffset = forward ? 0 : text->chunkLength; in textLatin1MoveInPrimaryContext()
224 …t LChar*>(text->p) + (text->chunkNativeStart - text->b), static_cast<unsigned>(text->chunkLength)); in textLatin1MoveInPrimaryContext()
242 text->chunkLength = text->b; in textLatin1MoveInPriorContext()
243 text->nativeIndexingLimit = text->chunkLength; in textLatin1MoveInPriorContext()
247 …in(offset <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0, text->chunkLength); in textLatin1MoveInPriorContext()
269 text->chunkOffset = text->chunkLength; in textInChunkOrOutOfRange()
376 text->chunkLength = length <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(length) : 0; in textUTF16MoveInPrimaryContext()
377 text->nativeIndexingLimit = text->chunkLength; in textUTF16MoveInPrimaryContext()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
DFontHarfBuzz.cpp126 unsigned chunkLength = std::min(kMaxBufferLength, numGlyphs - glyphIndex); in drawGlyphs() local
129 translations.resize(chunkLength); in drawGlyphs()
130 …verticalData->getVerticalTranslationsForGlyphs(font, &glyphs[0], chunkLength, reinterpret_cast<flo… in drawGlyphs()
136 for (unsigned i = 0; i < chunkLength; ++i, ++glyphIndex) { in drawGlyphs()
143 paintGlyphs(gc, font, glyphs, chunkLength, pos, textRect); in drawGlyphs()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp4254 …tic unsigned readChunk_PLTE(LodePNGColorMode* color, const unsigned char* data, size_t chunkLength) in readChunk_PLTE() argument
4258 color->palettesize = chunkLength / 3; in readChunk_PLTE()
4278 …tic unsigned readChunk_tRNS(LodePNGColorMode* color, const unsigned char* data, size_t chunkLength) in readChunk_tRNS() argument
4284 if(chunkLength > color->palettesize) return 38; in readChunk_tRNS()
4286 for(i = 0; i < chunkLength; i++) color->palette[4 * i + 3] = data[i]; in readChunk_tRNS()
4291 if(chunkLength != 2) return 30; in readChunk_tRNS()
4299 if(chunkLength != 6) return 41; in readChunk_tRNS()
4314 static unsigned readChunk_bKGD(LodePNGInfo* info, const unsigned char* data, size_t chunkLength) in readChunk_bKGD() argument
4319 if(chunkLength != 1) return 43; in readChunk_bKGD()
4327 if(chunkLength != 2) return 44; in readChunk_bKGD()
[all …]
Dlodepng_util.cpp586 size_t chunkLength = read32bitInt(&in[pos]); pos += 4; in decode() local
587 if(chunkLength > 2147483647) { error = 63; return; } in decode()
589 if(pos + chunkLength >= size) { error = 35; return; } in decode()
593 idat.insert(idat.end(), &in[pos + 4], &in[pos + 4 + chunkLength]); in decode()
594 pos += (4 + chunkLength); in decode()
603 pos += (chunkLength + 4); //skip 4 letters and uninterpreted data of unimplemented chunk in decode()
/external/icu/icu4c/source/common/unicode/
Dutext.h705 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
721 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
1426 int32_t chunkLength; member
/external/chromium_org/third_party/icu/source/common/unicode/
Dutext.h845 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
860 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
1565 int32_t chunkLength; member
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DDelegatingHttpsURLConnection.java289 @Override public void setChunkedStreamingMode(int chunkLength) { in setChunkedStreamingMode() argument
290 delegate.setChunkedStreamingMode(chunkLength); in setChunkedStreamingMode()
DHttpURLConnectionImpl.java291 } else if (chunkLength > 0) { in newHttpEngine()
589 if (chunkLength > 0) throw new IllegalStateException("Already in chunked mode"); in setFixedLengthStreamingMode()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp1312 ut->chunkLength = 1; in fragTextAccess()
1321 ut->chunkLength = 1; in fragTextAccess()
1328 ut->chunkLength = 0; in fragTextAccess()
/external/chromium_org/third_party/icu/source/test/intltest/
Dutxttest.cpp1786 ut->chunkLength = 1; in fragTextAccess()
1795 ut->chunkLength = 1; in fragTextAccess()
1802 ut->chunkLength = 0; in fragTextAccess()
/external/icu/icu4c/source/i18n/
Drematch.cpp1467 ut->chunkLength = newLength; in compat_SyncMutableUTextContents()
/external/chromium_org/third_party/icu/source/i18n/
Drematch.cpp1498 ut->chunkLength = newLength; in compat_SyncMutableUTextContents()