/dragonfly/contrib/bmake/ |
H A D | util.c | 38 findenv(const char *name, int *offset) in findenv() argument 49 *offset = i; in findenv() 53 *offset = i; in findenv() 60 int offset; in getenv() local 62 return findenv(name, &offset); in getenv() 69 int offset; in unsetenv() local 77 for (p = &environ[offset];; p++) in unsetenv() 90 int offset; in setenv() local 102 if ((c = findenv(name, &offset))) { in setenv() 123 environ[offset + 1] = NULL; in setenv() [all …]
|
/dragonfly/sys/vfs/udf/ |
H A D | udf_vnops.c | 391 int size, fsize, offset; in udf_read() local 399 offset = uio->uio_offset; in udf_read() 491 ds->offset = offset; in udf_opendir() 564 ds->offset += ds->size; in udf_getfid() 878 int offset, error = 0; in udf_lookup() local 900 offset = 0; in udf_lookup() 903 offset = node->diroff; in udf_lookup() 966 offset = 0; in udf_lookup() 1102 offset -= icblen; in udf_bmap_internal() 1111 } while(offset >= icblen); in udf_bmap_internal() [all …]
|
/dragonfly/sys/dev/netif/ig_hal/ |
H A D | e1000_i210.c | 250 status = e1000_read_nvm_eerd(hw, offset, count, in e1000_read_nvm_srrd_i210() 295 status = e1000_write_nvm_srwr(hw, offset, count, in e1000_write_nvm_srwr_i210() 335 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000_write_nvm_srwr() 343 eewr = ((offset+i) << E1000_NVM_RW_ADDR_SHIFT) | in e1000_write_nvm_srwr() 426 switch (offset) { in e1000_read_invm_i210() 429 ret_val |= e1000_read_invm_word_i210(hw, (u8)offset+1, in e1000_read_invm_i210() 431 ret_val |= e1000_read_invm_word_i210(hw, (u8)offset+2, in e1000_read_invm_i210() 437 ret_val = e1000_read_invm_word_i210(hw, (u8)offset, data); in e1000_read_invm_i210() 444 ret_val = e1000_read_invm_word_i210(hw, (u8)offset, data); in e1000_read_invm_i210() 451 ret_val = e1000_read_invm_word_i210(hw, (u8)offset, data); in e1000_read_invm_i210() [all …]
|
H A D | e1000_api.h | 63 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value); 87 s32 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data); 88 s32 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data); 89 s32 e1000_write_8bit_ctrl_reg(struct e1000_hw *hw, u32 reg, u32 offset, 105 s32 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 106 s32 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data); 107 s32 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data); 108 s32 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 115 u16 offset, u8 *sum);
|
/dragonfly/crypto/libressl/crypto/asn1/ |
H A D | x_req.c | 104 .offset = offsetof(X509_REQ_INFO, version), 109 .offset = offsetof(X509_REQ_INFO, subject), 114 .offset = offsetof(X509_REQ_INFO, pubkey), 123 .offset = offsetof(X509_REQ_INFO, attributes), 173 .offset = offsetof(X509_REQ, req_info), 178 .offset = offsetof(X509_REQ, sig_alg), 183 .offset = offsetof(X509_REQ, signature),
|
/dragonfly/contrib/binutils-2.34/include/ |
H A D | ctf.h | 362 #define CTF_TYPE_NAME(stid, offset) \ argument 363 (((stid) << 31) | ((offset) & CTF_MAX_NAME)) 421 #define CTF_INT_DATA(encoding, offset, bits) \ argument 422 (((encoding) << 24) | ((offset) << 16) | (bits)) 445 #define CTF_FP_DATA(encoding, offset, bits) \ argument 446 (((encoding) << 24) | ((offset) << 16) | (bits)) 545 #define CTF_OFFSET_TO_LMEMHI(offset) ((uint32_t)((uint64_t)(offset) >> 32)) argument 546 #define CTF_OFFSET_TO_LMEMLO(offset) ((uint32_t)(offset)) argument
|
/dragonfly/contrib/dialog/ |
H A D | fselect.c | 65 list->offset = 0; in init_list() 134 if (list->choice < list->offset) { in keep_visible() 135 list->offset = list->choice; in keep_visible() 200 y = n - list->offset; in display_list() 216 (long) list->offset, in display_list() 217 (long) list->offset, in display_list() 508 d_list->offset = d_list->choice; in fill_lists() 509 f_list->offset = f_list->choice; in fill_lists() 584 int offset = 0; in dlg_fselect() local 617 offset = (int) strlen(input); in dlg_fselect() [all …]
|
/dragonfly/sys/bus/firewire/ |
H A D | fwdma.h | 63 int offset = am->esize * index; in fwdma_v_addr() local 65 return ((caddr_t)am->seg[offset / ssize].v_addr + (offset % ssize)); in fwdma_v_addr() 72 int offset = am->esize * index; in fwdma_bus_addr() local 74 return (am->seg[offset / ssize].bus_addr + (offset % ssize)); in fwdma_bus_addr()
|
/dragonfly/sys/dev/virtual/virtio/virtio/ |
H A D | virtio.h | 170 void virtio_read_device_config(device_t dev, bus_size_t offset, 172 void virtio_write_device_config(device_t dev, bus_size_t offset, 179 bus_size_t offset) \ 182 virtio_read_device_config(dev, offset, &val, sizeof(type)); \ 188 bus_size_t offset, type val) \ 190 virtio_write_device_config(dev, offset, &val, sizeof(type)); \
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | amd64-nat.c | 109 int offset = amd64_native_gregset_reg_offset (gdbarch, i); in amd64_supply_native_gregset() local 111 if (offset != -1) in amd64_supply_native_gregset() 112 regcache_raw_supply (regcache, i, regs + offset); in amd64_supply_native_gregset() 156 int offset = amd64_native_gregset_reg_offset (gdbarch, i); in amd64_collect_native_gregset() local 158 if (offset != -1) in amd64_collect_native_gregset() 159 regcache_raw_collect (regcache, i, regs + offset); in amd64_collect_native_gregset()
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | elf-eh-frame.c | 1406 offset = 0; in _bfd_elf_discard_section_eh_frame() 1579 if (offset < sec_info->entry[mid].offset) in _bfd_elf_eh_frame_section_offset() 1598 && offset == (sec_info->entry[mid].offset + 8 in _bfd_elf_eh_frame_section_offset() 1606 && offset == sec_info->entry[mid].offset + 8) in _bfd_elf_eh_frame_section_offset() 1613 && offset == (sec_info->entry[mid].offset + 8 in _bfd_elf_eh_frame_section_offset() 1621 && (offset >= sec_info->entry[mid].offset + 8 in _bfd_elf_eh_frame_section_offset() 1627 if (offset == sec_info->entry[mid].offset + 8 in _bfd_elf_eh_frame_section_offset() 1650 bfd_vma offset; in _bfd_elf_write_section_eh_frame_entry() local 1671 for (offset = 8; offset < sec->rawsize; offset += 8) in _bfd_elf_write_section_eh_frame_entry() 2108 bfd_vma offset; in _bfd_elf_fixup_eh_frame_hdr() local [all …]
|
H A D | elf64-x86-64.c | 357 int offset; in elf_x86_64_grok_prstatus() local 373 offset = 72; in elf_x86_64_grok_prstatus() 388 offset = 112; in elf_x86_64_grok_prstatus() 873 bfd_vma offset; member 1286 bfd_vma offset; in elf_x86_64_check_tls_transition() local 1351 || offset < 3 in elf_x86_64_check_tls_transition() 1400 if (offset < 3 || (offset + 9) > sec->size) in elf_x86_64_check_tls_transition() 1468 if (offset >= 3 && (offset + 4) <= sec->size) in elf_x86_64_check_tls_transition() 1483 if (offset < 2 || (offset + 3) > sec->size) in elf_x86_64_check_tls_transition() 1502 if (offset < 3 || (offset + 4) > sec->size) in elf_x86_64_check_tls_transition() [all …]
|
H A D | elf32-i386.c | 425 int offset; in elf_i386_grok_prstatus() local 442 offset = 28; in elf_i386_grok_prstatus() 460 offset = 72; in elf_i386_grok_prstatus() 858 bfd_vma offset; member 1228 bfd_vma offset; in elf_i386_check_tls_transition() local 1372 if (offset < 1 || (offset + 4) > sec->size) in elf_i386_check_tls_transition() 1380 if (offset < 2) in elf_i386_check_tls_transition() 1396 if (offset < 2 || (offset + 4) > sec->size) in elf_i386_check_tls_transition() 1414 if (offset < 2 || (offset + 4) > sec->size) in elf_i386_check_tls_transition() 4050 bfd_vma offset; in elf_i386_relocate_section() local [all …]
|
/dragonfly/lib/libtcplay/ |
H A D | io.c | 52 read_to_safe_mem(const char *file, off_t offset, size_t *sz) in read_to_safe_mem() argument 68 if ((lseek(fd, offset, (offset >= 0) ? SEEK_SET : SEEK_END) < 0)) { in read_to_safe_mem() 303 write_to_disk(const char *dev, off_t offset, size_t blksz, void *mem, in write_to_disk() argument 313 internal_off = offset % blksz; in write_to_disk() 316 (uint64_t)offset, (uint64_t)internal_off); in write_to_disk() 318 offset = rounddown(offset, blksz); in write_to_disk() 328 if ((mem_buf = read_to_safe_mem(dev, offset, &sz)) == NULL) { in write_to_disk() 342 if ((lseek(fd, offset, (offset >= 0) ? SEEK_SET : SEEK_END) < 0)) { in write_to_disk()
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_bios.c | 247 int offset, int len) in amdgpu_atrm_call() argument 258 atrm_arg_elements[0].Integer.Value = offset; in amdgpu_atrm_call() 270 memcpy(bios+offset, obj->Buffer.Pointer, obj->Buffer.Length); in amdgpu_atrm_call() 386 unsigned offset; local 404 offset = vfct->VBIOSImageOffset; 406 while (offset < tbl_size) { 407 GOP_VBIOS_CONTENT *vbios = (GOP_VBIOS_CONTENT *)((char *)hdr + offset); 410 offset += sizeof(VFCT_IMAGE_HEADER); 411 if (offset > tbl_size) { 416 offset += vhdr->ImageLength; [all …]
|
/dragonfly/usr.bin/compress/ |
H A D | zopen.c | 259 offset = 0; in zwrite() 371 r_off = offset; in output() 395 offset += n_bits; in output() 404 offset = 0; in output() 415 if (offset > 0) { in output() 420 offset = 0; in output() 435 if (offset > 0) { in output() 436 offset = (offset + 7) / 8; in output() 437 if (fwrite(buf, 1, offset, fp) != offset) in output() 439 bytes_out += offset; in output() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | ipa-cp.c | 1492 src->offset = offset; in add_source() 2052 new_al->offset = offset; in merge_agg_lats_step() 2730 item.offset = aglat->offset; in context_independent_aggregate_values() 4099 ti.offset = aglat->offset - offset; in copy_plats_to_inter() 4132 if (aglat->offset - offset > item->offset) in intersect_with_plats() 4134 if (aglat->offset - offset == item->offset) in intersect_with_plats() 4162 && (av->offset - offset) >= 0) in agg_replacements_to_vector() 4166 item.offset = av->offset - offset; in agg_replacements_to_vector() 4204 && av->offset - offset == item->offset) in intersect_with_agg_replacements() 4403 v->offset = item->offset; in find_aggregate_values_for_callers_subset() [all …]
|
/dragonfly/contrib/binutils-2.27/gas/ |
H A D | frags.c | 223 relax_substateT subtype, symbolS *symbol, offsetT offset, in frag_var_init() argument 230 frag_now->fr_offset = offset; in frag_var_init() 254 relax_substateT subtype, symbolS *symbol, offsetT offset, in frag_var() argument 262 frag_var_init (type, max_chars, var, subtype, symbol, offset, opcode); in frag_var() 272 relax_substateT subtype, symbolS *symbol, offsetT offset, in frag_variant() argument 278 frag_var_init (type, max_chars, var, subtype, symbol, offset, opcode); in frag_variant() 413 frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, offsetT *offset) in frag_offset_fixed_p() argument 423 *offset = off; in frag_offset_fixed_p() 437 *offset = off; in frag_offset_fixed_p() 453 *offset = off; in frag_offset_fixed_p()
|
H A D | dw2gencfi.c | 537 insn_ptr->u.i = offset; in cfi_add_CFA_insn_offset() 557 insn_ptr->u.ri.offset = offset; in cfi_add_CFA_insn_reg_offset() 805 offsetT offset; in dot_cfi() local 865 + offset); in dot_cfi() 1556 offsetT offset; in output_cfi_insn() local 1612 offset = insn->u.ri.offset; in output_cfi_insn() 1613 if (offset < 0) in output_cfi_insn() 1636 if (offset < 0) in output_cfi_insn() 1663 offset = insn->u.ri.offset / DWARF2_CIE_DATA_ALIGNMENT; in output_cfi_insn() 1664 if (offset < 0) in output_cfi_insn() [all …]
|
/dragonfly/contrib/gcc-8.0/libstdc++-v3/libsupc++/ |
H A D | tinfo.h | 65 adjust_pointer (const void *base, ptrdiff_t offset) in adjust_pointer() argument 68 (reinterpret_cast <const char *> (base) + offset); in adjust_pointer() 74 convert_to_base (void const *addr, bool is_virtual, ptrdiff_t offset) in convert_to_base() argument 80 offset = *adjust_pointer<ptrdiff_t> (vtable, offset); in convert_to_base() 83 return adjust_pointer<void> (addr, offset); in convert_to_base()
|
/dragonfly/contrib/gcc-4.7/libobjc/objc-private/ |
H A D | sarray.h | 181 soffset_encode (size_t offset) in soffset_encode() argument 184 x.off.eoffset = offset % BUCKET_SIZE; in soffset_encode() 186 x.off.boffset = (offset / BUCKET_SIZE) % INDEX_SIZE; in soffset_encode() 187 x.off.ioffset = offset / INDEX_CAPACITY; in soffset_encode() 189 x.off.boffset = offset / BUCKET_SIZE; in soffset_encode() 203 soffset_encode (size_t offset) in soffset_encode() argument 205 return offset; in soffset_encode()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | emit-rtl.c | 272 && (!p->offset_known_p || p->offset == q->offset) in mem_attrs_eq_p() 336 return (p->decl == q->decl && p->offset == q->offset); in reg_attrs_htab_eq() 353 attrs.offset = offset; in get_reg_attrs() 966 int offset; in set_reg_attrs_from_value() local 1292 return offset; in subreg_lowpart_offset() 1313 return offset; in subreg_highpart_offset() 1586 attrs.offset = refattrs->offset; in set_mem_attributes_minus_bitpos() 1935 attrs.offset = offset; in set_mem_offset() 2111 attrs.offset += offset; in adjust_address_1() 2118 max_align = (offset & -offset) * BITS_PER_UNIT; in adjust_address_1() [all …]
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | elf32-i386.c | 430 int offset; in elf_i386_grok_prstatus() local 447 offset = 28; in elf_i386_grok_prstatus() 465 offset = 72; in elf_i386_grok_prstatus() 869 bfd_vma offset; in elf_i386_check_tls_transition() local 993 if (offset < 1 || (offset + 4) > sec->size) in elf_i386_check_tls_transition() 1001 if (offset < 2) in elf_i386_check_tls_transition() 1017 if (offset < 2 || (offset + 4) > sec->size) in elf_i386_check_tls_transition() 1035 if (offset < 2 || (offset + 4) > sec->size) in elf_i386_check_tls_transition() 2387 bfd_vma offset; in elf_i386_relocate_section() local 2402 + offset); in elf_i386_relocate_section() [all …]
|
/dragonfly/contrib/lvm2/dist/lib/format_text/ |
H A D | format-text.c | 155 uint64_t offset; in _pv_analyze_mda_raw() local 192 offset = prev_sector; in _pv_analyze_mda_raw() 227 offset = prev_sector; in _pv_analyze_mda_raw() 241 offset = prev_sector; in _pv_analyze_mda_raw() 292 while (rl->offset) { in _xlate_mdah() 294 rl->offset = xlate64(rl->offset); in _xlate_mdah() 380 (rlocn_precommitted->offset != rlocn->offset)) { in _find_vg_rlocn() 676 rlocn->offset = mdac->rlocn.offset; in _vg_commit_raw_rlocn() 766 rlocn->offset = 0; in _vg_remove_raw() 1069 if (!rlocn->offset) in vgname_from_mda() [all …]
|
/dragonfly/crypto/libressl/crypto/ec/ |
H A D | ec_asn1.c | 208 .offset = offsetof(X9_62_PENTANOMIAL, k1), 215 .offset = offsetof(X9_62_PENTANOMIAL, k2), 222 .offset = offsetof(X9_62_PENTANOMIAL, k3), 324 .offset = 0, 408 .offset = 0, 428 .offset = offsetof(X9_62_CURVE, a), 435 .offset = offsetof(X9_62_CURVE, b), 442 .offset = offsetof(X9_62_CURVE, seed), 476 .offset = offsetof(ECPARAMETERS, curve), 483 .offset = offsetof(ECPARAMETERS, base), [all …]
|