| /openbsd-src/lib/libelf/ |
| H A D | libelf_xlate.c | 78 if ((int) src->d_type < 0 || src->d_type >= ELF_T_NUM) { in _libelf_xlate() 84 (src->d_type, (size_t) 1, src->d_version)) == 0) in _libelf_xlate() 87 if ((msz = _libelf_msize(src->d_type, elfclass, src->d_version)) == 0) in _libelf_xlate() 128 _libelf_malign(src->d_type, elfclass)) { in _libelf_xlate() 133 dst->d_type = src->d_type; in _libelf_xlate() 142 xlator = _libelf_get_translator(src->d_type, direction, elfclass, in _libelf_xlate()
|
| H A D | elf_strptr.c | 75 if (d->d_type != ELF_T_BYTE) { in elf_strptr() 97 if (d->d_type != ELF_T_BYTE) { in elf_strptr()
|
| H A D | gelf_symshndx.c | 67 id->d_type != ELF_T_WORD) { in gelf_getsymshndx() 119 d->d_type != ELF_T_WORD) { in gelf_update_symshndx()
|
| H A D | elf_update.c | 200 if (d->d_type >= ELF_T_NUM) { in _libelf_compute_section_extents() 227 if ((msz = _libelf_msize(d->d_type, ec, e->e_version)) == 0) in _libelf_compute_section_extents() 259 fsz = _libelf_fsize(d->d_type, ec, d->d_version, in _libelf_compute_section_extents() 783 assert(d->d_type == ELF_T_BYTE); in _libelf_write_scn() 808 if ((msz = _libelf_msize(d->d_type, ec, e->e_version)) == 0) in _libelf_write_scn() 825 fsz = _libelf_fsize(d->d_type, ec, e->e_version, nobjects); in _libelf_write_scn() 871 src.d_type = ELF_T_EHDR; in _libelf_write_ehdr() 933 src.d_type = ELF_T_PHDR; in _libelf_write_phdr() 991 src.d_type = ELF_T_SHDR; in _libelf_write_shdr()
|
| H A D | elf_data.c | 140 d->d_data.d_type = elftype; in elf_getdata() 201 d->d_data.d_type = ELF_T_BYTE; in elf_newdata() 274 d->d_data.d_type = ELF_T_BYTE; in elf_rawdata()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIOPosix.cpp | 68 if (E->d_type == DT_REG || E->d_type == DT_LNK || in ListFilesInDirRecursive() 69 (E->d_type == DT_UNKNOWN && IsFile(Path))) in ListFilesInDirRecursive() 71 else if ((E->d_type == DT_DIR || in ListFilesInDirRecursive() 72 (E->d_type == DT_UNKNOWN && IsDirectory(Path))) && in ListFilesInDirRecursive() 90 if (E->d_type == DT_REG || E->d_type == DT_LNK || in IterateDirRecursive() 91 (E->d_type == DT_UNKNOWN && IsFile(Path))) in IterateDirRecursive() 93 else if ((E->d_type == DT_DIR || in IterateDirRecursive() 94 (E->d_type == DT_UNKNOWN && IsDirectory(Path))) && in IterateDirRecursive()
|
| /openbsd-src/sys/arch/i386/include/ |
| H A D | segments.h | 173 #define ISMEMSDP(s) ((s->d_type) >= SDT_MEMRO && \ 174 (s->d_type) <= SDT_MEMERAC) 177 #define IS286GDP(s) ((s->d_type) >= SDT_SYS286CGT && \ 178 (s->d_type) < SDT_SYS286TGT) 181 #define IS386GDP(s) ((s->d_type) >= SDT_SYS386CGT && \ 182 (s->d_type) < SDT_SYS386TGT)
|
| /openbsd-src/sys/kern/ |
| H A D | subr_kubsan.c | 145 struct type_descriptor *d_type; 162 struct type_descriptor *d_type; 177 struct type_descriptor *d_type; 602 kubsan_format_int(data->d_type, in kubsan_report() 606 bloc, blhs, data->d_type->t_name); in kubsan_report() 614 kubsan_format_int(data->d_type, in kubsan_report() 618 bloc, blhs, data->d_type->t_name); in kubsan_report() 655 kubsan_format_int(data->d_type, in kubsan_report() 657 kubsan_format_int(data->d_type, in kubsan_report() 661 bloc, SIGNED(data->d_type) in kubsan_report() 134 struct type_descriptor *d_type; global() member 151 struct type_descriptor *d_type; global() member 166 struct type_descriptor *d_type; global() member [all...] |
| /openbsd-src/sys/arch/amd64/include/ |
| H A D | segments.h | 209 #define ISMEMSDP(s) ((s->d_type) >= SDT_MEMRO && \ 210 (s->d_type) <= SDT_MEMERAC) 213 #define IS286GDP(s) ((s->d_type) >= SDT_SYS286CGT && \ 214 (s->d_type) < SDT_SYS286TGT) 217 #define IS386GDP(s) ((s->d_type) >= SDT_SYS386CGT && \ 218 (s->d_type) < SDT_SYS386TGT)
|
| /openbsd-src/usr.sbin/ospf6d/ |
| H A D | rde_spf.c | 427 if (rn->connected && r->d_type == DT_NET) { in asext_calc() 674 if (r->d_type != DT_NET) in spf_timer() 772 if (a->d_type > b->d_type) in rt_compare() 774 if (a->d_type < b->d_type) in rt_compare() 780 rt_find(struct in6_addr *prefix, u_int8_t prefixlen, enum dst_type d_type) in rt_find() argument 786 s.d_type = d_type; in rt_find() 937 if (r->d_type != DT_RTR) in rt_dump() 941 if (r->d_type != DT_NET) in rt_dump() 962 rtctl.d_type = r->d_type; in rt_dump() 985 struct in_addr adv_rtr, enum path_type p_type, enum dst_type d_type, in rt_update() argument [all …]
|
| /openbsd-src/usr.sbin/ospfd/ |
| H A D | rde_spf.c | 554 if (r->d_type != DT_NET) in spf_timer() 654 if (a->d_type > b->d_type) in rt_compare() 656 if (a->d_type < b->d_type) in rt_compare() 662 rt_find(in_addr_t prefix, u_int8_t prefixlen, enum dst_type d_type) in rt_find() argument 668 s.d_type = d_type; in rt_find() 816 if (r->d_type != DT_RTR) in rt_dump() 820 if (r->d_type != DT_NET) in rt_dump() 841 rtctl.d_type = r->d_type; in rt_dump() 863 struct in_addr adv_rtr, enum path_type p_type, enum dst_type d_type, in rt_update() argument 870 if ((rte = rt_find(prefix.s_addr, prefixlen, d_type)) == NULL) { in rt_update() [all …]
|
| /openbsd-src/sbin/fsck_ffs/ |
| H A D | pass2.c | 268 if (dirp->d_type != DT_DIR) { in pass2check() 270 dirp->d_type = DT_DIR; in pass2check() 278 proto.d_type = DT_DIR; in pass2check() 309 proto.d_type = DT_DIR; in pass2check() 327 if (dirp->d_type != DT_DIR) { in pass2check() 329 dirp->d_type = DT_DIR; in pass2check() 440 if (dirp->d_type != GET_ITYPE(dirp->d_ino)) { in pass2check() 443 dirp->d_type = GET_ITYPE(dirp->d_ino); in pass2check()
|
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | find_names.c | 355 if (dp->d_type != DT_DIR) 357 if (dp->d_type != DT_UNKNOWN && dp->d_type != DT_LNK) 380 if (dp->d_type != DT_DIR) 383 if (dp->d_type == DT_LNK)
|
| H A D | ignore.c | 454 dp->d_type != DT_UNKNOWN || 461 dp->d_type == DT_DIR 462 || (dp->d_type == DT_UNKNOWN && S_ISDIR (sb.st_mode)) 485 dp->d_type == DT_LNK 486 || (dp->d_type == DT_UNKNOWN && S_ISLNK(sb.st_mode))
|
| /openbsd-src/usr.sbin/ospfctl/ |
| H A D | output.c | 106 show_rib_head(struct in_addr aid, u_int8_t d_type, u_int8_t p_type) in show_rib_head() argument 113 switch (d_type) { in show_rib_head() 287 switch (rt->d_type) { in show_rib() 290 show_rib_head(rt->area, rt->d_type, in show_rib() 299 show_rib_head(rt->area, rt->d_type, in show_rib() 314 if (rt->d_type == DT_RTR) in show_rib() 322 show_rib_head(rt->area, rt->d_type, rt->p_type); in show_rib() 340 switch (rt->d_type) { in show_rib() 358 dst_type_name(rt->d_type), rt->cost, in show_rib()
|
| /openbsd-src/lib/libc/gen/ |
| H A D | devname.c | 55 if (dp->d_type != DT_UNKNOWN && DTTOIF(dp->d_type) != type) in devname_nodb()
|
| H A D | ttyname.c | 124 if (dirp->d_type != DT_CHR && dirp->d_type != DT_UNKNOWN) in oldttyname()
|
| H A D | scandir.c | 121 p->d_type = d->d_type; in scandir_dirp()
|
| H A D | disklabel.c | 84 dp->d_type = (u_short)gettype(cq, dktypenames); in getdiskbyname() 86 getnumdflt(dp->d_type, "dt", 0); in getdiskbyname()
|
| /openbsd-src/sys/scsi/ |
| H A D | scsiconf.h | 175 u_int8_t d_type; member 190 ((_a)->d_type != DEVID_NONE && \ 191 (_a)->d_type == (_b)->d_type && \
|
| /openbsd-src/usr.bin/cvs/ |
| H A D | repository.c | 133 if (dp->d_type == DT_UNKNOWN) { in cvs_repository_getdir() 148 switch (dp->d_type) { in cvs_repository_getdir()
|
| /openbsd-src/sbin/disklabel/ |
| H A D | disklabel.c | 357 lab.d_type = dl.d_type; in readlabel() 405 if (lp->d_type < DKMAXTYPES) in makedisktab() 406 (void)fprintf(f, "%s:", dktypenames[lp->d_type]); in makedisktab() 408 (void)fprintf(f, "unknown%d:", lp->d_type); in makedisktab() 563 if (lp->d_type < DKMAXTYPES) in display() 564 fprintf(f, "type: %s\n", dktypenames[lp->d_type]); in display() 566 fprintf(f, "type: %d\n", lp->d_type); in display()
|
| /openbsd-src/usr.sbin/ospf6ctl/ |
| H A D | ospf6ctl.c | 1098 switch (rt->d_type) { in show_rib_msg() 1116 dst_type_name(rt->d_type), rt->cost, in show_rib_msg() 1131 show_rib_head(struct in_addr aid, u_int8_t d_type, u_int8_t p_type) in show_rib_head() argument 1138 switch (d_type) { in show_rib_head() 1200 switch (rt->d_type) { in show_rib_detail_msg() 1203 show_rib_head(rt->area, rt->d_type, in show_rib_detail_msg() 1213 show_rib_head(rt->area, rt->d_type, in show_rib_detail_msg() 1229 if (rt->d_type == DT_RTR) in show_rib_detail_msg() 1238 show_rib_head(rt->area, rt->d_type, rt->p_type); in show_rib_detail_msg()
|
| /openbsd-src/sbin/restore/ |
| H A D | dirs.c | 174 nulldir.d_type = DT_DIR; in extractdirs() 357 dp->d_namlen = dp->d_type; in putdir() 360 dp->d_namlen = dp->d_type; in putdir() 362 dp->d_type = DT_UNKNOWN; in putdir() 440 ndp->d_type = DT_UNKNOWN; in dcvt()
|
| /openbsd-src/sys/tmpfs/ |
| H A D | tmpfs_subr.c | 730 dp->d_type = DT_DIR; in tmpfs_dir_getdotents() 794 dent.d_type = DT_BLK; in tmpfs_dir_getdents() 797 dent.d_type = DT_CHR; in tmpfs_dir_getdents() 800 dent.d_type = DT_DIR; in tmpfs_dir_getdents() 803 dent.d_type = DT_FIFO; in tmpfs_dir_getdents() 806 dent.d_type = DT_LNK; in tmpfs_dir_getdents() 809 dent.d_type = DT_REG; in tmpfs_dir_getdents() 812 dent.d_type = DT_SOCK; in tmpfs_dir_getdents()
|