Searched refs:maxLen (Results 1 - 25 of 61) sorted by relevance

123

/external/chromium_org/third_party/icu/source/i18n/
H A Duni2name.cpp76 int32_t maxLen = uprv_getMaxCharNameLength(); local
77 if (maxLen == 0) {
83 char* buf = (char*) uprv_malloc(maxLen);
100 if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) {
H A Dname2uni.cpp114 int32_t maxLen = uprv_getMaxCharNameLength(); local
115 if (maxLen == 0) {
121 ++maxLen; // allow for temporary trailing space
122 char* cbuf = (char*) uprv_malloc(maxLen);
172 // If we are too long then abort. maxLen includes
174 if (name.length() > maxLen) {
191 name.extract(0, len, cbuf, maxLen, US_INV);
227 // maxLen includes temporary trailing space, so use '>='.
228 if (name.length() >= maxLen) {
/external/icu/icu4c/source/i18n/
H A Duni2name.cpp76 int32_t maxLen = uprv_getMaxCharNameLength(); local
77 if (maxLen == 0) {
83 char* buf = (char*) uprv_malloc(maxLen);
100 if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) {
H A Dname2uni.cpp114 int32_t maxLen = uprv_getMaxCharNameLength(); local
115 if (maxLen == 0) {
121 ++maxLen; // allow for temporary trailing space
122 char* cbuf = (char*) uprv_malloc(maxLen);
172 // If we are too long then abort. maxLen includes
174 if (name.length() > maxLen) {
191 name.extract(0, len, cbuf, maxLen, US_INV);
227 // maxLen includes temporary trailing space, so use '>='.
228 if (name.length() >= maxLen) {
/external/chromium_org/third_party/lzma_sdk/
H A DLzFind.c324 UInt32 *distances, UInt32 maxLen)
335 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
341 if (maxLen < len)
343 *distances++ = maxLen = len;
355 UInt32 *distances, UInt32 maxLen)
378 if (maxLen < len)
380 *distances++ = maxLen = len;
477 #define GET_MATCHES_FOOTER(offset, maxLen) \
479 distances + offset, maxLen)
322 Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument
353 GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument
508 UInt32 hash2Value, delta2, maxLen, offset; local
541 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
588 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
[all...]
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
H A DLzFind.c325 UInt32 *distances, UInt32 maxLen)
336 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
342 if (maxLen < len)
344 *distances++ = maxLen = len;
356 UInt32 *distances, UInt32 maxLen)
379 if (maxLen < len)
381 *distances++ = maxLen = len;
478 #define GET_MATCHES_FOOTER(offset, maxLen) \
480 distances + offset, maxLen)
323 Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument
354 GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument
509 UInt32 hash2Value, delta2, maxLen, offset; local
542 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
589 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
[all...]
/external/lzma/C/
H A DLzFind.c324 UInt32 *distances, UInt32 maxLen)
335 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
341 if (maxLen < len)
343 *distances++ = maxLen = len;
355 UInt32 *distances, UInt32 maxLen)
378 if (maxLen < len)
380 *distances++ = maxLen = len;
477 #define GET_MATCHES_FOOTER(offset, maxLen) \
479 distances + offset, maxLen)
322 Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument
353 GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, UInt32 _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *distances, UInt32 maxLen) argument
508 UInt32 hash2Value, delta2, maxLen, offset; local
541 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
588 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; local
[all...]
/external/lzma/CPP/Common/
H A DCommandLineParser.cpp105 int maxLen = kNoLen; local
109 if (switchLen <= maxLen || pos + switchLen > len)
118 maxLen = switchLen;
121 if (maxLen == kNoLen)
122 throw "maxLen == kNoLen";
128 pos += maxLen;
177 int maxLen = switchForm.MaxLen; local
180 for (int i = minLen; i < maxLen && pos < len; i++, pos++)
/external/bzip2/
H A Dhuffman.c66 Int32 maxLen )
120 if (j > maxLen) tooLong = True;
130 maxLen, which up to and including version 1.0.2 was 20 bits,
131 which is extremely unlikely. In version 1.0.3 maxLen was
155 Int32 maxLen,
161 for (n = minLen; n <= maxLen; n++) {
175 Int32 maxLen,
181 for (i = minLen; i <= maxLen; i++)
193 for (i = minLen; i <= maxLen; i++) {
198 for (i = minLen + 1; i <= maxLen;
152 BZ2_hbAssignCodes( Int32 *code, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument
170 BZ2_hbCreateDecodeTables( Int32 *limit, Int32 *base, Int32 *perm, UChar *length, Int32 minLen, Int32 maxLen, Int32 alphaSize ) argument
[all...]
H A Dcompress.c242 Int32 nSelectors, alphaSize, minLen, maxLen, selCtr; local
447 /* maxLen was changed from 20 to 17 in bzip2-1.0.3. See
483 maxLen = 0;
485 if (s->len[t][i] > maxLen) maxLen = s->len[t][i];
488 AssertH ( !(maxLen > 17 /*20*/ ), 3004 );
491 minLen, maxLen, alphaSize );
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DStartupConfig.cpp126 const UINT8 maxLen = mBuffer[0]; local
132 if (index > maxLen)
/external/deqp/execserver/
H A DxsExecutionServer.cpp344 int maxLen = de::min<int>((int)m_sendRecvTmpBuf.size(), m_bufferIn.getNumFree()); local
346 if (maxLen > 0)
349 deSocketResult result = m_socket->receive(&m_sendRecvTmpBuf[0], maxLen, &numRecv);
375 int maxLen = de::min<int>((int)m_sendRecvTmpBuf.size(), m_bufferOut.getNumElements()); local
377 if (maxLen > 0)
379 m_bufferOut.peekBack(&m_sendRecvTmpBuf[0], maxLen);
382 deSocketResult result = m_socket->send(&m_sendRecvTmpBuf[0], maxLen, &numSent);
/external/lzma/CS/7zip/Common/
H A DCommandLineParser.cs27 int minLen, int maxLen, string postCharSet)
33 MaxLen = maxLen;
84 int maxLen = kNoLen;
88 if (switchLen <= maxLen || pos + switchLen > len)
94 maxLen = switchLen;
97 if (maxLen == kNoLen)
98 throw new Exception("maxLen == kNoLen");
104 pos += maxLen;
26 SwitchForm(string idString, SwitchType type, bool multi, int minLen, int maxLen, string postCharSet) argument
/external/chromium_org/third_party/webrtc/common_audio/resampler/
H A Dresampler.cc432 int maxLen, int &outLen)
448 int16_t* out_left = (int16_t*)malloc(maxLen / 2 * sizeof(int16_t));
450 (int16_t*)malloc(maxLen / 2 * sizeof(int16_t));
464 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left);
465 res |= slave_right_->Push(right, lengthIn, out_right, maxLen / 2, actualOutLen_right);
504 if (maxLen < (lengthIn * 2))
519 if (maxLen < (lengthIn * 3))
535 if (maxLen < (lengthIn * 4))
555 if (maxLen < (lengthIn * 6))
585 if (maxLen < (lengthI
431 Push(const int16_t * samplesIn, int lengthIn, int16_t* samplesOut, int maxLen, int &outLen) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/
H A DMatlabPlot.h38 MatlabLine(int maxLen = -1, const char *plotAttrib = NULL, const char *name = NULL);
42 void SetMaxLen(int maxLen);
97 int AddLine(int maxLen = -1, const char *plotAttrib = NULL, const char *name = NULL);
98 int AddTimeLine(int maxLen = -1, const char *plotAttrib = NULL, const char *name = NULL,
H A DMatlabPlot.cc33 MatlabLine::MatlabLine(int maxLen /*= -1*/, const char *plotAttrib /*= NULL*/, const char *name /*= NULL*/)
37 _maxLen(maxLen),
100 void MatlabLine::SetMaxLen(int maxLen) argument
102 if (maxLen <= 0)
104 // means no maxLen
109 _maxLen = maxLen;
119 maxLen = ((unsigned int)maxLen <= _xData.size()) ? maxLen : (int)_xData.size();
120 _xData.resize(maxLen);
[all...]
/external/webrtc/src/common_audio/resampler/
H A Dresampler.cc432 int maxLen, int &outLen)
448 WebRtc_Word16* out_left = (WebRtc_Word16*)malloc(maxLen / 2 * sizeof(WebRtc_Word16));
450 (WebRtc_Word16*)malloc(maxLen / 2 * sizeof(WebRtc_Word16));
464 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left);
465 res |= slave_right_->Push(right, lengthIn, out_right, maxLen / 2, actualOutLen_right);
504 if (maxLen < (lengthIn * 2))
519 if (maxLen < (lengthIn * 3))
535 if (maxLen < (lengthIn * 4))
555 if (maxLen < (lengthIn * 6))
585 if (maxLen < (lengthI
431 Push(const WebRtc_Word16 * samplesIn, int lengthIn, WebRtc_Word16* samplesOut, int maxLen, int &outLen) argument
[all...]
/external/lzma/CS/7zip/Compress/LZ/
H A DLzBinTree.cs136 UInt32 maxLen = kStartMaxLen; // to avoid items for len < hashSize;
160 distances[offset++] = maxLen = 2;
168 distances[offset++] = maxLen = 3;
175 maxLen = kStartMaxLen;
194 distances[offset++] = maxLen = kNumHashDirectBytes;
221 if (maxLen < len)
223 distances[offset++] = maxLen = len;
/external/lzma/Java/SevenZip/Compression/LZ/
H A DBinTree.java136 int maxLen = kStartMaxLen; // to avoid items for len < hashSize;
160 distances[offset++] = maxLen = 2;
168 distances[offset++] = maxLen = 3;
175 maxLen = kStartMaxLen;
194 distances[offset++] = maxLen = kNumHashDirectBytes;
221 if (maxLen < len)
223 distances[offset++] = maxLen = len;
/external/chromium_org/third_party/webrtc/common_audio/resampler/include/
H A Dresampler.h81 int maxLen, int &outLen);
/external/webrtc/src/common_audio/resampler/include/
H A Dresampler.h81 int maxLen, int &outLen);
/external/chromium_org/net/quic/crypto/
H A Daead_base_decrypter.h19 unsigned char* out, unsigned int* outLen, unsigned int maxLen,
H A Daead_base_encrypter.h19 unsigned char* out, unsigned int* outLen, unsigned int maxLen,
/external/chromium_org/third_party/icu/source/samples/legacy/
H A Dlegacy.cpp25 extern "C" void test_current(UChar data[][5], uint32_t size, uint32_t maxLen, uint8_t keys[][32]);
/external/icu/icu4c/source/samples/legacy/
H A Dlegacy.cpp25 extern "C" void test_current(UChar data[][5], uint32_t size, uint32_t maxLen, uint8_t keys[][32]);

Completed in 7269 milliseconds

123