Home
last modified time | relevance | path

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

12345678910>>...14

/external/autotest/client/site_tests/audio_AlsaAPI/
Dcontrol.fill6 NAME = 'audio_AlsaAPI.fill'
8 PURPOSE = 'Test that simple ALSA API succeeds to fill audio buffer with zeros.'
18 Check ALSA API succeeds to fill buffer with zeros.
21 job.run_test('audio_AlsaAPI', to_test='fill', tag='fill')
/external/python/cpython2/Objects/stringlib/
Dlocaleutil.h51 fill(STRINGLIB_CHAR **digits_end, STRINGLIB_CHAR **buffer_end, in fill() function
113 _Py_InsertThousandsGrouping(STRINGLIB_CHAR *buffer, in _Py_InsertThousandsGrouping() argument
139 if (buffer) { in _Py_InsertThousandsGrouping()
140 buffer_end = buffer + n_buffer; in _Py_InsertThousandsGrouping()
154 if (buffer) { in _Py_InsertThousandsGrouping()
156 fill(&digits_end, &buffer_end, n_chars, n_zeros, in _Py_InsertThousandsGrouping()
181 if (buffer) { in _Py_InsertThousandsGrouping()
183 fill(&digits_end, &buffer_end, n_chars, n_zeros, in _Py_InsertThousandsGrouping()
199 _Py_InsertThousandsGroupingLocale(STRINGLIB_CHAR *buffer, in _Py_InsertThousandsGroupingLocale() argument
209 return _Py_InsertThousandsGrouping(buffer, n_buffer, digits, n_digits, in _Py_InsertThousandsGroupingLocale()
/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/python/cpython3/Modules/_blake2/impl/
Dblake2s.c309 size_t fill = 2 * BLAKE2S_BLOCKBYTES - left; in blake2s_update() local
311 if( inlen > fill ) in blake2s_update()
313 memcpy( S->buf + left, in, fill ); /* Fill buffer */ in blake2s_update()
314 S->buflen += fill; in blake2s_update()
319 in += fill; in blake2s_update()
320 inlen -= fill; in blake2s_update()
337 uint8_t buffer[BLAKE2S_OUTBYTES] = {0}; in blake2s_final() local
360 store32( buffer + sizeof( S->h[i] ) * i, S->h[i] ); in blake2s_final()
362 memcpy( out, buffer, outlen ); in blake2s_final()
Dblake2b-ref.c295 size_t fill = 2 * BLAKE2B_BLOCKBYTES - left; in blake2b_update() local
297 if( inlen > fill ) in blake2b_update()
299 memcpy( S->buf + left, in, fill ); /* Fill buffer */ in blake2b_update()
300 S->buflen += fill; in blake2b_update()
305 in += fill; in blake2b_update()
306 inlen -= fill; in blake2b_update()
323 uint8_t buffer[BLAKE2B_OUTBYTES] = {0}; in blake2b_final() local
346 store64( buffer + sizeof( S->h[i] ) * i, S->h[i] ); in blake2b_final()
348 memcpy( out, buffer, outlen ); in blake2b_final()
Dblake2s-ref.c286 size_t fill = 2 * BLAKE2S_BLOCKBYTES - left; in blake2s_update() local
288 if( inlen > fill ) in blake2s_update()
290 memcpy( S->buf + left, in, fill ); /* Fill buffer */ in blake2s_update()
291 S->buflen += fill; in blake2s_update()
296 in += fill; in blake2s_update()
297 inlen -= fill; in blake2s_update()
313 uint8_t buffer[BLAKE2S_OUTBYTES] = {0}; in blake2s_final() local
337 store32( buffer + sizeof( S->h[i] ) * i, S->h[i] ); in blake2s_final()
339 memcpy( out, buffer, outlen ); in blake2s_final()
/external/deqp/external/openglcts/docs/specs/
DCTS_ARB_indirect_parameters.txt33 This test verifies if operations on new buffer object
61 - Create ARRAY_BUFFER and ELEMENT_ARRAY_BUFFER objects and fill it
65 structure data and fill it with data needed to draw 4 triangles.
67 structure data and also fill it with data needed to draw 4
69 - Create PARAMETER_BUFFER_ARB to store draw count data and fill it
75 Clear color buffer with (0, 0, 0) color value and use
/external/skia/src/xps/
DSkXPSDevice.cpp74 wchar_t* buffer, size_t bufferSize, in format_guid() argument
77 return swprintf_s(buffer, in format_guid()
97 HRESULT SkXPSDevice::createId(wchar_t* buffer, size_t bufferSize, wchar_t sep) { in createId() argument
108 if (format_guid(guid, buffer, bufferSize, sep) == -1) { in createId()
185 wchar_t buffer[size]; in createXpsThumbnail() local
187 swprintf_s(buffer, size, L"/Documents/1/Metadata/%u.png", pageNum); in createXpsThumbnail()
191 swprintf_s(buffer, size, L"/Metadata/%s.png", id); in createXpsThumbnail()
193 HRM(this->fXpsFactory->CreatePartUri(buffer, &partUri), in createXpsThumbnail()
211 wchar_t buffer[size]; in createXpsPage() local
212 swprintf_s(buffer, size, L"/Documents/1/Pages/%u.fpage", in createXpsPage()
[all …]
/external/jline/src/src/main/java/jline/
DConsoleReader.java217 Arrays.fill(this.keybindings, UNKNOWN); in ConsoleReader()
594 if (buf.buffer.length() == 0) { in readLine()
690 moveInternal(-(buf.buffer.length())); in readLine()
702 searchTerm = new StringBuffer(buf.buffer); in readLine()
881 int len = buf.buffer.length(); in killLine()
887 int num = buf.buffer.length() - cp; in killLine()
891 buf.buffer.deleteCharAt(len - i - 1); in killLine()
928 String bufstr = buf.buffer.toString(); in complete()
1097 private final void setBuffer(final String buffer) throws IOException { in setBuffer() argument
1099 if (buffer.equals(buf.buffer.toString())) { in setBuffer()
[all …]
/external/python/cpython2/Tools/scripts/
Dfixdiv.py322 self.buffer = []
323 def fill(self): member in FileContext
331 self.fill()
335 self.buffer.append(line)
339 self.fill()
340 bufstart = self.lineno - len(self.buffer)
343 return self.buffer[index - bufstart]
/external/python/cpython3/Tools/scripts/
Dfixdiv.py322 self.buffer = []
323 def fill(self): member in FileContext
331 self.fill()
335 self.buffer.append(line)
339 self.fill()
340 bufstart = self.lineno - len(self.buffer)
343 return self.buffer[index - bufstart]
/external/pdfium/core/fdrm/crypto/
Dfx_crypt.cpp186 uint32_t left, fill; in CRYPT_MD5Update() local
191 fill = 64 - left; in CRYPT_MD5Update()
196 if (left && length >= fill) { in CRYPT_MD5Update()
197 memcpy(ctx->buffer + left, input, fill); in CRYPT_MD5Update()
198 md5_process(ctx, ctx->buffer); in CRYPT_MD5Update()
199 length -= fill; in CRYPT_MD5Update()
200 input += fill; in CRYPT_MD5Update()
209 memcpy(ctx->buffer + left, input, length); in CRYPT_MD5Update()
Dfx_crypt_sha.cpp461 uint32_t fill = 64 - left; in CRYPT_SHA256Update() local
467 if (left && length >= fill) { in CRYPT_SHA256Update()
468 memcpy(ctx->buffer + left, input, fill); in CRYPT_SHA256Update()
469 sha256_process(ctx, ctx->buffer); in CRYPT_SHA256Update()
470 length -= fill; in CRYPT_SHA256Update()
471 input += fill; in CRYPT_SHA256Update()
480 memcpy(ctx->buffer + left, input, length); in CRYPT_SHA256Update()
534 uint32_t fill = 128 - left; in CRYPT_SHA384Update() local
539 if (left && length >= fill) { in CRYPT_SHA384Update()
540 memcpy(ctx->buffer + left, input, fill); in CRYPT_SHA384Update()
[all …]
/external/gptfdisk/
Dbsd.cc72 uint8_t buffer[4096]; // I/O buffer in ReadBSDData() local
88 if (allOK) allOK = theDisk->Read(buffer, 4096); in ReadBSDData()
102 temp32 = (uint32_t*) &buffer[offset[i]]; in ReadBSDData()
105 temp32 = (uint32_t*) &buffer[offset[i] + 132]; in ReadBSDData()
119 temp32 = (uint32_t*) &buffer[labelStart + 40]; in ReadBSDData()
121 temp16 = (uint16_t*) &buffer[labelStart + 138]; in ReadBSDData()
146 tempRecords = (BSDRecord*) &buffer[labelStart + 148]; in ReadBSDData()
198 cout.fill('0'); in DisplayBSDData()
201 cout.fill(' '); in DisplayBSDData()
/external/skqp/src/xps/
DSkXPSDevice.cpp74 wchar_t* buffer, size_t bufferSize, in format_guid() argument
77 return swprintf_s(buffer, in format_guid()
97 HRESULT SkXPSDevice::createId(wchar_t* buffer, size_t bufferSize, wchar_t sep) { in createId() argument
108 if (format_guid(guid, buffer, bufferSize, sep) == -1) { in createId()
185 wchar_t buffer[size]; in createXpsThumbnail() local
187 swprintf_s(buffer, size, L"/Documents/1/Metadata/%u.png", pageNum); in createXpsThumbnail()
191 swprintf_s(buffer, size, L"/Metadata/%s.png", id); in createXpsThumbnail()
193 HRM(this->fXpsFactory->CreatePartUri(buffer, &partUri), in createXpsThumbnail()
211 wchar_t buffer[size]; in createXpsPage() local
212 swprintf_s(buffer, size, L"/Documents/1/Pages/%u.fpage", in createXpsPage()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarUtils.java64 public String decode(final byte[] buffer) {
65 final int length = buffer.length;
68 for (final byte b : buffer) {
104 public static long parseOctal(final byte[] buffer, final int offset, final int length) { in parseOctal() argument
113 if (buffer[start] == 0) { in parseOctal()
119 if (buffer[start] == ' '){ in parseOctal()
130 byte trailer = buffer[end - 1]; in parseOctal()
133 trailer = buffer[end - 1]; in parseOctal()
137 final byte currentByte = buffer[start]; in parseOctal()
141 exceptionMessage(buffer, offset, length, start, currentByte)); in parseOctal()
[all …]
/external/skqp/src/pdf/
DSkPDFUtils.cpp207 void SkPDFUtils::PaintPath(SkPaint::Style style, SkPath::FillType fill, in PaintPath() argument
218 NOT_IMPLEMENTED(fill == SkPath::kInverseEvenOdd_FillType, false); in PaintPath()
219 NOT_IMPLEMENTED(fill == SkPath::kInverseWinding_FillType, false); in PaintPath()
220 if (fill == SkPath::kEvenOdd_FillType) { in PaintPath()
359 char buffer[5]; in Base85Encode() local
361 buffer[n] = (v % 85) + '!'; in Base85Encode()
364 buffer[0] = v + '!'; in Base85Encode()
365 dst->write(buffer, count + 1); in Base85Encode()
/external/skia/src/pdf/
DSkPDFUtils.cpp207 void SkPDFUtils::PaintPath(SkPaint::Style style, SkPath::FillType fill, in PaintPath() argument
218 NOT_IMPLEMENTED(fill == SkPath::kInverseEvenOdd_FillType, false); in PaintPath()
219 NOT_IMPLEMENTED(fill == SkPath::kInverseWinding_FillType, false); in PaintPath()
220 if (fill == SkPath::kEvenOdd_FillType) { in PaintPath()
359 char buffer[5]; in Base85Encode() local
361 buffer[n] = (v % 85) + '!'; in Base85Encode()
364 buffer[0] = v + '!'; in Base85Encode()
365 dst->write(buffer, count + 1); in Base85Encode()
/external/python/cpython2/Lib/lib-tk/
Dturtle.py462 self._canvas.pack(expand=1, fill="both")
521 return self.cv.create_polygon((0, 0, 0, 0, 0, 0), fill="", outline="")
523 def _drawpoly(self, polyitem, coordlist, fill=None, argument
539 if fill is not None:
540 self.cv.itemconfigure(polyitem, fill=fill)
551 return self.cv.create_line(0, 0, 0, 0, fill="", width=2,
555 fill=None, width=None, top=False): argument
570 if fill is not None:
571 self.cv.itemconfigure(lineitem, fill=fill)
621 fill = pencolor, font = font)
[all …]
/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
20 1. Test fully resident buffer created with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit
22 The test creates buffer object with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit. The size of the b…
23 of the test parameters. The memory requirements of the buffer are being checked. Device memory is a…
24 in chunks equal to the alignment parameter of buffer's memory requirements. The number of allocatio…
29 First queue is used to perform binding of device memory to sparse buffer. The binding operation sig…
32 The second queue is used to perform transfer operations. The test creates two non-sparse buffer obj…
33 …e used as input and the second as output. The input buffer is used to transfer data to sparse buff…
[all …]
/external/skia/src/compute/skc/platforms/cl_12/
Dconfig_cl.h73 } buffer; member
80 size_t buffer; // block.bytes * subbuf.blocks * subbuf.count member
85 size_t buffer; // sizeof(skc_uint) * subbuf.blocks * subbuf.count member
112 } fill; member
/external/skqp/src/compute/skc/platforms/cl_12/
Dconfig_cl.h73 } buffer; member
80 size_t buffer; // block.bytes * subbuf.blocks * subbuf.count member
85 size_t buffer; // sizeof(skc_uint) * subbuf.blocks * subbuf.count member
112 } fill; member
/external/python/cpython3/Lib/
Dturtle.py438 self._canvas.pack(expand=1, fill="both")
497 return self.cv.create_polygon((0, 0, 0, 0, 0, 0), fill="", outline="")
499 def _drawpoly(self, polyitem, coordlist, fill=None, argument
515 if fill is not None:
516 self.cv.itemconfigure(polyitem, fill=fill)
527 return self.cv.create_line(0, 0, 0, 0, fill="", width=2,
531 fill=None, width=None, top=False): argument
546 if fill is not None:
547 self.cv.itemconfigure(lineitem, fill=fill)
597 fill = pencolor, font = font)
[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…
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java75 Arrays.fill(BUFFER, BYTE1); in testHandleCommand()
85 byte[] buffer = (byte[]) actual[0]; in testHandleCommand()
90 assertEquals("buffer for invocation #" + counter, BUFFER, buffer); in testHandleCommand()
94 assertEquals("buffer[0]", BYTE2, buffer[0]); in testHandleCommand()
95 assertEquals("buffer[1]", BYTE2, buffer[1]); in testHandleCommand()
96 assertEquals("buffer[2]", BYTE2, buffer[2]); in testHandleCommand()

12345678910>>...14