Home
last modified time | relevance | path

Searched refs:buffer (Results 7501 - 7525 of 14922) sorted by relevance

1...<<301302303304305306307308309310>>...597

/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Dppucd.cpp108 // Select the next available line buffer. in readLine()
557 UChar *buffer=toUCharPtr(uni.getBuffer(-1)); in parseString() local
558 int32_t length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode); in parseString()
562 buffer=toUCharPtr(uni.getBuffer(length)); in parseString()
563 length=u_parseString(s, buffer, uni.getCapacity(), NULL, &errorCode); in parseString()
/third_party/skia/src/pdf/
H A DSkPDFMetadata.cpp197 char buffer[36]; // [32 + 4] in uuid_to_string() local
198 char* ptr = buffer; in uuid_to_string()
209 SkASSERT(ptr == buffer + 36); in uuid_to_string()
211 return SkString(buffer, 36); in uuid_to_string()
H A DSkPDFType1Font.cpp185 uint8_t* buffer = (uint8_t*)data->writable_data(); in convert_type1_font_stream() local
187 memcpy(buffer, src, *headerLen); in convert_type1_font_stream()
188 uint8_t* const resultData = &(buffer[*headerLen]); in convert_type1_font_stream()
214 uint8_t* const resultTrailer = &(buffer[SkToInt(*headerLen + outputOffset)]); in convert_type1_font_stream()
H A DSkPDFUtils.cpp368 char buffer[5]; in Base85Encode() local
370 buffer[n] = (v % 85) + '!'; in Base85Encode()
373 buffer[0] = v + '!'; in Base85Encode()
374 dst->write(buffer, count + 1); in Base85Encode()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DShaderModuleGL.cpp133 // Determine buffer size, with a minimum of 1 element in the runtime in ExtractSpirvInfo()
136 info->buffer.minBindingSize = in ExtractSpirvInfo()
147 info->buffer.type = wgpu::BufferBindingType::ReadOnlyStorage; in ExtractSpirvInfo()
149 info->buffer.type = wgpu::BufferBindingType::Storage; in ExtractSpirvInfo()
152 info->buffer.type = wgpu::BufferBindingType::Uniform; in ExtractSpirvInfo()
/third_party/openssl/apps/
H A Dopenssl.c109 char buffer[256], *hex; in internal_trace_cb() local
122 BIO_snprintf(buffer, sizeof(buffer), "TRACE[%s]:%s: ", in internal_trace_cb()
126 BIO_set_prefix(trace_data->bio, buffer); in internal_trace_cb()
/third_party/python/Modules/_io/clinic/
H A Dtextio.c.h142 "TextIOWrapper(buffer, encoding=None, errors=None, newline=None,\n"
146 "Character and line based layer over a BufferedIOBase object, buffer.\n"
176 _io_TextIOWrapper___init___impl(textio *self, PyObject *buffer,
185 static const char * const _keywords[] = {"buffer", "encoding", "errors", "newline", "line_buffering", "write_through", NULL}; in _io_TextIOWrapper___init__()
191 PyObject *buffer; in _io_TextIOWrapper___init__() local
202 buffer = fastargs[0]; in _io_TextIOWrapper___init__()
272 return_value = _io_TextIOWrapper___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through); in _io_TextIOWrapper___init__()
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnvhz.cpp504 char buffer[4]; in _HZ_WriteSub() local
505 p = buffer; in _HZ_WriteSub()
515 buffer, (int32_t)(p - buffer), in _HZ_WriteSub()
/third_party/skia/third_party/externals/egl-registry/api/EGL/
H A Degl.h163 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
164 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
204 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list);
291 EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
/third_party/python/Modules/_xxtestfuzz/
H A Dfuzzer.c102 format. Everything after is the buffer */ in fuzz_struct_unpack()
115 PyObject* buffer = PyBytes_FromStringAndSize(first_null + 1, buffer_length); in fuzz_struct_unpack() local
116 if (buffer == NULL) { in fuzz_struct_unpack()
122 struct_unpack_method, pattern, buffer, NULL); in fuzz_struct_unpack()
140 Py_DECREF(buffer); in fuzz_struct_unpack()
/third_party/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/
H A DSkottieAnimation.java95 ByteBuffer buffer = ByteBuffer.allocateDirect(tmpStorage.length); in convertToByteBuffer()
96 buffer.order(ByteOrder.nativeOrder()); in convertToByteBuffer()
97 buffer.put(tmpStorage, 0, tmpStorage.length); in convertToByteBuffer()
98 return buffer.asReadOnlyBuffer(); in convertToByteBuffer()
/third_party/rust/crates/rustix/src/thread/
H A Dprctl.rs65 let mut buffer = [0_u8; 16]; in name() variables
66 unsafe { prctl_2args(PR_GET_NAME, buffer.as_mut_ptr().cast())? }; in name()
68 let len = buffer.iter().position(|&x| x == 0_u8).unwrap_or(0); in name()
69 CString::new(&buffer[..len]).map_err(|_r| io::Errno::ILSEQ) in name()
/third_party/selinux/libsepol/src/
H A Dnode_record.c85 /* Allocates a sufficiently large buffer (addr, addr_sz)
216 ERR(handle, "could not allocate string buffer for " in node_alloc_addr_string()
376 char **buffer, size_t * bsize) in sepol_node_get_addr_bytes()
386 *buffer = tmp_buf; in sepol_node_get_addr_bytes()
461 char **buffer, size_t * bsize) in sepol_node_get_mask_bytes()
471 *buffer = tmp_buf; in sepol_node_get_mask_bytes()
374 sepol_node_get_addr_bytes(sepol_handle_t * handle, const sepol_node_t * node, char **buffer, size_t * bsize) sepol_node_get_addr_bytes() argument
459 sepol_node_get_mask_bytes(sepol_handle_t * handle, const sepol_node_t * node, char **buffer, size_t * bsize) sepol_node_get_mask_bytes() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dmd4-internal.c20 u8 buffer[MD4_BLOCK_LENGTH]; /* input buffer */ member
96 * Set bit count to 0 and buffer to mysterious initialization constants.
108 * Update context to reflect the concatenation of another buffer full
124 os_memcpy(ctx->buffer + have, input, need); in MD4Update()
125 MD4Transform(ctx->state, ctx->buffer); in MD4Update()
141 os_memcpy(ctx->buffer + have, input, len); in MD4Update()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dmd4-internal.c20 u8 buffer[MD4_BLOCK_LENGTH]; /* input buffer */ member
96 * Set bit count to 0 and buffer to mysterious initialization constants.
108 * Update context to reflect the concatenation of another buffer full
124 os_memcpy(ctx->buffer + have, input, need); in MD4Update()
125 MD4Transform(ctx->state, ctx->buffer); in MD4Update()
141 os_memcpy(ctx->buffer + have, input, len); in MD4Update()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv2.cpp181 void GL_APIENTRY BindBuffer(GLenum target, GLuint buffer) in BindBuffer() argument
183 TRACE("(GLenum target = 0x%X, GLuint buffer = %d)", target, buffer); in BindBuffer()
192 context->bindArrayBuffer(buffer); in BindBuffer()
195 context->bindElementArrayBuffer(buffer); in BindBuffer()
198 context->bindCopyReadBuffer(buffer); in BindBuffer()
201 context->bindCopyWriteBuffer(buffer); in BindBuffer()
204 context->bindPixelPackBuffer(buffer); in BindBuffer()
207 context->bindPixelUnpackBuffer(buffer); in BindBuffer()
210 context->bindTransformFeedbackBuffer(buffer); in BindBuffer()
503 es2::Buffer *buffer = nullptr; BufferData() local
536 es2::Buffer *buffer = nullptr; BufferSubData() local
2449 es2::Buffer *buffer; GetBufferParameteriv() local
3794 IsBuffer(GLuint buffer) IsBuffer() argument
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Drender_backend_gles.cpp78 Bind::BufferType buffer { 0, 0, 0 };
378 // Invalidate the whole buffer. (attachment sizes match render area) in Invalidate()
535 device_.BindBuffer(GL_PIXEL_UNPACK_BUFFER, plat.buffer); in SetupBlit()
1147 device_.BindBuffer(GL_DRAW_INDIRECT_BUFFER, plat.buffer); in RenderCommandDrawIndirect()
1205 device_.BindBuffer(GL_DISPATCH_INDIRECT_BUFFER, plat.buffer); in RenderCommandDispatchIndirect()
1649 vertexAttribBindSlots_[i].id = plat.buffer; in RenderCommandBindVertexBuffers()
1668 boundIndexBuffer_.id = plat.buffer; in RenderCommandBindIndexBuffer()
1724 device_.BindBuffer(GL_COPY_READ_BUFFER, srcData.buffer); in RenderCommandCopyBuffer()
1725 device_.BindBuffer(GL_COPY_WRITE_BUFFER, dstData.buffer); in RenderCommandCopyBuffer()
1794 device_.BindBuffer(GL_PIXEL_PACK_BUFFER, bPlat.buffer); in ImageToBufferCopy()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp260 Buffer& buffer, vector<unique_ptr<BufferView>>& usedBufferViews, vector<unique_ptr<Accessor>>& usedAccessors) in BufferHelper()
261 : usedBufferViews_(usedBufferViews), usedAccessors_(usedAccessors), buffer_(buffer) {}; in BufferHelper()
266 * written to the buffer. */
270 bufferView.buffer, bufferView.byteLength, bufferView.byteOffset, bufferView.byteStride, bufferView.target); in StoreBufferView()
275 usedBufferViews_[bufferViewIndex]->buffer = &buffer_; in StoreBufferView()
573 bufferView.buffer = &bufferHelper.GetBuffer(); in StoreInverseBindMatrices()
666 // store IBMs in the buffer handled by BufferHelper in ExportGltfSkins()
725 bufferView.buffer = reinterpret_cast<Buffer*>(static_cast<uintptr_t>(animationInput.id)); in AnimationInput()
785 bufferView.buffer = reinterpret_cast<Buffer*>(static_cast<uintptr_t>(animationOutput.id)); in AnimationOutput()
885 BufferHelper& buffer; member
259 BufferHelper( Buffer& buffer, vector<unique_ptr<BufferView>>& usedBufferViews, vector<unique_ptr<Accessor>>& usedAccessors) BufferHelper() argument
913 ExportGltfMeshes(const IMeshComponentManager& meshManager, const INameComponentManager& nameManager, const IUriComponentManager& uriManager, const IMaterialComponentManager& materialManager, IFileManager& fileManager, const vector<Entity>& usedMeshes, ExportResult& result, BufferHelper& buffer, unordered_map<string, IGLTFData::Ptr>& originalGltfs) ExportGltfMeshes() argument
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl2_rendering_context_impl.cpp868 imgArg.Dump("WebGL2 texSubImage3D data buffer"); in TexSubImage3D()
1047 napi_env env, GLenum buffer, GLint drawBuffer, napi_value value, int64_t srcOffset, BufferDataType type) in ClearBufferV()
1049 LOGD("WebGL2 clearBuffer buffer %{public}u %{public}d srcOffset %{public}" PRIi64, buffer, drawBuffer, srcOffset); in ClearBufferV()
1058 "WebGL2 clearBuffer invalid buffer data type %{public}d", bufferData.GetBufferDataType()); in ClearBufferV()
1062 GLenum result = CheckClearBuffer(env, buffer, bufferData); in ClearBufferV()
1064 SET_ERROR_WITH_LOG(result, "WebGL2 clearBuffer invalid clear buffer"); in ClearBufferV()
1071 glClearBufferfv(buffer, drawBuffer, reinterpret_cast<GLfloat*>(bufferData.GetBuffer() + srcOffset)); in ClearBufferV()
1074 glClearBufferiv(buffer, drawBuffer, reinterpret_cast<GLint*>(bufferData.GetBuffer() + srcOffset)); in ClearBufferV()
1077 glClearBufferuiv(buffer, drawBuffe in ClearBufferV()
1046 ClearBufferV( napi_env env, GLenum buffer, GLint drawBuffer, napi_value value, int64_t srcOffset, BufferDataType type) ClearBufferV() argument
1086 ClearBufferfi( napi_env env, GLenum buffer, GLint drawBuffer, GLfloat depth, GLint stencil) ClearBufferfi() argument
1896 CheckClearBuffer(napi_env env, GLenum buffer, const WebGLReadBufferArg& bufferData) CheckClearBuffer() argument
1983 CheckTransformFeedbackBuffer(GLenum target, WebGLBuffer* buffer) CheckTransformFeedbackBuffer() argument
2016 CheckBufferTargetCompatibility(napi_env env, GLenum target, WebGLBuffer* buffer) CheckBufferTargetCompatibility() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Dftdi-elan.c113 void *buffer; member
293 struct u132_target *target, u8 *buffer, int length);
379 command->buffer = &command->value; in ftdi_elan_flush_targets()
401 command->buffer = &command->value; in ftdi_elan_flush_targets()
437 command->buffer = &command->value; in ftdi_elan_cancel_targets()
658 static ssize_t ftdi_elan_read(struct file *file, char __user *buffer, in ftdi_elan_read() argument
681 if (copy_to_user(buffer++, p, 1)) { in ftdi_elan_read()
743 u8 *f = command->buffer; in fill_buffer_with_all_queued_commands()
789 dev_err(&ftdi->udev->dev, "could not get a buffer to write %d commands totaling %d bytes to the Uxxx\n", in ftdi_elan_command_engine()
830 struct u132_target *target, u8 *buffer, in in ftdi_elan_do_callback()
829 ftdi_elan_do_callback(struct usb_ftdi *ftdi, struct u132_target *target, u8 *buffer, int length) ftdi_elan_do_callback() argument
[all...]
/third_party/FreeBSD/sys/dev/usb/controller/
H A Dehci.c305 qh_sub = (struct ehci_qh_sub *)buf_res.buffer; in ehci_init()
320 qh_t = (ehci_qh_t *)buf_res.buffer; in ehci_init()
384 sitd = (ehci_sitd_t *)buf_res.buffer; in ehci_init()
408 itd = (ehci_itd_t *)buf_res.buffer; in ehci_init()
430 pframes = (uint32_t *)buf_res.buffer; in ehci_init()
444 qh_t = (ehci_qh_t *)buf_res.buffer; in ehci_init()
674 PRINTK(" buffer[%d]=0x%08x\n", s, in ehci_dump_qtd()
1593 /* fill out buffer pointers */ in ehci_setup_standard_chain_sub()
1600 htohc32(temp->sc, (unsigned int)buf_res.buffer); in ehci_setup_standard_chain_sub()
1615 (unsigned int)buf_res.buffer in ehci_setup_standard_chain_sub()
[all...]
/third_party/mesa3d/src/vulkan/overlay-layer/
H A Doverlay.cpp663 char buffer[BUFSIZE]; in control_send() local
667 buffer[msglen++] = ':'; in control_send()
669 memcpy(&buffer[msglen], cmd, cmdlen); in control_send()
673 buffer[msglen++] = '='; in control_send()
674 memcpy(&buffer[msglen], param, paramlen); in control_send()
676 buffer[msglen++] = ';'; in control_send()
679 os_socket_send(instance_data->control_client, buffer, msglen, 0); in control_send()
1037 /* Upload buffer */ in ensure_swapchain_fonts()
1077 /* Copy buffer to image */ in ensure_swapchain_fonts()
1132 VkBuffer *buffer, in CreateOrResizeBuffer()
1131 CreateOrResizeBuffer(struct device_data *data, VkBuffer *buffer, VkDeviceMemory *buffer_memory, VkDeviceSize *buffer_size, size_t new_size, VkBufferUsageFlagBits usage) CreateOrResizeBuffer() argument
2086 overlay_CmdDrawIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) overlay_CmdDrawIndirect() argument
2100 overlay_CmdDrawIndexedIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) overlay_CmdDrawIndexedIndirect() argument
2114 overlay_CmdDrawIndirectCount( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) overlay_CmdDrawIndirectCount() argument
2132 overlay_CmdDrawIndexedIndirectCount( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) overlay_CmdDrawIndexedIndirectCount() argument
2163 overlay_CmdDispatchIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) overlay_CmdDispatchIndirect() argument
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/src/softbus_adapter/
H A Dsoftbus_adapter_common.cpp37 int32_t SoftbusAdapter::SendSoftbusEvent(std::shared_ptr<DSchedDataBuffer> buffer) in SendSoftbusEvent() argument
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/
H A Dbundle_container.h33 void LoadBundleInfos(const std::vector<uint8_t> &buffer);
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/include/
H A Dchannel_listener.h40 virtual void OnDataReceived(const uint8_t *buffer, unsigned int length, long timeCost) {} in OnDataReceived() argument

Completed in 39 milliseconds

1...<<301302303304305306307308309310>>...597