Searched refs:buffer (Results 101 - 125 of 270) sorted by relevance

1234567891011

/fuchsia/zircon/system/uapp/gfxlatency/
H A Dmain.cpp113 typedef struct buffer { struct
907 // Scratch buffer for sprite updates. 2 times the size of the sprite.
934 for (auto& buffer : buffers) {
935 status = alloc_image_buffer(buffer_size, &buffer.vmo);
938 zx_vmo_set_cache_policy(buffer.vmo, ZX_CACHE_POLICY_WRITE_COMBINING);
941 import_image(buffer.vmo, width, height, format, &buffer.image_id);
944 status = zx_event_create(0, &buffer.wait_event);
946 buffer.wait_event_id = INVALID_ID;
948 buffer
[all...]
/fuchsia/zircon/system/core/devmgr/
H A Ddevmgr-fdio.cpp180 char buffer[PAGE_SIZE]; local
185 size_t copy = (length > sizeof(buffer) ? sizeof(buffer) : length);
186 if ((status = zx_vmo_read(src, buffer, src_offset, copy)) != ZX_OK) {
189 if ((status = zx_vmo_write(dest, buffer, dest_offset, copy)) != ZX_OK) {
/fuchsia/zircon/system/ulib/fidl/
H A Dformatting.cpp19 StringBuilder(char* buffer, size_t capacity) argument
20 : buffer_(buffer), capacity_(capacity) {}
210 char* buffer, size_t capacity) {
211 if (!type || !buffer || !capacity) {
215 StringBuilder str(buffer, capacity);
209 fidl_format_type_name(const fidl_type_t* type, char* buffer, size_t capacity) argument
/fuchsia/zircon/system/uapp/audio/
H A Dwav-sink.cpp107 zx_status_t WAVSink::PutFrames(const void* buffer, uint32_t amt) { argument
108 ZX_DEBUG_ASSERT(buffer != nullptr);
114 zx_status_t res = Write(buffer, amt);
H A Dwav-source.cpp144 zx_status_t WAVSource::GetFrames(void* buffer, uint32_t buf_space, uint32_t* out_packed) { argument
145 if ((buffer == nullptr) || (out_packed == nullptr))
153 zx_status_t res = Read(buffer, todo);
/fuchsia/zircon/system/utest/fuzz-utils/
H A Dtest-fuzzer.cpp108 fbl::StringBuffer<PATH_MAX> buffer; local
111 buffer.AppendVPrintf(fmt, ap);
116 if (strcmp(arg, buffer.c_str()) == 0) {
/fuchsia/zircon/system/utest/stdio/
H A Dstdio.c38 char buffer[5]; local
39 ASSERT_GT(read(fds[0], buffer, 5), 0, "pipe read failed");
41 ASSERT_EQ(strncmp(buffer, "hello", 5), 0, "Incorrect buffer read from pipe");
/fuchsia/zircon/bootloader/src/
H A Dnetboot.c50 uint8_t buffer[256]; local
51 nbmsg* msg = (void*)buffer;
57 udp6_send(buffer, sizeof(nbmsg) + strlen(advertise_nodename) + 1,
62 uint8_t buffer[sizeof(nbmsg) + sizeof(advertise_data)]; local
63 nbmsg* msg = (void*)buffer;
70 udp6_send(buffer, sizeof(nbmsg) + data_len, &ip6_ll_all_nodes,
210 printf("netboot: attempt to write past end of buffer\n");
/fuchsia/zircon/system/core/userboot/
H A Dstart.c108 ZXR_PROCESSARGS_BUFFER(buffer,
114 buffer, nbytes, handles, nhandles,
122 // incoming message buffer to make space for their info slots.
132 memmove(&buffer[pargs->environ_off],
133 &buffer[pargs->handle_info_off + nhandles * sizeof(uint32_t)],
139 status = zxr_processargs_strings(buffer, nbytes, NULL, environ, NULL);
306 status = zx_channel_write(to_child, 0, buffer, nbytes,
/fuchsia/zircon/system/dev/ethernet/dwmac/
H A Drules.mk15 $(LOCAL_DIR)/pinned-buffer.cpp
/fuchsia/zircon/system/ulib/tee-client-api/include/tee-client-api/
H A Dtee-client-types.h59 * TEEC_ERROR_SHORT_BUFFER The supplied buffer is too short for the generated output.
265 * buffer A pointer to the memory buffer shared with the TEE.
267 * size The size of the memory buffer, in bytes.
280 void* buffer; member in struct:__anon1200
293 * buffer A pointer to the first byte of a region of memory which needs to be temporarily
300 void* buffer; member in struct:__anon1201
317 * Temporary Memory Reference with the buffer field set to NULL.
/fuchsia/zircon/system/ulib/trace-provider/
H A Dhandler_impl.h26 zx::vmo buffer, zx::fifo fifo,
31 TraceHandlerImpl(void* buffer, size_t buffer_num_bytes, zx::fifo fifo,
41 // buffer |buffer_number| is full and needs to be saved.
51 // it has saved the buffer.
/fuchsia/zircon/system/ulib/zx/include/lib/zx/
H A Dvmo.h58 void* buffer, size_t buffer_size) const {
59 return zx_vmo_op_range(get(), op, offset, size, buffer, buffer_size);
57 op_range(uint32_t op, uint64_t offset, uint64_t size, void* buffer, size_t buffer_size) const argument
/fuchsia/zircon/system/utest/fs-test-utils/
H A Dperftest_test.cpp311 char* buffer = nullptr; local
316 while ((read = getline(&buffer, &length, fp)) != -1 && (!found_1 || !found_2)) {
317 if (strstr(buffer, "test_1.test_1")) {
319 } else if (strstr(buffer, "test_1.test_2")) {
322 free(buffer);
323 buffer = nullptr;
326 free(buffer);
327 buffer = nullptr;
/fuchsia/zircon/third_party/uapp/fsck-msdosfs/
H A Ddir.c198 static u_char *buffer = NULL; variable
218 if ((buffer = malloc(len = MAX(b1, b2))) == NULL) {
219 perr("No space for directory buffer (%zu)", len);
224 free(buffer);
230 free(buffer);
295 free(buffer);
297 buffer = NULL;
363 startcl, start - buffer,
364 endcl, end - buffer,
367 start = buffer;
[all...]
/fuchsia/zircon/system/dev/ethernet/realtek-8111/
H A Drtl8111.c9 #include <ddk/io-buffer.h>
50 io_buffer_t buffer; member in struct:ethernet_device
72 edev->txd_ring = io_buffer_virt(&edev->buffer);
73 edev->txd_phys_addr = io_buffer_phys(&edev->buffer);
75 edev->txb = io_buffer_virt(&edev->buffer) + (2 * ETH_DESC_RING_SIZE);
77 edev->rxd_ring = io_buffer_virt(&edev->buffer) + ETH_DESC_RING_SIZE;
78 edev->rxd_phys_addr = io_buffer_phys(&edev->buffer) + ETH_DESC_RING_SIZE;
82 uint64_t txb_phys = io_buffer_phys(&edev->buffer) + (2 * ETH_DESC_RING_SIZE);
262 zxlogf(TRACE, "rtl8111: Waiting for buffer\n");
331 io_buffer_release(&edev->buffer);
[all...]
/fuchsia/zircon/system/dev/audio/gauss-pdm-input/
H A Da113-audio-device.h13 #include <ddk/mmio-buffer.h>
/fuchsia/zircon/system/dev/board/astro/
H A Dastro.h8 #include <ddk/io-buffer.h>
/fuchsia/zircon/system/dev/board/gauss/
H A Dgauss.h7 #include <ddk/io-buffer.h>
/fuchsia/zircon/system/dev/board/vim/
H A Dvim.h8 #include <ddk/io-buffer.h>
/fuchsia/zircon/system/dev/bus/virtio/
H A Dring.h6 #include <ddk/io-buffer.h>
/fuchsia/zircon/system/dev/display/hikey-display/
H A Dadv7533.h8 #include <ddk/io-buffer.h>
/fuchsia/zircon/system/dev/input/hidctl/
H A Dhidctl.cpp254 zx_status_t HidDevice::Recv(uint8_t* buffer, uint32_t capacity) { argument
259 status = data_.read(0u, buffer, capacity, &actual);
271 hexdump8_ex(buffer, actual, 0);
274 proxy_.IoQueue(buffer, actual);
/fuchsia/zircon/system/dev/lib/amlogic/include/soc/aml-common/
H A Daml-thermal.h7 #include <ddk/io-buffer.h>
/fuchsia/zircon/system/dev/scpi/aml-scpi-s912/
H A Daml-mailbox.h10 #include <ddk/mmio-buffer.h>

Completed in 258 milliseconds

1234567891011