/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | DataEncoder.h | 87 /// Encode an unsigned integer of size \a byte_size to \a offset. 89 /// Encode a single integer value at \a offset and return the offset that 94 /// \param[in] offset 95 /// The offset within the contained data at which to put the encoded 107 /// The next offset in the bytes of this data if the integer 109 uint32_t PutUnsigned(uint32_t offset, uint32_t byte_size, uint64_t value); 111 /// Encode an unsigned integer at offset \a offset. 113 /// Encode a single unsigned integer value at \a offset an 276 ValidOffsetForDataOfSize(uint32_t offset, uint32_t length) const argument [all...] |
/freebsd-current/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_iores.c | 50 size_t offset; /**< offset within res */ member in struct:bhnd_nvram_iores 51 size_t size; /**< size relative to the base offset */ 67 * @param offset Offset 76 bhnd_nvram_iores_new(struct bhnd_resource *r, bus_size_t offset, argument 94 /* offset/size must not exceed our internal size_t representation, 97 if (size > SIZE_MAX || offset > SIZE_MAX) { 98 BHND_NV_LOG("offset %#jx+%#jx exceeds SIZE_MAX\n", 99 (uintmax_t)offset, (uintmax_t)offset); 161 bhnd_nvram_iores_read_ptr(struct bhnd_nvram_io *io, size_t offset, const void **ptr, size_t nbytes, size_t *navail) argument 169 bhnd_nvram_iores_write_ptr(struct bhnd_nvram_io *io, size_t offset, void **ptr, size_t nbytes, size_t *navail) argument 185 bhnd_nvram_iores_validate_req(struct bhnd_nvram_iores *iores, size_t offset, size_t *nbytes) argument 211 bhnd_nvram_iores_read(struct bhnd_nvram_io *io, size_t offset, void *buffer, size_t nbytes) argument 258 bhnd_nvram_iores_write(struct bhnd_nvram_io *io, size_t offset, void *buffer, size_t nbytes) argument [all...] |
/freebsd-current/contrib/libcbor/src/cbor/internal/ |
H A D | encoders.h | 19 size_t buffer_size, uint8_t offset); 23 size_t buffer_size, uint8_t offset); 27 size_t buffer_size, uint8_t offset); 31 size_t buffer_size, uint8_t offset); 35 size_t buffer_size, uint8_t offset);
|
H A D | encoders.c | 12 size_t buffer_size, uint8_t offset) { 15 buffer[0] = value + offset; 20 buffer[0] = 0x18 + offset; 29 size_t buffer_size, uint8_t offset) { 31 buffer[0] = 0x19 + offset; 46 size_t buffer_size, uint8_t offset) { 48 buffer[0] = 0x1A + offset; 65 size_t buffer_size, uint8_t offset) { 67 buffer[0] = 0x1B + offset; 88 size_t buffer_size, uint8_t offset) { 11 _cbor_encode_uint8(uint8_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument 28 _cbor_encode_uint16(uint16_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument 45 _cbor_encode_uint32(uint32_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument 64 _cbor_encode_uint64(uint64_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument 87 _cbor_encode_uint(uint64_t value, unsigned char *buffer, size_t buffer_size, uint8_t offset) argument [all...] |
/freebsd-current/contrib/bearssl/T0/ |
H A D | WordData.cs | 32 int offset; field in class:WordData 36 ConstData blob, int offset) 40 this.offset = offset; 45 string baseBlobName, int offset) 49 this.offset = offset; 71 offset += wd.offset; 78 cpu.Push(new TValue(offset, ne 35 WordData(T0Comp owner, string name, ConstData blob, int offset) argument 44 WordData(T0Comp owner, string name, string baseBlobName, int offset) argument [all...] |
/freebsd-current/crypto/openssl/test/ |
H A D | gmdifftest.c | 22 static int check_time(long offset) argument 31 t2 = t1 + offset; 35 if (!TEST_true(OPENSSL_gmtime_adj(&tm1, 0, offset)) 45 if (!TEST_long_eq(offset, toffset)) 50 static int test_gmtime(int offset) argument 52 return check_time(offset) 53 && check_time(-offset) 54 && check_time(offset * 1000L) 55 && check_time(-offset * 1000L) 56 && check_time(offset * 100000 [all...] |
/freebsd-current/contrib/libarchive/libarchive/test/ |
H A D | test_compat_solaris_pax_sparse.c | 36 int64_t offset, length; local 66 archive_entry_sparse_next(ae, &offset, &length)); 67 assertEqualInt(0, offset); 70 archive_entry_sparse_next(ae, &offset, &length)); 71 assertEqualInt(393216, offset); 74 archive_entry_sparse_next(ae, &offset, &length)); 75 assertEqualInt(786432, offset); 78 archive_read_data_block(a, &buff, &bytes_read, &offset)) { 80 assert((offset >= 0 && offset 117 int64_t offset, length; local [all...] |
/freebsd-current/sys/contrib/libfdt/ |
H A D | fdt_ro.c | 58 static int fdt_nodename_eq_(const void *fdt, int offset, argument 62 const char *p = fdt_get_name(fdt, offset, &olen); 95 int offset; local 97 for (offset = fdt_next_node(fdt, -1, NULL);; 98 offset = fdt_next_node(fdt, offset, NULL)) { 101 if (offset == -FDT_ERR_NOTFOUND) 104 if (offset < 0) 107 phandle = fdt_get_phandle(fdt, offset); 135 static int nextprop_(const void *fdt, int offset) argument 159 fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) argument 188 int offset = 0; local 274 int offset; local 282 fdt_next_property_offset(const void *fdt, int offset) argument 290 fdt_get_property_by_offset_(const void *fdt, int offset, int *lenp) argument 311 fdt_get_property_by_offset(const void *fdt, int offset, int *lenp) argument 327 fdt_get_property_namelen_(const void *fdt, int offset, const char *name, int namelen, int *lenp, int *poffset) argument 357 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) argument 401 fdt_getprop_by_offset(const void *fdt, int offset, const char **namep, int *lenp) argument 462 int offset, depth, namelen; local 514 int offset, depth; local 572 int offset; local 597 int offset; local 753 int offset, err; local [all...] |
H A D | libfdt_internal.h | 65 int fdt_check_node_offset_(const void *fdt, int offset); 66 int fdt_check_prop_offset_(const void *fdt, int offset); 70 static inline const void *fdt_offset_ptr_(const void *fdt, int offset) argument 72 return (const char *)fdt + fdt_off_dt_struct(fdt) + offset; 75 static inline void *fdt_offset_ptr_w_(void *fdt, int offset) argument 77 return (void *)(uintptr_t)fdt_offset_ptr_(fdt, offset);
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 26 lldb::offset_t *offset, uint64_t *value, 28 const lldb::offset_t saved_offset = *offset; 29 *value = data.GetMaxU64(offset, byte_size); 30 return *offset != saved_offset; 34 lldb::offset_t *offset, uint64_t *value, 36 lldb::offset_t saved_offset = *offset; 39 if (!GetMaxU64(data, offset, value, byte_size)) { 40 *offset = saved_offset; 48 lldb::offset_t *offset, int64_t *value, 50 const lldb::offset_t saved_offset = *offset; 25 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size) argument 33 GetMaxU64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, uint64_t *value, uint32_t byte_size, uint32_t count) argument 47 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size) argument 55 GetMaxS64(const lldb_private::DataExtractor &data, lldb::offset_t *offset, int64_t *value, uint32_t byte_size, uint32_t count) argument 99 lldb::offset_t offset = 0; local 114 Parse(lldb_private::DataExtractor &data, lldb::offset_t *offset) argument 228 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument 325 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument 368 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument 406 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument 416 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument 428 Parse(const lldb_private::DataExtractor &data, lldb::offset_t *offset) argument [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/compression/ |
H A D | compress_003_pos.ksh | 61 typeset -i offset=0 78 (( offset = $RANDOM )) 79 if (( offset > blksize )); then 80 (( offset = offset % blksize )) 82 if (( (offset % 2) == 0 )); then 83 #keep offset as non-power-of-2 84 (( offset = offset + 1 )) 86 (( fsize = offset )) [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/compression/ |
H A D | compress_003_pos.ksh | 69 typeset -i offset=0 86 (( offset = $RANDOM )) 87 if (( offset > blksize )); then 88 (( offset = offset % blksize )) 90 if (( (offset % 2) == 0 )); then 91 #keep offset as non-power-of-2 92 (( offset = offset + 1 )) 94 (( fsize = offset )) [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Utility/ |
H A D | DataEncoder.cpp | 46 // Extract a single unsigned char from the binary data and update the offset 50 uint32_t DataEncoder::PutU8(uint32_t offset, uint8_t value) { argument 51 if (ValidOffset(offset)) { 52 m_data_sp->GetBytes()[offset] = value; 53 return offset + 1; 58 uint32_t DataEncoder::PutU16(uint32_t offset, uint16_t value) { argument 59 if (ValidOffsetForDataOfSize(offset, sizeof(value))) { 61 write16be(m_data_sp->GetBytes() + offset, value); 63 write16le(m_data_sp->GetBytes() + offset, value); 65 return offset 70 PutU32(uint32_t offset, uint32_t value) argument 82 PutU64(uint32_t offset, uint64_t value) argument 94 PutUnsigned(uint32_t offset, uint32_t byte_size, uint64_t value) argument 111 PutData(uint32_t offset, const void *src, uint32_t src_len) argument 123 PutAddress(uint32_t offset, lldb::addr_t addr) argument 127 PutCString(uint32_t offset, const char *cstr) argument 138 uint32_t offset = m_data_sp->GetByteSize(); local 144 uint32_t offset = m_data_sp->GetByteSize(); local 150 uint32_t offset = m_data_sp->GetByteSize(); local [all...] |
/freebsd-current/usr.sbin/fstyp/ |
H A D | hammer_disk.h | 84 #define HAMMER_OFF_SHORT_MASK 0x000FFFFFFFFFFFFFULL /* offset portion */ 85 #define HAMMER_OFF_LONG_MASK 0x0FFFFFFFFFFFFFFFULL /* offset portion */ 89 #define HAMMER_BUFSIZE_DOALIGN(offset) \ 90 (((offset) + HAMMER_BUFMASK) & ~HAMMER_BUFMASK) 91 #define HAMMER_BUFSIZE64_DOALIGN(offset) \ 92 (((offset) + HAMMER_BUFMASK64) & ~HAMMER_BUFMASK64) 94 #define HAMMER_XBUFSIZE_DOALIGN(offset) \ 95 (((offset) + HAMMER_XBUFMASK) & ~HAMMER_XBUFMASK) 96 #define HAMMER_XBUFSIZE64_DOALIGN(offset) \ 97 (((offset) [all...] |
/freebsd-current/sys/dev/sound/pci/ |
H A D | csavar.h | 61 int csa_readcodec(csa_res *resp, u_long offset, u_int32_t *data); 62 int csa_writecodec(csa_res *resp, u_long offset, u_int32_t data); 64 u_int32_t csa_readio(csa_res *resp, u_long offset); 65 void csa_writeio(csa_res *resp, u_long offset, u_int32_t data); 66 u_int32_t csa_readmem(csa_res *resp, u_long offset); 67 void csa_writemem(csa_res *resp, u_long offset, u_int32_t data);
|
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_init_ops.h | 97 #define STORE_RT_REG(hwfn, offset, val) \ 98 ecore_init_store_rt_reg(hwfn, offset, val) 100 #define OVERWRITE_RT_REG(hwfn, offset, val) \ 101 ecore_init_store_rt_reg(hwfn, offset, val) 118 #define STORE_RT_REG_AGG(hwfn, offset, val) \ 119 ecore_init_store_rt_agg(hwfn, offset, (u32*)&val, sizeof(val))
|
/freebsd-current/sbin/hastd/ |
H A D | rangelock.h | 42 int rangelock_add(struct rangelocks *rls, off_t offset, off_t length); 43 void rangelock_del(struct rangelocks *rls, off_t offset, off_t length); 44 bool rangelock_islocked(struct rangelocks *rls, off_t offset, off_t length);
|
/freebsd-current/sys/dev/hptmv/ |
H A D | mv.c | 49 MV_REG_WRITE_BYTE(MV_BUS_ADDR_T base, MV_U32 offset, MV_U8 val) argument 51 writeb((void *)((ULONG_PTR)base + offset), val); 55 MV_REG_WRITE_WORD(MV_BUS_ADDR_T base, MV_U32 offset, MV_U16 val) argument 57 writew((void *)((ULONG_PTR)base + offset), val); 61 MV_REG_WRITE_DWORD(MV_BUS_ADDR_T base, MV_U32 offset, MV_U32 val) argument 63 writel((void *)((ULONG_PTR)base + offset), val); 67 MV_REG_READ_BYTE(MV_BUS_ADDR_T base, MV_U32 offset) argument 69 return readb((void *)((ULONG_PTR)base + offset)); 73 MV_REG_READ_WORD(MV_BUS_ADDR_T base, MV_U32 offset) argument 75 return readw((void *)((ULONG_PTR)base + offset)); 79 MV_REG_READ_DWORD(MV_BUS_ADDR_T base, MV_U32 offset) argument [all...] |
/freebsd-current/sys/dev/drm2/ |
H A D | drm_vm.c | 46 drm_mmap(struct cdev *kdev, vm_ooffset_t offset, vm_paddr_t *paddr, argument 69 DRM_DEBUG("called with offset %016jx\n", offset); 70 if (dev->dma && offset < ptoa(dev->dma->page_count)) { 76 unsigned long page = offset >> PAGE_SHIFT; 98 if (offset >> DRM_MAP_HANDLE_SHIFT == 104 DRM_DEBUG("Can't find map, request offset = %016jx\n", offset); 106 DRM_DEBUG("map offset = %016lx, handle = %016lx\n", 107 map->offset, (unsigne [all...] |
/freebsd-current/sys/netinet/ |
H A D | sctp_crc32.c | 86 * which contains an SCTP packet starting at offset. 91 sctp_calculate_cksum(struct mbuf *m, int32_t offset) argument 97 KASSERT(offset < m->m_pkthdr.len, 98 ("%s: invalid offset %u into mbuf %p", __func__, offset, m)); 101 len = m->m_pkthdr.len - offset; 102 (void)m_apply(m, offset, len, sctp_calculate_cksum_cb, &base); 112 * mbuf chain m which contains an SCTP packet starting at offset. 115 sctp_delayed_cksum(struct mbuf *m, uint32_t offset) argument 119 checksum = sctp_calculate_cksum(m, offset); [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | PdbSymUid.h | 46 PdbCompilandSymId(uint16_t modi, uint32_t offset) argument 47 : modi(modi), offset(offset) {} 52 // offset by 4 from the CVSymbolArray's notion of offset 54 uint32_t offset = 0; member in struct:lldb_private::npdb::PdbCompilandSymId 59 PdbGlobalSymId(uint32_t offset, bool is_public) argument 60 : offset(offset), is_public(is_public) {} 63 uint32_t offset member in struct:lldb_private::npdb::PdbGlobalSymId 88 uint16_t offset = 0; member in struct:lldb_private::npdb::PdbFieldListMemberId [all...] |
/freebsd-current/contrib/ntp/scripts/stats/ |
H A D | loop.S | 2 loop <- scan(file1, list(day=0, sec=0, offset=0, freq=0, tc=0)) 3 loop$offset <- loop$offset * 1e6 7 plot(loop$sec, loop$offset, type="l", xlab=paste("MJD", loop$day, "Time (s)"), ylab="PLL Offset (us)", ylim=c(-400, 400))
|
/freebsd-current/sys/contrib/device-tree/include/dt-bindings/gpio/ |
H A D | tegra194-gpio.h | 48 #define TEGRA194_MAIN_GPIO(port, offset) \ 49 ((TEGRA194_MAIN_GPIO_PORT_##port * 8) + offset) 58 #define TEGRA194_AON_GPIO(port, offset) \ 59 ((TEGRA194_AON_GPIO_PORT_##port * 8) + offset)
|
H A D | tegra186-gpio.h | 41 #define TEGRA186_MAIN_GPIO(port, offset) \ 42 ((TEGRA186_MAIN_GPIO_PORT_##port * 8) + offset) 54 #define TEGRA186_AON_GPIO(port, offset) \ 55 ((TEGRA186_AON_GPIO_PORT_##port * 8) + offset)
|
/freebsd-current/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_pagelist.h | 47 unsigned short offset; member in struct:pagelist_struct
|