Home
last modified time | relevance | path

Searched refs:buffer (Results 1026 - 1050 of 7438) sorted by relevance

1...<<41424344454647484950>>...298

/third_party/ltp/lib/
H A Dtlibio.c51 * int lio_write_buffer(int fd, int method, char *buffer, int size,
53 * int lio_read_buffer(int fd, int method, char *buffer, int size,
163 {"v", LIO_IO_SYNCV, "single buffer sync readv/writev"},
175 {"syncv", LIO_IO_SYNCV, "single buffer sync readv/writev"},
517 * in a internal static buffer. If errmsg is not NULL, it will
518 * be updated to point to the static buffer, allowing the caller
535 char *buffer, /* pointer to buffer */ in lio_write_buffer()
594 iov.iov_base = buffer; in lio_write_buffer()
605 aiocbp.aio_buf = buffer; in lio_write_buffer()
533 lio_write_buffer(int fd, int method, char *buffer, int size, int sig, char **errmsg, long wrd) lio_write_buffer() argument
1108 lio_read_buffer(int fd, int method, char *buffer, int size, int sig, char **errmsg, long wrd) lio_read_buffer() argument
2007 char buffer[4096]; global() local
[all...]
/third_party/libsnd/src/
H A Dmat5.c160 char buffer [256] ; in mat5_write_header() local
208 psf_get_date_str (buffer, sizeof (buffer)) ; in mat5_write_header()
209 psf_binheader_writef (psf, "bb", BHWv (filename), BHWz (strlen (filename)), BHWv (buffer), BHWz (strlen (buffer) + 1)) ; in mat5_write_header()
211 memset (buffer, ' ', 124 - psf->header.indx) ; in mat5_write_header()
212 psf_binheader_writef (psf, "b", BHWv (buffer), BHWz (124 - psf->header.indx)) ; in mat5_write_header()
261 { char buffer [256], name [32] ; in mat5_read_header() local
267 psf_binheader_readf (psf, "pb", 0, buffer, 124) ; in mat5_read_header()
269 buffer [12 in mat5_read_header()
[all...]
/third_party/libuv/test/
H A Dtest-poll.c225 static char buffer[74]; local
228 r = recv(context->sock, buffer, sizeof buffer, 0);
246 static char buffer[931]; local
250 r = recv(context->sock, buffer, sizeof buffer, 0);
307 static char buffer[103]; local
309 int send_bytes = MIN(TRANSFER_BYTES - context->sent, sizeof buffer);
313 r = send(context->sock, buffer, send_bytes, 0);
331 static char buffer[123 local
[all...]
/third_party/mbedtls/programs/aes/
H A Dcrypt_and_hash.c71 unsigned char buffer[1024]; in main() local
242 buffer[i] = (unsigned char) (filesize >> (i << 3)); in main()
251 if (mbedtls_md_update(&md_ctx, buffer, 8) != 0) { in main()
334 if (fread(buffer, 1, ilen, fin) != ilen) { in main()
339 if (mbedtls_cipher_update(&cipher_ctx, buffer, ilen, output, &olen) != 0) { in main()
425 if (fread(buffer, 1, 16, fin) != 16) { in main()
430 memcpy(IV, buffer, 16); in main()
488 if (fread(buffer, 1, ilen, fin) != ilen) { in main()
494 if (mbedtls_md_hmac_update(&md_ctx, buffer, ilen) != 0) { in main()
498 if (mbedtls_cipher_update(&cipher_ctx, buffer, ile in main()
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_buffer.c87 &device->meta_state.buffer.fill_p_layout); in radv_device_init_meta_buffer_state()
101 &device->meta_state.buffer.copy_p_layout); in radv_device_init_meta_buffer_state()
117 .layout = device->meta_state.buffer.fill_p_layout, in radv_device_init_meta_buffer_state()
122 &fill_vk_pipeline_info, NULL, &device->meta_state.buffer.fill_pipeline); in radv_device_init_meta_buffer_state()
138 .layout = device->meta_state.buffer.copy_p_layout, in radv_device_init_meta_buffer_state()
143 &copy_vk_pipeline_info, NULL, &device->meta_state.buffer.copy_pipeline); in radv_device_init_meta_buffer_state()
161 radv_DestroyPipeline(radv_device_to_handle(device), state->buffer.copy_pipeline, &state->alloc); in radv_device_finish_meta_buffer_state()
162 radv_DestroyPipeline(radv_device_to_handle(device), state->buffer.fill_pipeline, &state->alloc); in radv_device_finish_meta_buffer_state()
163 radv_DestroyPipelineLayout(radv_device_to_handle(device), state->buffer.copy_p_layout, in radv_device_finish_meta_buffer_state()
165 radv_DestroyPipelineLayout(radv_device_to_handle(device), state->buffer in radv_device_finish_meta_buffer_state()
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_android.c179 const struct AHardwareBuffer *buffer, in get_ahw_buffer_format_properties2()
184 /* Get a description of buffer contents . */ in get_ahw_buffer_format_properties2()
186 AHardwareBuffer_describe(buffer, &desc); in get_ahw_buffer_format_properties2()
194 /* "Buffer must be a valid Android hardware buffer object with at least in get_ahw_buffer_format_properties2()
221 * buffer has a format which has an equivalent Vulkan format to enable in get_ahw_buffer_format_properties2()
225 * the Android hardware buffer’s format has a Vulkan equivalent." in get_ahw_buffer_format_properties2()
259 const struct AHardwareBuffer *buffer, in anv_GetAndroidHardwareBufferPropertiesANDROID()
267 /* Fill format properties of an Android hardware buffer. */ in anv_GetAndroidHardwareBufferPropertiesANDROID()
272 get_ahw_buffer_format_properties2(device_h, buffer, &format_prop2); in anv_GetAndroidHardwareBufferPropertiesANDROID()
290 get_ahw_buffer_format_properties2(device_h, buffer, format_prop in anv_GetAndroidHardwareBufferPropertiesANDROID()
177 get_ahw_buffer_format_properties2( VkDevice device_h, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferFormatProperties2ANDROID *pProperties) get_ahw_buffer_format_properties2() argument
257 anv_GetAndroidHardwareBufferPropertiesANDROID( VkDevice device_h, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties) anv_GetAndroidHardwareBufferPropertiesANDROID() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DQueue.cpp101 // For depth-stencil texture, buffer offset must be a multiple of 4, which is required in UploadTextureDataAligningBytesPerRowAndOffset()
253 void QueueBase::APIWriteBuffer(BufferBase* buffer, in APIWriteBuffer() argument
257 GetDevice()->ConsumedError(WriteBuffer(buffer, bufferOffset, data, size)); in APIWriteBuffer()
260 MaybeError QueueBase::WriteBuffer(BufferBase* buffer, in WriteBuffer() argument
266 DAWN_TRY(ValidateWriteBuffer(GetDevice(), buffer, bufferOffset, size)); in WriteBuffer()
267 DAWN_TRY(buffer->ValidateCanUseOnQueueNow()); in WriteBuffer()
268 return WriteBufferImpl(buffer, bufferOffset, data, size); in WriteBuffer()
271 MaybeError QueueBase::WriteBufferImpl(BufferBase* buffer, in WriteBufferImpl() argument
292 buffer, bufferOffset, size); in WriteBufferImpl()
402 for (const BufferBase* buffer in ValidateSubmit()
[all...]
H A DPipelineLayout.cpp112 modifiedEntry->buffer.type == mergedEntry.buffer.type && in CreateDefault()
119 // Minimum buffer binding size excluded because we take the maximum seen across stages. in CreateDefault()
120 if (modifiedEntry->buffer.type != wgpu::BufferBindingType::Undefined) { in CreateDefault()
121 compatible = compatible && modifiedEntry->buffer.hasDynamicOffset == in CreateDefault()
122 mergedEntry.buffer.hasDynamicOffset; in CreateDefault()
159 modifiedEntry->buffer.minBindingSize = in CreateDefault()
160 std::max(modifiedEntry->buffer.minBindingSize, mergedEntry.buffer.minBindingSize); in CreateDefault()
176 entry.buffer in CreateDefault()
[all...]
/third_party/skia/third_party/externals/dawn/src/utils/
H A DWGPUHelpers.cpp80 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in CreateBufferFromData() local
82 device.GetQueue().WriteBuffer(buffer, 0, data, size); in CreateBufferFromData()
83 return buffer; in CreateBufferFromData()
181 wgpu::ImageCopyBuffer CreateImageCopyBuffer(wgpu::Buffer buffer, in CreateImageCopyBuffer() argument
186 imageCopyBuffer.buffer = buffer; in CreateImageCopyBuffer()
259 buffer.type = bufferType; in BindingLayoutEntryInitializationHelper()
260 buffer.hasDynamicOffset = bufferHasDynamicOffset; in BindingLayoutEntryInitializationHelper()
261 buffer.minBindingSize = bufferMinBindingSize; in BindingLayoutEntryInitializationHelper()
335 const wgpu::Buffer& buffer, in BindingInitializationHelper()
334 BindingInitializationHelper(uint32_t binding, const wgpu::Buffer& buffer, uint64_t offset, uint64_t size) BindingInitializationHelper() argument
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcapitst.c45 static char* U_EXPORT2 ucol_sortKeyToString(const UCollator *coll, const uint8_t *sortkey, char *buffer, uint32_t len) { in ucol_sortKeyToString() argument
51 position += sprintf(buffer + position, "["); in ucol_sortKeyToString()
54 position += sprintf(buffer + position, "%02X . ", b); in ucol_sortKeyToString()
56 position += sprintf(buffer + position, "%02X ", b); in ucol_sortKeyToString()
60 position += sprintf(buffer + position, "%02X]", b); in ucol_sortKeyToString()
61 return buffer; in ucol_sortKeyToString()
397 UChar *buffer = (UChar *)malloc(200000*sizeof(UChar)); in TestProperty() local
399 buffer[0] = '\0'; in TestProperty()
401 tempLength = ucol_getRulesEx(col,UCOL_TAILORING_ONLY,buffer,bufLen ); in TestProperty()
406 tempLength=ucol_getRulesEx(col,UCOL_FULL_RULES,buffer,bufLe in TestProperty()
664 uint8_t buffer [CLONETEST_COLLATOR_COUNT] [U_COL_SAFECLONE_BUFFERSIZE]; TestSafeClone() local
934 uint8_t * buffer; TestCloneBinary() local
1655 UChar buffer[512]; TestBounds() local
2042 UChar buffer[256]; TestMergeSortKeys() local
2245 UChar buffer[65536]; doSetsTest() local
2345 UChar buffer[65536]; TestGetContractionsAndUnsafes() local
[all...]
/third_party/backends/sanei/
H A Dsanei_auth.c85 char buffer[4]; in randombits() local
93 fread (buffer, 1, 4, dev_urandom); in randombits()
97 result = buffer[0]; in randombits()
99 result += buffer[1]; in randombits()
101 result += buffer[2]; in randombits()
103 result += buffer[3]; in randombits()
/third_party/libwebsockets/lib/core/
H A Dalloc.c48 TEE_Realloc(void *buffer, uint32_t newSize) in TEE_Realloc() argument
53 TEE_Free(void *buffer) in TEE_Free() argument
66 TEE_Realloc(void *buffer, uint32_t newSize) in TEE_Realloc() argument
68 return realloc(buffer, newSize); in TEE_Realloc()
71 TEE_Free(void *buffer) in TEE_Free() argument
73 free(buffer); in TEE_Free()
/third_party/jerryscript/jerry-core/api/
H A Djerry-debugger.c192 jerry_debugger_send_output (const jerry_char_t *buffer, /**< buffer */ in jerry_debugger_send_output() argument
200 (const uint8_t *) buffer, in jerry_debugger_send_output()
204 JERRY_UNUSED (buffer); in jerry_debugger_send_output()
214 const jerry_char_t *buffer, /**< buffer */ in jerry_debugger_send_log()
222 (const uint8_t *) buffer, in jerry_debugger_send_log()
227 JERRY_UNUSED (buffer); in jerry_debugger_send_log()
213 jerry_debugger_send_log(jerry_log_level_t level, const jerry_char_t *buffer, jerry_size_t str_size) jerry_debugger_send_log() argument
/third_party/node/test/parallel/
H A Dtest-assert-typedarray-deepequal.js52 [new Uint8Array([1, 2, 3]).buffer, new Uint8Array([4, 5, 6]).buffer],
54 new Uint8Array(new SharedArrayBuffer(3)).fill(1).buffer,
55 new Uint8Array(new SharedArrayBuffer(3)).fill(2).buffer,
61 new Uint8Array(new ArrayBuffer(3)).fill(1).buffer,
62 new Uint8Array(new SharedArrayBuffer(3)).fill(2).buffer,
/third_party/node/benchmark/net/
H A Dtcp-raw-pipe.js47 clientHandle.onread = function(buffer) {
50 if (!buffer)
55 err = clientHandle.writeBuffer(writeReq, Buffer.from(buffer));
93 clientHandle.onread = function(buffer) {
94 if (!buffer)
97 bytes += buffer.byteLength;
/third_party/libdrm/tests/etnaviv/
H A Dwrite_bmp.c104 bmp_dump32(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) in bmp_dump32() argument
116 write(fd, buffer, width * height * 4); in bmp_dump32()
120 bmp_dump32_noflip(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename) in bmp_dump32_noflip() argument
132 write(fd, buffer, width * height * 4); in bmp_dump32_noflip()
136 bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, const char *filename) in bmp_dump32_ex() argument
148 write(fd, buffer, width * height * 4); in bmp_dump32_ex()
/third_party/ltp/testcases/kernel/watchqueue/
H A Dcommon.h127 unsigned char buffer[433], *p, *end; in wqueue_consumer() local
136 buf_len = SAFE_READ(0, fd, buffer, sizeof(buffer)); in wqueue_consumer()
138 p = buffer; in wqueue_consumer()
139 end = buffer + buf_len; in wqueue_consumer()
152 tst_res(TINFO, "NOTIFY[%03zx]: ty=%06x sy=%02x i=%08x", p - buffer, in wqueue_consumer()
/third_party/node/deps/undici/src/node_modules/@fastify/busboy/deps/dicer/lib/
H A DHeaderParser.js23 this.buffer = ''
35 self.buffer += data.toString('binary', start, end)
49 this.buffer = ''
55 if (this.buffer) { this._parseHeader() }
59 this.buffer = ''
69 const lines = this.buffer.split(RE_CRLF)
/third_party/skia/src/gpu/dawn/
H A DGrDawnBuffer.cpp24 SkASSERT(!"buffer type not supported by Dawn"); in GrGpuBufferTypeToDawnUsageBit()
73 // the buffer should always be mapped. in onMap()
107 auto buffer = static_cast<GrDawnBuffer*>(userData); in callback_read() local
108 buffer->setMapPtr(const_cast<void*>(buffer->get().GetConstMappedRange())); in callback_read()
112 auto buffer = static_cast<GrDawnBuffer*>(userData); in callback_write() local
113 buffer->setMapPtr(buffer->get().GetMappedRange()); in callback_write()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/
H A DByteArrayTests.java82 // buffer reads in readComparison()
85 byte[] buffer = new byte[bufferSize]; in readComparison()
86 b1 = readByteArrayWithBuffer(ba1, buffer); in readComparison()
87 b2 = readByteArrayWithBuffer(ba2, buffer); in readComparison()
102 ByteArray<? extends ByteArray<?>> ba, byte[] buffer) { in readByteArrayWithBuffer()
107 int bytesRead = ba.get(index, buffer); in readByteArrayWithBuffer()
108 System.arraycopy(buffer, 0, b, index, bytesRead); in readByteArrayWithBuffer()
101 readByteArrayWithBuffer( ByteArray<? extends ByteArray<?>> ba, byte[] buffer) readByteArrayWithBuffer() argument
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DTapLatencyAnalyser.java37 public TapLatencyEvent[] analyze(float[] buffer, int offset, int numSamples) { in analyze() argument
40 highPassFilter(buffer, offset, numSamples, mHighPassBuffer); in analyze()
50 private void highPassFilter(float[] buffer, int offset, int numSamples, float[] highPassBuffer) { in highPassFilter() argument
55 float xn = buffer[i + offset]; in highPassFilter()
88 private void fillPeakBuffer(float[] buffer, int offset, int numSamples, float[] peakBuffer) { in fillPeakBuffer() argument
93 float input = buffer[i + offset]; in fillPeakBuffer()
/third_party/skia/src/shaders/
H A DSkColorFilterShader.cpp33 sk_sp<SkFlattenable> SkColorFilterShader::CreateProc(SkReadBuffer& buffer) { in CreateProc() argument
34 auto shader = buffer.readShader(); in CreateProc()
35 auto filter = buffer.readColorFilter(); in CreateProc()
46 void SkColorFilterShader::flatten(SkWriteBuffer& buffer) const { in flatten()
47 buffer.writeFlattenable(fShader.get()); in flatten()
49 buffer.writeFlattenable(fFilter.get()); in flatten()
/third_party/skia/src/utils/
H A DSkFloatToDecimal.cpp141 unsigned char buffer[9]; // decimal value buffer.
144 buffer[bufferIndex++] = d % 10;
147 SkASSERT(bufferIndex <= (int)sizeof(buffer) && bufferIndex > 0);
151 *output_ptr++ = '0' + buffer[bufferIndex];
161 *output_ptr++ = '0' + buffer[bufferIndex];
173 *output_ptr++ = '0' + buffer[bufferIndex];
/third_party/skia/third_party/externals/brotli/java/org/brotli/integration/
H A DBundleHelper.java43 byte[] buffer = new byte[65536]; in readStream()
45 while ((bytesRead = input.read(buffer)) != -1) { in readStream()
46 result.write(buffer, 0, bytesRead); in readStream()
96 byte[] buffer = new byte[65536]; in fingerprintStream()
99 int len = input.read(buffer); in fingerprintStream()
103 crc = updateCrc64(crc, buffer, 0, len); in fingerprintStream()
/third_party/skia/third_party/externals/angle2/util/windows/win32/
H A Dtest_utils_win32.cpp44 char buffer[STACKWALK_MAX_NAMELEN]; variable
62 _snprintf_s(buffer, maxLen, " %s - %p (%s): %s\n", entry.name,
67 _snprintf_s(buffer, maxLen, " %s (%s:%d)\n", entry.name, entry.lineFileName,
69 buffer[STACKWALK_MAX_NAMELEN - 1] = 0;
70 printf("%s", buffer);
71 OutputDebugStringA(buffer); variable

Completed in 14 milliseconds

1...<<41424344454647484950>>...298