Home
last modified time | relevance | path

Searched refs:offset (Results 176 – 200 of 2063) sorted by relevance

12345678910>>...83

/dragonfly/bin/dd/
H A Dposition.c58 n = io->offset; in seek_offset()
61 _Static_assert(sizeof(io->offset) == sizeof(int64_t), "64-bit off_t"); in seek_offset()
104 if (in.offset < 0) in pos_in()
112 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) { in pos_in()
175 if (out.offset < 0) in pos_out()
181 t_op.mt_count = out.offset; in pos_out()
189 for (cnt = 0; cnt < out.offset; ++cnt) { in pos_out()
206 while (cnt++ < out.offset) { in pos_out()
/dragonfly/contrib/gcc-4.7/gcc/
H A Drtlhooks.c56 int offset = 0; in gen_lowpart_general() local
69 offset = (MAX (GET_MODE_SIZE (GET_MODE (x)), UNITS_PER_WORD) in gen_lowpart_general()
75 offset -= (MIN (UNITS_PER_WORD, GET_MODE_SIZE (mode)) in gen_lowpart_general()
78 return adjust_address (x, mode, offset); in gen_lowpart_general()
142 int offset = 0; in gen_lowpart_if_possible() local
146 offset = (MAX (GET_MODE_SIZE (GET_MODE (x)), UNITS_PER_WORD) in gen_lowpart_if_possible()
151 offset -= (MIN (UNITS_PER_WORD, GET_MODE_SIZE (mode)) in gen_lowpart_if_possible()
154 new_rtx = adjust_address_nv (x, mode, offset); in gen_lowpart_if_possible()
H A Dtree-sra.c798 access->offset = offset; in create_access_1()
1334 if (f1->offset != f2->offset) in compare_access_positions()
1335 return f1->offset < f2->offset ? -1 : 1; in compare_access_positions()
1665 else if (pos > offset || (pos + size) <= offset) in build_user_friendly_ref_for_offset()
1694 offset = offset % el_size; in build_user_friendly_ref_for_offset()
2337 HOST_WIDE_INT norm_delta = lacc->offset - racc->offset; in propagate_subaccesses_across_link()
2802 HOST_WIDE_INT offset = lacc->offset - left_offset + top_racc->offset; in load_assign_lhs_subreplacements() local
3898 if (ac2->offset != access->offset) in splice_param_accesses()
3901 if (access->offset + access->size > ac2->offset) in splice_param_accesses()
4161 adj->offset = repr->offset; in turn_representatives_into_adjustments()
[all …]
/dragonfly/contrib/binutils-2.27/gas/
H A Dliteral.c50 valueT offset; in add_to_literal_pool() local
56 offset = 0; in add_to_literal_pool()
63 fixp = fixp->fx_next, offset += size) in add_to_literal_pool()
66 return offset; in add_to_literal_pool()
88 offset = seginfo->literal_pool_size; in add_to_literal_pool()
90 return offset; in add_to_literal_pool()
/dragonfly/contrib/binutils-2.34/gas/
H A Ddw2gencfi.c548 insn_ptr->u.ri.offset = offset; in cfi_add_CFA_insn_reg_offset()
814 offsetT offset; in dot_cfi() local
881 + offset); in dot_cfi()
1587 offsetT offset; in output_cfi_insn() local
1650 offset = insn->u.ri.offset; in output_cfi_insn()
1651 if (offset < 0) in output_cfi_insn()
1674 if (offset < 0) in output_cfi_insn()
1701 offset = insn->u.ri.offset / DWARF2_CIE_DATA_ALIGNMENT; in output_cfi_insn()
1702 if (offset < 0) in output_cfi_insn()
1723 offset = insn->u.ri.offset / DWARF2_CIE_DATA_ALIGNMENT; in output_cfi_insn()
[all …]
/dragonfly/contrib/gcc-4.7/libgcc/
H A Dunwind-dw2.c683 offset = *op_ptr++; in execute_stack_op()
868 offset = read_2s (op_ptr); in execute_stack_op()
870 op_ptr += offset; in execute_stack_op()
877 offset = read_2s (op_ptr); in execute_stack_op()
880 op_ptr += offset; in execute_stack_op()
944 fs->regs.reg[DWARF_REG_TO_UNWIND_COLUMN (reg)].loc.offset = offset; in execute_cfa_program()
982 fs->regs.reg[DWARF_REG_TO_UNWIND_COLUMN (reg)].loc.offset = offset; in execute_cfa_program()
1083 fs->regs.reg[DWARF_REG_TO_UNWIND_COLUMN (reg)].loc.offset = offset; in execute_cfa_program()
1108 fs->regs.reg[DWARF_REG_TO_UNWIND_COLUMN (reg)].loc.offset = offset; in execute_cfa_program()
1117 fs->regs.reg[DWARF_REG_TO_UNWIND_COLUMN (reg)].loc.offset = offset; in execute_cfa_program()
[all …]
/dragonfly/usr.bin/sort/
H A Dbwstring.c388 if (offset >= src->len) { in bwsnocpy()
588 if (len1 <= offset) { in bwsncmp()
591 if (len2 <= offset) in bwsncmp()
594 len1 -= offset; in bwsncmp()
595 len2 -= offset; in bwsncmp()
643 len1 -= offset; in bwscmp()
644 len2 -= offset; in bwscmp()
689 if (len1 <= offset) in bwscoll()
692 if (len2 <= offset) in bwscoll()
695 len1 -= offset; in bwscoll()
[all …]
/dragonfly/contrib/ncurses/ncurses/tinfo/
H A Dwrite_entry.c68 unsigned offset = 0; in write_file() local
84 if (actual != offset) { in write_file()
95 offset, in write_file()
281 unsigned offset = 0; in _nc_write_entry() local
360 data.size = offset + 1; in _nc_write_entry()
536 unsigned *offset, in fake_write() argument
542 size_t have = (limit - *offset); in fake_write()
548 memcpy(dst + *offset, src, want); in fake_write()
549 *offset += (unsigned) want; in fake_write()
898 TRACE_OUT(("WRITE offsets @%d", *offset)); in _nc_write_object()
[all …]
/dragonfly/sys/dev/drm/ttm/
H A Dttm_bo_vm.c330 unsigned long offset, in ttm_bo_vm_access_kmap() argument
333 unsigned long page = offset >> PAGE_SHIFT; in ttm_bo_vm_access_kmap()
340 offset -= page << PAGE_SHIFT; in ttm_bo_vm_access_kmap()
362 offset = 0; in ttm_bo_vm_access_kmap()
371 unsigned long offset = (addr) - vma->vm_start; in ttm_bo_vm_access() local
396 bo, offset, buf, len, write); in ttm_bo_vm_access()
414 unsigned long offset, in ttm_bo_vm_lookup() argument
674 bo->mem.bus.offset + offset); in ttm_bo_vm_fault_dfly()
780 vm_ooffset_t *offset, vm_size_t size, in ttm_bo_mmap_single() argument
792 vma.vm_start = *offset; /* bdev-relative offset */ in ttm_bo_mmap_single()
[all …]
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_ondisk.c257 (intmax_t)vol->offset); in hammer2_verify_volumes_common()
330 if (vol->offset) { in hammer2_verify_volumes_1()
332 (intmax_t)vol->offset); in hammer2_verify_volumes_1()
404 path, (intmax_t)vol->offset, in hammer2_verify_volumes_2()
415 if (vol->offset != (vol-1)->offset + (vol-1)->size) { in hammer2_verify_volumes_2()
417 path, (intmax_t)vol->offset); in hammer2_verify_volumes_2()
421 if (vol->offset) { in hammer2_verify_volumes_2()
423 path, (intmax_t)vol->offset); in hammer2_verify_volumes_2()
593 vol->offset = (hammer2_off_t)-1; in hammer2_init_volumes()
711 if ((offset >= vol->offset) && in hammer2_get_volume()
[all …]
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_ondisk.c227 (intmax_t)vol->offset); in hammer2_verify_volumes_common()
318 if (vol->offset) { in hammer2_verify_volumes_1()
320 (intmax_t)vol->offset); in hammer2_verify_volumes_1()
392 path, (intmax_t)vol->offset, in hammer2_verify_volumes_2()
403 if (vol->offset != (vol-1)->offset + (vol-1)->size) { in hammer2_verify_volumes_2()
405 path, (intmax_t)vol->offset); in hammer2_verify_volumes_2()
409 if (vol->offset) { in hammer2_verify_volumes_2()
411 path, (intmax_t)vol->offset); in hammer2_verify_volumes_2()
591 vol->offset = (hammer2_off_t)-1; in hammer2_init_vfsvolumes()
709 if ((offset >= vol->offset) && in hammer2_get_volume_from_hmp()
[all …]
/dragonfly/sys/dev/disk/nata/chipsets/
H A Data-intel.c211 ch->r_io[ATA_IDX_ADDR].offset = 0x00; in ata_intel_allocate()
213 ch->r_io[ATA_IDX_DATA].offset = 0x04; in ata_intel_allocate()
396 ch->r_io[ATA_DATA].offset = ch_offset + 0x00; in ata_intel_31244_allocate()
397 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x06; in ata_intel_31244_allocate()
398 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08; in ata_intel_31244_allocate()
399 ch->r_io[ATA_SECTOR].offset = ch_offset + 0x0c; in ata_intel_31244_allocate()
400 ch->r_io[ATA_CYL_LSB].offset = ch_offset + 0x10; in ata_intel_31244_allocate()
401 ch->r_io[ATA_CYL_MSB].offset = ch_offset + 0x14; in ata_intel_31244_allocate()
402 ch->r_io[ATA_DRIVE].offset = ch_offset + 0x18; in ata_intel_31244_allocate()
404 ch->r_io[ATA_ERROR].offset = ch_offset + 0x04; in ata_intel_31244_allocate()
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Dcp-valprint.c159 const gdb_byte *valaddr, int offset, in cp_print_value_fields() argument
200 offset, address, stream, in cp_print_value_fields()
365 offset + TYPE_FIELD_BITPOS (type, i) / 8, in cp_print_value_fields()
428 const gdb_byte *valaddr, int offset, in cp_print_value_fields_rtti() argument
448 address + offset); in cp_print_value_fields_rtti()
468 const gdb_byte *valaddr, int offset, in cp_print_value() argument
515 thisoffset = offset; in cp_print_value()
536 if ((boffset + offset) < 0 in cp_print_value()
722 LONGEST offset) in cp_find_class_member() argument
737 if (offset == bitpos) in cp_find_class_member()
[all …]
/dragonfly/sys/dev/drm/i915/gvt/
H A Dgvt.h203 i915_reg_t offset; member
402 u32 offset, u32 val, bool low) in intel_vgpu_write_pci_bar() argument
407 offset = rounddown(offset, 4); in intel_vgpu_write_pci_bar()
408 pval = (u32 *)(vgpu_cfg_space(vgpu) + offset); in intel_vgpu_write_pci_bar()
536 struct intel_gvt *gvt, unsigned int offset) in intel_gvt_mmio_set_accessed() argument
538 gvt->mmio.mmio_attribute[offset >> 2] |= F_ACCESSED; in intel_gvt_mmio_set_accessed()
548 struct intel_gvt *gvt, unsigned int offset) in intel_gvt_mmio_is_cmd_access() argument
560 struct intel_gvt *gvt, unsigned int offset) in intel_gvt_mmio_is_unalign() argument
572 struct intel_gvt *gvt, unsigned int offset) in intel_gvt_mmio_set_cmd_accessed() argument
574 gvt->mmio.mmio_attribute[offset >> 2] |= F_CMD_ACCESSED; in intel_gvt_mmio_set_cmd_accessed()
[all …]
/dragonfly/usr.sbin/installer/dfuife_curses/
H A Dcurses_widget.c111 w->offset = 0; in curses_widget_new()
180 charpos = w->offset; in curses_widget_draw()
197 if (w->curpos - w->offset < w->width - 2) { in curses_widget_draw()
305 w->offset++; in curses_textbox_advance_char()
319 if (w->curpos < w->offset) in curses_textbox_retreat_char()
320 w->offset--; in curses_textbox_retreat_char()
333 w->offset = 0; in curses_textbox_home()
344 w->offset++; in curses_textbox_end()
368 w->offset++; in curses_textbox_insert_char()
389 if (w->curpos < w->offset) in curses_textbox_backspace_char()
[all …]
/dragonfly/sys/dev/raid/hpt27xx/
H A Dhpt27xx_os_bsd.c51 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) in os_pci_readb() argument
53 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); in os_pci_readb()
56 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) in os_pci_readw() argument
58 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); in os_pci_readw()
61 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) in os_pci_readl() argument
63 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); in os_pci_readl()
66 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) in os_pci_writeb() argument
68 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); in os_pci_writeb()
71 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) in os_pci_writew() argument
73 pci_write_config(((PHBA)osext)->pcidev, offset, value, 2); in os_pci_writew()
[all …]
/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_genn.c70 .offset = offsetof(OTHERNAME, type_id),
78 .offset = offsetof(OTHERNAME, value),
125 .offset = offsetof(EDIPARTYNAME, nameAssigner),
132 .offset = offsetof(EDIPARTYNAME, partyName),
178 .offset = offsetof(GENERAL_NAME, d.otherName),
185 .offset = offsetof(GENERAL_NAME, d.rfc822Name),
192 .offset = offsetof(GENERAL_NAME, d.dNSName),
200 .offset = offsetof(GENERAL_NAME, d.x400Address),
215 .offset = offsetof(GENERAL_NAME, d.ediPartyName),
229 .offset = offsetof(GENERAL_NAME, d.iPAddress),
[all …]
/dragonfly/sys/dev/sound/pcm/
H A Dmatrix_map.h88 .offset = { 0, 0, 0, 0, 0, 0, -1, -1, 0, \
119 .offset = { 0, 1, -1, -1, -1, -1, -1, -1, -1, \
156 .offset = { 0, 1, -1, 2, -1, -1, -1, -1, -1, \
194 .offset = { 0, 1, -1, -1, -1, -1, -1, -1, 2, \
237 .offset = { 0, 1, -1, 2, -1, -1, -1, -1, 3, \
281 .offset = { 0, 1, -1, -1, 2, 3, -1, -1, -1, \
331 .offset = { 0, 1, -1, 4, 2, 3, -1, -1, -1, \
381 .offset = { 0, 1, 4, -1, 2, 3, -1, -1, -1, \
434 .offset = { 0, 1, 4, 5, 2, 3, -1, -1, -1, \
489 .offset = { 0, 1, 4, -1, 2, 3, -1, -1, 5, \
[all …]
/dragonfly/contrib/gcc-8.0/gcc/lto/
H A Dlto-object.c58 lto_file_init (lto_file *file, const char *filename, off_t offset) in lto_file_init() argument
61 file->offset = offset; in lto_file_init()
75 off_t offset; in lto_obj_file_open() local
89 offset = (off_t) loffset; in lto_obj_file_open()
94 offset = 0; in lto_obj_file_open()
98 lto_file_init ((lto_file *) lo, fname, offset); in lto_obj_file_open()
115 lo->sobj_r = simple_object_start_read (lo->fd, offset, LTO_SEGMENT_NAME, in lto_obj_file_open()
178 gcc_assert (lo->base.offset == 0); in lto_obj_file_close()
214 lto_obj_add_section (void *data, const char *name, off_t offset, in lto_obj_add_section() argument
236 new_slot->start = loasd->base_offset + offset; in lto_obj_add_section()
[all …]
/dragonfly/sys/dev/drm/
H A Ddrm_vm.c50 vm_offset_t offset = ap->a_offset; in drm_mmap() local
65 DRM_DEBUG("called with offset %016jx\n", (uintmax_t)offset); in drm_mmap()
66 if (dev->dma && offset < ptoa(dev->dma->page_count)) { in drm_mmap()
70 unsigned long page = offset >> PAGE_SHIFT; in drm_mmap()
91 if (drm_ht_find_item(&dev->map_hash, offset, &hash)) { in drm_mmap()
100 (uintmax_t)offset); in drm_mmap()
121 phys = map->offset + offset; in drm_mmap()
130 phys = vtophys((char *)map->handle + offset); in drm_mmap()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-sra.c571 while (access && (access->offset + access->size <= offset)) in get_var_base_offset_size_access()
851 access->offset = offset; in create_access_1()
1564 if (f1->offset != f2->offset) in compare_access_positions()
1565 return f1->offset < f2->offset ? -1 : 1; in compare_access_positions()
1899 else if (pos > offset || (pos + size) <= offset) in build_user_friendly_ref_for_offset()
1928 offset = offset % el_size; in build_user_friendly_ref_for_offset()
2660 HOST_WIDE_INT norm_delta = lacc->offset - racc->offset; in propagate_subaccesses_across_link()
3305 offset = lacc->offset - sad->left_offset + sad->top_racc->offset; in load_assign_lhs_subreplacements()
4521 if (ac2->offset != access->offset) in splice_param_accesses()
4524 if (access->offset + access->size > ac2->offset) in splice_param_accesses()
[all …]
/dragonfly/sbin/hammer/
H A Dcmd_recover.c297 print_node(node, offset); in recover_top()
299 printf("%016jx -\n", offset); in recover_top()
301 offset += sizeof(*node); in recover_top()
768 hammer_off_t offset = 0; in scan_raw_limit() local
786 offset = 0; /* failed */ in scan_raw_limit()
803 offset = 0; /* failed */ in scan_raw_limit()
817 return(hammer_xlate_to_zone2(offset)); in scan_raw_limit()
834 hammer_off_t offset = 0; in scan_bigblocks() local
861 offset = phys_offset + block_offset; in scan_bigblocks()
919 offset = hammer_xlate_to_zone2(offset); in get_bigblock_entry()
[all …]
/dragonfly/sys/netinet/
H A Din_cksum.c69 in_cksum_range(const struct mbuf *m, int nxt, int offset, int bytes) in in_cksum_range() argument
86 if (offset < sizeof(struct ipovly)) in in_cksum_range()
108 while (m && offset >= m->m_len) { in in_cksum_range()
109 offset -= m->m_len; in in_cksum_range()
127 ptr = mtod(m, const uint8_t *) + offset; in in_cksum_range()
128 if ((n = m->m_len - offset) > bytes) in in_cksum_range()
211 offset = 0; in in_cksum_range()
/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-subr.c37 ctf_mmap (size_t length, size_t offset, int fd) in ctf_mmap() argument
42 data = mmap (NULL, length, PROT_READ, MAP_PRIVATE, fd, offset); in ctf_mmap()
48 if (ctf_pread (fd, data, length, offset) <= 0) in ctf_mmap()
69 ctf_pread (int fd, void *buf, ssize_t count, off_t offset) in ctf_pread() argument
79 if (((len = pread (fd, data, count, offset)) < 0) && in ctf_pread()
90 offset += len; in ctf_pread()
99 if ((lseek (fd, offset, SEEK_SET)) < 0) in ctf_pread()
/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_ldm.c134 entry.offset = offset; in ZSTD_ldm_makeEntryAndInsertByTag()
398 U32 const matchIndex = bestEntry->offset; in ZSTD_ldm_generateSequences_internal()
399 U32 const offset = curr - matchIndex; in ZSTD_ldm_generateSequences_internal() local
407 seq->offset = offset; in ZSTD_ldm_generateSequences_internal()
439 if (table[u].offset < reducerValue) table[u].offset = 0; in ZSTD_ldm_reduceTable()
440 else table[u].offset -= reducerValue; in ZSTD_ldm_reduceTable()
560 assert(sequence.offset > 0); in maybeSplitSequence()
568 sequence.offset = 0; in maybeSplitSequence()
572 sequence.offset = 0; in maybeSplitSequence()
630 if (sequence.offset == 0) in ZSTD_ldm_blockCompress()
[all …]

12345678910>>...83