Home
last modified time | relevance | path

Searched refs:resultLen (Results 1 – 25 of 39) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java150 int resultLen = 0; in processByte() local
154 resultLen = cipher.processBlock(buf, 0, out, outOff); in processByte()
160 return resultLen; in processByte()
199 int resultLen = 0; in processBytes() local
206 resultLen += cipher.processBlock(buf, 0, out, outOff); in processBytes()
214 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); in processBytes()
225 return resultLen; in processBytes()
248 int resultLen = 0; in doFinal() local
261 resultLen = cipher.processBlock(buf, 0, out, outOff); in doFinal()
267 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); in doFinal()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java152 int resultLen = 0; in processByte() local
156 resultLen = cipher.processBlock(buf, 0, out, outOff); in processByte()
162 return resultLen; in processByte()
201 int resultLen = 0; in processBytes() local
208 resultLen += cipher.processBlock(buf, 0, out, outOff); in processBytes()
216 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); in processBytes()
227 return resultLen; in processBytes()
250 int resultLen = 0; in doFinal() local
263 resultLen = cipher.processBlock(buf, 0, out, outOff); in doFinal()
269 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); in doFinal()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java152 int resultLen = 0; in processByte() local
156 resultLen = cipher.processBlock(buf, 0, out, outOff); in processByte()
162 return resultLen; in processByte()
201 int resultLen = 0; in processBytes() local
208 resultLen += cipher.processBlock(buf, 0, out, outOff); in processBytes()
216 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); in processBytes()
227 return resultLen; in processBytes()
250 int resultLen = 0; in doFinal() local
263 resultLen = cipher.processBlock(buf, 0, out, outOff); in doFinal()
269 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); in doFinal()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DBufferedBlockCipher.java166 int resultLen = 0; in processByte() local
172 resultLen = cipher.processBlock(buf, 0, out, outOff); in processByte()
176 return resultLen; in processByte()
215 int resultLen = 0; in processBytes() local
222 resultLen += cipher.processBlock(buf, 0, out, outOff); in processBytes()
230 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); in processBytes()
243 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); in processBytes()
247 return resultLen; in processBytes()
271 int resultLen = 0; in doFinal() local
286 resultLen = bufOff; in doFinal()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DBufferedBlockCipher.java168 int resultLen = 0; in processByte() local
174 resultLen = cipher.processBlock(buf, 0, out, outOff); in processByte()
178 return resultLen; in processByte()
217 int resultLen = 0; in processBytes() local
224 resultLen += cipher.processBlock(buf, 0, out, outOff); in processBytes()
232 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); in processBytes()
245 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); in processBytes()
249 return resultLen; in processBytes()
273 int resultLen = 0; in doFinal() local
288 resultLen = bufOff; in doFinal()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/
DBufferedBlockCipher.java168 int resultLen = 0; in processByte() local
174 resultLen = cipher.processBlock(buf, 0, out, outOff); in processByte()
178 return resultLen; in processByte()
217 int resultLen = 0; in processBytes() local
224 resultLen += cipher.processBlock(buf, 0, out, outOff); in processBytes()
232 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); in processBytes()
245 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); in processBytes()
249 return resultLen; in processBytes()
273 int resultLen = 0; in doFinal() local
288 resultLen = bufOff; in doFinal()
[all …]
/external/icu/icu4c/source/io/
Dsprintf.cpp55 int32_t resultLen) in u_sprintf_pad_and_justify() argument
59 int32_t lengthOfResult = resultLen; in u_sprintf_pad_and_justify()
61 resultLen = ufmt_min(resultLen, output->available); in u_sprintf_pad_and_justify()
64 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_sprintf_pad_and_justify()
65 int32_t paddingLeft = info->fWidth - resultLen; in u_sprintf_pad_and_justify()
68 if (paddingLeft + resultLen > output->available) { in u_sprintf_pad_and_justify()
69 paddingLeft = output->available - resultLen; in u_sprintf_pad_and_justify()
79 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
80 u_memset(&output->str[outputPos + resultLen], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify()
87 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify()
[all …]
Duprintf.cpp81 int32_t resultLen) in u_printf_pad_and_justify() argument
87 if(info->fWidth != -1 && resultLen < info->fWidth) { in u_printf_pad_and_justify()
90 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
91 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
98 for(i = 0; i < info->fWidth - resultLen; ++i) { in u_printf_pad_and_justify()
101 written += u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
106 written = u_file_write(result, resultLen, output); in u_printf_pad_and_justify()
Duprntf_p.cpp291 int32_t resultLen; in u_printf_double_handler() local
332 resultLen = unum_formatDouble(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_double_handler()
335 resultLen = 0; in u_printf_double_handler()
349 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_double_handler()
366 int32_t resultLen; in u_printf_integer_handler() local
399 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_integer_handler()
402 resultLen = 0; in u_printf_integer_handler()
416 return handler->pad_and_justify(context, info, result, resultLen); in u_printf_integer_handler()
501 int32_t resultLen; in u_printf_uinteger_handler() local
529 resultLen = unum_formatInt64(format, num, result, UPRINTF_BUFFER_SIZE, 0, &status); in u_printf_uinteger_handler()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java92 int resultLen = 0; in processByte() local
96 resultLen = cipher.processBlock(buf, 0, out, outOff); in processByte()
104 return resultLen; in processByte()
143 int resultLen = 0; in processBytes() local
150 resultLen += cipher.processBlock(buf, 0, out, outOff); in processBytes()
161 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); in processBytes()
173 return resultLen; in processBytes()
DGCMBlockCipher.java367 int resultLen = 0; in processBytes() local
381 resultLen += BLOCK_SIZE; in processBytes()
389 processBlock(in, inOff, out, outOff + resultLen); in processBytes()
392 resultLen += BLOCK_SIZE; in processBytes()
408 processBlock(bufBlock, 0, out, outOff + resultLen); in processBytes()
411 resultLen += BLOCK_SIZE; in processBytes()
416 return resultLen; in processBytes()
511 int resultLen = extra; in doFinal() local
521 resultLen += macSize; in doFinal()
536 return resultLen; in doFinal()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java94 int resultLen = 0; in processByte() local
98 resultLen = cipher.processBlock(buf, 0, out, outOff); in processByte()
106 return resultLen; in processByte()
145 int resultLen = 0; in processBytes() local
152 resultLen += cipher.processBlock(buf, 0, out, outOff); in processBytes()
163 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); in processBytes()
175 return resultLen; in processBytes()
DGCMBlockCipher.java369 int resultLen = 0; in processBytes() local
383 resultLen += BLOCK_SIZE; in processBytes()
391 processBlock(in, inOff, out, outOff + resultLen); in processBytes()
394 resultLen += BLOCK_SIZE; in processBytes()
410 processBlock(bufBlock, 0, out, outOff + resultLen); in processBytes()
413 resultLen += BLOCK_SIZE; in processBytes()
418 return resultLen; in processBytes()
513 int resultLen = extra; in doFinal() local
523 resultLen += macSize; in doFinal()
538 return resultLen; in doFinal()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/
DCTSBlockCipher.java94 int resultLen = 0; in processByte() local
98 resultLen = cipher.processBlock(buf, 0, out, outOff); in processByte()
106 return resultLen; in processByte()
145 int resultLen = 0; in processBytes() local
152 resultLen += cipher.processBlock(buf, 0, out, outOff); in processBytes()
163 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); in processBytes()
175 return resultLen; in processBytes()
DGCMBlockCipher.java369 int resultLen = 0; in processBytes() local
383 resultLen += BLOCK_SIZE; in processBytes()
391 processBlock(in, inOff, out, outOff + resultLen); in processBytes()
394 resultLen += BLOCK_SIZE; in processBytes()
410 processBlock(bufBlock, 0, out, outOff + resultLen); in processBytes()
413 resultLen += BLOCK_SIZE; in processBytes()
418 return resultLen; in processBytes()
513 int resultLen = extra; in doFinal() local
523 resultLen += macSize; in doFinal()
538 return resultLen; in doFinal()
/external/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp133 int32_t resultLen = 0; in findDirname() local
145 resultLen = 0; in findDirname()
148 resultLen = static_cast<int32_t>(basename - path); in findDirname()
149 if(resultLen<1) { in findDirname()
150 resultLen = 1; /* '/' or '/a' -> '/' */ in findDirname()
154 if((resultLen+1) <= bufLen) { in findDirname()
155 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
156 buffer[resultLen]=0; in findDirname()
/external/icu/icu4c/source/i18n/
Dnumber_grouping.cpp22 int32_t resultLen = 0; in getMinGroupingForLocale() local
26 &resultLen, in getMinGroupingForLocale()
29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
/external/icu/icu4c/source/test/cintltst/
Dcrestst.c134 int32_t resultLen; in TestAliasConflict() local
142 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status); in TestAliasConflict()
184 int32_t resultLen; in TestConstruction1() local
215 result1= ures_getStringByKey(test1, "string_in_Root_te_te_IN", &resultLen, &err); in TestConstruction1()
216 result2= ures_getStringByKey(test2, "string_in_Root_te_te_IN", &resultLen, &err); in TestConstruction1()
287 int32_t resultLen; in testTag() local
398 ures_getStringByKey(theBundle, tag, &resultLen, &status); in testTag()
402 string=ures_getStringByKey(theBundle, tag, &resultLen, &status); in testTag()
452 int32_t resultLen; in TestFallback() local
466 junk = ures_getStringByKey(fr_FR, "LocaleID", &resultLen, &status); in TestFallback()
[all …]
Dcloctst.c630 int32_t resultLen = 0; in UCharsToEscapedAscii() local
640 for(i=0;i<limit && resultLen<buflen;++i) { in UCharsToEscapedAscii()
649 if(resultLen>escapeLimit1) { in UCharsToEscapedAscii()
652 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
653 resultChars[resultLen++]=ESCAPE_MAP[j].escapedChar; in UCharsToEscapedAscii()
657 u_austrncpy(resultChars + resultLen, &uc, 1); in UCharsToEscapedAscii()
658 resultLen++; in UCharsToEscapedAscii()
662 if(resultLen>escapeLimit2) { in UCharsToEscapedAscii()
667 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
668 resultChars[resultLen++]='u'; in UCharsToEscapedAscii()
[all …]
Dcreststn.c372 int32_t resultLen; in TestAliasConflict() local
383 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status); in TestAliasConflict()
1186 int32_t resultLen; in TestErrorConditions() local
1264 …if(ures_getStringByKey(NULL, "string_only_in_te", &resultLen, &status) != NULL && status != U_ILLE… in TestErrorConditions()
2133 int32_t resultLen; in TestFallback() local
2147 junk = tres_getString(fr_FR, -1, "LocaleID", &resultLen, &status); in TestFallback()
2149 junk = tres_getString(fr_FR, -1, "LocaleString", &resultLen, &status); in TestFallback()
2151 junk = tres_getString(fr_FR, -1, "LocaleID", &resultLen, &status); in TestFallback()
2167 junk = tres_getString(fr_FR, -1, "ExemplarCharacters", &resultLen, &status); in TestFallback()
2192 version = tres_getString(resLocID, -1, NULL, &resultLen, &err); in TestFallback()
[all …]
/external/llvm-project/flang/lib/Lower/
DCharacterExpr.cpp82 mlir::Value resultLen = len; in toExtendedValue() local
92 if (!resultLen && cstLen != fir::SequenceType::getUnknownExtent()) in toExtendedValue()
93 resultLen = builder.createIntegerConstant(loc, lenType, cstLen); in toExtendedValue()
110 if (!resultLen) in toExtendedValue()
111 resultLen = builder.createIntegerConstant(loc, lenType, 1); in toExtendedValue()
117 if (!resultLen) in toExtendedValue()
118 resultLen = unboxed.getResult(1); in toExtendedValue()
125 if (!resultLen) in toExtendedValue()
128 return fir::CharArrayBoxValue{base, resultLen, extents}; in toExtendedValue()
129 return fir::CharBoxValue{base, resultLen}; in toExtendedValue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DHexEncoder.java245 int resultLen = len >>> 1; in decodeStrict() local
246 byte[] result = new byte[resultLen]; in decodeStrict()
249 for (int i = 0; i < resultLen; ++i) in decodeStrict()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/util/encoders/
DHexEncoder.java247 int resultLen = len >>> 1; in decodeStrict() local
248 byte[] result = new byte[resultLen]; in decodeStrict()
251 for (int i = 0; i < resultLen; ++i) in decodeStrict()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/encoders/
DHexEncoder.java247 int resultLen = len >>> 1; in decodeStrict() local
248 byte[] result = new byte[resultLen]; in decodeStrict()
251 for (int i = 0; i < resultLen; ++i) in decodeStrict()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_query.c107 void *result, uint32 resultLen) in vmw_svga_winsys_query_get_result() argument
129 memcpy(result, state + 1, resultLen); in vmw_svga_winsys_query_get_result()

12