/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkformat.c | 36 #define FLAG(v) \ macro 39 #define NE FLAG(LE) 43 #define OE FLAG(LE) 130 {FORMAT (R8G8B8A8, UNORM), FLAG (RGB) | FLAG (ALPHA) | NE, DPTH8888, PSTR4444, 132 {FORMAT (R8G8B8A8, SNORM), FLAG (RGB) | FLAG (ALPHA) | NE, DPTH8888, PSTR4444, 134 {FORMAT (R8G8B8A8, USCALED), FLAG (RGB) | FLAG (ALPHA) | NE, DPTH8888, 136 {FORMAT (R8G8B8A8, SSCALED), FLAG (RGB) | FLAG (ALPHA) | NE, DPTH8888, 138 {FORMAT (R8G8B8A8, UINT), FLAG (RGB) | FLAG (ALPHA) | NE, DPTH8888, PSTR4444, 140 {FORMAT (R8G8B8A8, SINT), FLAG (RGB) | FLAG (ALPHA) | NE, DPTH8888, PSTR4444, 142 {FORMAT (R8G8B8A8, SRGB), FLAG (RGB) | FLAG (ALPHA) | NE, DPTH8888, PSTR4444, [all …]
|
/third_party/toybox/toys/net/ |
D | sntp.c | 79 if (!(FLAG(S)||FLAG(m)) && !*toys.optargs) in sntp_main() 87 if (FLAG(d) && daemon(0, 0)) perror_exit("daemonize"); in sntp_main() 90 if (FLAG(S)|FLAG(m)) { in sntp_main() 111 if (FLAG(m) || FLAG(S)) then = -1; in sntp_main() 116 if (FLAG(d) || FLAG(D)) then = now + (1<<TT.r)*1000; in sntp_main() 135 if (!(FLAG(S)||FLAG(m)||FLAG(D)||FLAG(d)) && ++tries == 3) in sntp_main() 142 if (!FLAG(S) || FLAG(m)) { in sntp_main() 150 if (!FLAG(S) && !FLAG(m) && before != SWAP_BE64(pktime[3])) continue; in sntp_main() 152 if (strike && !FLAG(S)) continue; in sntp_main() 153 if (!((FLAG(m) && mode==5) || (FLAG(S) && mode==3) || in sntp_main() [all …]
|
D | netcat.c | 97 ll = FLAG(L)|FLAG(l), type = FLAG(u) ? SOCK_DGRAM : SOCK_STREAM; in netcat_main() 108 if (FLAG(f) ? toys.optc : (!ll && toys.optc!=(FLAG(U)?1:2))) in netcat_main() 111 if (FLAG(4)) family = AF_INET; in netcat_main() 112 else if (FLAG(6)) family = AF_INET6; in netcat_main() 113 else if (FLAG(U)) family = AF_UNIX; in netcat_main() 119 if (FLAG(U)) sockfd = usock(toys.optargs[0], type, 1); in netcat_main() 129 if (FLAG(U)) { in netcat_main() 130 if (!FLAG(s)) error_exit("-s must be provided if using -U with -L/-l"); in netcat_main() 138 if (!TT.p && !FLAG(U)) { in netcat_main() 176 if (FLAG(L)) NOEXIT(child = XVFORK()); in netcat_main() [all …]
|
/third_party/json/benchmarks/thirdparty/benchmark/cmake/ |
D | AddCXXCompilerFlag.cmake | 6 # add_cxx_compiler_flag(<FLAG> [<VARIANT>]) 22 function(mangle_compiler_flag FLAG OUTPUT) 23 string(TOUPPER "HAVE_CXX_FLAG_${FLAG}" SANITIZED_FLAG) 30 function(add_cxx_compiler_flag FLAG) 31 mangle_compiler_flag("${FLAG}" MANGLED_FLAG) 33 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${FLAG}") 34 check_cxx_compiler_flag("${FLAG}" ${MANGLED_FLAG}) 41 …AGS${VARIANT} "${CMAKE_CXX_FLAGS${VARIANT}} ${BENCHMARK_CXX_FLAGS${VARIANT}} ${FLAG}" PARENT_SCOPE) 45 function(add_required_cxx_compiler_flag FLAG) 46 mangle_compiler_flag("${FLAG}" MANGLED_FLAG) [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | uprops.h | 286 #define FLAG(n) ((uint32_t)1<<(n)) macro 289 #define _Cn FLAG(U_GENERAL_OTHER_TYPES) 290 #define _Lu FLAG(U_UPPERCASE_LETTER) 291 #define _Ll FLAG(U_LOWERCASE_LETTER) 292 #define _Lt FLAG(U_TITLECASE_LETTER) 293 #define _Lm FLAG(U_MODIFIER_LETTER) 295 #define _Mn FLAG(U_NON_SPACING_MARK) 296 #define _Me FLAG(U_ENCLOSING_MARK) 297 #define _Mc FLAG(U_COMBINING_SPACING_MARK) 298 #define _Nd FLAG(U_DECIMAL_DIGIT_NUMBER) [all …]
|
/third_party/benchmark/cmake/ |
D | AddCXXCompilerFlag.cmake | 6 # add_cxx_compiler_flag(<FLAG> [<VARIANT>]) 22 function(mangle_compiler_flag FLAG OUTPUT) 23 string(TOUPPER "HAVE_CXX_FLAG_${FLAG}" SANITIZED_FLAG) 30 function(add_cxx_compiler_flag FLAG) 31 mangle_compiler_flag("${FLAG}" MANGLED_FLAG) 33 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${FLAG}") 34 check_cxx_compiler_flag("${FLAG}" ${MANGLED_FLAG}) 43 …AGS${VARIANT} "${CMAKE_CXX_FLAGS${VARIANT}} ${BENCHMARK_CXX_FLAGS${VARIANT}} ${FLAG}" PARENT_SCOPE) 47 function(add_required_cxx_compiler_flag FLAG) 48 mangle_compiler_flag("${FLAG}" MANGLED_FLAG) [all …]
|
/third_party/toybox/toys/posix/ |
D | grep.c | 97 if (!trim && FLAG(o)) return; in outline() 98 if (name && FLAG(H)) printf("%s%s%s%c", TT.purple, name, TT.cyan, dash); in outline() 99 if (FLAG(c)) { in outline() 102 } else if (lcount && FLAG(n)) numdash(lcount, dash); in outline() 103 if (bcount && FLAG(b)) numdash(bcount-1, dash); in outline() 105 if (FLAG(color)) xputsn(FLAG(o) ? TT.red : TT.grey); in outline() 121 if (!FLAG(r)) TT.tried++; in do_grep() 125 if (!FLAG(a) && !lseek(fd, 0, SEEK_CUR)) { in do_grep() 141 if (bin && FLAG(I)) return; in do_grep() 172 if (FLAG(F)) { in do_grep() [all …]
|
D | ulimit.c | 71 if ((FLAG(a)||FLAG(p)) && toys.optc) error_exit("can't set -ap"); in ulimit_main() 74 if (!FLAG(P)) TT.P = getppid(); in ulimit_main() 83 if (FLAG(a)) printf("-%c: ", flags[i]); in ulimit_main() 86 if (FLAG(H)) in ulimit_main() 96 rlim_t rl = FLAG(H) ? rr.rlim_max : rr.rlim_cur; in ulimit_main() 106 if (FLAG(a)||FLAG(p)) return; in ulimit_main() 114 if (FLAG(H)) rr.rlim_max = val; in ulimit_main()
|
D | ln.c | 45 if (FLAG(T) && toys.optc>1) help_exit("Max 2 arguments"); 47 if (!((FLAG(n)||FLAG(T)) ? lstat : stat)(dest, &buf)) { 50 if ((FLAG(T) && i) || (!i && (toys.optc>1 || TT.t))) 65 if (FLAG(f)) { 74 rc = FLAG(s) ? symlink(try, new) : link(try, new); 75 if (FLAG(f)) { 88 FLAG(s) ? "symbolic" : "hard", try, new); 89 else if (FLAG(v)) fprintf(stderr, "'%s' -> '%s'\n", new, try);
|
D | patch.c | 80 if (FLAG(x)) fprintf(stderr, "DO %d: %s\n", TT.state, dlist->data); in do_line() 106 if (!FLAG(dry_run)) delete_tempfile(TT.filein, TT.fileout, &TT.tempname); in fail_hunk() 134 int matcheof, trailing = 0, reverse = FLAG(R), backwarn = 0; in apply_one_hunk() 137 lcmp = FLAG(l) ? (void *)loosecmp : (void *)strcmp; in apply_one_hunk() 144 if (FLAG(x)) fprintf(stderr, "HUNK:%s\n", plist->data); in apply_one_hunk() 148 if (FLAG(x)) fprintf(stderr,"MATCHEOF=%c\n", matcheof ? 'Y' : 'N'); in apply_one_hunk() 170 if (FLAG(x)) fprintf(stderr, "INEOF\n"); in apply_one_hunk() 175 if (backwarn && !FLAG(s)) in apply_one_hunk() 182 } else if (FLAG(x)) fprintf(stderr, "IN: %s\n", data); in apply_one_hunk() 199 if (FLAG(x)) { in apply_one_hunk() [all …]
|
D | rm.c | 38 if (!FLAG(f) in do_rm() 40 if (!(dir && try->again) && ((or && isatty(0)) || FLAG(i))) { in do_rm() 54 if (FLAG(f)) wfchmodat(fd, try->name, 0700); in do_rm() 59 if (FLAG(i)) { in do_rm() 72 if (FLAG(v)) { in do_rm() 91 if (!toys.optc && !FLAG(f)) help_exit("Needs 1 argument"); in rm_main() 101 if (FLAG(f) && (!unlink(*s) || errno == ENOENT)) continue; in rm_main()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_debug.c | 257 FLAG(struct debug_stream *stream, unsigned dw, unsigned bit, const char *fmt, in FLAG() function 314 FLAG(stream, ptr[j], 18, "alpha flatshade"); in debug_load_immediate() 315 FLAG(stream, ptr[j], 17, "fog flatshade"); in debug_load_immediate() 316 FLAG(stream, ptr[j], 16, "spec flatshade"); in debug_load_immediate() 317 FLAG(stream, ptr[j], 15, "rgb flatshade"); in debug_load_immediate() 319 FLAG(stream, ptr[j], 12, "vfmt: point width"); in debug_load_immediate() 320 FLAG(stream, ptr[j], 11, "vfmt: specular/fog"); in debug_load_immediate() 321 FLAG(stream, ptr[j], 10, "vfmt: rgba"); in debug_load_immediate() 322 FLAG(stream, ptr[j], 9, "vfmt: depth offset"); in debug_load_immediate() 324 FLAG(stream, ptr[j], 5, "force dflt diffuse"); in debug_load_immediate() [all …]
|
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | commandlineflags.h | 8 #define FLAG(name) FLAGS_##name macro 11 #define DECLARE_bool(name) extern bool FLAG(name) 12 #define DECLARE_int32(name) extern int32_t FLAG(name) 13 #define DECLARE_int64(name) extern int64_t FLAG(name) 14 #define DECLARE_double(name) extern double FLAG(name) 15 #define DECLARE_string(name) extern std::string FLAG(name) 18 #define DEFINE_bool(name, default_val, doc) bool FLAG(name) = (default_val) 19 #define DEFINE_int32(name, default_val, doc) int32_t FLAG(name) = (default_val) 20 #define DEFINE_int64(name, default_val, doc) int64_t FLAG(name) = (default_val) 21 #define DEFINE_double(name, default_val, doc) double FLAG(name) = (default_val) [all …]
|
/third_party/benchmark/src/ |
D | commandlineflags.h | 9 #define FLAG(name) FLAGS_##name macro 12 #define BM_DECLARE_bool(name) extern bool FLAG(name) 13 #define BM_DECLARE_int32(name) extern int32_t FLAG(name) 14 #define BM_DECLARE_double(name) extern double FLAG(name) 15 #define BM_DECLARE_string(name) extern std::string FLAG(name) 17 extern std::map<std::string, std::string> FLAG(name) 21 bool FLAG(name) = benchmark::BoolFromEnv(#name, default_val) 23 int32_t FLAG(name) = benchmark::Int32FromEnv(#name, default_val) 25 double FLAG(name) = benchmark::DoubleFromEnv(#name, default_val) 27 std::string FLAG(name) = benchmark::StringFromEnv(#name, default_val) [all …]
|
/third_party/toybox/toys/other/ |
D | losetup.c | 81 if (errno == ENXIO && (FLAG(a) || FLAG(j))) goto done; 83 if (errno == ENXIO && FLAG(f) && !file) { 98 if (FLAG(c) || FLAG(d)) { 100 if (ioctl(lfd, FLAG(c) ? 0x4C07 : LOOP_CLR_FD, 0)) { 117 if (FLAG(s)) puts(device); 157 TT.openflags = FLAG(r) ? O_RDONLY : O_RDWR; in losetup_main() 176 if (FLAG(D)) toys.optflags |= FLAG_a | FLAG_d; in losetup_main() 178 if (FLAG(f)) { in losetup_main() 181 } else if (FLAG(a) || FLAG(j)) { in losetup_main() 186 char *file = (FLAG(c) || FLAG(d)) ? NULL : toys.optargs[1]; in losetup_main()
|
D | blkid.c | 140 if (!FLAG(L) && !FLAG(U)) printf("%s:",name); in do_blkid() 143 if (!FLAG(U) && len) { in do_blkid() 161 if (FLAG(L)) return flagshow(buf, name); in do_blkid() 167 if (!FLAG(L) && len) { in do_blkid() 182 if (FLAG(U)) return flagshow(buf, name); in do_blkid() 189 if (FLAG(U) || FLAG(L)) return; in do_blkid() 197 if (*toys.optargs && !FLAG(L) && !FLAG(U)) loopfiles(toys.optargs, do_blkid); in blkid_main() 218 if (FLAG(L) || FLAG(U)) toys.exitval = 2; in blkid_main()
|
/third_party/toybox/toys/lsb/ |
D | mktemp.c | 40 if (!TT.p && FLAG(tmpdir)) { in mktemp_main() 46 if (!dir || !*dir || (FLAG(t) && te && *te)) dir = te; in mktemp_main() 51 if (!FLAG(p)&&!FLAG(t)) dir = 0; in mktemp_main() 61 if (FLAG(u)) { in mktemp_main() 81 } else if (FLAG(d) ? !mkdtemp(template) : mkstemp(template) == -1) { in mktemp_main() 82 if (FLAG(q)) { in mktemp_main() 86 FLAG(d) ? "directory" : "file", template); in mktemp_main()
|
D | hostname.c | 50 if (!FLAG(b)) error_exit("empty '%s'", TT.F); 53 } else hostname = (FLAG(b) && !*toybuf) ? "localhost" : *toys.optargs; 63 if (FLAG(d) || FLAG(f)) { 69 if (FLAG(s)) *dot = '\0'; 70 xputs(FLAG(d) ? dot+1 : toybuf);
|
/third_party/toybox/toys/pending/ |
D | arp.c | 138 if (!FLAG(D)) { in set_entry() 158 if (FLAG(H) && ifre.ifr_hwaddr.sa_family != ARPHRD_ETHER) in set_entry() 169 if (FLAG(v)) xprintf("Entry set for %s\n", toys.optargs[0]); in set_entry() 197 if (FLAG(v)) xprintf("Delete entry for %s\n", toys.optargs[0]); in delete_entry() 212 if (FLAG(A) || FLAG(p)) { in arp_main() 219 if (FLAG(H)) { in arp_main() 225 if (FLAG(s) || FLAG(d)) { in arp_main() 226 if (!toys.optargs[0]) error_exit("-%c needs a host name", FLAG(d)?'d':'s'); in arp_main() 230 if (FLAG(s) && !set_entry()) return; in arp_main() 231 if (FLAG(d) && !delete_entry()) return; in arp_main() [all …]
|
/third_party/icu/icu4c/source/samples/strsrch/ |
D | strsrch.cpp | 75 enum {FLAG, NUM, STRING} type; enumerator 84 {"-norm", OptSpec::FLAG, &opt_norm}, 85 {"-french", OptSpec::FLAG, &opt_french}, 86 {"-shifted", OptSpec::FLAG, &opt_shifted}, 87 {"-lower", OptSpec::FLAG, &opt_lower}, 88 {"-upper", OptSpec::FLAG, &opt_upper}, 89 {"-case", OptSpec::FLAG, &opt_case}, 91 {"-overlap", OptSpec::FLAG, &opt_overlap}, 92 {"-canonical", OptSpec::FLAG, &opt_canonical}, 93 {"-help", OptSpec::FLAG, &opt_help}, [all …]
|
/third_party/skia/third_party/externals/icu/source/samples/strsrch/ |
D | strsrch.cpp | 75 enum {FLAG, NUM, STRING} type; enumerator 84 {"-norm", OptSpec::FLAG, &opt_norm}, 85 {"-french", OptSpec::FLAG, &opt_french}, 86 {"-shifted", OptSpec::FLAG, &opt_shifted}, 87 {"-lower", OptSpec::FLAG, &opt_lower}, 88 {"-upper", OptSpec::FLAG, &opt_upper}, 89 {"-case", OptSpec::FLAG, &opt_case}, 91 {"-overlap", OptSpec::FLAG, &opt_overlap}, 92 {"-canonical", OptSpec::FLAG, &opt_canonical}, 93 {"-help", OptSpec::FLAG, &opt_help}, [all …]
|
/third_party/icu/icu4c/source/samples/coll/ |
D | coll.cpp | 67 enum {FLAG, NUM, STRING} type; enumerator 76 {"-norm", OptSpec::FLAG, &opt_norm}, 77 {"-french", OptSpec::FLAG, &opt_french}, 78 {"-shifted", OptSpec::FLAG, &opt_shifted}, 79 {"-lower", OptSpec::FLAG, &opt_lower}, 80 {"-upper", OptSpec::FLAG, &opt_upper}, 81 {"-case", OptSpec::FLAG, &opt_case}, 83 {"-help", OptSpec::FLAG, &opt_help}, 84 {"-?", OptSpec::FLAG, &opt_help}, 85 {0, OptSpec::FLAG, 0} [all …]
|
/third_party/skia/third_party/externals/icu/source/samples/coll/ |
D | coll.cpp | 67 enum {FLAG, NUM, STRING} type; enumerator 76 {"-norm", OptSpec::FLAG, &opt_norm}, 77 {"-french", OptSpec::FLAG, &opt_french}, 78 {"-shifted", OptSpec::FLAG, &opt_shifted}, 79 {"-lower", OptSpec::FLAG, &opt_lower}, 80 {"-upper", OptSpec::FLAG, &opt_upper}, 81 {"-case", OptSpec::FLAG, &opt_case}, 83 {"-help", OptSpec::FLAG, &opt_help}, 84 {"-?", OptSpec::FLAG, &opt_help}, 85 {0, OptSpec::FLAG, 0} [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/strsrch/ |
D | strsrch.cpp | 75 enum {FLAG, NUM, STRING} type; enumerator 84 {"-norm", OptSpec::FLAG, &opt_norm}, 85 {"-french", OptSpec::FLAG, &opt_french}, 86 {"-shifted", OptSpec::FLAG, &opt_shifted}, 87 {"-lower", OptSpec::FLAG, &opt_lower}, 88 {"-upper", OptSpec::FLAG, &opt_upper}, 89 {"-case", OptSpec::FLAG, &opt_case}, 91 {"-overlap", OptSpec::FLAG, &opt_overlap}, 92 {"-canonical", OptSpec::FLAG, &opt_canonical}, 93 {"-help", OptSpec::FLAG, &opt_help}, [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/coll/ |
D | coll.cpp | 67 enum {FLAG, NUM, STRING} type; enumerator 76 {"-norm", OptSpec::FLAG, &opt_norm}, 77 {"-french", OptSpec::FLAG, &opt_french}, 78 {"-shifted", OptSpec::FLAG, &opt_shifted}, 79 {"-lower", OptSpec::FLAG, &opt_lower}, 80 {"-upper", OptSpec::FLAG, &opt_upper}, 81 {"-case", OptSpec::FLAG, &opt_case}, 83 {"-help", OptSpec::FLAG, &opt_help}, 84 {"-?", OptSpec::FLAG, &opt_help}, 85 {0, OptSpec::FLAG, 0} [all …]
|