| /third_party/selinux/libsepol/cil/src/ |
| H A D | cil_parser.c | 214 int cil_parser(const char *_path, char *buffer, uint32_t size, struct cil_tree **parse_tree) in cil_parser() argument 231 cil_lexer_setup(buffer, size); in cil_parser()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
| H A D | BufferGL.cpp | 26 // bound VAO. Two simultaneous buffer bindings are only needed for glCopyBufferSubData which also 34 BufferGL::BufferGL(const gl::BufferState &state, GLuint buffer) in BufferGL() argument 41 mBufferID(buffer) in BufferGL()
|
| /kernel/linux/linux-5.10/net/packet/ |
| H A D | af_packet.c | 231 ((struct tpacket_block_desc *)((x)->pkbdq[(bid)].buffer)) 233 ((struct tpacket_block_desc *)((x)->pkbdq[(x)->kactive_blk_num].buffer)) 490 h.raw = rb->pg_vec[pg_vec_pos].buffer + in packet_lookup_frame() 590 pbd = (struct tpacket_block_desc *)pg_vec[0].buffer; in init_prb_bdqc() 591 p1->pkblk_start = pg_vec[0].buffer; in init_prb_bdqc() 3435 /* You lose any data beyond the buffer you gave. If it worries in packet_recvmsg() 3518 * Free or return the buffer as appropriate. Again this in packet_recvmsg() 4275 if (likely(pg_vec[i].buffer)) { in free_pg_vec() 4276 if (is_vmalloc_addr(pg_vec[i].buffer)) in free_pg_vec() 4277 vfree(pg_vec[i].buffer); in free_pg_vec() 4289 char *buffer; alloc_one_pg_vec_page() local [all...] |
| /kernel/linux/linux-6.6/net/packet/ |
| H A D | af_packet.c | 236 ((struct tpacket_block_desc *)((x)->pkbdq[(bid)].buffer)) 238 ((struct tpacket_block_desc *)((x)->pkbdq[(x)->kactive_blk_num].buffer)) 525 h.raw = rb->pg_vec[pg_vec_pos].buffer + in packet_lookup_frame() 625 pbd = (struct tpacket_block_desc *)pg_vec[0].buffer; in init_prb_bdqc() 626 p1->pkblk_start = pg_vec[0].buffer; in init_prb_bdqc() 3472 /* You lose any data beyond the buffer you gave. If it worries in packet_recvmsg() 3557 * Free or return the buffer as appropriate. Again this in packet_recvmsg() 3611 /* Let __fortify_memcpy_chk() know the actual buffer size. */ in packet_getname() 4327 if (likely(pg_vec[i].buffer)) { in free_pg_vec() 4328 if (is_vmalloc_addr(pg_vec[i].buffer)) in free_pg_vec() 4341 char *buffer; alloc_one_pg_vec_page() local [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
| H A D | sungem.c | 583 printk(KERN_DEBUG "%s: no buffer for rx frame\n", in gem_abnormal_irq() 670 dma_addr = le64_to_cpu(txd->buffer); in gem_tx() 773 * then buffer address, possibly in separate transactions. in gem_rx() 775 * post a new buffer to this descriptor then have GEM spam in gem_rx() 776 * on the buffer address. We sync on the RX completion in gem_rx() 804 dma_addr = le64_to_cpu(rxd->buffer); in gem_rx() 817 rxd->buffer = cpu_to_le64(dma_map_page(&gp->pdev->dev, in gem_rx() 842 /* We'll reuse the original ring buffer. */ in gem_rx() 1032 txd->buffer = cpu_to_le64(mapping); in gem_start_xmit() 1071 txd->buffer in gem_start_xmit() [all...] |
| /kernel/linux/linux-6.6/drivers/block/ |
| H A D | pktcdvd.c | 729 ret = blk_rq_map_kern(q, rq, cgc->buffer, cgc->buflen, in pkt_generic_packet() 1521 memset(cgc->buffer, 0, 2); in pkt_mode_select() 1630 char buffer[128]; in pkt_set_write_settings() local 1637 memset(buffer, 0, sizeof(buffer)); in pkt_set_write_settings() 1638 init_cdrom_command(&cgc, buffer, sizeof(*wp), CGC_DATA_READ); in pkt_set_write_settings() 1646 size = 2 + get_unaligned_be16(&buffer[0]); in pkt_set_write_settings() 1647 pd->mode_offset = get_unaligned_be16(&buffer[6]); in pkt_set_write_settings() 1648 if (size > sizeof(buffer)) in pkt_set_write_settings() 1649 size = sizeof(buffer); in pkt_set_write_settings() [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
| H A D | sungem.c | 583 printk(KERN_DEBUG "%s: no buffer for rx frame\n", in gem_abnormal_irq() 670 dma_addr = le64_to_cpu(txd->buffer); in gem_tx() 773 * then buffer address, possibly in separate transactions. in gem_rx() 775 * post a new buffer to this descriptor then have GEM spam in gem_rx() 776 * on the buffer address. We sync on the RX completion in gem_rx() 804 dma_addr = le64_to_cpu(rxd->buffer); in gem_rx() 817 rxd->buffer = cpu_to_le64(dma_map_page(&gp->pdev->dev, in gem_rx() 842 /* We'll reuse the original ring buffer. */ in gem_rx() 1032 txd->buffer = cpu_to_le64(mapping); in gem_start_xmit() 1071 txd->buffer in gem_start_xmit() [all...] |
| /kernel/linux/linux-6.6/drivers/hid/ |
| H A D | hid-nintendo.c | 692 u8 buffer[sizeof(*req) + 1] = { 0 }; in joycon_set_player_leds() local 694 req = (struct joycon_subcmd_request *)buffer; in joycon_set_player_leds() 707 u8 buffer[sizeof(*req) + 5] = { 0 }; in joycon_request_spi_flash_read() local 714 req = (struct joycon_subcmd_request *)buffer; in joycon_request_spi_flash_read() 996 u8 buffer[sizeof(*req) + 1] = { 0 }; in joycon_set_report_mode() local 998 req = (struct joycon_subcmd_request *)buffer; in joycon_set_report_mode() 1009 u8 buffer[sizeof(*req) + 1] = { 0 }; in joycon_enable_rumble() local 1011 req = (struct joycon_subcmd_request *)buffer; in joycon_enable_rumble() 1022 u8 buffer[sizeof(*req) + 1] = { 0 }; in joycon_enable_imu() local 1024 req = (struct joycon_subcmd_request *)buffer; in joycon_enable_imu() 1901 u8 buffer[sizeof(*req) + 5] = { 0 }; joycon_home_led_brightness_set() local [all...] |
| /third_party/ffmpeg/libavcodec/arm/ |
| H A D | vp9itxfm_16bpp_neon.S | 577 @ r0 = dst (temp buffer) 604 @ which would be stored as the last row in the temp buffer, 623 @ r2 = src (temp buffer) 697 @ Align the stack, allocate a temp buffer 731 @ passthrough of coefficients to pass 2 and clear the end of the temp buffer 1026 @ r0 = dst (temp buffer) 1070 @ r2 = src (temp buffer) 1164 @ Align the stack, allocate a temp buffer 1551 @ r0 = dst (temp buffer) 1667 @ and use the source as temp buffer betwee [all...] |
| /third_party/glfw/src/ |
| H A D | win32_window.c | 1252 WCHAR* buffer = _glfw_calloc((size_t) length + 1, sizeof(WCHAR)); in windowProc() local 1254 DragQueryFileW(drop, i, buffer, length + 1); in windowProc() 1255 paths[i] = _glfwCreateUTF8FromWideStringWin32(buffer); in windowProc() 1257 _glfw_free(buffer); in windowProc() 2371 WCHAR* buffer; in _glfwSetClipboardStringWin32() local 2385 buffer = GlobalLock(object); in _glfwSetClipboardStringWin32() 2386 if (!buffer) in _glfwSetClipboardStringWin32() 2394 MultiByteToWideChar(CP_UTF8, 0, string, -1, buffer, characterCount); in _glfwSetClipboardStringWin32() 2421 WCHAR* buffer; in _glfwGetClipboardStringWin32() local 2448 buffer in _glfwGetClipboardStringWin32() [all...] |
| /third_party/backends/backend/ |
| H A D | gt68xx_high.c | 1023 * @param buffer scanned line 1026 gt68xx_afe_ccd_calc (GT68xx_Afe_Values * values, unsigned int *buffer) in gt68xx_afe_ccd_calc() argument 1054 if ((SANE_Int) (buffer[i] >> 8) < min_black) in gt68xx_afe_ccd_calc() 1055 min_black = (buffer[i] >> 8); in gt68xx_afe_ccd_calc() 1056 if ((SANE_Int) (buffer[i] >> 8) > max_black) in gt68xx_afe_ccd_calc() 1057 max_black = (buffer[i] >> 8); in gt68xx_afe_ccd_calc() 1059 if ((buffer[i] >> 8) > 15) in gt68xx_afe_ccd_calc() 1061 else if ((buffer[i] >> 8) < 5) in gt68xx_afe_ccd_calc() 1073 if ((SANE_Int) (buffer[i] >> 8) > max_white) in gt68xx_afe_ccd_calc() 1074 max_white = (buffer[ in gt68xx_afe_ccd_calc() 1093 gt68xx_afe_ccd_adjust_offset_gain(SANE_String_Const color_name, GT68xx_Afe_Values * values, unsigned int *buffer, SANE_Byte * offset, SANE_Byte * pga, SANE_Byte * old_offset, SANE_Byte * old_pga) gt68xx_afe_ccd_adjust_offset_gain() argument [all...] |
| /third_party/NuttX/fs/nfs/ |
| H A D | nfs_adapter.c | 515 /* Determine the size of a buffer that will hold one RPC data transfer. in nfs_bind() 527 /* The buffer size will be the maximum of those two sizes */ in nfs_bind() 534 /* But don't let the buffer size exceed the MSS of the socket type. in nfs_bind() 553 /* Save the allocated I/O buffer size */ in nfs_bind() 1554 int vfs_nfs_write(struct file *filep, const char *buffer, size_t buflen) in vfs_nfs_write() argument 1625 /* Now loop until we send the entire user buffer */ in vfs_nfs_write() 1641 * buffer size. in vfs_nfs_write() 1650 /* Copy a chunk of the user data into the temporary buffer */ in vfs_nfs_write() 1652 if (LOS_CopyToKernel(temp_buffer, writesize, buffer, writesize) != 0) in vfs_nfs_write() 1660 * RPC calls in that the entry RPC calls messasge lies in the I/O buffer in vfs_nfs_write() 1773 vfs_nfs_writepage(struct Vnode *node, char *buffer, off_t pos, size_t buflen) vfs_nfs_writepage() argument 2047 vfs_nfs_readpage(struct Vnode *node, char *buffer, off_t pos) vfs_nfs_readpage() argument 2197 vfs_nfs_read(struct file *filep, char *buffer, size_t buflen) vfs_nfs_read() argument [all...] |
| /third_party/skia/src/gpu/vk/ |
| H A D | GrVkGpu.cpp | 407 // we are not submitting the command buffer and may never come back around to submit it. in submitCommandBuffer() 429 // If we didn't submit the command buffer then we did not wait on any semaphores. We will in submitCommandBuffer() 430 // continue to hold onto these semaphores and wait on them during the next command buffer in submitCommandBuffer() 439 // Even if we did not submit the command buffer, we drop all the signal semaphores since we will in submitCommandBuffer() 458 // We must wait to call checkCommandBuffers until after we get a new command buffer. The in submitCommandBuffer() 460 // released GrVkImage. That barrier needs to be put into a new command buffer and not the old in submitCommandBuffer() 622 // Copy the buffer to the image. in onTransferPixelsTo() 652 // Reading from render targets that wrap a secondary command buffer is not allowed since in onTransferPixelsFrom() 694 // Make sure the copy to buffer has finished. in onTransferPixelsFrom() 816 // This fills in the 'regions' vector in preparation for copying a buffer t 982 char* buffer = (char*) slice.fOffsetMapPtr; uploadTexDataOptimal() local 1074 char* buffer = (char*)slice.fOffsetMapPtr; uploadTexDataCompressed() local 1296 updateBuffer(sk_sp<GrVkBuffer> buffer, const void* src, VkDeviceSize offset, VkDeviceSize size) updateBuffer() argument 2251 takeOwnershipOfBuffer(sk_sp<GrGpuBuffer> buffer) takeOwnershipOfBuffer() argument 2527 onReadPixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType dstColorType, void* buffer, size_t rowBytes) onReadPixels() argument 2792 submitSecondaryCommandBuffer(std::unique_ptr<GrVkSecondaryCommandBuffer> buffer) submitSecondaryCommandBuffer() argument [all...] |
| /third_party/python/Lib/ |
| H A D | mailbox.py | 214 buffer = io.BytesIO() 215 gen = email.generator.BytesGenerator(buffer, mangle_from_, 0) 217 buffer.seek(0) 218 data = buffer.read() 239 if hasattr(message, 'buffer'): 242 message = message.buffer 686 buffer = self._file.read(min(4096, 688 if not buffer: 690 new_file.write(buffer) 1429 buffer [all...] |
| /kernel/linux/linux-5.10/sound/pci/trident/ |
| H A D | trident_main.c | 773 Description: Allocate PCM ring buffer for given substream 1024 // Set channel buffer Address, DMAR0 expects contiguous PCI memory area in snd_trident_capture_prepare() 1223 /* Set channel buffer Address */ in snd_trident_foldback_prepare() 1591 Returns: position of buffer 1630 Returns: position of buffer 1660 Returns: position of buffer 1832 we will simply free the dma transfer buffer. 1960 we will simply free the dma transfer buffer. 2003 For now we will simply free the dma transfer buffer. 3235 struct snd_info_buffer *buffer) in snd_trident_proc_read() 3234 snd_trident_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_trident_proc_read() argument [all...] |
| /third_party/mesa3d/include/GLES3/ |
| H A D | gl3.h | 386 typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 464 typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 529 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 607 GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); 1030 typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1031 typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); 1051 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); 1052 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); 1053 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1054 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLin [all...] |
| /third_party/openGLES/api/GLES3/ |
| H A D | gl3.h | 367 typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 445 typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 510 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 588 GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); 1011 typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1012 typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); 1032 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); 1033 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); 1034 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1035 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLin [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
| H A D | vktSSBOLayoutCase.cpp | 983 src << "buffer " << block.getBlockName(); in generateDeclaration() 1443 src << "layout(std140, binding = 0) buffer AcBlock { highp uint ac_numPassed; };\n\n"; in generateComputeShader() 1935 deUint32 buffer; member 1938 Buffer (deUint32 buffer_, int size_) : buffer(buffer_), size(size_) {} in Buffer() 1939 Buffer (void) : buffer(0), size(0) {} in Buffer() 2011 de::MovePtr<vk::Allocation> allocateAndBindMemory (Context& context, vk::VkBuffer buffer, vk::MemoryRequirement memReqs) in allocateAndBindMemory() argument 2014 const vk::VkMemoryRequirements bufReqs = vk::getBufferMemoryRequirements(vkd, context.getDevice(), buffer); in allocateAndBindMemory() 2017 vkd.bindBufferMemory(context.getDevice(), buffer, memory->getMemory(), memory->getOffset()); in allocateAndBindMemory() 2062 const RefDataStorage& m_initialData; // Initial data stored in buffer. 2188 vk::Move<vk::VkBuffer> buffer in iterate() local 2220 vk::Move<vk::VkBuffer> buffer = createBuffer(m_context, totalBufferSize, usageFlags); iterate() local [all...] |
| /third_party/skia/third_party/externals/swiftshader/include/GLES3/ |
| H A D | gl3.h | 386 typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 464 typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 529 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 607 GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); 1030 typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1031 typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); 1051 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); 1052 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); 1053 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1054 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLin [all...] |
| /third_party/skia/third_party/externals/opengl-registry/api/GLES3/ |
| H A D | gl3.h | 386 typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 464 typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 529 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 607 GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); 1030 typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1031 typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); 1051 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); 1052 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); 1053 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1054 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLin [all...] |
| /third_party/skia/third_party/externals/angle2/include/GLES3/ |
| H A D | gl3.h | 367 typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); 445 typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); 510 GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); 588 GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); 1011 typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1012 typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); 1032 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); 1033 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); 1034 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); 1035 typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLin [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/ |
| H A D | vktSSBOLayoutCase.cpp | 983 src << "buffer " << block.getBlockName(); in generateDeclaration() 1443 src << "layout(std140, binding = 0) buffer AcBlock { highp uint ac_numPassed; };\n\n"; in generateComputeShader() 1935 deUint32 buffer; member 1938 Buffer (deUint32 buffer_, int size_) : buffer(buffer_), size(size_) {} in Buffer() 1939 Buffer (void) : buffer(0), size(0) {} in Buffer() 2011 de::MovePtr<vk::Allocation> allocateAndBindMemory (Context& context, vk::VkBuffer buffer, vk::MemoryRequirement memReqs) in allocateAndBindMemory() argument 2014 const vk::VkMemoryRequirements bufReqs = vk::getBufferMemoryRequirements(vkd, context.getDevice(), buffer); in allocateAndBindMemory() 2017 vkd.bindBufferMemory(context.getDevice(), buffer, memory->getMemory(), memory->getOffset()); in allocateAndBindMemory() 2062 const RefDataStorage& m_initialData; // Initial data stored in buffer. 2188 vk::Move<vk::VkBuffer> buffer in iterate() local 2220 vk::Move<vk::VkBuffer> buffer = createBuffer(m_context, totalBufferSize, usageFlags); iterate() local [all...] |
| /third_party/vk-gl-cts/modules/gles31/functional/ |
| H A D | es31fProgramInterfaceQueryTests.cpp | 999 std::vector<char> buffer; 1014 buffer.resize(maxNameLength+1, '\0'); 1020 gl.getProgramResourceName(program, programInterface, resourceNdx, maxNameLength, &written, &buffer[0]); 1023 dst.push_back(std::string(&buffer[0], written)); 1451 "writeonly buffer OutputBufferBlock { highp int b_output_int; };\n" 1488 { "Query to larger buffer", 24, true }, 1489 { "Query to buffer the same size", 23, true }, 1490 { "Query to one byte too small buffer", 22, true }, 1491 { "Query to one byte buffer", 1, true }, 1492 { "Query to zero sized buffer", [all...] |
| /base/hiviewdfx/hiview/plugins/eventlogger/ |
| H A D | event_logger.cpp | 468 char *buffer = nullptr; in DumpWindowInfo() local 470 while (getline(&buffer, &length, file) != -1) { in DumpWindowInfo() 471 line = buffer; in DumpWindowInfo() 477 if (buffer != nullptr) { in DumpWindowInfo() 478 free(buffer); in DumpWindowInfo() 479 buffer = nullptr; in DumpWindowInfo()
|
| /base/security/huks/interfaces/kits/napi/src/v9/ |
| H A D | huks_napi_common_item.cpp | 354 uint8_t *buffer = static_cast<uint8_t *>(HksMalloc(size)); in GenerateArrayBuffer() local 355 if (buffer == nullptr) { in GenerateArrayBuffer() 360 (void)memcpy_s(buffer, size, data, size); in GenerateArrayBuffer() 363 env, buffer, size, [](napi_env env, void *data, void *hint) { HKS_FREE(data); }, nullptr, &outBuffer); in GenerateArrayBuffer() 366 buffer = nullptr; in GenerateArrayBuffer() 368 HKS_FREE(buffer); in GenerateArrayBuffer()
|