/fuchsia/zircon/system/uapp/gfxlatency/ |
H A D | main.cpp | 113 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 D | devmgr-fdio.cpp | 180 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 D | formatting.cpp | 19 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 D | wav-sink.cpp | 107 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 D | wav-source.cpp | 144 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 D | test-fuzzer.cpp | 108 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 D | stdio.c | 38 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 D | netboot.c | 50 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 D | start.c | 108 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 D | rules.mk | 15 $(LOCAL_DIR)/pinned-buffer.cpp
|
/fuchsia/zircon/system/ulib/tee-client-api/include/tee-client-api/ |
H A D | tee-client-types.h | 59 * 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 D | handler_impl.h | 26 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 D | vmo.h | 58 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 D | perftest_test.cpp | 311 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 D | dir.c | 198 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 D | rtl8111.c | 9 #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 D | a113-audio-device.h | 13 #include <ddk/mmio-buffer.h>
|
/fuchsia/zircon/system/dev/board/astro/ |
H A D | astro.h | 8 #include <ddk/io-buffer.h>
|
/fuchsia/zircon/system/dev/board/gauss/ |
H A D | gauss.h | 7 #include <ddk/io-buffer.h>
|
/fuchsia/zircon/system/dev/board/vim/ |
H A D | vim.h | 8 #include <ddk/io-buffer.h>
|
/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | ring.h | 6 #include <ddk/io-buffer.h>
|
/fuchsia/zircon/system/dev/display/hikey-display/ |
H A D | adv7533.h | 8 #include <ddk/io-buffer.h>
|
/fuchsia/zircon/system/dev/input/hidctl/ |
H A D | hidctl.cpp | 254 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 D | aml-thermal.h | 7 #include <ddk/io-buffer.h>
|
/fuchsia/zircon/system/dev/scpi/aml-scpi-s912/ |
H A D | aml-mailbox.h | 10 #include <ddk/mmio-buffer.h>
|