/third_party/EGL/api/EGL/ |
H A D | eglext.h | 189 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 192 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 523 typedef EGLClientBuffer (EGLAPIENTRYP PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC) (const struct AHardwareBuffer *buffer); 525 EGLAPI EGLClientBuffer EGLAPIENTRY eglGetNativeClientBufferANDROID (const struct AHardwareBuffer *buffer); 1467 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWLPROC) (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); 1471 EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value);
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DateTimePatternGenerator.java | 1744 StringBuffer buffer = new StringBuffer(); in set() 1747 buffer.setLength(0); in set() 1748 int status = tokenizer.next(buffer); in set() 1751 if (variable.length() != 0 && buffer.charAt(0) != variable.charAt(0)) { in set() 1754 variable.append(buffer); in set() 1757 items.add(buffer.toString()); in set()
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_generic.c | 987 req = xfer->frbuffers[0].buffer; in ugen_fs_copy_in() 1072 /* we need to know the source buffer */ in ugen_fs_copy_in() 1078 /* get kernel buffer address */ in ugen_fs_copy_in() 1079 kaddr = xfer->frbuffers[0].buffer; in ugen_fs_copy_in() 1085 /* get kernel buffer address */ in ugen_fs_copy_in() 1086 kaddr = xfer->frbuffers[n].buffer; in ugen_fs_copy_in() 1188 req = xfer->frbuffers[0].buffer; in ugen_fs_copy_out() 1241 /* we need to know the destination buffer */ in ugen_fs_copy_out() 1247 /* only one frame buffer */ in ugen_fs_copy_out() 1249 xfer->frbuffers[0].buffer, offse in ugen_fs_copy_out() [all...] |
H A D | usb_dev.c | 63 static ssize_t usb_read(struct file *filep, char *buffer, size_t buflen); 64 static ssize_t usb_write(struct file *filep, const char *buffer, size_t buflen); 1146 usb_read(struct file *filep, char *buffer, size_t buflen) in usb_read() argument 1216 err = copyout((const void *)m->cur_data_ptr, buffer, io_len); in usb_read() 1253 usb_write(struct file *filep, const char *buffer, size_t buflen) in usb_write() argument 1331 err = copyin(buffer, pdata, io_len); in usb_write() 1338 /* check if the buffer is ready to be transmitted */ in usb_write() 1651 /* Free old buffer, if any. */ in usb_fifo_free_buffer() 1808 * 1 - data in buffer 2044 /* out of buffer spac in usb_read_symlink() [all...] |
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | f_mass_storage.c | 104 uint8_t *buffer, 109 uint8_t *buffer, 928 /* All but the last buffer of data must have already been sent */ in fmass_handle_scsi_data() 1159 uint8_t *buffer, in fmass_dev_read() 1168 int ret = los_part_read(part->part_id, buffer, stsector, nsectors); in fmass_dev_read() 1178 uint8_t *buffer, in fmass_dev_write() 1187 int ret = los_part_write(part->part_id, buffer, stsector, nsectors); in fmass_dev_write() 1158 fmass_dev_read(struct mass_dev_s *fmass, uint8_t *buffer, size_t stsector, uint32_t nsectors) fmass_dev_read() argument 1177 fmass_dev_write(struct mass_dev_s *fmass, uint8_t *buffer, size_t stsector, uint32_t nsectors) fmass_dev_write() argument
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DateTimePatternGenerator.java | 1616 StringBuffer buffer = new StringBuffer(); in set() 1619 buffer.setLength(0); in set() 1620 int status = tokenizer.next(buffer); in set() 1623 if (variable.length() != 0 && buffer.charAt(0) != variable.charAt(0)) { in set() 1626 variable.append(buffer); in set() 1629 items.add(buffer.toString()); in set()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | plurrule.cpp | 1920 char buffer[20]; 1923 snprintf(buffer, sizeof(buffer), pattern, source, exponent); 1926 snprintf(buffer, sizeof(buffer), pattern, source); 1928 return UnicodeString(buffer, -1, US_INV);
|
/third_party/mesa3d/include/EGL/ |
H A D | eglext.h | 189 typedef EGLImageKHR (EGLAPIENTRYP PFNEGLCREATEIMAGEKHRPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 192 EGLAPI EGLImageKHR EGLAPIENTRY eglCreateImageKHR (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list); 523 typedef EGLClientBuffer (EGLAPIENTRYP PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC) (const struct AHardwareBuffer *buffer); 525 EGLAPI EGLClientBuffer EGLAPIENTRY eglGetNativeClientBufferANDROID (const struct AHardwareBuffer *buffer); 1441 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWLPROC) (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value); 1445 EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value);
|
/third_party/mesa3d/include/CL/ |
H A D | cl_icd.h | 450 cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, 458 cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, 472 cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_write, 480 cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, 496 cl_command_queue command_queue, cl_mem buffer, const void *pattern, 576 cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_map, 996 cl_mem /* buffer */, cl_mem_flags /* flags */,
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_pipe.c | 118 {"tmz", DBG(TMZ), "Force allocation of scanout/depth/stencil buffer as encrypted"}, 214 pipe_resource_reference(&sctx->null_const_buf.buffer, NULL); in si_destroy_context() 699 /* GFX7 cannot unbind a constant buffer (S_BUFFER_LOAD doesn't skip loads in si_create_context() 700 * if NUM_RECORDS == 0). We need to use a dummy buffer instead. */ in si_create_context() 702 sctx->null_const_buf.buffer = in si_create_context() 708 if (!sctx->null_const_buf.buffer) { in si_create_context() 712 sctx->null_const_buf.buffer_size = sctx->null_const_buf.buffer->width0; in si_create_context() 788 /* Clear the NULL constant buffer, because loads should return zeros. in si_create_context() 793 si_clear_buffer(sctx, sctx->null_const_buf.buffer, 0, sctx->null_const_buf.buffer in si_create_context() [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
H A D | spirv_builder.c | 322 uint32_t buffer) in spirv_builder_emit_xfb_buffer() 324 uint32_t args[] = { buffer }; in spirv_builder_emit_xfb_buffer() 1672 const struct spirv_buffer *buffer = buffers[i]; in spirv_builder_get_words() local 1673 for (int j = 0; j < buffer->num_words; ++j) { in spirv_builder_get_words() 1674 if (find_tcs_vertices_out && buffer == &b->exec_modes && *tcs_vertices_out_word == j) { in spirv_builder_get_words() 1678 words[written++] = buffer->words[j]; in spirv_builder_get_words() 321 spirv_builder_emit_xfb_buffer(struct spirv_builder *b, SpvId target, uint32_t buffer) spirv_builder_emit_xfb_buffer() argument
|
/third_party/mesa3d/src/glx/ |
H A D | glxcmds.c | 1146 /* Prefer single-buffer. in fbconfig_compare() 2417 glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, in glXBindTexImageEXT() argument 2434 (*psc->driScreen->bindTexImage) (pdraw, buffer, attrib_list); in glXBindTexImageEXT() 2462 *buffer_ptr = buffer; in glXBindTexImageEXT() 2479 glXReleaseTexImageEXT(Display * dpy, GLXDrawable drawable, int buffer) in glXReleaseTexImageEXT() argument 2492 (*psc->driScreen->releaseTexImage) (pdraw, buffer); in glXReleaseTexImageEXT() 2513 *buffer_ptr = buffer; in glXReleaseTexImageEXT()
|
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding.cc | 1555 std::string buffer; in CharsToDouble() local 1556 buffer.reserve(length + 1); in CharsToDouble() 1561 buffer.push_back(static_cast<char>(chars[ii])); in CharsToDouble() 1563 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble() 1567 std::string buffer(reinterpret_cast<const char*>(chars), length); in CharsToDouble() 1568 return platform_->StrToD(buffer.c_str(), result); in CharsToDouble()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | plurrule.cpp | 1924 char buffer[20]; 1927 snprintf(buffer, sizeof(buffer), pattern, source, exponent); 1930 snprintf(buffer, sizeof(buffer), pattern, source); 1932 return UnicodeString(buffer, -1, US_INV);
|
/third_party/lz4/tests/ |
H A D | fuzzer.c | 147 static void FUZ_fillCompressibleNoiseBuffer(void* buffer, size_t bufferSize, double proba, U32* seed) in FUZ_fillCompressibleNoiseBuffer() argument 149 BYTE* const BBuffer = (BYTE*)buffer; in FUZ_fillCompressibleNoiseBuffer() 273 DISPLAYLEVEL(2, "generating low buffer at address %p \n", lowBuff); in FUZ_createLowAddr() 277 static void FUZ_freeLowAddr(void* buffer, size_t size) in FUZ_freeLowAddr() argument 279 if (munmap(buffer, size)) { in FUZ_freeLowAddr() 280 perror("fuzzer: freeing low address buffer"); in FUZ_freeLowAddr() 292 static void FUZ_freeLowAddr(void* buffer, size_t size) in FUZ_freeLowAddr() argument 295 free(buffer); in FUZ_freeLowAddr() 304 * presumes a difference exists before end of either buffer. 405 FUZ_CHECKTEST(cSize > targetSize, "LZ4_compress_destSize() result larger than dst buffer !"); in FUZ_test() [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-win32.cc | 98 int _vsnprintf_s(char* buffer, size_t sizeOfBuffer, size_t count, in _vsnprintf_s() argument 101 return _vsnprintf(buffer, sizeOfBuffer, format, argptr); in _vsnprintf_s() 591 // overflowing the buffer. We might truncate the output, but this in VPrintHelper() 593 char buffer[4096]; in VPrintHelper() local 594 OS::VSNPrintF(buffer, sizeof(buffer), format, args); in VPrintHelper() 595 OutputDebugStringA(buffer); in VPrintHelper() 724 // Use _TRUNCATE or strncpy_s crashes (by design) if buffer is too small. in StrNCpy()
|
/third_party/node/deps/v8/src/diagnostics/riscv64/ |
H A D | disasm-riscv64.cc | 14 // v8::base::EmbeddedVector<char, 256> buffer; 16 // pc += d.InstructionDecode(buffer, pc); 18 // prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer); 44 // Decoder decodes and disassembles instructions into an output buffer. 59 // Writes one disassembled instruction into 'buffer' (0-terminated). 170 // Append the ch to the output buffer. 173 // Append the str to the output buffer. 849 // the output buffer. All escaped options are handed to FormatOption to be 2812 // Disassemble the instruction at *instr_ptr into the output buffer. 2917 int Disassembler::InstructionDecode(v8::base::Vector<char> buffer, in InstructionDecode() argument 2933 v8::base::EmbeddedVector<char, 128> buffer; Disassemble() local [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_cmd_buffer.c | 824 void *ptr = cmdbuf->state.ib.buffer->bo->ptr.cpu + in panvk_index_minmax_search() 825 cmdbuf->state.ib.buffer->bo_offset + in panvk_index_minmax_search() 830 assert(cmdbuf->state.ib.buffer); in panvk_index_minmax_search() 831 assert(cmdbuf->state.ib.buffer->bo); in panvk_index_minmax_search() 832 assert(cmdbuf->state.ib.buffer->bo->ptr.cpu); in panvk_index_minmax_search() 896 .indices = panvk_buffer_gpu_ptr(cmdbuf->state.ib.buffer, in CmdDrawIndexed() 1146 * the command buffer in panvk_create_cmdbuf() 1154 "Command buffer descriptor pool", true); in panvk_create_cmdbuf() 1251 /* If the command buffer has already been reset with in BeginCommandBuffer()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-loopback.c | 376 * one fragment is filled, and then we empty the source buffer, so the source in update_minimum_latency() 387 /* Multiply by 1.1 as a safety margin for delays that are proportional to the buffer sizes */ in update_minimum_latency() 390 /* Add 1.5 ms as a safety margin for delays not related to the buffer sizes */ in update_minimum_latency() 416 size_t buffer; in adjust_rates() local 481 buffer = u->latency_snapshot.loopback_memblockq_length; in adjust_rates() 483 buffer += (size_t) (u->latency_snapshot.send_counter - u->latency_snapshot.recv_counter); in adjust_rates() 485 buffer = PA_CLIP_SUB(buffer, (size_t) (u->latency_snapshot.recv_counter - u->latency_snapshot.send_counter)); in adjust_rates() 487 current_buffer_latency = pa_bytes_to_usec(buffer, &u->sink_input->sample_spec); in adjust_rates()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/ |
H A D | vktDeviceGroupRendering.cpp | 493 DE_NULL // buffer in iterate() 551 dedicatedAllocInfo.buffer = vertexBuffer.get(); in iterate() 559 // Bind vertex buffer in iterate() 574 vertexBuffer.get(), // buffer in iterate() 623 dedicatedAllocInfo.buffer = indexBuffer.get(); in iterate() 631 // Bind index buffer in iterate() 646 indexBuffer.get(), // buffer in iterate() 695 dedicatedAllocInfo.buffer = uniformBuffer.get(); in iterate() 717 uniformBuffer.get(), // buffer in iterate() 766 dedicatedAllocInfo.buffer in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/device_group/ |
H A D | vktDeviceGroupRendering.cpp | 493 DE_NULL // buffer in iterate() 551 dedicatedAllocInfo.buffer = vertexBuffer.get(); in iterate() 559 // Bind vertex buffer in iterate() 574 vertexBuffer.get(), // buffer in iterate() 623 dedicatedAllocInfo.buffer = indexBuffer.get(); in iterate() 631 // Bind index buffer in iterate() 646 indexBuffer.get(), // buffer in iterate() 695 dedicatedAllocInfo.buffer = uniformBuffer.get(); in iterate() 717 uniformBuffer.get(), // buffer in iterate() 766 dedicatedAllocInfo.buffer in iterate() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcUniformBlockCase.cpp | 1317 GLU_EXPECT_NO_ERROR(m_renderCtx.getFunctions().getError(), "Failed to allocate uniform buffer"); in allocBuffer() 1457 deUint32 buffer = bufferManager.allocBuffer(); in iterate() local 1460 gl.bindBuffer(GL_UNIFORM_BUFFER, buffer); in iterate() 1463 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to upload uniform buffer data"); in iterate() 1465 gl.bindBufferBase(GL_UNIFORM_BUFFER, binding, buffer); in iterate() 1500 // Allocate buffer and upload data. in iterate() 1501 deUint32 buffer = bufferManager.allocBuffer(); in iterate() local 1502 gl.bindBuffer(GL_UNIFORM_BUFFER, buffer); in iterate() 1506 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to upload uniform buffer data"); in iterate() 1513 gl.bindBufferRange(GL_UNIFORM_BUFFER, binding, buffer, (gl in iterate() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | ProgramExecutableVk.cpp | 30 xfb->buffer = stream->readInt<uint32_t>(); in LoadShaderInterfaceVariableXfbInfo() 48 stream->writeInt(xfb.buffer); in SaveShaderInterfaceVariableXfbInfo() 578 // A single storage buffer array is used for all stages for simplicity. in addAtomicCounterBufferDescriptorSetDesc() 782 void WriteBufferDescriptorSetBinding(const vk::BufferHelper &buffer, in WriteBufferDescriptorSetBinding() argument 793 // If requiredOffsetAlignment is 0, the buffer offset is guaranteed to have the necessary in WriteBufferDescriptorSetBinding() 795 // the frontend then enforces). If it's not 0, we need to bind the buffer at an offset that's in WriteBufferDescriptorSetBinding() 806 bufferInfoOut->buffer = buffer.getBuffer().getHandle(); in WriteBufferDescriptorSetBinding() 820 ASSERT(writeInfoOut->pBufferInfo[0].buffer != VK_NULL_HANDLE); in WriteBufferDescriptorSetBinding() 1021 // Count the number of active uniform buffer descriptor in createPipelineLayout() [all...] |
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | entry_points_gles_3_2_autogen.cpp | 1169 void GL_APIENTRY GL_TexBuffer(GLenum target, GLenum internalformat, GLuint buffer) in GL_TexBuffer() argument 1172 EVENT(context, GLTexBuffer, "context = %d, target = %s, internalformat = %s, buffer = %u", in GL_TexBuffer() 1174 GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer); in GL_TexBuffer() 1179 BufferID bufferPacked = PackParam<BufferID>(buffer); in GL_TexBuffer() 1198 GLuint buffer, in GL_TexBufferRange() 1204 "context = %d, target = %s, internalformat = %s, buffer = %u, offset = %llu, size = %llu", in GL_TexBufferRange() 1206 GLenumToString(GLenumGroup::InternalFormat, internalformat), buffer, in GL_TexBufferRange() 1212 BufferID bufferPacked = PackParam<BufferID>(buffer); in GL_TexBufferRange() 1196 GL_TexBufferRange(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) GL_TexBufferRange() argument
|
/third_party/skia/src/gpu/ |
H A D | SurfaceContext.cpp | 673 Plane(sk_sp<GrGpuBuffer> buffer, size_t rowBytes) in Plane() argument 674 : fMappedBuffer(std::move(buffer)), fRowBytes(rowBytes) {} in Plane() 875 // TODO: Use one transfer buffer for all three planes to reduce map/unmap cost? in asyncRescaleAndReadPixelsYUV420() 1267 // By using kStream_GrAccessPattern here, we are not able to cache and reuse the buffer for in transferPixels() 1270 auto buffer = direct->priv().resourceProvider()->createBuffer( in transferPixels() local 1272 if (!buffer) { in transferPixels() 1283 supportedRead.fColorType, buffer, 0); in transferPixels() 1285 result.fTransferBuffer = std::move(buffer); in transferPixels()
|