Home
last modified time | relevance | path

Searched refs:bytesNeeded (Results 1 – 7 of 7) 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/skia/src/core/
DSkGlyphCache.cpp671 size_t bytesNeeded = 0; in internalPurge() local
673 bytesNeeded = fTotalMemoryUsed - fCacheSizeLimit; in internalPurge()
675 bytesNeeded = SkTMax(bytesNeeded, minBytesNeeded); in internalPurge()
676 if (bytesNeeded) { in internalPurge()
678 bytesNeeded = SkTMax(bytesNeeded, fTotalMemoryUsed >> 2); in internalPurge()
689 if (!countNeeded && !bytesNeeded) { in internalPurge()
700 (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()
DSkAAClip.cpp1110 size_t bytesNeeded = compute_row_length(data, fBounds.width()); in finish() local
1111 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.cpp269 const size_t bytesNeeded = region.writeToMemory(nullptr); in test_write() local
270 SkAutoMalloc storage(bytesNeeded); in test_write()
272 REPORTER_ASSERT(r, bytesWritten == bytesNeeded); in test_write()
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPairingSession.java528 int bytesNeeded = nonceLength / mEncoder.symbolsPerByte(); in doPairingPhase() local
530 byte[] nonce = new byte[bytesNeeded]; in doPairingPhase()