Home
last modified time | relevance | path

Searched refs:resultLen (Results 1 – 25 of 30) 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/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/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 …]
Duprintf.h64 int32_t resultLen);
/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/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp131 int32_t resultLen = 0; in findDirname() local
143 resultLen = 0; in findDirname()
146 resultLen = basename - path; in findDirname()
147 if(resultLen<1) { in findDirname()
148 resultLen = 1; /* '/' or '/a' -> '/' */ in findDirname()
152 if((resultLen+1) <= bufLen) { in findDirname()
153 uprv_strncpy(buffer, resultPtr, resultLen); in findDirname()
154 buffer[resultLen]=0; in findDirname()
/external/icu/icu4c/source/test/cintltst/
Dcrestst.c117 int32_t resultLen; in TestAliasConflict() local
125 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status); in TestAliasConflict()
158 int32_t resultLen; in TestConstruction1() local
189 result1= ures_getStringByKey(test1, "string_in_Root_te_te_IN", &resultLen, &err); in TestConstruction1()
190 result2= ures_getStringByKey(test2, "string_in_Root_te_te_IN", &resultLen, &err); in TestConstruction1()
261 int32_t resultLen; in testTag() local
372 ures_getStringByKey(theBundle, tag, &resultLen, &status); in testTag()
376 string=ures_getStringByKey(theBundle, tag, &resultLen, &status); in testTag()
426 int32_t resultLen; in TestFallback() local
440 junk = ures_getStringByKey(fr_FR, "LocaleID", &resultLen, &status); in TestFallback()
[all …]
Dcloctst.c608 int32_t resultLen = 0; in UCharsToEscapedAscii() local
618 for(i=0;i<limit && resultLen<buflen;++i) { in UCharsToEscapedAscii()
627 if(resultLen>escapeLimit1) { in UCharsToEscapedAscii()
630 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
631 resultChars[resultLen++]=ESCAPE_MAP[j].escapedChar; in UCharsToEscapedAscii()
635 u_austrncpy(resultChars + resultLen, &uc, 1); in UCharsToEscapedAscii()
636 resultLen++; in UCharsToEscapedAscii()
640 if(resultLen>escapeLimit2) { in UCharsToEscapedAscii()
645 resultChars[resultLen++]='\\'; in UCharsToEscapedAscii()
646 resultChars[resultLen++]='u'; in UCharsToEscapedAscii()
[all …]
Dcreststn.c344 int32_t resultLen; in TestAliasConflict() local
355 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status); in TestAliasConflict()
1158 int32_t resultLen; in TestErrorConditions() local
1228 …if(ures_getStringByKey(NULL, "string_only_in_te", &resultLen, &status) != NULL && status != U_ILLE… in TestErrorConditions()
2079 int32_t resultLen; in TestFallback() local
2093 junk = tres_getString(fr_FR, -1, "LocaleID", &resultLen, &status); in TestFallback()
2095 junk = tres_getString(fr_FR, -1, "LocaleString", &resultLen, &status); in TestFallback()
2097 junk = tres_getString(fr_FR, -1, "LocaleID", &resultLen, &status); in TestFallback()
2113 junk = tres_getString(fr_FR, -1, "ExemplarCharacters", &resultLen, &status); in TestFallback()
2138 version = tres_getString(resLocID, -1, NULL, &resultLen, &err); in TestFallback()
[all …]
Dudatpg_test.c255 int32_t formattedCapacity, resultLen,patternCapacity ; in TestBuilder() local
366 resultLen=udat_format(formatter, ucal_getNow(), formatted, formattedCapacity, in TestBuilder()
371 resultLen=udat_format(formatter, sampleDate, formatted, formattedCapacity, in TestBuilder()
373 if ( u_memcmp(sampleFormatted, formatted, resultLen) != 0 ) { in TestBuilder()
Dreapits.c336 int32_t resultLen; in TestRegexCAPI() local
340 resultPat = uregex_pattern(re, &resultLen, &status); in TestRegexCAPI()
345 TEST_ASSERT(resultLen == -1); in TestRegexCAPI()
353 resultPat = uregex_pattern(re, &resultLen, &status); in TestRegexCAPI()
359 TEST_ASSERT(resultLen == 3); in TestRegexCAPI()
1504 int32_t resultLen; in TestUTextAPI() local
1513 resultPat = uregex_pattern(re, &resultLen, &status); in TestUTextAPI()
1518 TEST_ASSERT(resultLen == -1); in TestUTextAPI()
1530 resultPat = uregex_pattern(re, &resultLen, &status); in TestUTextAPI()
1535 TEST_ASSERT(resultLen == 3); in TestUTextAPI()
/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()
Ducal.cpp777 int32_t resultLen = 0; in ucal_getWindowsTimeZoneID() local
782 resultLen = resultWinID.length(); in ucal_getWindowsTimeZoneID()
786 return resultLen; in ucal_getWindowsTimeZoneID()
795 int32_t resultLen = 0; in ucal_getTimeZoneIDForWindowsID() local
800 resultLen = resultID.length(); in ucal_getTimeZoneIDForWindowsID()
804 return resultLen; in ucal_getTimeZoneIDForWindowsID()
Dtimezone.cpp1140 int32_t resultLen = 0; in getRegion() local
1156 resultLen = u_strlen(uregion); in getRegion()
1158 u_UCharsToChars(uregion, region, uprv_min(resultLen, capacity)); in getRegion()
1160 if (capacity < resultLen) { in getRegion()
1162 return resultLen; in getRegion()
1165 return u_terminateChars(region, capacity, resultLen, &status); in getRegion()
/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()
Dvmw_query.h59 void *result, uint32 resultLen);
/external/libxml2/
Dxmlstring.c1008 size_t resultLen = 0; in xmlEscapeFormatString() local
1022 resultLen = msgLen + count + 1; in xmlEscapeFormatString()
1023 result = (xmlChar *) xmlMallocAtomic(resultLen * sizeof(xmlChar)); in xmlEscapeFormatString()
1038 result[resultLen - 1] = '\0'; in xmlEscapeFormatString()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_query.c483 struct svga_query *sq, int resultLen) in define_query_vgpu10() argument
517 qlen = resultLen + sizeof(SVGA3dQueryState); in define_query_vgpu10()
631 boolean wait, void *result, int resultLen) in get_query_result_vgpu10() argument
640 sws->query_get_result(sws, sq->gb_query, sq->offset, &queryState, result, resultLen); in get_query_result_vgpu10()
657 sws->query_get_result(sws, sq->gb_query, sq->offset, &queryState, result, resultLen); in get_query_result_vgpu10()

12