Home
last modified time | relevance | path

Searched refs:FLAG (Results 1 – 25 of 222) sorted by relevance

123456789

/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkformat.c36 #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/
Dsntp.c79 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 …]
Dnetcat.c98 ll = FLAG(L)|FLAG(l), type = FLAG(u) ? SOCK_DGRAM : SOCK_STREAM; in netcat_main()
110 if (FLAG(f) ? toys.optc : (!ll && toys.optc!=(FLAG(U)?1:2))) in netcat_main()
113 if (FLAG(4)) family = AF_INET; in netcat_main()
114 else if (FLAG(6)) family = AF_INET6; in netcat_main()
115 else if (FLAG(U)) family = AF_UNIX; in netcat_main()
121 if (FLAG(U)) sockfd = usock(toys.optargs[0], type, 1); in netcat_main()
131 if (FLAG(U)) { in netcat_main()
132 if (!FLAG(s)) error_exit("-s must be provided if using -U with -L/-l"); in netcat_main()
140 if (!TT.p && !FLAG(U)) { in netcat_main()
178 if (FLAG(L)) NOEXIT(child = XVFORK()); in netcat_main()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duprops.h286 #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/
DAddCXXCompilerFlag.cmake6 # 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/
Dgrep.c97 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 …]
Ddu.c62 if (FLAG(h)) { in print()
68 if (FLAG(K)) bits = 9; in print()
69 else if (FLAG(m)) bits = 20; in print()
71 if (FLAG(b) && bits == 10 && !FLAG(k)) printf("%llu", size); in print()
119 if (FLAG(x) && (TT.st_dev != node->st.st_dev)) in do_du()
123 if (FLAG(L)) { in do_du()
132 if (!FLAG(l) && !node->again) in do_du()
139 return DIRTREE_COMEAGAIN|(DIRTREE_SYMFOLLOW*!!FLAG(L)); in do_du()
145 blocks = FLAG(b) ? node->st.st_size : node->st.st_blocks; in do_du()
152 if (FLAG(a) || !node->parent || (S_ISDIR(node->st.st_mode) && !FLAG(s))) { in do_du()
[all …]
Dpatch.c80 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 …]
Dulimit.c71 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()
Dln.c45 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);
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_debug.c255 FLAG(struct debug_stream *stream, unsigned dw, unsigned bit, const char *fmt, in FLAG() function
312 FLAG(stream, ptr[j], 18, "alpha flatshade"); in debug_load_immediate()
313 FLAG(stream, ptr[j], 17, "fog flatshade"); in debug_load_immediate()
314 FLAG(stream, ptr[j], 16, "spec flatshade"); in debug_load_immediate()
315 FLAG(stream, ptr[j], 15, "rgb flatshade"); in debug_load_immediate()
317 FLAG(stream, ptr[j], 12, "vfmt: point width"); in debug_load_immediate()
318 FLAG(stream, ptr[j], 11, "vfmt: specular/fog"); in debug_load_immediate()
319 FLAG(stream, ptr[j], 10, "vfmt: rgba"); in debug_load_immediate()
320 FLAG(stream, ptr[j], 9, "vfmt: depth offset"); in debug_load_immediate()
322 FLAG(stream, ptr[j], 5, "force dflt diffuse"); in debug_load_immediate()
[all …]
/third_party/toybox/toys/other/
Dlosetup.c81 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)) {
119 if (FLAG(s)) puts(device);
158 TT.openflags = FLAG(r) ? O_RDONLY : O_RDWR; in losetup_main()
177 if (FLAG(D)) toys.optflags |= FLAG_a | FLAG_d; in losetup_main()
179 if (FLAG(f)) { in losetup_main()
182 } else if (FLAG(a) || FLAG(j)) { in losetup_main()
187 char *file = (FLAG(c) || FLAG(d)) ? NULL : toys.optargs[1]; in losetup_main()
Dblkid.c140 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()
Dpwgen.c49 else count = FLAG(1) ? 1 : (xx/(length+1))*(yy-1);
56 if (FLAG(s)) randbuf[rand] = 0;
59 if (FLAG(A)) continue;
63 if (FLAG(0) && c>='0' && c<='9') continue;
64 if (FLAG(B) && strchr("0O1lI'`.,", c)) continue;
65 if (FLAG(v) && strchr("aeiou", tolower(c))) continue;
66 if (!FLAG(y) || (0x80&randbuf[rand]))
72 if (FLAG(1) || (x += length+1)+length>=xx) x = 0;
/third_party/benchmark/src/
Dcommandlineflags.h9 #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/lsb/
Ddmesg.c72 if (FLAG(r)) { in format_message()
78 if (!FLAG(t)) { in format_message()
80 if (FLAG(T)) { in format_message()
118 if (FLAG(C)||FLAG(n)) goto no_output; in dmesg_main()
120 if (FLAG(T)) { in dmesg_main()
127 if (!FLAG(S)) { in dmesg_main()
134 fd = open("/dev/kmsg", O_RDONLY|(O_NONBLOCK*!FLAG(w))); in dmesg_main()
161 data[size = xklogctl(3+FLAG(c), data, size)] = 0; in dmesg_main()
177 if (FLAG(n)) xklogctl(8, 0, TT.n); in dmesg_main()
180 if (FLAG(C)||FLAG(c)) xklogctl(5, 0, 0); in dmesg_main()
Dmktemp.c40 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()
/third_party/toybox/toys/pending/
Dmodprobe.c271 else if (!FLAG(q)) in config_action()
296 if (FLAG(v)) puts(line); in depmode_read_entry()
320 if ((mod->flags & MOD_ALOADED) && !(FLAG(r)|FLAG(D))) continue; in find_dep()
365 if (!(FLAG(r)|FLAG(D)) && (mod->flags & MOD_ALOADED)) { in add_mod()
366 if (FLAG(v)) printf("%s already loaded\n", name); in add_mod()
369 if (FLAG(v)) printf("queuing %s\n", name); in add_mod()
403 if (!FLAG(q)) error_msg("module %s not found in modules.dep", m->name); in go_probe()
406 if (FLAG(v)) printf("go_prob'ing %s\n", m->name); in go_probe()
407 if (!FLAG(r)) m->dep = llist_rev(m->dep); in go_probe()
417 if (FLAG(r)) { in go_probe()
[all …]
Darp.c138 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 …]
Dhexdump.c72 if (FLAG(s) && (TT.s-TT.pos>0)) { in do_hexdump()
95 if (FLAG(v) || TT.len < 16 || toybuf[i] != TT.linebuf[i]) goto newline; in do_hexdump()
109 if (!FLAG(C) && !FLAG(c)) { in do_hexdump()
111 adv = FLAG(b) ? 1 : 2; in do_hexdump()
113 block = (FLAG(b) || i == TT.bc-1) in do_hexdump()
117 } else if (FLAG(C)) { in do_hexdump()
148 if FLAG(b) TT.fmt = " %03o"; in hexdump_main()
149 else if FLAG(d) TT.fmt = " %05d"; in hexdump_main()
150 else if FLAG(o) TT.fmt = " %06o"; in hexdump_main()
154 FLAG(C) ? printf("%08llx\n", TT.pos) : printf("%07llx\n", TT.pos); in hexdump_main()
/third_party/skia/third_party/externals/icu/source/samples/strsrch/
Dstrsrch.cpp75 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/strsrch/
Dstrsrch.cpp75 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/strsrch/
Dstrsrch.cpp75 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/coll/
Dcoll.cpp67 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/icu/icu4c/source/samples/coll/
Dcoll.cpp67 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 …]

123456789