Home
last modified time | relevance | path

Searched refs:maxLen (Results 1 – 25 of 59) sorted by relevance

123

/third_party/icu/icu4c/source/i18n/
Dname2uni.cpp116 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()
176 if (name.length() > maxLen) { in handleTransliterate()
194 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate()
231 if (name.length() >= maxLen) { in handleTransliterate()
Duni2name.cpp78 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/
Dname2uni.cpp116 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()
176 if (name.length() > maxLen) { in handleTransliterate()
194 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate()
231 if (name.length() >= maxLen) { in handleTransliterate()
Duni2name.cpp78 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/
Dname2uni.cpp116 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()
176 if (name.length() > maxLen) { in handleTransliterate()
194 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate()
231 if (name.length() >= maxLen) { in handleTransliterate()
Duni2name.cpp78 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/flutter/skia/third_party/externals/icu/source/i18n/
Dname2uni.cpp116 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()
176 if (name.length() > maxLen) { in handleTransliterate()
193 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate()
230 if (name.length() >= maxLen) { in handleTransliterate()
Duni2name.cpp78 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/boost/tools/boost_install/test/iostreams/bzip2-1.0.8/
Dhuffman.c66 Int32 maxLen ) in BZ2_hbMakeCodeLengths() argument
120 if (j > maxLen) tooLong = True; in BZ2_hbMakeCodeLengths()
155 Int32 maxLen, in BZ2_hbAssignCodes() argument
161 for (n = minLen; n <= maxLen; n++) { in BZ2_hbAssignCodes()
175 Int32 maxLen, in BZ2_hbCreateDecodeTables() argument
181 for (i = minLen; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
193 for (i = minLen; i <= maxLen; i++) { in BZ2_hbCreateDecodeTables()
198 for (i = minLen + 1; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
/third_party/uboot/u-boot-2020.01/lib/bzip2/
Dbzlib_huffman.c107 Int32 maxLen ) in BZ2_hbMakeCodeLengths() argument
161 if (j > maxLen) tooLong = True; in BZ2_hbMakeCodeLengths()
179 Int32 maxLen, in BZ2_hbAssignCodes() argument
185 for (n = minLen; n <= maxLen; n++) { in BZ2_hbAssignCodes()
199 Int32 maxLen, in BZ2_hbCreateDecodeTables() argument
205 for (i = minLen; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
217 for (i = minLen; i <= maxLen; i++) { in BZ2_hbCreateDecodeTables()
222 for (i = minLen + 1; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.6/
Dhuffman.c66 Int32 maxLen ) in BZ2_hbMakeCodeLengths() argument
120 if (j > maxLen) tooLong = True; in BZ2_hbMakeCodeLengths()
155 Int32 maxLen, in BZ2_hbAssignCodes() argument
161 for (n = minLen; n <= maxLen; n++) { in BZ2_hbAssignCodes()
175 Int32 maxLen, in BZ2_hbCreateDecodeTables() argument
181 for (i = minLen; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
193 for (i = minLen; i <= maxLen; i++) { in BZ2_hbCreateDecodeTables()
198 for (i = minLen + 1; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
/third_party/bzip2/
Dhuffman.c66 Int32 maxLen ) in BZ2_hbMakeCodeLengths() argument
120 if (j > maxLen) tooLong = True; in BZ2_hbMakeCodeLengths()
155 Int32 maxLen, in BZ2_hbAssignCodes() argument
161 for (n = minLen; n <= maxLen; n++) { in BZ2_hbAssignCodes()
175 Int32 maxLen, in BZ2_hbCreateDecodeTables() argument
181 for (i = minLen; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
193 for (i = minLen; i <= maxLen; i++) { in BZ2_hbCreateDecodeTables()
198 for (i = minLen + 1; i <= maxLen; i++) in BZ2_hbCreateDecodeTables()
/third_party/jerryscript/tools/vera++/scripts/rules/
Djerry_max_line_length.tcl17 set maxLen 120
22 if {[string length $line] > $maxLen} {
23 report $f $lineNumber "line is longer than ${maxLen} characters"
/third_party/bounds_checking_function/src/
Dsecurecutil.h167 #define SECUREC_CALC_STR_LEN(str, maxLen, outLen) do { \ argument
168 *(outLen) = strnlen((str), (maxLen)); \
170 #define SECUREC_CALC_STR_LEN_OPT(str, maxLen, outLen) do { \ argument
171 if ((maxLen) > 8) { \
194 *(outLen) = 8 + strnlen((str) + 8, (maxLen) - 8); \
197 SECUREC_CALC_STR_LEN((str), (maxLen), (outLen)); \
201 #define SECUREC_CALC_STR_LEN(str, maxLen, outLen) do { \ argument
203 size_t availableSize_ = (size_t)(maxLen); \
213 #define SECUREC_CALC_WSTR_LEN(str, maxLen, outLen) do { \ argument
216 while (len_ < (maxLen) && *strEnd_ != L'\0') { \
/third_party/toybox/toys/other/
Dbzcat.c66 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] = pp+temp[maxLen]-1; in read_block_header()
305 limit[maxLen+1] = INT_MAX; in read_block_header()
374 if (ii > hufGroup->maxLen || (unsigned)jj >= MAX_SYMBOLS) in read_huffman_data()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNameUnicodeTransliterator.java54 …int maxLen = UCharacterName.INSTANCE.getMaxCharNameLength() + 1; // allow for temporary trailing s… in handleTransliterate() local
56 StringBuffer name = new StringBuffer(maxLen); in handleTransliterate()
104 if (name.length() > maxLen) { in handleTransliterate()
150 if (name.length() >= maxLen) { in handleTransliterate()
/third_party/node/deps/npm/lib/
Dhelp.js192 var maxLen = 0
197 maxLen = Math.max(maxLen, c.length)
203 c + (new Array(maxLen - c.length + 2).join(' ')) +
204 (usage.split('\n').join('\n' + (new Array(maxLen + 6).join(' '))))
/third_party/skia/third_party/externals/angle2/util/windows/win32/
Dtest_utils_win32.cpp45 size_t maxLen = _TRUNCATE; in OnCallstackEntry() local
62 _snprintf_s(buffer, maxLen, " %s - %p (%s): %s\n", entry.name, in OnCallstackEntry()
67 _snprintf_s(buffer, maxLen, " %s (%s:%d)\n", entry.name, entry.lineFileName, in OnCallstackEntry()
/third_party/flutter/skia/third_party/externals/angle2/util/windows/
DWindows_system_utils.cpp47 size_t maxLen = _TRUNCATE; in OnCallstackEntry() local
64 _snprintf_s(buffer, maxLen, " %s - %p (%s): %s\n", entry.name, in OnCallstackEntry()
69 _snprintf_s(buffer, maxLen, " %s (%s:%d)\n", entry.name, entry.lineFileName, in OnCallstackEntry()
/third_party/node/test/parallel/
Dtest-string-decoder-fuzz.js15 function randBuf(maxLen) { argument
16 const buf = Buffer.allocUnsafe(rand(maxLen));
/third_party/skia/third_party/externals/angle2/util/windows/third_party/StackWalker/src/
DStackWalker.cpp230 #define strncpy_s(dst, len, src, maxLen) strncpy(dst, len, src) argument
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 = STACKWALK_MAX_NAMELEN; in OnDbgHelpErr() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/windows/third_party/StackWalker/src/
DStackWalker.cpp230 #define strncpy_s(dst, len, src, maxLen) strncpy(dst, len, src) argument
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 = STACKWALK_MAX_NAMELEN; in OnDbgHelpErr() local
[all …]
/third_party/skia/third_party/externals/angle2/util/
Dtest_utils.cpp40 bool ReadEntireFileToString(const char *filePath, char *contentsOut, uint32_t maxLen) in ReadEntireFileToString() argument
56 strncpy(contentsOut, contents.c_str(), maxLen); in ReadEntireFileToString()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DLzcompCompress.java225 int maxLen = index - i; in findMatch() local
226 if (maxIndexMinusIndex < maxLen) { in findMatch()
227 maxLen = maxIndexMinusIndex; in findMatch()
229 if (maxLen < LEN_MIN) { in findMatch()
234 for (length = 2; length < maxLen && buf[i] == buf[index + length]; length++) { in findMatch()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DLzcompCompress.java225 int maxLen = index - i; in findMatch() local
226 if (maxIndexMinusIndex < maxLen) { in findMatch()
227 maxLen = maxIndexMinusIndex; in findMatch()
229 if (maxLen < LEN_MIN) { in findMatch()
234 for (length = 2; length < maxLen && buf[i] == buf[index + length]; length++) { in findMatch()

123