/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | gpu.cpp | 69 zx_handle_t vmo, size_t offset) { 85 vmo, offset, size, 362 req.offset = 0; 68 virtio_gpu_import_vmo_image(void* ctx, image_t* image, zx_handle_t vmo, size_t offset) argument
|
/fuchsia/zircon/system/utest/bitmap/ |
H A D | rle-bitmap-tests.cpp | 302 size_t offset = 4 * index - 2; 303 size_t len = fbl::min(size_t(3), kMaxVal - offset); 304 EXPECT_EQ(bitoff, offset, "bitoff");
|
/fuchsia/zircon/system/utest/fs/ |
H A D | test-mmap.cpp | 314 // Mmap with unaligned offset 496 off_t offset = static_cast<off_t>(new_size - 1); local 497 ASSERT_EQ(lseek(fd.get(), offset, SEEK_SET), offset); local
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | perf_mon.cpp | 86 #define DEF_MISC_SKL_EVENT(symbol, id, offset, size, flags, name, description) \ 93 #define DEF_MISC_SKL_EVENT(symbol, id, offset, size, flags, name, description) \ 94 symbol ## _OFFSET = offset, 156 #define DEF_MISC_SKL_EVENT(symbol, id, offset, size, flags, name, description) \ 157 && (offset >= UNC_IMC_STATS_BEGIN && (offset + size/8) <= UNC_IMC_STATS_END + 1) 829 #define DEF_MISC_SKL_EVENT(symbol, id, offset, size, flags, name, description) \ 964 #define DEF_MISC_SKL_EVENT(symbol, id, offset, size, flags, name, description) \
|
/fuchsia/zircon/system/dev/block/mbr/ |
H A D | mbr.c | 120 static zx_off_t to_parent_offset(mbrpart_device_t* dev, zx_off_t offset) { argument 121 return offset + (uint64_t)(dev->partition.start_sector_lba) *
|
/fuchsia/zircon/system/dev/display/astro-display/ |
H A D | astro-display.cpp | 101 zx_status_t AstroDisplay::ImportVmoImage(image_t* image, const zx::vmo& vmo, size_t offset) { argument 126 status = canvas_config(&canvas_, dup_vmo, offset, &canvas_info,
|
/fuchsia/zircon/third_party/tools/android/avb/ |
H A D | avbtool | 643 # These are formats and offset of just the |total_chunks| and 700 # Find the smallest offset where only "Don't care" chunks 703 offset = 0 755 offset += chunk_sz 762 if self._num_total_blocks != offset: 764 'but we saw {}'.format(self._num_total_blocks, offset)) 884 def seek(self, offset): 888 offset: Offset to seek to from the beginning of the file. 890 if offset < 0: 891 raise RuntimeError("Seeking with negative offset [all...] |
/fuchsia/zircon/third_party/ulib/musl/stubs/ |
H A D | iostubs.c | 27 static zx_status_t stub_mmap_file(size_t offset, size_t len, uint32_t zx_flags, int flags, int fd, argument 51 static off_t stub_lseek(int fd, off_t offset, int whence) { argument
|
/fuchsia/zircon/third_party/ulib/musl/ldso/ |
H A D | dynlink.c | 537 *reloc_addr = tls_val + def.dso->tls.offset + addend; 541 *reloc_addr = tls_val - def.dso->tls.offset + addend; 544 *reloc_addr = def.dso->tls.offset - tls_val + addend; 564 reloc_addr[1] = tls_val + def.dso->tls.offset + addend; 566 reloc_addr[1] = tls_val - def.dso->tls.offset + addend; 1277 p->tls.offset = (tls_offset + p->tls.align - 1) & -p->tls.align; 1278 tls_offset = p->tls.offset + p->tls.size; 1282 p->tls.offset = tls_offset; 1813 app.tls.offset = (tls_offset + app.tls.align - 1) & -app.tls.align; 1814 tls_offset = app.tls.offset [all...] |
/fuchsia/zircon/kernel/vm/include/vm/ |
H A D | vm_aspace.h | 147 zx_status_t MapObjectInternal(fbl::RefPtr<VmObject> vmo, const char* name, uint64_t offset,
|
/fuchsia/zircon/system/dev/audio/usb-audio/ |
H A D | usb-midi-sink.c | 118 zx_off_t offset, size_t* actual) { 117 usb_midi_sink_write(void* ctx, const void* data, size_t length, zx_off_t offset, size_t* actual) argument
|
/fuchsia/zircon/system/dev/block/sdhci/ |
H A D | sdhci.c | 283 const size_t offset = dev->data_blockid * req->blocksize + byteid; local 284 uint32_t* wrd = req->virt + offset; 303 const size_t offset = dev->data_blockid * req->blocksize + byteid; local 304 uint32_t* wrd = req->virt + offset;
|
/fuchsia/zircon/system/dev/ethernet/asix-88772b/ |
H A D | asix-88772b.c | 84 static zx_status_t ax88772b_mdio_read(ax88772b_t* eth, uint8_t offset, uint16_t* value) { argument 92 ASIX_REQ_PHY_READ, eth->phy_id, offset, 107 static zx_status_t ax88772b_mdio_write(ax88772b_t* eth, uint8_t offset, uint16_t value) { argument 115 ASIX_REQ_PHY_WRITE, eth->phy_id, offset,
|
/fuchsia/zircon/system/dev/nand/ram-nand/test/ |
H A D | ram-nand.cpp | 352 // Prepares the operation to write num_pages starting at offset. 353 void SetForWrite(int offset, int num_pages, Operation* operation) { argument 357 op->rw.offset_nand = offset; 361 // Prepares the operation to read num_pages starting at offset. 362 void SetForRead(int offset, int num_pages, Operation* operation) { argument 366 op->rw.offset_nand = offset;
|
/fuchsia/zircon/system/dev/tee/optee/ |
H A D | optee-message.h | 67 uint64_t offset; member in struct:optee::RegisteredMemory
|
/fuchsia/zircon/system/host/fvm/include/fvm/ |
H A D | format.h | 59 // Detect the type of partition starting at |offset| bytes 60 static zx_status_t Detect(int fd, off_t offset, disk_format_t* out);
|
/fuchsia/zircon/system/uapp/disk-pave/ |
H A D | device-partitioner.h | 127 zx_status_t CreateGptPartition(const char* name, uint8_t* type, uint64_t offset,
|
/fuchsia/zircon/system/ulib/fs/include/fs/ |
H A D | vnode.h | 113 // Read data from vn at offset. 119 // Write |len| bytes of |data| to the file, starting at |offset|. 123 virtual zx_status_t Write(const void* data, size_t len, size_t offset, 129 // returns the new end of file offset in |out_end|.
|
/fuchsia/zircon/system/utest/fs-vnode/ |
H A D | pseudo-file-tests.cpp | 69 size_t length, size_t offset, fbl::StringPiece expected) { 75 EXPECT_EQ(status, file->Read(buf, length, offset, &actual)); 83 size_t offset, fbl::StringPiece content, size_t expected_actual) { 87 EXPECT_EQ(status, file->Write(content.data(), content.size(), offset, &actual));
|
/fuchsia/zircon/system/utest/zxcrypt/ |
H A D | test-device.h | 152 // Test helper that flips a (pseudo)random bit in the byte at the given |offset| on the block 155 bool Corrupt(zx_off_t offset);
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | jobs.c | 796 ptrdiff_t offset; local 803 offset = (char *)jp - (char *)jq; 804 if (offset) { 813 #define jmove(p) (p) = (void *)((char *)(p) + offset)
|
/fuchsia/zircon/third_party/ulib/cryptolib/ |
H A D | cryptolib.c | 341 int64_t offset = a - c; local 348 return c + (offset & A); 489 int64_t offset = base - one; local 503 montMul(M, tmp, accu, one + (offset & mask));
|
/fuchsia/zircon/third_party/ulib/backtrace/ |
H A D | dwarf.c | 225 /* An offset to other data in the containing unit. */ 227 /* An offset to other data within the .dwarf_info section. */ 229 /* An offset to data in some other section. */ 364 /* The offset of UNIT_DATA from the start of the information for 576 /* Read an offset from BUF and advance the appropriate number of 804 uint64_t offset; local 806 offset = read_offset (buf, is_dwarf64); 807 if (offset >= dwarf_str_size) 813 val->u.string = (const char *) dwarf_str + offset; 1116 error_callback (data, "abbrev offset ou 2133 read_referenced_name(struct dwarf_data *ddata, struct unit *u, uint64_t offset, backtrace_error_callback error_callback, void *data) argument [all...] |
/fuchsia/zircon/system/dev/ethernet/dwmac/ |
H A D | dwmac.cpp | 36 static inline T* offset_ptr(U* ptr, size_t offset) { argument 37 return reinterpret_cast<T*>(reinterpret_cast<uintptr_t>(ptr) + offset);
|
/fuchsia/zircon/system/ulib/intel-hda/include/intel-hda/utils/ |
H A D | codec-commands.h | 179 static inline constexpr CodecVerb GET_CONNECTION_LIST_ENTRY(uint8_t offset) { 180 return SP_VERB<0xF02>(offset);
|