| /src/usr.sbin/bhyve/amd64/ |
| H A D | pci_gvt-d-opregion.h | 43 /// Offset 0x0, Size 0x100 46 int8_t sign[0x10]; ///< Offset 0x00 OpRegion Signature 47 uint32_t size; ///< Offset 0x10 OpRegion Size 48 uint32_t over; ///< Offset 0x14 OpRegion Structure Version 49 uint8_t sver[0x20]; ///< Offset 0x18 System BIOS Build Version 50 uint8_t vver[0x10]; ///< Offset 0x38 Video BIOS Build Version 51 uint8_t gver[0x10]; ///< Offset 0x48 Graphic Driver Build Version 52 uint32_t mbox; ///< Offset 0x58 Supported Mailboxes 53 uint32_t dmod; ///< Offset 0x5C Driver Model 54 uint32_t pcon; ///< Offset 0x60 Platform Configuration [all …]
|
| /src/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | ph.h | 75 phn_link_get(void *phn, size_t offset) { in phn_link_get() argument 76 return (phn_link_t *)(((uintptr_t)phn) + offset); in phn_link_get() 80 phn_link_init(void *phn, size_t offset) { in phn_link_init() argument 81 phn_link_get(phn, offset)->prev = NULL; in phn_link_init() 82 phn_link_get(phn, offset)->next = NULL; in phn_link_init() 83 phn_link_get(phn, offset)->lchild = NULL; in phn_link_init() 88 phn_lchild_get(void *phn, size_t offset) { in phn_lchild_get() argument 89 return phn_link_get(phn, offset)->lchild; in phn_lchild_get() 93 phn_lchild_set(void *phn, void *lchild, size_t offset) { in phn_lchild_set() argument 94 phn_link_get(phn, offset)->lchild = lchild; in phn_lchild_set() [all …]
|
| /src/tools/regression/geom/Data/ |
| H A D | disk.msdos.ext.xml | 9 <offset>0</offset> 30 <offset>512</offset> 51 <offset>2146798080</offset> 72 <offset>2155023360</offset> 93 <offset>2163248640</offset> 114 <offset>2171473920</offset> 135 <offset>2179699200</offset> 156 <offset>2187924480</offset> 177 <offset>2196149760</offset> 198 <offset>2204375040</offset> [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MachOBuilder.h | 28 size_t writeMachOStruct(MutableArrayRef<char> Buf, size_t Offset, MachOStruct S, in writeMachOStruct() argument 32 assert(Offset + sizeof(MachOStruct) <= Buf.size() && "Buffer overflow"); in writeMachOStruct() 33 memcpy(&Buf[Offset], reinterpret_cast<const char *>(&S), sizeof(MachOStruct)); in writeMachOStruct() 34 return Offset + sizeof(MachOStruct); in writeMachOStruct() 41 virtual size_t write(MutableArrayRef<char> Buf, size_t Offset, 63 size_t write(MutableArrayRef<char> Buf, size_t Offset, \ 65 return writeMachOStruct(Buf, Offset, rawStruct(), SwapStruct); \ 97 size_t write(MutableArrayRef<char> Buf, size_t Offset, 99 Offset = writeMachOStruct(Buf, Offset, rawStruct(), SwapStruct); 100 strcpy(Buf.data() + Offset, Name.data()); [all …]
|
| /src/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ARMWinEHPrinter.cpp | 95 uint64_t Offset = 0) { in formatSymbol() argument 102 if (Offset) in formatSymbol() 103 OS << format("+0x%" PRIX64 " (0x%" PRIX64 ")", Offset, Address); in formatSymbol() 255 uint64_t Offset) { in getRelocatedSymbol() argument 258 if (RelocationOffset == Offset) in getRelocatedSymbol() 278 uint32_t Offset = CoffSym.getValue() + SymbolOffset - CS.getValue(); in getPreferredSymbol() local 279 if (Offset <= SymbolOffset) { in getPreferredSymbol() 280 SymbolOffset = Offset; in getPreferredSymbol() 295 // Try to locate a relocation that points at the offset in the section in getSymbolForLocation() 299 // We found a relocation symbol; the immediate offset needs to be added in getSymbolForLocation() [all …]
|
| H A D | ARMWinEHPrinter.h | 38 bool opcode_0xxxxxxx(const uint8_t *Opcodes, unsigned &Offset, 40 bool opcode_10Lxxxxx(const uint8_t *Opcodes, unsigned &Offset, 42 bool opcode_1100xxxx(const uint8_t *Opcodes, unsigned &Offset, 44 bool opcode_11010Lxx(const uint8_t *Opcodes, unsigned &Offset, 46 bool opcode_11011Lxx(const uint8_t *Opcodes, unsigned &Offset, 48 bool opcode_11100xxx(const uint8_t *Opcodes, unsigned &Offset, 50 bool opcode_111010xx(const uint8_t *Opcodes, unsigned &Offset, 52 bool opcode_1110110L(const uint8_t *Opcodes, unsigned &Offset, 54 bool opcode_11101110(const uint8_t *Opcodes, unsigned &Offset, 56 bool opcode_11101111(const uint8_t *Opcodes, unsigned &Offset, [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64TargetStreamer.h | 48 virtual void emitARM64WinCFISaveR19R20X(int Offset) {} in emitARM64WinCFISaveR19R20X() argument 49 virtual void emitARM64WinCFISaveFPLR(int Offset) {} in emitARM64WinCFISaveFPLR() argument 50 virtual void emitARM64WinCFISaveFPLRX(int Offset) {} in emitARM64WinCFISaveFPLRX() argument 51 virtual void emitARM64WinCFISaveReg(unsigned Reg, int Offset) {} in emitARM64WinCFISaveReg() argument 52 virtual void emitARM64WinCFISaveRegX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegX() argument 53 virtual void emitARM64WinCFISaveRegP(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegP() argument 54 virtual void emitARM64WinCFISaveRegPX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveRegPX() argument 55 virtual void emitARM64WinCFISaveLRPair(unsigned Reg, int Offset) {} in emitARM64WinCFISaveLRPair() argument 56 virtual void emitARM64WinCFISaveFReg(unsigned Reg, int Offset) {} in emitARM64WinCFISaveFReg() argument 57 virtual void emitARM64WinCFISaveFRegX(unsigned Reg, int Offset) {} in emitARM64WinCFISaveFRegX() argument [all …]
|
| H A D | AArch64WinCOFFStreamer.cpp | 67 // 2) take an offset: SEH_StackAlloc, SEH_SaveFPLR, SEH_SaveFPLR_X 68 // 3) take a register and an offset/size: all others 70 int Reg, int Offset) { in emitARM64WinUnwindCode() argument 75 auto Inst = WinEH::Instruction(UnwindCode, /*Label=*/nullptr, Reg, Offset); in emitARM64WinUnwindCode() 91 void AArch64TargetWinCOFFStreamer::emitARM64WinCFISaveR19R20X(int Offset) { in emitARM64WinCFISaveR19R20X() argument 92 emitARM64WinUnwindCode(Win64EH::UOP_SaveR19R20X, -1, Offset); in emitARM64WinCFISaveR19R20X() 95 void AArch64TargetWinCOFFStreamer::emitARM64WinCFISaveFPLR(int Offset) { in emitARM64WinCFISaveFPLR() argument 96 emitARM64WinUnwindCode(Win64EH::UOP_SaveFPLR, -1, Offset); in emitARM64WinCFISaveFPLR() 99 void AArch64TargetWinCOFFStreamer::emitARM64WinCFISaveFPLRX(int Offset) { in emitARM64WinCFISaveFPLRX() argument 100 emitARM64WinUnwindCode(Win64EH::UOP_SaveFPLRX, -1, Offset); in emitARM64WinCFISaveFPLRX() [all …]
|
| /src/sys/contrib/libfdt/ |
| H A D | fdt_ro.c | 58 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_() argument 62 const char *p = fdt_get_name(fdt, offset, &olen); in fdt_nodename_eq_() 95 int offset; in fdt_get_max_phandle() local 97 for (offset = fdt_next_node(fdt, -1, NULL);; in fdt_get_max_phandle() 98 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_get_max_phandle() 101 if (offset == -FDT_ERR_NOTFOUND) in fdt_get_max_phandle() 104 if (offset < 0) in fdt_get_max_phandle() 107 phandle = fdt_get_phandle(fdt, offset); in fdt_get_max_phandle() 135 static int nextprop_(const void *fdt, int offset) in nextprop_() argument 141 tag = fdt_next_tag(fdt, offset, &nextoffset); in nextprop_() [all …]
|
| H A D | fdt.c | 77 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr() argument 79 unsigned absoffset = offset + fdt_off_dt_struct(fdt); in fdt_offset_ptr() 81 if ((absoffset < offset) in fdt_offset_ptr() 87 if (((offset + len) < offset) in fdt_offset_ptr() 88 || ((offset + len) > fdt_size_dt_struct(fdt))) in fdt_offset_ptr() 91 return fdt_offset_ptr_(fdt, offset); in fdt_offset_ptr() 98 int offset = startoffset; in fdt_next_tag() local 102 tagp = fdt_offset_ptr(fdt, offset, FDT_TAGSIZE); in fdt_next_tag() 106 offset += FDT_TAGSIZE; in fdt_next_tag() 113 p = fdt_offset_ptr(fdt, offset++, 1); in fdt_next_tag() [all …]
|
| /src/sys/contrib/dev/athk/ath10k/ |
| H A D | qmi_wlfw_v01.c | 18 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 27 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 36 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 45 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 54 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 67 .offset = offsetof(struct wlfw_ce_svc_pipe_cfg_s_v01, 76 .offset = offsetof(struct wlfw_ce_svc_pipe_cfg_s_v01, 85 .offset = offsetof(struct wlfw_ce_svc_pipe_cfg_s_v01, 98 .offset = offsetof(struct wlfw_shadow_reg_cfg_s_v01, 107 .offset = offsetof(struct wlfw_shadow_reg_cfg_s_v01, [all …]
|
| /src/contrib/ofed/libibnetdisc/ |
| H A D | ibnetdisc_cache.c | 228 size_t offset = 0; in _load_header_info() local 234 offset += _unmarshall32(buf + offset, &magic); in _load_header_info() 241 offset += _unmarshall32(buf + offset, &version); in _load_header_info() 248 offset += _unmarshall32(buf + offset, node_count); in _load_header_info() 249 offset += _unmarshall32(buf + offset, port_count); in _load_header_info() 251 offset += _unmarshall64(buf + offset, &fabric_cache->from_node_guid); in _load_header_info() 252 offset += _unmarshall32(buf + offset, &tmp32); in _load_header_info() 316 size_t offset = 0; in _load_node() local 339 offset += _unmarshall16(buf + offset, &node->smalid); in _load_node() 340 offset += _unmarshall8(buf + offset, &node->smalmc); in _load_node() [all …]
|
| /src/share/man/man9/ |
| H A D | bus_space.9 | 158 .Fa "bus_size_t offset" "bus_size_t size" "bus_space_handle_t *nhandlep" 172 .Fa "bus_space_tag_t space" "bus_space_handle_t handle" "bus_size_t offset" 177 .Fa "bus_space_tag_t space" "bus_space_handle_t handle" "bus_size_t offset" 182 .Fa "bus_space_tag_t space" "bus_space_handle_t handle" "bus_size_t offset" 187 .Fa "bus_space_tag_t space" "bus_space_handle_t handle" "bus_size_t offset" 192 .Fa "bus_space_tag_t space" "bus_space_handle_t handle" "bus_size_t offset" 197 .Fa "bus_space_tag_t space" "bus_space_handle_t handle" "bus_size_t offset" 202 .Fa "bus_space_tag_t space" "bus_space_handle_t handle" "bus_size_t offset" 207 .Fa "bus_space_tag_t space" "bus_space_handle_t handle" "bus_size_t offset" 212 .Fa "bus_space_tag_t space" "bus_space_handle_t handle" "bus_size_t offset" [all …]
|
| /src/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | DataExtractor.h | 118 /// settings are copied from \a data. If \a offset is not a valid offset in 120 /// are not \a length bytes available in \a data starting at \a offset, the 126 /// \param[in] offset 127 /// The offset into \a data at which the subset starts. 134 DataExtractor(const DataExtractor &data, lldb::offset_t offset, 179 /// \a s is nullptr) starting \a offset bytes into the data and stopping 180 /// after dumping \a length bytes. The offset into the data is displayed at 181 /// the beginning of each line and can be offset by base address \a 187 /// \param[in] offset 188 /// The offset into the data at which to start dumping. [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | DataExtractor.h | 52 /// attempting to parse and without updating the Cursor offset. After clearing 55 uint64_t Offset; variable 61 /// Construct a cursor for extraction from the given offset. 62 explicit Cursor(uint64_t Offset) : Offset(Offset), Err(Error::success()) {} in Cursor() argument 71 uint64_t tell() const { return Offset; } in tell() 73 /// Set the cursor to the new offset. This does not impact the error state. 74 void seek(uint64_t NewOffSet) { Offset = NewOffSet; } in seek() 105 /// Returns a pointer to a C String from the data at the offset 108 /// updated with the offset of the byte that follows the NULL 112 /// A pointer to an offset within the data that will be advanced [all …]
|
| /src/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) { in PutU8() argument 51 if (ValidOffset(offset)) { in PutU8() 52 m_data_sp->GetBytes()[offset] = value; in PutU8() 53 return offset + 1; in PutU8() 58 uint32_t DataEncoder::PutU16(uint32_t offset, uint16_t value) { in PutU16() argument 59 if (ValidOffsetForDataOfSize(offset, sizeof(value))) { in PutU16() 61 write16be(m_data_sp->GetBytes() + offset, value); in PutU16() 63 write16le(m_data_sp->GetBytes() + offset, value); in PutU16() 65 return offset + sizeof(value); in PutU16() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VERegisterInfo.cpp | 80 VE::SX15, // Global offset table register in getReservedRegs() 106 // Default offset in instruction's operands (reg+reg+imm). in offsetToDisp() 160 // offset if the offset doesn't fit in the immediate field. Use a clobber 162 void prepareReplaceFI(MachineInstr &MI, Register &FrameReg, int64_t &Offset, 164 // Replace the frame index in \p MI with a frame register and a given offset 167 void replaceFI(MachineInstr &MI, Register FrameReg, int64_t Offset, 171 void processSTQ(MachineInstr &MI, Register FrameReg, int64_t Offset, 173 void processLDQ(MachineInstr &MI, Register FrameReg, int64_t Offset, 176 void processSTVM(MachineInstr &MI, Register FrameReg, int64_t Offset, 178 void processLDVM(MachineInstr &MI, Register FrameReg, int64_t Offset, [all …]
|
| /src/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/ |
| H A D | EmulateInstructionMIPS64.cpp | 667 {"SD", &EmulateInstructionMIPS64::Emulate_SD, "SD rt, offset(rs)"}, in GetOpcodeForInstruction() 668 {"LD", &EmulateInstructionMIPS64::Emulate_LD, "LD rt, offset(base)"}, in GetOpcodeForInstruction() 688 "LB rt, offset(base)"}, in GetOpcodeForInstruction() 690 "LBE rt, offset(base)"}, in GetOpcodeForInstruction() 692 "LBU rt, offset(base)"}, in GetOpcodeForInstruction() 694 "LBUE rt, offset(base)"}, in GetOpcodeForInstruction() 696 "LDC1 ft, offset(base)"}, in GetOpcodeForInstruction() 698 "LDL rt, offset(base)"}, in GetOpcodeForInstruction() 700 "LDR rt, offset(base)"}, in GetOpcodeForInstruction() 702 "LLD rt, offset(base)"}, in GetOpcodeForInstruction() [all …]
|
| /src/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
| H A D | RISCVCInstructions.h | 54 uint16_t offset = ((inst << 4) & 0xc0) // offset[7:6] in DecodeC_LWSP() local 55 | ((inst >> 7) & 0x20) // offset[5] in DecodeC_LWSP() 56 | ((inst >> 2) & 0x1c); // offset[4:2] in DecodeC_LWSP() 59 return LW{rd, Rs{gpr_sp_riscv}, uint32_t(offset)}; in DecodeC_LWSP() 64 uint16_t offset = ((inst << 4) & 0x1c0) // offset[8:6] in DecodeC_LDSP() local 65 | ((inst >> 7) & 0x20) // offset[5] in DecodeC_LDSP() 66 | ((inst >> 2) & 0x18); // offset[4:3] in DecodeC_LDSP() 69 return LD{rd, Rs{gpr_sp_riscv}, uint32_t(offset)}; in DecodeC_LDSP() 73 uint16_t offset = ((inst >> 1) & 0xc0) // offset[7:6] in DecodeC_SWSP() local 74 | ((inst >> 7) & 0x3c); // offset[5:2] in DecodeC_SWSP() [all …]
|
| /src/stand/kshim/ |
| H A D | bsd_busspace.c | 41 bus_size_t offset, bus_size_t size, bus_space_handle_t *nbshp) in bus_space_subregion() argument 44 *nbshp = bsh + offset; in bus_space_subregion() 50 bus_size_t offset, uint8_t *datap, bus_size_t count) in bus_space_read_multi_1() argument 53 *datap++ = bus_space_read_1(t, h, offset); in bus_space_read_multi_1() 59 bus_size_t offset, uint16_t *datap, bus_size_t count) in bus_space_read_multi_2() argument 62 *datap++ = bus_space_read_2(t, h, offset); in bus_space_read_multi_2() 68 bus_size_t offset, uint32_t *datap, bus_size_t count) in bus_space_read_multi_4() argument 70 h += offset; in bus_space_read_multi_4() 79 bus_size_t offset, uint8_t *datap, bus_size_t count) in bus_space_write_multi_1() argument 84 bus_space_write_1(t, h, offset, temp); in bus_space_write_multi_1() [all …]
|
| /src/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_iores.c | 50 size_t offset; /**< offset within res */ member 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, in bhnd_nvram_iores_new() argument 94 /* offset/size must not exceed our internal size_t representation, in bhnd_nvram_iores_new() 97 if (size > SIZE_MAX || offset > SIZE_MAX) { in bhnd_nvram_iores_new() 98 BHND_NV_LOG("offset %#jx+%#jx exceeds SIZE_MAX\n", in bhnd_nvram_iores_new() 99 (uintmax_t)offset, (uintmax_t)offset); in bhnd_nvram_iores_new() 103 if (size > BUS_SPACE_MAXSIZE || offset > BUS_SPACE_MAXSIZE) in bhnd_nvram_iores_new() 105 BHND_NV_LOG("offset %#jx+%#jx exceeds BUS_SPACE_MAXSIZE\n", in bhnd_nvram_iores_new() [all …]
|
| /src/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/ |
| H A D | EmulateInstructionMIPS.cpp | 678 {"SW", &EmulateInstructionMIPS::Emulate_SW, "SW rt, offset(rs)"}, in GetOpcodeForInstruction() 679 {"LW", &EmulateInstructionMIPS::Emulate_LW, "LW rt, offset(base)"}, in GetOpcodeForInstruction() 689 {"SWSP_MM", &EmulateInstructionMIPS::Emulate_SWSP, "SWSP rt,offset(sp)"}, in GetOpcodeForInstruction() 691 "SWM16 reglist,offset(sp)"}, in GetOpcodeForInstruction() 693 "SWM32 reglist,offset(base)"}, in GetOpcodeForInstruction() 695 "SWP rs1,offset(base)"}, in GetOpcodeForInstruction() 696 {"LWSP_MM", &EmulateInstructionMIPS::Emulate_LWSP, "LWSP rt,offset(sp)"}, in GetOpcodeForInstruction() 698 "LWM16 reglist,offset(sp)"}, in GetOpcodeForInstruction() 700 "LWM32 reglist,offset(base)"}, in GetOpcodeForInstruction() 702 "LWP rd,offset(base)"}, in GetOpcodeForInstruction() [all …]
|
| /src/sys/contrib/device-tree/include/dt-bindings/reset/ |
| H A D | rockchip,rk3562-cru.h | 11 /********Name=SOFTRST_CON01,Offset=0x404********/ 15 /********Name=SOFTRST_CON03,Offset=0x40C********/ 25 /********Name=SOFTRST_CON04,Offset=0x410********/ 29 /********Name=SOFTRST_CON05,Offset=0x414********/ 33 /********Name=SOFTRST_CON06,Offset=0x418********/ 39 /********Name=SOFTRST_CON08,Offset=0x420********/ 44 /********Name=SOFTRST_CON09,Offset=0x424********/ 50 /********Name=SOFTRST_CON10,Offset=0x428********/ 56 /********Name=SOFTRST_CON11,Offset=0x42C********/ 68 /********Name=SOFTRST_CON12,Offset=0x430********/ [all …]
|
| /src/contrib/llvm-project/lldb/source/API/ |
| H A D | SBData.cpp | 117 float SBData::GetFloat(lldb::SBError &error, lldb::offset_t offset) { in GetFloat() argument 118 LLDB_INSTRUMENT_VA(this, error, offset); in GetFloat() 124 uint32_t old_offset = offset; in GetFloat() 125 value = m_opaque_sp->GetFloat(&offset); in GetFloat() 126 if (offset == old_offset) in GetFloat() 132 double SBData::GetDouble(lldb::SBError &error, lldb::offset_t offset) { in GetDouble() argument 133 LLDB_INSTRUMENT_VA(this, error, offset); in GetDouble() 139 uint32_t old_offset = offset; in GetDouble() 140 value = m_opaque_sp->GetDouble(&offset); in GetDouble() 141 if (offset == old_offset) in GetDouble() [all …]
|
| /src/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| H A D | ELFHeader.cpp | 26 lldb::offset_t *offset, uint64_t *value, in GetMaxU64() argument 28 const lldb::offset_t saved_offset = *offset; in GetMaxU64() 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 30 return *offset != saved_offset; in GetMaxU64() 34 lldb::offset_t *offset, uint64_t *value, in GetMaxU64() argument 36 lldb::offset_t saved_offset = *offset; in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 40 *offset = saved_offset; in GetMaxU64() 48 lldb::offset_t *offset, int64_t *value, in GetMaxS64() argument 50 const lldb::offset_t saved_offset = *offset; in GetMaxS64() [all …]
|