Lines Matching refs:ddflags
90 extern u_int ddflags;
112 u_int ddflags; /* conversion options */
188 (O_CREAT | (ddflags & (C_SEEK | C_NOTRUNC) ? 0 : O_TRUNC))
216 if (!(ddflags & (C_BLOCK|C_UNBLOCK))) {
241 if ((ddflags & (C_OF | C_SEEK | C_NOTRUNC)) == (C_OF | C_SEEK))
303 for (flags = ddflags;;) {
354 if (!(ddflags & C_SYNC))
369 if (ddflags & C_SYNC)
381 if (ddflags & C_BS) {
388 /* if (ddflags & C_SWAB) {
415 if (ddflags & C_OSYNC && out.dbcnt < out.dbsz) {
477 if (!force && ddflags & C_SPARSE) {
636 if (ddflags & C_NOERROR) {
761 if (ddflags & C_FDATASYNC) {
1082 if (ddflags & ap->noset) {
1089 ddflags |= ap->set;
1095 if (ddflags & C_BS) {
1101 if (ddflags & (C_BLOCK | C_LCASE | C_SWAB | C_UCASE |
1103 ddflags &= ~C_BS;
1104 ddflags |= C_IBS|C_OBS;
1108 if (ddflags & C_BS && ddflags & (C_IBS|C_OBS))
1116 if (ddflags & (C_BLOCK|C_UNBLOCK)) {
1117 if (!(ddflags & C_CBS)) {
1122 cfunc = ddflags & C_BLOCK ? block : unblock;
1123 } else if (ddflags & C_CBS) {
1124 if (ddflags & (C_ASCII|C_EBCDIC)) {
1125 if (ddflags & C_ASCII) {
1126 ddflags |= C_UNBLOCK;
1129 ddflags |= C_BLOCK;
1204 if (!(ddflags & C_BS))
1219 if (!(ddflags & C_BS))
1296 if (ddflags & cp->noset) {
1300 ddflags |= cp->set;