Home
last modified time | relevance | path

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

12

/third_party/bounds_checking_function/src/
Dsecurecutil.h162 #define SECUREC_CALC_STR_LEN(str, maxLen, outLen) do { \ argument
163 *(outLen) = strnlen((str), (maxLen)); \
165 #define SECUREC_CALC_STR_LEN_OPT(str, maxLen, outLen) do { \ argument
169 *(outLen) = 0; \
171 *(outLen) = 1; \
173 *(outLen) = 2; \
175 *(outLen) = 3; \
177 *(outLen) = 4; \
179 *(outLen) = 5; \
181 *(outLen) = 6; \
[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/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/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/src/
Dcm_request.cpp75 size_t outLen = reply.ReadUint32(); in CmReadRequestReply() local
76 if (outLen == 0) { in CmReadRequestReply()
86 const uint8_t *outData = reply.ReadBuffer(outLen); in CmReadRequestReply()
90 if (outBlob->size < outLen) { in CmReadRequestReply()
91 CM_LOG_E("outBlob size[%u] smaller than outLen[%u]", outBlob->size, outLen); in CmReadRequestReply()
94 if (memcpy_s(outBlob->data, outBlob->size, outData, outLen) != EOK) { in CmReadRequestReply()
97 outBlob->size = outLen; in CmReadRequestReply()
/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/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()
Dtzfmt.cpp1793 int32_t outLen = 0; in parseOffsetFields() local
1807 outLen = parseOffsetFieldsWithPattern(text, start, items, FALSE, offsetH, offsetM, offsetS); in parseOffsetFields()
1808 if (outLen > 0) { in parseOffsetFields()
1815 if (outLen > 0 && fAbuttingOffsetHoursAndMinutes) { in parseOffsetFields()
1839 if (tmpLen > outLen) { in parseOffsetFields()
1841 outLen = tmpLen; in parseOffsetFields()
1849 if (outLen > 0) { in parseOffsetFields()
1851 parsedLen = outLen; in parseOffsetFields()
/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/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()
Dtzfmt.cpp1793 int32_t outLen = 0; in parseOffsetFields() local
1807 outLen = parseOffsetFieldsWithPattern(text, start, items, false, offsetH, offsetM, offsetS); in parseOffsetFields()
1808 if (outLen > 0) { in parseOffsetFields()
1815 if (outLen > 0 && fAbuttingOffsetHoursAndMinutes) { in parseOffsetFields()
1839 if (tmpLen > outLen) { in parseOffsetFields()
1841 outLen = tmpLen; in parseOffsetFields()
1849 if (outLen > 0) { in parseOffsetFields()
1851 parsedLen = outLen; in parseOffsetFields()
/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/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/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/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/test/cintltst/
Didnatest.c833 … int32_t outLen = uidna_toUnicode(invalid_idn, len, output, 50, UIDNA_DEFAULT, &prsError, &status); in TestJB5273() local
834 (void)outLen; /* Suppress set but not used warning. */ in TestJB5273()
839outLen = uidna_toUnicode(invalid_idn, len, output, 50, UIDNA_USE_STD3_RULES, &prsError, &status); in TestJB5273()
845 outLen = uidna_IDNToUnicode(invalid_idn, len, output, 50, UIDNA_DEFAULT, &prsError, &status); in TestJB5273()
850outLen = 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) {
/third_party/skia/third_party/externals/angle2/util/android/third_party/
Dandroid_native_app_glue.c351 static void* onSaveInstanceState(ANativeActivity* activity, size_t* outLen) { in onSaveInstanceState() argument
365 *outLen = android_app->savedStateSize; in onSaveInstanceState()
/third_party/lzma/CPP/7zip/Archive/
DXzHandler.cpp844 SizeT outLen = unpackSize - outPos; in DecodeBlock() local
851 &outLen, in DecodeBlock()
867 outPos += outLen; in DecodeBlock()
873 if ((inLen == 0 && outLen == 0) || blockFinished) in DecodeBlock()

12