/kernel/linux/linux-5.10/lib/ |
H A D | decompress_bunzip2.c | 87 int minLen, maxLen; member 236 int minLen, maxLen, pp; in get_next_block() local 272 minLen = maxLen = length[0]; in get_next_block() 275 if (length[i] > maxLen) in get_next_block() 276 maxLen = length[i]; in get_next_block() 298 hufGroup->maxLen = maxLen; in get_next_block() 308 for (i = minLen; i <= maxLen; i++) { in get_next_block() 324 for (i = minLen; i < maxLen; i++) { in get_next_block() 336 limit[i] = (pp << (maxLen in get_next_block() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | decompress_bunzip2.c | 87 int minLen, maxLen; member 236 int minLen, maxLen, pp; in get_next_block() local 272 minLen = maxLen = length[0]; in get_next_block() 275 if (length[i] > maxLen) in get_next_block() 276 maxLen = length[i]; in get_next_block() 298 hufGroup->maxLen = maxLen; in get_next_block() 308 for (i = minLen; i <= maxLen; i++) { in get_next_block() 324 for (i = minLen; i < maxLen; i++) { in get_next_block() 336 limit[i] = (pp << (maxLen in get_next_block() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | name2uni.cpp | 116 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local 117 if (maxLen == 0) { in handleTransliterate() 123 ++maxLen; // allow for temporary trailing space in handleTransliterate() 124 char* cbuf = (char*) uprv_malloc(maxLen); in handleTransliterate() 174 // If we are too long then abort. maxLen includes in handleTransliterate() 176 if (name.length() > maxLen) { in handleTransliterate() 194 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate() 230 // maxLen includes temporary trailing space, so use '>='. in handleTransliterate() 231 if (name.length() >= maxLen) { in handleTransliterate()
|
H A D | uni2name.cpp | 78 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local 79 if (maxLen == 0) { in handleTransliterate() 85 char* buf = (char*) uprv_malloc(maxLen); in handleTransliterate() 102 if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) { in handleTransliterate()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | name2uni.cpp | 116 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local 117 if (maxLen == 0) { in handleTransliterate() 123 ++maxLen; // allow for temporary trailing space in handleTransliterate() 124 char* cbuf = (char*) uprv_malloc(maxLen); in handleTransliterate() 174 // If we are too long then abort. maxLen includes in handleTransliterate() 176 if (name.length() > maxLen) { in handleTransliterate() 194 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate() 230 // maxLen includes temporary trailing space, so use '>='. in handleTransliterate() 231 if (name.length() >= maxLen) { in handleTransliterate()
|
H A D | uni2name.cpp | 78 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local 79 if (maxLen == 0) { in handleTransliterate() 85 char* buf = (char*) uprv_malloc(maxLen); in handleTransliterate() 102 if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) { in handleTransliterate()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | name2uni.cpp | 116 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local 117 if (maxLen == 0) { in handleTransliterate() 123 ++maxLen; // allow for temporary trailing space in handleTransliterate() 124 char* cbuf = (char*) uprv_malloc(maxLen); in handleTransliterate() 174 // If we are too long then abort. maxLen includes in handleTransliterate() 176 if (name.length() > maxLen) { in handleTransliterate() 194 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate() 230 // maxLen includes temporary trailing space, so use '>='. in handleTransliterate() 231 if (name.length() >= maxLen) { in handleTransliterate()
|
H A D | uni2name.cpp | 78 int32_t maxLen = uprv_getMaxCharNameLength(); in handleTransliterate() local 79 if (maxLen == 0) { in handleTransliterate() 85 char* buf = (char*) uprv_malloc(maxLen); in handleTransliterate() 102 if ((len = u_charName(c, U_EXTENDED_CHAR_NAME, buf, maxLen, &status)) >0 && !U_FAILURE(status)) { in handleTransliterate()
|
/third_party/lzma/C/ |
H A D | LzFind.c | 870 (lenLimit > maxLen)
875 UInt32 *d, unsigned maxLen)
in Hc_GetMatchesSpec() 887 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
in Hc_GetMatchesSpec() 893 if (maxLen < len)
in Hc_GetMatchesSpec() 895 maxLen = len;
in Hc_GetMatchesSpec() 923 if (cur[maxLen] == cur[(ptrdiff_t)maxLen + diff])
in Hc_GetMatchesSpec() 937 if (maxLen < len)
in Hc_GetMatchesSpec() 939 maxLen in Hc_GetMatchesSpec() 873 Hc_GetMatchesSpec(size_t lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, size_t _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *d, unsigned maxLen) Hc_GetMatchesSpec() argument 955 GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, size_t _cyclicBufferPos, UInt32 _cyclicBufferSize, UInt32 cutValue, UInt32 *d, UInt32 maxLen) GetMatchesSpec1() argument 1165 unsigned maxLen; Bt3_MatchFinder_GetMatches() local 1183 maxLen = 2; Bt3_MatchFinder_GetMatches() local 1206 unsigned maxLen; Bt4_MatchFinder_GetMatches() local 1225 maxLen = 3; Bt4_MatchFinder_GetMatches() local 1273 UInt32 h2, h3, d2, d3, maxLen, pos; Bt5_MatchFinder_GetMatches() local 1295 maxLen = 4; Bt5_MatchFinder_GetMatches() local 1346 unsigned maxLen; Hc4_MatchFinder_GetMatches() local 1365 maxLen = 3; Hc4_MatchFinder_GetMatches() local 1413 UInt32 h2, h3, d2, d3, maxLen, pos; Hc5_MatchFinder_GetMatches() local 1435 maxLen = 4; Hc5_MatchFinder_GetMatches() local [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | console_printer.py | 71 line, start, end, highlightStart=None, highlightEnd=None, maxLen=120, replacement=None): 96 if len(line) > maxLen: 104 maxLen -= len(continuation) 106 if followingSpaceIndex <= maxLen: 109 line = line[:maxLen] + continuation 114 newBeginning = len(line) - maxLen 125 maxLen -= len(continuation) 128 newBeginning = newEnd - maxLen
|
/third_party/bounds_checking_function/src/ |
H A D | securecutil.h | 162 #define SECUREC_CALC_STR_LEN(str, maxLen, outLen) do { \ 163 *(outLen) = strnlen((str), (maxLen)); \ 165 #define SECUREC_CALC_STR_LEN_OPT(str, maxLen, outLen) do { \ 166 if ((maxLen) > 8) { \ 189 *(outLen) = 8 + strnlen((str) + 8, (maxLen) - 8); \ 192 SECUREC_CALC_STR_LEN((str), (maxLen), (outLen)); \ 196 #define SECUREC_CALC_STR_LEN(str, maxLen, outLen) do { \ 198 size_t availableSize_ = (size_t)(maxLen); \ 208 #define SECUREC_CALC_WSTR_LEN(str, maxLen, outLen) do { \ 211 while (len_ < (maxLen) [all...] |
/third_party/toybox/toys/other/ |
H A D | bzcat.c | 66 char minLen, maxLen; member 229 int minLen, maxLen, pp; in read_block_header() local 251 minLen = maxLen = length[0]; in read_block_header() 253 if(length[ii] > maxLen) maxLen = length[ii]; in read_block_header() 274 hufGroup->maxLen = maxLen; in read_block_header() 284 for (ii = minLen; ii <= maxLen; ii++) { in read_block_header() 298 for (ii = minLen; ii < maxLen; ii++) { in read_block_header() 304 limit[maxLen] in read_block_header() [all...] |
/third_party/lzma/CS/7zip/Common/ |
H A D | CommandLineParser.cs | 27 int minLen, int maxLen, string postCharSet)
in SwitchForm() 33 MaxLen = maxLen;
in SwitchForm() 84 int maxLen = kNoLen;
in ParseString() 88 if (switchLen <= maxLen || pos + switchLen > len)
in ParseString() 94 maxLen = switchLen;
in ParseString() 97 if (maxLen == kNoLen)
in ParseString() 98 throw new Exception("maxLen == kNoLen");
in ParseString() 104 pos += maxLen;
in ParseString() 26 SwitchForm(string idString, SwitchType type, bool multi, int minLen, int maxLen, string postCharSet) SwitchForm() argument
|
/third_party/lzma/CPP/Common/ |
H A D | CommandLineParser.cpp | 76 int maxLen = -1;
in ParseString() local 82 if ((int)switchLen <= maxLen || pos + switchLen > s.Len())
in ParseString() 87 maxLen = (int)switchLen;
in ParseString() 91 if (maxLen < 0)
in ParseString() 97 pos += (unsigned)maxLen;
in ParseString()
|
/kernel/liteos_a/apps/shell/src/ |
H A D | shcmd.c | 299 static int OsExecNameMatch(const char *strPath, const char *nameLooking, char *strObj, unsigned int *maxLen) in OsExecNameMatch() argument 319 *maxLen = strlen(readDir->d_name); in OsExecNameMatch() 323 if (strlen(readDir->d_name) > *maxLen) { in OsExecNameMatch() 324 *maxLen = strlen(readDir->d_name); in OsExecNameMatch() 339 unsigned int maxLen = 0; in OsTabMatchFile() local 357 count = OsExecNameMatch(dirOpen, strCmp, strOutput, &maxLen); in OsTabMatchFile() 366 if (OsPrintMatchList((unsigned int)count, dirOpen, strCmp, maxLen) == -1) { in OsTabMatchFile()
|
/third_party/lzma/Java/SevenZip/Compression/LZ/ |
H A D | BinTree.java | 136 int maxLen = kStartMaxLen; // to avoid items for len < hashSize;
in GetMatches() 160 distances[offset++] = maxLen = 2;
in GetMatches() 168 distances[offset++] = maxLen = 3;
in GetMatches() 175 maxLen = kStartMaxLen;
in GetMatches() 194 distances[offset++] = maxLen = kNumHashDirectBytes;
in GetMatches() 221 if (maxLen < len)
in GetMatches() 223 distances[offset++] = maxLen = len;
in GetMatches()
|
/third_party/lzma/CS/7zip/Compress/LZ/ |
H A D | LzBinTree.cs | 136 UInt32 maxLen = kStartMaxLen; // to avoid items for len < hashSize;
in GetMatches() 160 distances[offset++] = maxLen = 2;
in GetMatches() 168 distances[offset++] = maxLen = 3;
in GetMatches() 175 maxLen = kStartMaxLen;
in GetMatches() 194 distances[offset++] = maxLen = kNumHashDirectBytes;
in GetMatches() 221 if (maxLen < len)
in GetMatches() 223 distances[offset++] = maxLen = len;
in GetMatches()
|
/third_party/vk-gl-cts/execserver/ |
H A D | xsExecutionServer.cpp | 344 size_t maxLen = de::min(m_sendRecvTmpBuf.size(), (size_t)m_bufferIn.getNumFree()); in receive() local 346 if (maxLen > 0) in receive() 349 deSocketResult result = m_socket->receive(&m_sendRecvTmpBuf[0], maxLen, &numRecv); in receive() 375 size_t maxLen = de::min(m_sendRecvTmpBuf.size(), (size_t)m_bufferOut.getNumElements()); in send() local 377 if (maxLen > 0) in send() 379 m_bufferOut.peekBack(&m_sendRecvTmpBuf[0], (int)maxLen); in send() 382 deSocketResult result = m_socket->send(&m_sendRecvTmpBuf[0], maxLen, &numSent); in send()
|
/kernel/liteos_a/kernel/extended/dynload/src/ |
H A D | los_exec_elf.c | 51 STATIC INT32 OsGetRealPath(const CHAR *fileName, CHAR *buf, UINT32 maxLen)
in OsGetRealPath() argument 64 if (newLen >= maxLen) {
in OsGetRealPath() 67 if (strncpy_s(buf, maxLen, workingDirectory, workPathLen) != EOK) {
in OsGetRealPath() 72 if (strncpy_s(buf + workPathLen + 1, maxLen - workPathLen - 1, fileName, len) != EOK) {
in OsGetRealPath()
|
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | NameUnicodeTransliterator.java | 53 int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing space in handleTransliterate() 55 StringBuffer name = new StringBuffer(maxLen); in handleTransliterate() 101 // If we are too long then abort. maxLen includes in handleTransliterate() 103 if (name.length() > maxLen) { in handleTransliterate() 148 // maxLen includes temporary trailing space, so use '>='. in handleTransliterate() 149 if (name.length() >= maxLen) { in handleTransliterate()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | NameUnicodeTransliterator.java | 54 int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing space in handleTransliterate() 56 StringBuffer name = new StringBuffer(maxLen); in handleTransliterate() 102 // If we are too long then abort. maxLen includes in handleTransliterate() 104 if (name.length() > maxLen) { in handleTransliterate() 149 // maxLen includes temporary trailing space, so use '>='. in handleTransliterate() 150 if (name.length() >= maxLen) { in handleTransliterate()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fDebugMarkerTests.cpp | 75 void getSimpleRndString (vector<char>& dst, de::Random& rnd, int maxLen) in getSimpleRndString() argument 79 dst.resize(rnd.getInt(0, (int)maxLen)); in getSimpleRndString() 85 void getComplexRndString (vector<char>& dst, de::Random& rnd, int maxLen) in getComplexRndString() argument 87 dst.resize(rnd.getInt(0, (int)maxLen)); in getComplexRndString()
|
/third_party/skia/third_party/externals/angle2/util/windows/third_party/StackWalker/src/ |
H A D | StackWalker.cpp | 230 #define strncpy_s(dst, len, src, maxLen) strncpy(dst, len, src) 1363 size_t maxLen = STACKWALK_MAX_NAMELEN; in OnLoadModule() local 1365 maxLen = _TRUNCATE; in OnLoadModule() 1368 _snprintf_s(buffer, maxLen, "%s:%s (%p), size: %d (result: %d), SymType: '%s', PDB: '%s'\n", in OnLoadModule() 1377 buffer, maxLen, in OnLoadModule() 1388 size_t maxLen = STACKWALK_MAX_NAMELEN; in OnCallstackEntry() local 1390 maxLen = _TRUNCATE; in OnCallstackEntry() 1405 _snprintf_s(buffer, maxLen, "%p (%s): %s: %s\n", (LPVOID)entry.offset, entry.moduleName, in OnCallstackEntry() 1409 _snprintf_s(buffer, maxLen, "%s (%d): %s\n", entry.lineFileName, entry.lineNumber, in OnCallstackEntry() 1419 size_t maxLen in OnDbgHelpErr() local 1432 size_t maxLen = STACKWALK_MAX_NAMELEN; OnSymInit() local [all...] |
/third_party/skia/third_party/externals/angle2/util/windows/win32/ |
H A D | test_utils_win32.cpp | 45 size_t maxLen = _TRUNCATE; variable 62 _snprintf_s(buffer, maxLen, " %s - %p (%s): %s\n", entry.name, 67 _snprintf_s(buffer, maxLen, " %s (%s:%d)\n", entry.name, entry.lineFileName,
|
/kernel/liteos_a/shell/full/src/base/ |
H A D | shcmd.c | 273 STATIC INT32 OsExecNameMatch(const CHAR *strPath, const CHAR *nameLooking, CHAR *strObj, UINT32 *maxLen) in OsExecNameMatch() argument 293 *maxLen = strlen(readDir->d_name); in OsExecNameMatch() 297 if (strlen(readDir->d_name) > *maxLen) { in OsExecNameMatch() 298 *maxLen = strlen(readDir->d_name); in OsExecNameMatch() 386 UINT32 maxLen = 0; in OsTabMatchFile() local 404 count = OsExecNameMatch(dirOpen, strCmp, strOutput, &maxLen); in OsTabMatchFile() 413 if (OsPrintMatchList((UINT32)count, dirOpen, strCmp, maxLen) == -1) { in OsTabMatchFile()
|