Home
last modified time | relevance | path

Searched +refs:fill +refs:buffer (Results 1 – 25 of 210) sorted by relevance

123456789

/external/tpm2/
DCpriRSA.c45 UINT32 fill; in RsaPrivateExponent() local
63 if( BN_bin2bn(key->publicKey->buffer, key->publicKey->size, bnN) == NULL in RsaPrivateExponent()
64 || BN_bin2bn(key->privateKey->buffer, key->privateKey->size, bnP) == NULL) in RsaPrivateExponent()
104 fill = key->publicKey->size - BN_num_bytes(bnD); in RsaPrivateExponent()
105 BN_bn2bin(bnD, &key->privateKey->buffer[fill]); in RsaPrivateExponent()
106 memset(key->privateKey->buffer, 0, fill); in RsaPrivateExponent()
150 UINT32 fill; in _cpri__TestKeyRSA() local
172 if(BN_bin2bn(prime1->buffer, prime1->size, bnP) == NULL) in _cpri__TestKeyRSA()
178 if(BN_bin2bn(prime2->buffer, prime2->size, bnQ) == NULL) in _cpri__TestKeyRSA()
196 BN_bn2bin(bnN, publicKey->buffer); in _cpri__TestKeyRSA()
[all …]
DRSAKeySieve.c156 UINT16 fill; in RandomForRsa() local
163 fill = digestSize; in RandomForRsa()
164 pb = p->buffer; in RandomForRsa()
179 _cpri__UpdateHash(&h, ktx->extra->size, ktx->extra->buffer); in RandomForRsa()
185 if(i < fill) in RandomForRsa()
186 fill = i; in RandomForRsa()
187 _cpri__CompleteHash(&h, fill, pb); in RandomForRsa()
191 _cpri__UpdateHash(&h, fill, pb); in RandomForRsa()
193 _cpri__CompleteHash(&h, fill, pb); in RandomForRsa()
194 pb += fill; in RandomForRsa()
[all …]
/external/opencv3/3rdparty/openexr/IlmImf/
DImfScanLineInputFile.cpp90 bool fill; member
101 bool fill = false,
122 fill (f), in InSliceInfo()
133 char * buffer; member
157 buffer (0), in LineBuffer()
326 char *&buffer, in readPixelData() argument
372 buffer = ifd->is->readMemoryMapped (dataSize); in readPixelData()
374 ifd->is->read (buffer, dataSize); in readPixelData()
471 (_lineBuffer->buffer, _lineBuffer->dataSize, in execute()
482 _lineBuffer->uncompressedData = _lineBuffer->buffer; in execute()
[all …]
DImfTiledInputFile.cpp89 bool fill; member
100 bool fill = false,
122 fill (f), in TInSliceInfo()
135 char * buffer; member
281 char *&buffer, in readTileData() argument
341 buffer = ifd->is->readMemoryMapped (dataSize); in readTileData()
343 ifd->is->read (buffer, dataSize); in readTileData()
359 char * & buffer, in readNextTileData() argument
383 ifd->is->read (buffer, dataSize); in readNextTileData()
476 (_tileBuffer->buffer, _tileBuffer->dataSize, in execute()
[all …]
/external/deqp/framework/delibs/dethread/
DdeThreadTest.c358 deUint32 buffer[32]; member
360 deSemaphore fill; member
368 TestBuffer* buffer = (TestBuffer*)arg; in producerThread() local
390 deSemaphore_decrement(buffer->empty); in producerThread()
392 buffer->buffer[writePos] = val; in producerThread()
393 writePos = (writePos + 1) % DE_LENGTH_OF_ARRAY(buffer->buffer); in producerThread()
395 deSemaphore_increment(buffer->fill); in producerThread()
397 buffer->producerHash ^= val; in producerThread()
403 TestBuffer* buffer = (TestBuffer*)arg; in consumerThread() local
410 deSemaphore_decrement(buffer->fill); in consumerThread()
[all …]
/external/jetty/src/java/org/eclipse/jetty/io/nio/
DNetworkTrafficSelectChannelEndPoint.java45 public int fill(Buffer buffer) throws IOException in fill() argument
47 int read = super.fill(buffer); in fill()
48 notifyIncoming(buffer, read); in fill()
53 public int flush(Buffer buffer) throws IOException in flush() argument
55 int position = buffer.getIndex(); in flush()
56 int written = super.flush(buffer); in flush()
57 notifyOutgoing(buffer, position, written); in flush()
62 …protected int gatheringFlush(Buffer header, ByteBuffer bbuf0, Buffer buffer, ByteBuffer bbuf1) thr… in gatheringFlush() argument
66 int bufferPosition = buffer.getIndex(); in gatheringFlush()
67 int written = super.gatheringFlush(header, bbuf0, buffer,bbuf1); in gatheringFlush()
[all …]
DSelectChannelEndPoint.java366 public int fill(Buffer buffer) throws IOException in fill() argument
368 int fill=super.fill(buffer); in fill() local
369 if (fill>0) in fill()
371 return fill; in fill()
376 public int flush(Buffer header, Buffer buffer, Buffer trailer) throws IOException in flush() argument
378 int l = super.flush(header, buffer, trailer); in flush()
381 …if (l==0 && ( header!=null && header.hasContent() || buffer!=null && buffer.hasContent() || traile… in flush()
402 public int flush(Buffer buffer) throws IOException in flush() argument
404 int l = super.flush(buffer); in flush()
407 if (l==0 && buffer!=null && buffer.hasContent()) in flush()
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketParserD00.java115 int filled=_endp.isOpen()?_endp.fill(_buffer):-1; in parseNext()
201 public void fill(Buffer buffer) in fill() argument
203 if (buffer!=null && buffer.length()>0) in fill()
207 _buffer.put(buffer); in fill()
208 buffer.clear(); in fill()
DWebSocketParser.java38 void onFrame(byte flags, byte opcode, Buffer buffer); in onFrame() argument
51 void fill(Buffer buffer); in fill() argument
DWebSocketParserD06.java135 int filled=_endp.isOpen()?_endp.fill(_buffer):-1; in parseNext()
299 public void fill(Buffer buffer) in fill() argument
301 if (buffer!=null && buffer.length()>0) in fill()
305 _buffer.put(buffer); in fill()
306 buffer.clear(); in fill()
DWebSocketConnectionD00.java93 Buffer buffer=_parser.getBuffer(); in handle() local
94 if (buffer!=null && buffer.length()>0) in handle()
96 int l=buffer.length(); in handle()
99 _hixieBytes.put(buffer.peek(buffer.getIndex(),l)); in handle()
100 buffer.skip(l); in handle()
119 int filled=_endp.fill(_hixieBytes); in handle()
295 public void fillBuffersFrom(Buffer buffer) in fillBuffersFrom() argument
297 _parser.fill(buffer); in fillBuffersFrom()
413 public void onFrame(byte flags, byte opcode, Buffer buffer) in onFrame() argument
417 byte[] array=buffer.array(); in onFrame()
[all …]
DWebSocketParserRFC6455.java181 filled=_endp.isInputShutdown()?-1:_endp.fill(_buffer); in parseNext()
362 public void fill(Buffer buffer) in fill() argument
364 if (buffer!=null && buffer.length()>0) in fill()
369 _buffer.put(buffer); in fill()
370 buffer.clear(); in fill()
DWebSocketParserD08.java181 filled=_endp.isInputShutdown()?-1:_endp.fill(_buffer); in parseNext()
362 public void fill(Buffer buffer) in fill() argument
364 if (buffer!=null && buffer.length()>0) in fill()
369 _buffer.put(buffer); in fill()
370 buffer.clear(); in fill()
/external/skia/tests/
DDashPathEffectTest.cpp26 SkWriteBuffer buffer; in DEF_TEST() local
27 buffer.writeFlattenable(dash); in DEF_TEST()
28 REPORTER_ASSERT(r, buffer.bytesWritten() > 12); // We'd write 12 if broken, >=40 if not. in DEF_TEST()
104 SkPath fill; in DEF_TEST() local
105 paint.getFillPath(path, &fill); in DEF_TEST()
/external/deqp/doc/testspecs/VK/
Dsparse_resources.txt9 1. Test fully resident buffer created with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit
11 3. Test partially resident buffer created with VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT flag bit
14 6. Test memory aliasing for fully resident buffer objects
18 1. Test fully resident buffer created with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit
20 The test creates buffer object with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit. The size of the b…
21 of the test parameters. The memory requirements of the buffer are being checked. Device memory is a…
22 in chunks equal to the alignment parameter of buffer's memory requirements. The number of allocatio…
27 First queue is used to perform binding of device memory to sparse buffer. The binding operation sig…
30 The second queue is used to perform transfer operations. The test creates two non-sparse buffer obj…
31 …e used as input and the second as output. The input buffer is used to transfer data to sparse buff…
[all …]
/external/pdfium/core/src/fdrm/crypto/
Dfx_crypt.cpp63 uint8_t buffer[64]; member
195 FX_DWORD left, fill; in CRYPT_MD5Update() local
200 fill = 64 - left; in CRYPT_MD5Update()
205 if (left && length >= fill) { in CRYPT_MD5Update()
206 FXSYS_memcpy((void*)(ctx->buffer + left), (void*)input, fill); in CRYPT_MD5Update()
207 md5_process(ctx, ctx->buffer); in CRYPT_MD5Update()
208 length -= fill; in CRYPT_MD5Update()
209 input += fill; in CRYPT_MD5Update()
218 FXSYS_memcpy((void*)(ctx->buffer + left), (void*)input, length); in CRYPT_MD5Update()
Dfx_crypt_sha.cpp160 uint8_t buffer[64]; member
305 FX_DWORD left, fill; in CRYPT_SHA256Update() local
310 fill = 64 - left; in CRYPT_SHA256Update()
316 if (left && length >= fill) { in CRYPT_SHA256Update()
317 FXSYS_memcpy((void*)(ctx->buffer + left), (void*)input, fill); in CRYPT_SHA256Update()
318 sha256_process(ctx, ctx->buffer); in CRYPT_SHA256Update()
319 length -= fill; in CRYPT_SHA256Update()
320 input += fill; in CRYPT_SHA256Update()
329 FXSYS_memcpy((void*)(ctx->buffer + left), (void*)input, length); in CRYPT_SHA256Update()
369 uint8_t buffer[128]; member
[all …]
/external/jetty/src/java/org/eclipse/jetty/io/
DEndPoint.java57 int fill(Buffer buffer) throws IOException; in fill() argument
70 int flush(Buffer buffer) throws IOException; in flush() argument
85 int flush(Buffer header, Buffer buffer, Buffer trailer) throws IOException; in flush() argument
DByteArrayEndPoint.java209 public int fill(Buffer buffer) throws IOException in fill() argument
216 int len = buffer.put(_in); in fill()
232 public int flush(Buffer buffer) throws IOException in flush() argument
236 if (_growOutput && buffer.length()>_out.space()) in flush()
240 if (buffer.length()>_out.space()) in flush()
242 ByteArrayBuffer n = new ByteArrayBuffer(_out.putIndex()+buffer.length()); in flush()
253 int len = _out.put(buffer); in flush()
254 if (!buffer.isImmutable()) in flush()
255 buffer.skip(len); in flush()
263 public int flush(Buffer header, Buffer buffer, Buffer trailer) throws IOException in flush() argument
[all …]
/external/gptfdisk/
Dbsd.cc70 uint8_t buffer[4096]; // I/O buffer in ReadBSDData() local
86 if (allOK) allOK = theDisk->Read(buffer, 4096); in ReadBSDData()
100 temp32 = (uint32_t*) &buffer[offset[i]]; in ReadBSDData()
103 temp32 = (uint32_t*) &buffer[offset[i] + 132]; in ReadBSDData()
117 temp32 = (uint32_t*) &buffer[labelStart + 40]; in ReadBSDData()
119 temp16 = (uint16_t*) &buffer[labelStart + 138]; in ReadBSDData()
144 tempRecords = (BSDRecord*) &buffer[labelStart + 148]; in ReadBSDData()
196 cout.fill('0'); in DisplayBSDData()
199 cout.fill(' '); in DisplayBSDData()
/external/skia/src/effects/gradients/
DSkLinearGradient.cpp73 SkFlattenable* SkLinearGradient::CreateProc(SkReadBuffer& buffer) { in CreateProc() argument
75 if (!desc.unflatten(buffer)) { in CreateProc()
79 pts[0] = buffer.readPoint(); in CreateProc()
80 pts[1] = buffer.readPoint(); in CreateProc()
85 void SkLinearGradient::flatten(SkWriteBuffer& buffer) const { in flatten()
86 this->INHERITED::flatten(buffer); in flatten()
87 buffer.writePoint(fStart); in flatten()
88 buffer.writePoint(fEnd); in flatten()
548 template <bool apply_alpha> void fill(SkPMColor dst[], int count, in fill() function
554 template <bool apply_alpha> void fill(SkPMColor dst[], int count, const Sk4f& c4) { in fill() function
[all …]
/external/jetty/src/java/org/eclipse/jetty/server/nio/
DBlockingChannelConnector.java239 public int fill(Buffer buffer) throws IOException in fill() argument
242 return super.fill(buffer); in fill()
250 public int flush(Buffer buffer) throws IOException in flush() argument
253 return super.flush(buffer); in flush()
261 public int flush(Buffer header, Buffer buffer, Buffer trailer) throws IOException in flush() argument
264 return super.flush(header,buffer,trailer); in flush()
/external/skia/src/device/xps/
DSkXPSDevice.cpp67 wchar_t* buffer, size_t bufferSize, in format_guid() argument
70 return swprintf_s(buffer, in format_guid()
90 HRESULT SkXPSDevice::createId(wchar_t* buffer, size_t bufferSize, wchar_t sep) { in createId() argument
101 if (format_guid(guid, buffer, bufferSize, sep) == -1) { in createId()
207 wchar_t buffer[size]; in createXpsThumbnail() local
209 swprintf_s(buffer, size, L"/Documents/1/Metadata/%u.png", pageNum); in createXpsThumbnail()
213 swprintf_s(buffer, size, L"/Metadata/%s.png", id); in createXpsThumbnail()
215 HRM(this->fXpsFactory->CreatePartUri(buffer, &partUri), in createXpsThumbnail()
232 wchar_t buffer[size]; in createXpsPage() local
233 swprintf_s(buffer, size, L"/Documents/1/Pages/%u.fpage", in createXpsPage()
[all …]
/external/jetty/src/java/org/eclipse/jetty/io/bio/
DStreamEndPoint.java124 public int fill(Buffer buffer) throws IOException in fill() argument
131 int space=buffer.space(); in fill()
134 if (buffer.hasContent()) in fill()
141 int filled=buffer.readFrom(_in, space); in fill()
156 public int flush(Buffer buffer) throws IOException in flush() argument
162 int length=buffer.length(); in flush()
164 buffer.writeTo(_out); in flush()
165 if (!buffer.isImmutable()) in flush()
166 buffer.clear(); in flush()
173 public int flush(Buffer header, Buffer buffer, Buffer trailer) throws IOException in flush() argument
[all …]
/external/clang/test/Lexer/
Dstring-literal-errors.cpp27 #define foo() lots and lots of tokens, need at least 8 to fill up the smallvector buffer #BadThings…

123456789