Home
last modified time | relevance | path

Searched refs:ddata (Results 1 – 4 of 4) sorted by relevance

/openbsd/regress/lib/libutil/fmt_scaled/
H A Dfmt_test.c76 } ddata[] = { variable
117 # define DDATA_LENGTH (sizeof ddata/sizeof *ddata)
129 ret = fmt_scaled(ddata[i].input, buf); in fmt_test()
132 printf("%lld --> %s (%d)", ddata[i].input, buf, ret); in fmt_test()
138 errs += assert_int(i, 1, ret, ddata[i].err == 0 ? 0 : -1); in fmt_test()
139 if (ddata[i].err) in fmt_test()
140 errs += assert_errno(i, 2, ddata[i].err, e); in fmt_test()
142 errs += assert_str(i, 3, ddata[i].expect, buf); in fmt_test()
/openbsd/sys/arch/mips64/mips64/
H A Dfp_emulate.c1681 uint64_t ddata; in nofpu_emulate_cop1x() local
1695 if (copyin((const void *)va, &ddata, sizeof ddata) != 0) { in nofpu_emulate_cop1x()
1700 fpu_store(p, tf, FMT_L, inst.FQType.fd, ddata); in nofpu_emulate_cop1x()
1730 ddata = 0; in nofpu_emulate_cop1x()
1732 if (copyout(&ddata, (void *)va, sizeof ddata) != 0) { in nofpu_emulate_cop1x()
1770 uint64_t ddata; in nofpu_emulate_loadstore() local
1781 if (copyin((const void *)va, &ddata, sizeof ddata) != 0) { in nofpu_emulate_loadstore()
1786 fpu_store(p, tf, FMT_L, inst.IType.rt, ddata); in nofpu_emulate_loadstore()
1807 ddata = fpu_load(p, tf, FMT_L, inst.IType.rt); in nofpu_emulate_loadstore()
1810 ddata = 0; in nofpu_emulate_loadstore()
[all …]
/openbsd/gnu/usr.bin/binutils/bfd/
H A Delf.c7114 void *ddata = note->descdata; in elfcore_grok_nto_status() local
7122 elf_tdata (abfd)->core_pid = bfd_get_32 (abfd, (bfd_byte *) ddata); in elfcore_grok_nto_status()
7125 *tid = bfd_get_32 (abfd, (bfd_byte *) ddata + 4); in elfcore_grok_nto_status()
7128 flags = bfd_get_32 (abfd, (bfd_byte *) ddata + 8); in elfcore_grok_nto_status()
7131 if ((sig = bfd_get_16 (abfd, (bfd_byte *) ddata + 14)) > 0) in elfcore_grok_nto_status()
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Delf.c8139 void *ddata = note->descdata; in elfcore_grok_nto_status() local
8147 elf_tdata (abfd)->core_pid = bfd_get_32 (abfd, (bfd_byte *) ddata); in elfcore_grok_nto_status()
8150 *tid = bfd_get_32 (abfd, (bfd_byte *) ddata + 4); in elfcore_grok_nto_status()
8153 flags = bfd_get_32 (abfd, (bfd_byte *) ddata + 8); in elfcore_grok_nto_status()
8156 if ((sig = bfd_get_16 (abfd, (bfd_byte *) ddata + 14)) > 0) in elfcore_grok_nto_status()