/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
H A D | ttm_memory.c | 91 char *buffer) in ttm_mem_zone_show() 110 return snprintf(buffer, PAGE_SIZE, "%llu\n", in ttm_mem_zone_show() 118 const char *buffer, in ttm_mem_zone_store() 127 chars = sscanf(buffer, "%lu", &val); in ttm_mem_zone_store() 181 char *buffer) in ttm_mem_global_show() 192 return snprintf(buffer, PAGE_SIZE, "%llu\n", in ttm_mem_global_show() 198 const char *buffer, in ttm_mem_global_store() 207 chars = sscanf(buffer, "%lu", &val); in ttm_mem_global_store() 89 ttm_mem_zone_show(struct kobject *kobj, struct attribute *attr, char *buffer) ttm_mem_zone_show() argument 116 ttm_mem_zone_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t size) ttm_mem_zone_store() argument 179 ttm_mem_global_show(struct kobject *kobj, struct attribute *attr, char *buffer) ttm_mem_global_show() argument 196 ttm_mem_global_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t size) ttm_mem_global_store() argument
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi.c | 283 * @buffer: Where to put the result 285 * @len: The length of the buffer 292 static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer, in scsi_vpd_inquiry() argument 312 result = scsi_execute_cmd(sdev, cmd, REQ_OP_DRV_IN, buffer, len, in scsi_vpd_inquiry() 321 if (buffer[1] != page) in scsi_vpd_inquiry() 324 result = get_unaligned_be16(&buffer[2]); in scsi_vpd_inquiry() 382 * @buf_len: number of bytes in the VPD buffer area 527 * @buffer: scratch buffer (must be at least 20 bytes long) 528 * @len: length of buffer 538 scsi_report_opcode(struct scsi_device *sdev, unsigned char *buffer, unsigned int len, unsigned char opcode, unsigned short sa) scsi_report_opcode() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | ch341.c | 294 u8 buffer[2]; in ch341_get_status() local 298 r = ch341_control_in(dev, CH341_REQ_READ_REG, 0x0706, 0, buffer, size); in ch341_get_status() 303 priv->msr = (~(*buffer)) & CH341_BITS_MODEM_STAT; in ch341_get_status() 314 u8 buffer[2]; in ch341_configure() local 318 r = ch341_control_in(dev, CH341_REQ_READ_VERSION, 0, 0, buffer, size); in ch341_configure() 322 priv->version = buffer[0]; in ch341_configure() 346 u8 buffer[2]; in ch341_detect_quirks() local 357 CH341_REG_BREAK, 0, &buffer, size, in ch341_detect_quirks()
|
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/ |
H A D | ucd9000.c | 441 static int ucd9000_get_mfr_status(struct i2c_client *client, u8 *buffer) in ucd9000_get_mfr_status() argument 448 return i2c_smbus_read_block_data(client, UCD9000_MFR_STATUS, buffer); in ucd9000_get_mfr_status() 455 u8 buffer[I2C_SMBUS_BLOCK_MAX]; in ucd9000_debugfs_show_mfr_status_bit() local 458 ret = ucd9000_get_mfr_status(client, buffer); in ucd9000_debugfs_show_mfr_status_bit() 467 *val = !!(buffer[i] & BIT(entry->index % 8)); in ucd9000_debugfs_show_mfr_status_bit() 479 u8 buffer[I2C_SMBUS_BLOCK_MAX]; in ucd9000_debugfs_read_mfr_status() local 484 rc = ucd9000_get_mfr_status(client, buffer); in ucd9000_debugfs_read_mfr_status() 488 res = bin2hex(str, buffer, min(rc, I2C_SMBUS_BLOCK_MAX)); in ucd9000_debugfs_read_mfr_status()
|
/kernel/linux/linux-6.6/drivers/iio/accel/ |
H A D | adxl355_core.c | 12 #include <linux/iio/buffer.h> 235 } buffer; member 637 * data->buffer is used both for triggered buffer support in adxl355_trigger_handler() 640 data->buffer.buf[0] = 0; in adxl355_trigger_handler() 644 * in 32 bits, hence, it is saved in the 2nd byte of the 4 byte buffer. in adxl355_trigger_handler() 650 &data->buffer.buf[1], 3); in adxl355_trigger_handler() 655 &data->buffer.buf[5], 3); in adxl355_trigger_handler() 660 &data->buffer.buf[9], 3); in adxl355_trigger_handler() 665 &data->buffer in adxl355_trigger_handler() [all...] |
/kernel/linux/linux-6.6/security/integrity/evm/ |
H A D | evm_main.c | 322 * @buffer: buffer xattr names, lengths or values are copied to 323 * @buffer_size: size of buffer 328 * given dentry and return the total size of copied data. If buffer is NULL, 333 int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs() argument 350 if (buffer) { in evm_read_protected_xattrs() 352 *(buffer + total_size - 1) = '|'; in evm_read_protected_xattrs() 354 memcpy(buffer + total_size, xattr->name, size); in evm_read_protected_xattrs() 359 if (buffer) { in evm_read_protected_xattrs() 363 *(u32 *)(buffer in evm_read_protected_xattrs() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | fmvc.c | 44 uint8_t *buffer; member 424 bytestream2_init_writer(pb, s->buffer, s->buffer_size); in decode_frame() 440 src = s->buffer; in decode_frame() 495 dst = (uint32_t *)s->buffer; in decode_frame() 526 ssrc = s->buffer; in decode_frame() 619 s->buffer = av_mallocz(s->buffer_size); in decode_init() 621 if (!s->buffer || !s->pbuffer) in decode_init() 631 av_freep(&s->buffer); in decode_close()
|
H A D | rkmppdec.c | 33 #include "libavutil/buffer.h" 89 static int rkmpp_write_data(AVCodecContext *avctx, uint8_t *buffer, int size, int64_t pts) in rkmpp_write_data() argument 97 ret = mpp_packet_init(&packet, buffer, size); in rkmpp_write_data() 105 if (!buffer) in rkmpp_write_data() 229 av_log(avctx, AV_LOG_ERROR, "Failed to retrieve buffer group (code = %d)\n", ret); in rkmpp_init_decoder() 236 av_log(avctx, AV_LOG_ERROR, "Failed to assign buffer group (code = %d)\n", ret); in rkmpp_init_decoder() 243 av_log(avctx, AV_LOG_ERROR, "Failed to set buffer group limit (code = %d)\n", ret); in rkmpp_init_decoder() 328 MppBuffer buffer = NULL; in rkmpp_retrieve_frame() local 413 // now setup the frame buffer info in rkmpp_retrieve_frame() 414 buffer in rkmpp_retrieve_frame() [all...] |
/third_party/eudev/src/scsi_id/ |
H A D | scsi_serial.c | 95 #define SG_ERR_CAT_MEDIA_CHANGED 1 /* interpreted from sense buffer */ 96 #define SG_ERR_CAT_RESET 2 /* interpreted from sense buffer */ 100 #define SG_ERR_CAT_SENSE 98 /* Something else in the sense buffer */ 205 log_debug("%s: sense buffer empty", dev_scsi->kernel); in scsi_dump_sense() 218 log_debug("%s: sense buffer too small %d bytes, %d bytes too short", in scsi_dump_sense() 247 log_debug("%s: sense buffer too small %d bytes, %d bytes too short", in scsi_dump_sense() 414 unsigned char *buffer, unsigned int len) in do_scsi_page0_inquiry() 418 memzero(buffer, len); in do_scsi_page0_inquiry() 419 retval = scsi_inquiry(udev, dev_scsi, fd, 1, 0x0, buffer, len); in do_scsi_page0_inquiry() 423 if (buffer[ in do_scsi_page0_inquiry() 412 do_scsi_page0_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, int fd, unsigned char *buffer, unsigned int len) do_scsi_page0_inquiry() argument [all...] |
/third_party/curl/lib/vtls/ |
H A D | rustls.c | 146 char buffer[STRERROR_LEN]; in tls_recv_more() local 148 Curl_strerror(io_error, buffer, sizeof(buffer))); in tls_recv_more() 171 * - Read a chunk of bytes from the socket into rustls' TLS input buffer. 178 * buffer, and process packets, but won't consume bytes from rustls' plaintext 179 * output buffer. 266 * - Copy `plainlen` bytes into rustls' plaintext input buffer (if > 0). 267 * - Fully drain rustls' plaintext output buffer into the socket until 271 * In that case, it won't read anything into rustls' plaintext input buffer. 272 * It will only drain rustls' plaintext output buffer int 325 char buffer[STRERROR_LEN]; cr_send() local 690 cr_version(char *buffer, size_t size) cr_version() argument [all...] |
/third_party/alsa-lib/test/ |
H A D | midifile.c | 713 static char *Msgbuff = NULL; /* message buffer */ 742 /* If necessary, allocate larger message buffer. */ 1078 unsigned long buffer; local 1080 buffer = value & 0x7f; 1083 buffer <<= 8; 1084 buffer |= 0x80; 1085 buffer += (value & 0x7f); 1089 eputc ((unsigned) (buffer & 0xff)); 1091 if (buffer & 0x80) 1092 buffer >> [all...] |
/third_party/EGL/api/EGL/ |
H A D | egl.h | 174 typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDTEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 175 typedef EGLBoolean (EGLAPIENTRYP PFNEGLRELEASETEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 179 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 180 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 221 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC) (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); 227 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); 318 typedef EGLImage (EGLAPIENTRYP PFNEGLCREATEIMAGEPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list); 329 EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
|
/third_party/libsnd/src/ |
H A D | ogg.c | 125 * For writing, the life cycle of a buffer pointed to by a ogg_packet is the 128 * remain in the ogg_stream_state's buffer and valid until either the 151 char *buffer ; in ogg_read_first_page() local 167 buffer = ogg_sync_buffer (&odata->osync, psf->header.indx) ; in ogg_read_first_page() 168 if (buffer == NULL) in ogg_read_first_page() 170 memcpy (buffer, psf->header.ptr, psf->header.indx) ; in ogg_read_first_page() 185 ** bitstream and no complete page was in the buffer. in ogg_read_first_page() 260 unsigned char *buffer ; in ogg_sync_next_page() local 301 buffer = (unsigned char *) ogg_sync_buffer (&odata->osync, nb_read) ; in ogg_sync_next_page() 302 if (buffer in ogg_sync_next_page() [all...] |
/third_party/mesa3d/include/EGL/ |
H A D | egl.h | 174 typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDTEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 175 typedef EGLBoolean (EGLAPIENTRYP PFNEGLRELEASETEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 179 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 180 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 221 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC) (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); 227 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list); 318 typedef EGLImage (EGLAPIENTRYP PFNEGLCREATEIMAGEPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list); 329 EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_x11_dri3.c | 290 EGLClientBuffer buffer, const EGLint *attr_list) in dri3_create_image_khr_pixmap() 299 drawable = (xcb_drawable_t) (uintptr_t) buffer; in dri3_create_image_khr_pixmap() 340 EGLClientBuffer buffer, in dri3_create_image_khr_pixmap_from_buffers() 350 drawable = (xcb_drawable_t) (uintptr_t) buffer; in dri3_create_image_khr_pixmap_from_buffers() 397 EGLClientBuffer buffer, const EGLint *attr_list) in dri3_create_image_khr() 407 return dri3_create_image_khr_pixmap_from_buffers(disp, ctx, buffer, in dri3_create_image_khr() 410 return dri3_create_image_khr_pixmap(disp, ctx, buffer, attr_list); in dri3_create_image_khr() 412 return dri2_create_image_khr(disp, ctx, target, buffer, attr_list); in dri3_create_image_khr() 417 * Called by the driver when it needs to update the real front buffer with the 418 * contents of its fake front buffer 289 dri3_create_image_khr_pixmap(_EGLDisplay *disp, _EGLContext *ctx, EGLClientBuffer buffer, const EGLint *attr_list) dri3_create_image_khr_pixmap() argument 339 dri3_create_image_khr_pixmap_from_buffers(_EGLDisplay *disp, _EGLContext *ctx, EGLClientBuffer buffer, const EGLint *attr_list) dri3_create_image_khr_pixmap_from_buffers() argument 396 dri3_create_image_khr(_EGLDisplay *disp, _EGLContext *ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attr_list) dri3_create_image_khr() argument [all...] |
/third_party/mesa3d/src/asahi/lib/ |
H A D | decode.c | 139 fprintf(agxdecode_dump_stream, " Command buffer shmem ID: %" PRIx64 "\n", hdr->cmdbuf_id); in agxdecode_decode_segment_list() 362 uint8_t *tex = agxdecode_fetch_gpu_mem(temp.buffer, 64); in agxdecode_pipeline() 374 uint8_t *samp = agxdecode_fetch_gpu_mem(temp.buffer, 64); in agxdecode_pipeline() 489 assert(cmdbuf != NULL && "nonexistant command buffer"); in agxdecode_cmdstream() 628 char buffer[1024]; in agxdecode_dump_file_open() local 629 snprintf(buffer, sizeof(buffer), "%s.%04d", dump_file_base, agxdecode_dump_frame_count); in agxdecode_dump_file_open() 630 printf("agxdecode: dump command stream to file %s\n", buffer); in agxdecode_dump_file_open() 631 agxdecode_dump_stream = fopen(buffer, "w"); in agxdecode_dump_file_open() 635 buffer); in agxdecode_dump_file_open() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_copy.c | 88 copy_buffer_to_image(struct radv_cmd_buffer *cmd_buffer, struct radv_buffer *buffer, in copy_buffer_to_image() argument 158 .buffer = buffer, in copy_buffer_to_image() 183 * the image is embedded in the command buffer so we can just in copy_buffer_to_image() 229 copy_image_to_buffer(struct radv_cmd_buffer *cmd_buffer, struct radv_buffer *buffer, in copy_image_to_buffer() argument 239 ASSERTED bool res = radv_sdma_copy_image(cmd_buffer, image, buffer, region); in copy_image_to_buffer() 242 radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, buffer->bo); in copy_image_to_buffer() 306 .buffer = buffer, in copy_image_to_buffer()
|
/third_party/littlefs/bd/ |
H A D | lfs_emubd.c | 216 lfs_off_t off, void *buffer, lfs_size_t size) { in lfs_emubd_read() 219 (void*)cfg, block, off, buffer, size); in lfs_emubd_read() 239 memcpy(buffer, &b->data[off], size); in lfs_emubd_read() 242 memset(buffer, in lfs_emubd_read() 266 lfs_off_t off, const void *buffer, lfs_size_t size) { in lfs_emubd_prog() 269 (void*)cfg, block, off, buffer, size); in lfs_emubd_prog() 308 memcpy(&b->data[off], buffer, size); in lfs_emubd_prog() 321 ssize_t res2 = write(bd->disk->fd, buffer, size); in lfs_emubd_prog() 215 lfs_emubd_read(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, void *buffer, lfs_size_t size) lfs_emubd_read() argument 265 lfs_emubd_prog(const struct lfs_config *cfg, lfs_block_t block, lfs_off_t off, const void *buffer, lfs_size_t size) lfs_emubd_prog() argument
|
/third_party/node/deps/v8/src/d8/ |
H A D | d8-posix.cc | 26 // If the buffer ends in the middle of a UTF-8 sequence then we return 28 // sequence. If the buffer ends with a valid UTF-8 sequence then we 29 // return the whole buffer. 30 static int LengthWithoutIncompleteUtf8(char* buffer, int len) { in LengthWithoutIncompleteUtf8() argument 49 int c = buffer[answer - 1]; in LengthWithoutIncompleteUtf8() 293 char buffer[kStdoutReadBufferSize]; in GetStdout() local 302 read(child_fd, buffer + fullness, kStdoutReadBufferSize - fullness)); in GetStdout() 319 buffer, bytes_read + fullness); in GetStdout() 321 String::NewFromUtf8(isolate, buffer, NewStringType::kNormal, length) in GetStdout() 325 memcpy(buffer, buffe in GetStdout() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | fixed-array.h | 527 inline void copy_out(int index, byte* buffer, int slice_length); 528 inline void copy_in(int index, const byte* buffer, int slice_length); 602 void copy_in(int index, const T* buffer, int length) { 603 ByteArray::copy_in(index * sizeof(T), reinterpret_cast<const byte*>(buffer), 607 bool matches(const T* buffer, int length) { 609 return memcmp(GetDataStartAddress(), buffer, length * sizeof(T)) == 0; 612 bool matches(int offset, const T* buffer, int length) { in matches() argument 615 return memcmp(GetDataStartAddress() + sizeof(T) * offset, buffer, in matches()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_context.c | 457 struct pipe_resource *buffer = timestamps; in fd_trace_record_ts() local 460 uint64_t *ts = fd_bo_map(fd_resource(buffer)->bo); in fd_trace_record_ts() 466 batch->ctx->record_timestamp(ring, fd_resource(buffer)->bo, ts_offset); in fd_trace_record_ts() 476 struct pipe_resource *buffer = timestamps; in fd_trace_read_ts() local 477 struct fd_bo *ts_bo = fd_resource(buffer)->bo; in fd_trace_read_ts() 507 * blit_texcoord_vbuf, and vsc_size_mem, into a single buffer and 551 ctx->solid_vbuf_state.vertexbuf.vb[0].buffer.resource = ctx->solid_vbuf; in fd_context_setup_common_vbos() 569 ctx->blit_vbuf_state.vertexbuf.vb[0].buffer.resource = in fd_context_setup_common_vbos() 572 ctx->blit_vbuf_state.vertexbuf.vb[1].buffer.resource = ctx->solid_vbuf; in fd_context_setup_common_vbos()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
H A D | ir3_const.h | 53 struct pipe_resource *buffer) in emit_const_prsc() 55 struct fd_resource *rsc = fd_resource(buffer); in emit_const_prsc() 111 * constant buffer. 134 /* and even if the start of the const buffer is before in ir3_emit_constant_data() 149 * Uploads sub-ranges of UBOs to the hardware's constant buffer (UBO access 180 /* and even if the start of the const buffer is before in ir3_emit_user_consts() 198 cb->buffer); in ir3_emit_user_consts() 231 * them to a buffer now, and save it in the constbuf so that we in ir3_emit_ubos() 237 cb->user_buffer, &cb->buffer_offset, &cb->buffer); in ir3_emit_ubos() 241 if ((constbuf->enabled_mask & (1 << i)) && cb->buffer) { in ir3_emit_ubos() 51 emit_const_prsc(struct fd_ringbuffer *ring, const struct ir3_shader_variant *v, uint32_t regid, uint32_t offset, uint32_t size, struct pipe_resource *buffer) emit_const_prsc() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_perfcounter.c | 120 struct r600_resource *buffer) in r600_pc_query_prepare_buffer() 128 struct r600_resource *buffer, uint64_t va) in r600_pc_query_emit_start() 154 pc->emit_start(ctx, buffer, va); in r600_pc_query_emit_start() 159 struct r600_resource *buffer, uint64_t va) in r600_pc_query_emit_stop() 165 pc->emit_stop(ctx, buffer, va); in r600_pc_query_emit_stop() 182 buffer, va); in r600_pc_query_emit_stop() 201 void *buffer, in r600_pc_query_add_result() 205 uint64_t *results = buffer; in r600_pc_query_add_result() 118 r600_pc_query_prepare_buffer(struct r600_common_screen *screen, struct r600_query_hw *hwquery, struct r600_resource *buffer) r600_pc_query_prepare_buffer() argument 126 r600_pc_query_emit_start(struct r600_common_context *ctx, struct r600_query_hw *hwquery, struct r600_resource *buffer, uint64_t va) r600_pc_query_emit_start() argument 157 r600_pc_query_emit_stop(struct r600_common_context *ctx, struct r600_query_hw *hwquery, struct r600_resource *buffer, uint64_t va) r600_pc_query_emit_stop() argument 199 r600_pc_query_add_result(struct r600_common_screen *rscreen, struct r600_query_hw *hwquery, void *buffer, union pipe_query_result *result) r600_pc_query_add_result() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTestsUtils.cpp | 333 bufferInfo.buffer, // buffer; in recordCopyBufferToImage() 360 interface.cmdCopyBufferToImage(cmd, bufferInfo.buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, static_cast<deUint32>(copyRegions.size()), copyRegions.data()); in recordCopyBufferToImage() 445 interface.cmdCopyImageToBuffer(cmd, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, bufferInfo.buffer, 1u, ©Region); in recordCopyImageToBuffer() 564 // create a frame buffer in createFrameBuffer() 581 outputFB->buffer = vk::createFramebuffer(interface, device, &framebufferCreateInfo); in createFrameBuffer() 608 Move<VkBuffer> buffer = vk::createBuffer(interface, device, &createInfo); in createBufferAndBind() local 610 const VkMemoryRequirements memRequirements = vk::getBufferMemoryRequirements(interface, device, *buffer); in createBufferAndBind() 613 VK_CHECK(interface.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset())); in createBufferAndBind() 615 output = BufferHandleAllocSp(new BufferHandleAlloc(buffer, allocatio in createBufferAndBind() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/ |
H A D | vktDescriptorSetsIndexingTestsUtils.cpp | 333 bufferInfo.buffer, // buffer; in recordCopyBufferToImage() 360 interface.cmdCopyBufferToImage(cmd, bufferInfo.buffer, image, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, static_cast<deUint32>(copyRegions.size()), copyRegions.data()); in recordCopyBufferToImage() 445 interface.cmdCopyImageToBuffer(cmd, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, bufferInfo.buffer, 1u, ©Region); in recordCopyImageToBuffer() 564 // create a frame buffer in createFrameBuffer() 581 outputFB->buffer = vk::createFramebuffer(interface, device, &framebufferCreateInfo); in createFrameBuffer() 608 Move<VkBuffer> buffer = vk::createBuffer(interface, device, &createInfo); in createBufferAndBind() local 610 const VkMemoryRequirements memRequirements = vk::getBufferMemoryRequirements(interface, device, *buffer); in createBufferAndBind() 613 VK_CHECK(interface.bindBufferMemory(device, *buffer, allocation->getMemory(), allocation->getOffset())); in createBufferAndBind() 615 output = BufferHandleAllocSp(new BufferHandleAlloc(buffer, allocatio in createBufferAndBind() [all...] |