/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
D | PaddedBufferedBlockCipher.java | 150 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/ |
D | PaddedBufferedBlockCipher.java | 152 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/ |
D | BufferedBlockCipher.java | 166 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/ |
D | BufferedBlockCipher.java | 168 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/ |
D | sprintf.cpp | 55 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 …]
|
D | uprintf.cpp | 81 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()
|
D | uprntf_p.cpp | 291 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 …]
|
D | uprintf.h | 64 int32_t resultLen);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
D | CTSBlockCipher.java | 92 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()
|
D | GCMBlockCipher.java | 367 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/ |
D | CTSBlockCipher.java | 94 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()
|
D | GCMBlockCipher.java | 369 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/ |
D | toolutil.cpp | 131 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/ |
D | crestst.c | 117 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 …]
|
D | cloctst.c | 608 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 …]
|
D | creststn.c | 344 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 …]
|
D | udatpg_test.c | 255 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()
|
D | reapits.c | 336 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/ |
D | number_grouping.cpp | 22 int32_t resultLen = 0; in getMinGroupingForLocale() local 26 &resultLen, in getMinGroupingForLocale() 29 if (U_FAILURE(localStatus) || resultLen != 1) { in getMinGroupingForLocale()
|
D | ucal.cpp | 777 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()
|
D | timezone.cpp | 1140 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/ |
D | vmw_query.c | 107 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()
|
D | vmw_query.h | 59 void *result, uint32 resultLen);
|
/external/libxml2/ |
D | xmlstring.c | 1008 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/ |
D | svga_pipe_query.c | 483 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()
|