Lines Matching defs:flags
34 pe_flag(PE *pe, PE_Cmd c, unsigned int flags)
42 if ((flags & ~(PE_F_STRIP_DOS_STUB | PE_F_STRIP_RICH_HEADER |
49 pe->pe_flags |= flags;
51 pe->pe_flags &= ~flags;
57 pe_flag_dos_header(PE *pe, PE_Cmd c, unsigned int flags)
61 (flags & ~PE_F_DIRTY) != 0) {
75 pe_flag_coff_header(PE *pe, PE_Cmd c, unsigned int flags)
79 (flags & ~PE_F_DIRTY) != 0) {
93 pe_flag_opt_header(PE *pe, PE_Cmd c, unsigned int flags)
97 (flags & ~PE_F_DIRTY) != 0) {
111 pe_flag_data_dir(PE *pe, PE_Cmd c, unsigned int flags)
115 (flags & ~PE_F_DIRTY) != 0) {
129 pe_flag_scn(PE_Scn *ps, PE_Cmd c, unsigned int flags)
133 (flags & ~(PE_F_DIRTY | PE_F_STRIP_SECTION)) == 0) {
139 ps->ps_flags |= flags;
141 ps->ps_flags &= ~flags;
147 pe_flag_section_header(PE_Scn *ps, PE_Cmd c, unsigned int flags)
152 (flags & ~PE_F_DIRTY) != 0) {
169 pe_flag_buffer(PE_Buffer *pb, PE_Cmd c, unsigned int flags)
174 (flags & ~PE_F_DIRTY) != 0) {
182 sb->sb_flags |= flags;
184 sb->sb_flags &= ~flags;