Home
last modified time | relevance | path

Searched refs:bytesNeeded (Results 1 – 13 of 13) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DOpenSSLPBEParametersGenerator.java50 int bytesNeeded) in generateDerivedKey() argument
53 byte[] key = new byte[bytesNeeded]; in generateDerivedKey()
63 int len = (bytesNeeded > buf.length) ? buf.length : bytesNeeded; in generateDerivedKey()
68 bytesNeeded -= len; in generateDerivedKey()
69 if (bytesNeeded == 0) in generateDerivedKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DOpenSSLPBEParametersGenerator.java55 int bytesNeeded) in generateDerivedKey() argument
58 byte[] key = new byte[bytesNeeded]; in generateDerivedKey()
68 int len = (bytesNeeded > buf.length) ? buf.length : bytesNeeded; in generateDerivedKey()
73 bytesNeeded -= len; in generateDerivedKey()
74 if (bytesNeeded == 0) in generateDerivedKey()
/external/mdnsresponder/mDNSWindows/DLL/
Ddllmain.c45 DWORD bytesNeeded = 0; in IsSystemServiceDisabled() local
65 …ok = EnumServicesStatus ( sc, srvType, srvState, lpService, dwBytes, &bytesNeeded, &srvCount, &res… in IsSystemServiceDisabled()
77 dwBytes = bytesNeeded; in IsSystemServiceDisabled()
/external/skqp/src/core/
DSkStrikeCache.cpp513 size_t bytesNeeded = 0; in internalPurge() local
515 bytesNeeded = fTotalMemoryUsed - fCacheSizeLimit; in internalPurge()
517 bytesNeeded = SkTMax(bytesNeeded, minBytesNeeded); in internalPurge()
518 if (bytesNeeded) { in internalPurge()
520 bytesNeeded = SkTMax(bytesNeeded, fTotalMemoryUsed >> 2); in internalPurge()
531 if (!countNeeded && !bytesNeeded) { in internalPurge()
541 while (node != nullptr && (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()
DSkAAClip.cpp1037 size_t bytesNeeded = compute_row_length(data, fBounds.width()); in finish() local
1038 SkASSERT(bytesNeeded == n); in finish()
/external/skia/src/core/
DSkStrikeCache.cpp538 size_t bytesNeeded = 0; in internalPurge() local
540 bytesNeeded = fTotalMemoryUsed - fCacheSizeLimit; in internalPurge()
542 bytesNeeded = SkTMax(bytesNeeded, minBytesNeeded); in internalPurge()
543 if (bytesNeeded) { in internalPurge()
545 bytesNeeded = SkTMax(bytesNeeded, fTotalMemoryUsed >> 2); in internalPurge()
556 if (!countNeeded && !bytesNeeded) { in internalPurge()
566 while (node != nullptr && (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()
DSkAAClip.cpp1037 size_t bytesNeeded = compute_row_length(data, fBounds.width()); in finish() local
1038 SkASSERT(bytesNeeded == n); in finish()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m160 @property (nonatomic, assign) size_t bytesNeeded; property
171 …anner:(stream_scanner)scanner handler:(data_callback)handler bytesNeeded:(size_t)bytesNeeded readT…
1129 …[_consumers addObject:[_consumerPool consumerWithScanner:nil handler:callback bytesNeeded:dataLeng…
1136 …[_consumers addObject:[_consumerPool consumerWithScanner:consumer handler:callback bytesNeeded:dat…
1194 size_t bytesNeeded = consumer.bytesNeeded;
1201 assert(consumer.bytesNeeded);
1202 if (curSize >= bytesNeeded) {
1203 foundSize = bytesNeeded;
1263 consumer.bytesNeeded -= foundSize;
1265 if (consumer.bytesNeeded == 0) {
[all …]
/external/sfntly/cpp/src/test/tinyxml/
Dtinystr.h226 const size_type bytesNeeded = sizeof(Rep) + cap; in init() local
227 const size_type intsNeeded = ( bytesNeeded + sizeof(int) - 1 ) / sizeof( int ); in init()
/external/skia/tests/
DRegionTest.cpp270 const size_t bytesNeeded = region.writeToMemory(nullptr); in test_write() local
271 SkAutoMalloc storage(bytesNeeded); in test_write()
273 REPORTER_ASSERT(r, bytesWritten == bytesNeeded); in test_write()
277 REPORTER_ASSERT(r, copy.readFromMemory(storage.get(), bytesNeeded)); in test_write()
/external/skqp/tests/
DRegionTest.cpp270 const size_t bytesNeeded = region.writeToMemory(nullptr); in test_write() local
271 SkAutoMalloc storage(bytesNeeded); in test_write()
273 REPORTER_ASSERT(r, bytesWritten == bytesNeeded); in test_write()
277 REPORTER_ASSERT(r, copy.readFromMemory(storage.get(), bytesNeeded)); in test_write()
/external/icu/icu4c/source/tools/escapesrc/
Descapesrc.cpp142 uint8_t bytesNeeded = U8_LENGTH(ch); in appendUtf8() local
143 if(bytesNeeded == 0) { in appendUtf8()
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c607 DWORD bytesNeeded = 0; in CheckFirewall() local
631 …ok = EnumServicesStatus ( sc, srvType, srvState, lpService, dwBytes, &bytesNeeded, &srvCount, &res… in CheckFirewall()
643 dwBytes = bytesNeeded; in CheckFirewall()