Searched refs:d_type (Results 1 - 25 of 100) sorted by relevance

1234

/openbsd-current/lib/libelf/
H A Dlibelf_xlate.c78 if ((int) src->d_type < 0 || src->d_type >= ELF_T_NUM) {
84 (src->d_type, (size_t) 1, src->d_version)) == 0)
87 if ((msz = _libelf_msize(src->d_type, elfclass, src->d_version)) == 0)
128 _libelf_malign(src->d_type, elfclass)) {
133 dst->d_type = src->d_type;
142 xlator = _libelf_get_translator(src->d_type, direction, elfclass,
H A Delf_strptr.c75 if (d->d_type != ELF_T_BYTE) {
97 if (d->d_type != ELF_T_BYTE) {
H A Dgelf_symshndx.c67 id->d_type != ELF_T_WORD) {
119 d->d_type != ELF_T_WORD) {
H A Delf_data.c140 d->d_data.d_type = elftype;
201 d->d_data.d_type = ELF_T_BYTE;
274 d->d_data.d_type = ELF_T_BYTE;
H A Delf_update.c200 if (d->d_type >= ELF_T_NUM) {
227 if ((msz = _libelf_msize(d->d_type, ec, e->e_version)) == 0)
259 fsz = _libelf_fsize(d->d_type, ec, d->d_version,
783 assert(d->d_type == ELF_T_BYTE);
808 if ((msz = _libelf_msize(d->d_type, ec, e->e_version)) == 0)
825 fsz = _libelf_fsize(d->d_type, ec, e->e_version, nobjects);
871 src.d_type = ELF_T_EHDR;
933 src.d_type = ELF_T_PHDR;
991 src.d_type = ELF_T_SHDR;
/openbsd-current/sys/arch/i386/include/
H A Dsegments.h173 #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-current/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerIOPosix.cpp68 if (E->d_type == DT_REG || E->d_type == DT_LNK ||
69 (E->d_type == DT_UNKNOWN && IsFile(Path)))
71 else if ((E->d_type == DT_DIR ||
72 (E->d_type == DT_UNKNOWN && IsDirectory(Path))) &&
90 if (E->d_type == DT_REG || E->d_type == DT_LNK ||
91 (E->d_type == DT_UNKNOWN && IsFile(Path)))
93 else if ((E->d_type == DT_DIR ||
94 (E->d_type
[all...]
/openbsd-current/sys/arch/amd64/include/
H A Dsegments.h209 #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-current/sys/sys/
H A Ddirent.h55 __uint8_t d_type; /* file type, see below */ member in struct:dirent
/openbsd-current/sys/ufs/ufs/
H A Ddir.h82 u_int8_t d_type; /* file type, see below */ member in struct:direct
/openbsd-current/lib/libc/gen/
H A Ddevname.c55 if (dp->d_type != DT_UNKNOWN && DTTOIF(dp->d_type) != type)
H A Dttyname.c124 if (dirp->d_type != DT_CHR && dirp->d_type != DT_UNKNOWN)
H A Ddisklabel.c84 dp->d_type = (u_short)gettype(cq, dktypenames);
86 getnumdflt(dp->d_type, "dt", 0);
H A Dscandir.c121 p->d_type = d->d_type;
/openbsd-current/sys/kern/
H A Dsubr_kubsan.c134 struct type_descriptor *d_type; member in struct:invalid_value_data
151 struct type_descriptor *d_type; member in struct:overflow_data
166 struct type_descriptor *d_type; member in struct:type_mismatch_data
569 kubsan_format_int(data->d_type,
573 bloc, blhs, data->d_type->t_name);
581 kubsan_format_int(data->d_type,
585 bloc, blhs, data->d_type->t_name);
622 kubsan_format_int(data->d_type,
624 kubsan_format_int(data->d_type,
628 bloc, SIGNED(data->d_type)
[all...]
/openbsd-current/gnu/usr.bin/cvs/src/
H A Dfind_names.c355 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 Dignore.c456 dp->d_type != DT_UNKNOWN ||
463 dp->d_type == DT_DIR
464 || (dp->d_type == DT_UNKNOWN && S_ISDIR (sb.st_mode))
487 dp->d_type == DT_LNK
488 || (dp->d_type == DT_UNKNOWN && S_ISLNK(sb.st_mode))
/openbsd-current/sbin/fsck_ffs/
H A Dpass2.c268 if (dirp->d_type != DT_DIR) {
270 dirp->d_type = DT_DIR;
278 proto.d_type = DT_DIR;
309 proto.d_type = DT_DIR;
327 if (dirp->d_type != DT_DIR) {
329 dirp->d_type = DT_DIR;
440 if (dirp->d_type != GET_ITYPE(dirp->d_ino)) {
443 dirp->d_type = GET_ITYPE(dirp->d_ino);
/openbsd-current/usr.sbin/ospfd/
H A Drde_spf.c554 if (r->d_type != DT_NET)
654 if (a->d_type > b->d_type)
656 if (a->d_type < b->d_type)
662 rt_find(in_addr_t prefix, u_int8_t prefixlen, enum dst_type d_type) argument
668 s.d_type = d_type;
816 if (r->d_type != DT_RTR)
820 if (r->d_type !
861 rt_update(struct in_addr prefix, u_int8_t prefixlen, struct v_nexthead *vnh, u_int8_t v_type, u_int32_t cost, u_int32_t cost2, struct in_addr area, struct in_addr adv_rtr, enum path_type p_type, enum dst_type d_type, u_int8_t flags, u_int32_t tag) argument
[all...]
/openbsd-current/usr.sbin/ospfctl/
H A Doutput.c106 show_rib_head(struct in_addr aid, u_int8_t d_type, u_int8_t p_type) argument
113 switch (d_type) {
287 switch (rt->d_type) {
290 show_rib_head(rt->area, rt->d_type,
299 show_rib_head(rt->area, rt->d_type,
314 if (rt->d_type == DT_RTR)
322 show_rib_head(rt->area, rt->d_type, rt->p_type);
340 switch (rt->d_type) {
358 dst_type_name(rt->d_type), rt->cost,
/openbsd-current/usr.sbin/ospf6d/
H A Drde_spf.c427 if (rn->connected && r->d_type == DT_NET) {
674 if (r->d_type != DT_NET)
772 if (a->d_type > b->d_type)
774 if (a->d_type < b->d_type)
780 rt_find(struct in6_addr *prefix, u_int8_t prefixlen, enum dst_type d_type) argument
786 s.d_type = d_type;
937 if (r->d_type !
983 rt_update(struct in6_addr *prefix, u_int8_t prefixlen, struct v_nexthead *vnh, u_int16_t v_type, u_int32_t cost, u_int32_t cost2, struct in_addr area, struct in_addr adv_rtr, enum path_type p_type, enum dst_type d_type, u_int8_t flags, u_int32_t tag) argument
[all...]
/openbsd-current/usr.bin/cvs/
H A Drepository.c129 * nfs and afs will show d_type as DT_UNKNOWN
133 if (dp->d_type == DT_UNKNOWN) {
148 switch (dp->d_type) {
/openbsd-current/sys/scsi/
H A Dscsiconf.h175 u_int8_t d_type; member in struct:devid
190 ((_a)->d_type != DEVID_NONE && \
191 (_a)->d_type == (_b)->d_type && \
/openbsd-current/usr.sbin/installboot/
H A Dmacppc_installboot.c85 if (dl.d_type == 0)
108 if (dl.d_type == 0)
H A Dpowerpc64_installboot.c87 if (dl.d_type == 0)
115 if (dl.d_type == 0)

Completed in 441 milliseconds

1234