Home
last modified time | relevance | path

Searched refs:outLen (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mindspore/third_party/securec/src/
Dsecurecutil.h140 #define SECUREC_CALC_STR_LEN(str, maxLen, outLen) do { \ argument
141 *(outLen) = strnlen((str), (maxLen)); \
143 #define SECUREC_CALC_STR_LEN_OPT(str, maxLen, outLen) do { \ argument
147 *(outLen) = 0; \
149 *(outLen) = 1; \
151 *(outLen) = 2; \
153 *(outLen) = 3; \
155 *(outLen) = 4; \
157 *(outLen) = 5; \
159 *(outLen) = 6; \
[all …]
/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
174 *(outLen) = 0; \
176 *(outLen) = 1; \
178 *(outLen) = 2; \
180 *(outLen) = 3; \
182 *(outLen) = 4; \
184 *(outLen) = 5; \
186 *(outLen) = 6; \
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
DPunycodeReference.java237 int[] outLen = new int[1]; in encode() local
238 outLen[0] = input.length()*4; in encode()
239 char[] output = new char[outLen[0]]; in encode()
242 rc = encode(inLen,in,case_flags, outLen, output); in encode()
244 outLen[0] = outLen[0]*4; in encode()
245 output = new char[outLen[0]]; in encode()
252 return result.append(output,0,outLen[0]); in encode()
275 int[] outLen = new int[1]; in decode() local
276 outLen[0] = MAX_BUFFER_SIZE; in decode()
277 int[] output = new int[outLen[0]]; in decode()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java234 int[] outLen = new int[1]; in encode() local
235 outLen[0] = input.length()*4; in encode()
236 char[] output = new char[outLen[0]]; in encode()
239 rc = encode(inLen,in,case_flags, outLen, output); in encode()
241 outLen[0] = outLen[0]*4; in encode()
242 output = new char[outLen[0]]; in encode()
249 return result.append(output,0,outLen[0]); in encode()
272 int[] outLen = new int[1]; in decode() local
273 outLen[0] = MAX_BUFFER_SIZE; in decode()
274 int[] output = new int[outLen[0]]; in decode()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DStringReplacer.java119 int outLen; in replace() local
129 outLen = output.length(); in replace()
221 outLen = destLimit - destStart; in replace()
225 text.replace(tempStart + outLen, destLimit + tempExtra + outLen, ""); in replace()
228 text.replace(start + outLen, limit + outLen, ""); in replace()
246 newStart = start + outLen; in replace()
263 return outLen; in replace()
DStringMatcher.java247 int outLen = 0; in replace() local
256 outLen = matchLimit - matchStart; in replace()
262 return outLen; in replace()
DTimeZoneFormat.java2244 int outLen = 0;
2260 outLen = parseOffsetFieldsWithPattern(text, start, items, false, fields);
2261 if (outLen > 0) {
2269 if (outLen > 0 && _abuttingOffsetHoursAndMinutes) {
2287 if (tmpLen > outLen) {
2289 outLen = tmpLen;
2298 parsedLen[0] = outLen;
2301 if (outLen > 0) {
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringReplacer.java118 int outLen; in replace() local
128 outLen = output.length(); in replace()
220 outLen = destLimit - destStart; in replace()
224 text.replace(tempStart + outLen, destLimit + tempExtra + outLen, ""); in replace()
227 text.replace(start + outLen, limit + outLen, ""); in replace()
245 newStart = start + outLen; in replace()
262 return outLen; in replace()
DStringMatcher.java246 int outLen = 0; in replace() local
255 outLen = matchLimit - matchStart; in replace()
261 return outLen; in replace()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dstrrepl.cpp108 int32_t outLen; in replace() local
118 outLen = output.length(); in replace()
194 outLen = destLimit - destStart; in replace()
198 text.handleReplaceBetween(tempStart + outLen, destLimit + outLen, UnicodeString()); in replace()
201 text.handleReplaceBetween(start + outLen, limit + outLen, UnicodeString()); in replace()
219 newStart = start + outLen; in replace()
236 return outLen; in replace()
Dstrmatch.cpp225 int32_t outLen = 0; in replace() local
234 outLen = matchLimit - matchStart; in replace()
240 return outLen; in replace()
/third_party/node/deps/icu-small/source/i18n/
Dstrrepl.cpp108 int32_t outLen; in replace() local
118 outLen = output.length(); in replace()
194 outLen = destLimit - destStart; in replace()
198 text.handleReplaceBetween(tempStart + outLen, destLimit + outLen, UnicodeString()); in replace()
201 text.handleReplaceBetween(start + outLen, limit + outLen, UnicodeString()); in replace()
219 newStart = start + outLen; in replace()
236 return outLen; in replace()
Dstrmatch.cpp225 int32_t outLen = 0; in replace() local
234 outLen = matchLimit - matchStart; in replace()
240 return outLen; in replace()
/third_party/skia/third_party/externals/icu/source/i18n/
Dstrrepl.cpp108 int32_t outLen; in replace() local
118 outLen = output.length(); in replace()
194 outLen = destLimit - destStart; in replace()
198 text.handleReplaceBetween(tempStart + outLen, destLimit + outLen, UnicodeString()); in replace()
201 text.handleReplaceBetween(start + outLen, limit + outLen, UnicodeString()); in replace()
219 newStart = start + outLen; in replace()
236 return outLen; in replace()
Dstrmatch.cpp225 int32_t outLen = 0; in replace() local
234 outLen = matchLimit - matchStart; in replace()
240 return outLen; in replace()
/third_party/icu/icu4c/source/i18n/
Dstrrepl.cpp108 int32_t outLen; in replace() local
118 outLen = output.length(); in replace()
194 outLen = destLimit - destStart; in replace()
198 text.handleReplaceBetween(tempStart + outLen, destLimit + outLen, UnicodeString()); in replace()
201 text.handleReplaceBetween(start + outLen, limit + outLen, UnicodeString()); in replace()
219 newStart = start + outLen; in replace()
236 return outLen; in replace()
Dstrmatch.cpp225 int32_t outLen = 0; in replace() local
234 outLen = matchLimit - matchStart; in replace()
240 return outLen; in replace()
/third_party/flutter/skia/src/core/
DSkWriter32.cpp25 const char* SkReader32::readString(size_t* outLen) { in readString() argument
33 if (outLen) { in readString()
34 *outLen = len; in readString()
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetISO2022.java1740 int len, outLen; in encodeLoop() local
1986 outLen = 0; in encodeLoop()
1990 buffer[outLen++] = UConverterConstants.SI; in encodeLoop()
1997 buffer[outLen++] = escSeqChars[cs][i]; in encodeLoop()
2010 buffer[outLen++] = UConverterConstants.SO; in encodeLoop()
2014 buffer[outLen++] = 0x1b; in encodeLoop()
2015 buffer[outLen++] = 0x4e; in encodeLoop()
2023 buffer[outLen++] = (byte)targetValue; in encodeLoop()
2025 buffer[outLen++] = (byte)(targetValue >> 8); in encodeLoop()
2026 buffer[outLen++] = (byte)targetValue; in encodeLoop()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducnv2022.cpp1602 int32_t len, outLen; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1856 outLen = 0; /* count output bytes */ in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1860 buffer[outLen++] = UCNV_SI; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1867 uprv_memcpy(buffer + outLen, escSeqChars[cs], escLen); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1868 outLen += escLen; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1880 buffer[outLen++] = UCNV_SO; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1884 buffer[outLen++] = 0x1b; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1885 buffer[outLen++] = 0x4e; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1893 buffer[outLen++] = (char)targetValue; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1895 buffer[outLen++] = (char)(targetValue >> 8); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
/third_party/icu/icu4c/source/common/
Ducnv2022.cpp1675 int32_t len, outLen; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1924 outLen = 0; /* count output bytes */ in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1928 buffer[outLen++] = UCNV_SI; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1935 uprv_memcpy(buffer + outLen, escSeqChars[cs], escLen); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1936 outLen += escLen; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1948 buffer[outLen++] = UCNV_SO; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1952 buffer[outLen++] = 0x1b; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1953 buffer[outLen++] = 0x4e; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1961 buffer[outLen++] = (char)targetValue; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1963 buffer[outLen++] = (char)(targetValue >> 8); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducnv2022.cpp1602 int32_t len, outLen; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1856 outLen = 0; /* count output bytes */ in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1860 buffer[outLen++] = UCNV_SI; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1867 uprv_memcpy(buffer + outLen, escSeqChars[cs], escLen); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1868 outLen += escLen; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1880 buffer[outLen++] = UCNV_SO; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1884 buffer[outLen++] = 0x1b; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1885 buffer[outLen++] = 0x4e; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1893 buffer[outLen++] = (char)targetValue; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1895 buffer[outLen++] = (char)(targetValue >> 8); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
/third_party/node/deps/icu-small/source/common/
Ducnv2022.cpp1675 int32_t len, outLen; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1924 outLen = 0; /* count output bytes */ in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1928 buffer[outLen++] = UCNV_SI; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1935 uprv_memcpy(buffer + outLen, escSeqChars[cs], escLen); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1936 outLen += escLen; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1948 buffer[outLen++] = UCNV_SO; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1952 buffer[outLen++] = 0x1b; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1953 buffer[outLen++] = 0x4e; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1961 buffer[outLen++] = (char)targetValue; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1963 buffer[outLen++] = (char)(targetValue >> 8); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Didnatest.c832 … int32_t outLen = uidna_toUnicode(invalid_idn, len, output, 50, UIDNA_DEFAULT, &prsError, &status); in TestJB5273() local
833 (void)outLen; /* Suppress set but not used warning. */ in TestJB5273()
838outLen = uidna_toUnicode(invalid_idn, len, output, 50, UIDNA_USE_STD3_RULES, &prsError, &status); in TestJB5273()
844 outLen = uidna_IDNToUnicode(invalid_idn, len, output, 50, UIDNA_DEFAULT, &prsError, &status); in TestJB5273()
849outLen = uidna_IDNToUnicode(invalid_idn, len, output, 50, UIDNA_USE_STD3_RULES, &prsError, &status… in TestJB5273()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java2314 int outLen = 0;
2330 outLen = parseOffsetFieldsWithPattern(text, start, items, false, fields);
2331 if (outLen > 0) {
2339 if (outLen > 0 && _abuttingOffsetHoursAndMinutes) {
2357 if (tmpLen > outLen) {
2359 outLen = tmpLen;
2368 parsedLen[0] = outLen;
2371 if (outLen > 0) {

12