Home
last modified time | relevance | path

Searched refs:write_block (Results 1 – 9 of 9) sorted by relevance

/external/arm-trusted-firmware/lib/semihosting/
Dsemihosting.c102 smh_file_read_write_block_t write_block; in semihosting_file_write() local
109 write_block.handle = file_handle; in semihosting_file_write()
110 write_block.buffer = (uintptr_t)buffer; /* cast away const */ in semihosting_file_write()
111 write_block.length = *length; in semihosting_file_write()
114 (uintptr_t)&write_block); in semihosting_file_write()
/external/adhd/cras/src/server/
Dcras_a2dp_iodev.c65 unsigned int write_block; member
306 a2dpio->write_block = in configure_dev()
309 cras_frames_to_time(a2dpio->write_block, iodev->format->frame_rate, in configure_dev()
313 iodev->buffer_size = PCM_BUF_MAX_SIZE_FRAMES + a2dpio->write_block; in configure_dev()
320 iodev->min_buffer_level = a2dpio->write_block; in configure_dev()
380 if (*hw_level < a2dpio->write_block) in frames_to_play_in_sleep()
383 *hw_level -= a2dpio->write_block; in frames_to_play_in_sleep()
393 return a2dpio->write_block; in frames_to_play_in_sleep()
511 (iodev->min_buffer_level + a2dpio->write_block < queued_frames)) { in encode_and_flush()
/external/autotest/client/tests/disktest/src/
Ddisktest.c54 void write_block(int fd, unsigned int block, struct pattern *buffer) in write_block() function
156 write_block(fd, block, buffer); in write_file()
161 write_block(fd, block, buffer); in write_file()
337 write_block(fd, block, init_buffer); in main()
/external/adhd/cras/src/tests/
Da2dp_iodev_unittest.cc278 EXPECT_EQ(896, a2dpio->write_block); in TEST_F()
341 EXPECT_EQ(896, a2dpio->write_block); in TEST_F()
348 EXPECT_EQ(a2dpio->write_block, in TEST_F()
371 a2dpio->write_block - time_now.tv_nsec * format.frame_rate / 1000000000; in TEST_F()
378 EXPECT_EQ(a2dpio->write_block, in TEST_F()
391 target = a2dpio->write_block * 2 - in TEST_F()
407 EXPECT_EQ(a2dpio->write_block, in TEST_F()
418 target = a2dpio->write_block * 3 - in TEST_F()
/external/arm-trusted-firmware/drivers/brcm/emmc/
Demmc_pboot_hal_memory_drv.c507 if (!write_block(p_sdhandle, in sdio_write()
555 if (!write_block(p_sdhandle, inputBuf, blockAddr, writeLen)) { in sdio_write()
582 if (!write_block(p_sdhandle, in sdio_write()
Demmc_csl_sdcard.c623 int write_block(struct sd_handle *handle, in write_block() function
/external/arm-trusted-firmware/include/drivers/brcm/emmc/
Demmc_csl_sd.h82 int write_block(struct sd_handle *handle, uint8_t *src, uint32_t addr,
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.c880 int write_block(int file_fd, char *buffer, int size, long long hole, int sparse) in write_block() function
2044 error = write_block(file_fd, block->buffer->data + in writer()
2071 if(write_block(file_fd, "\0", 1, hole, in writer()
/external/mesa3d/src/compiler/nir/
Dnir_serialize.c1784 write_block(write_ctx *ctx, const nir_block *block) in write_block() function
1866 write_block(ctx, nir_cf_node_as_block(cf)); in write_cf_node()