/external/pciutils/ |
D | ls-caps.c | 27 FLAG(cap, PCI_PM_CAP_PME_CLOCK), in cap_pm() 28 FLAG(cap, PCI_PM_CAP_DSI), in cap_pm() 29 FLAG(cap, PCI_PM_CAP_D1), in cap_pm() 30 FLAG(cap, PCI_PM_CAP_D2), in cap_pm() 32 FLAG(cap, PCI_PM_CAP_PME_D0), in cap_pm() 33 FLAG(cap, PCI_PM_CAP_PME_D1), in cap_pm() 34 FLAG(cap, PCI_PM_CAP_PME_D2), in cap_pm() 35 FLAG(cap, PCI_PM_CAP_PME_D3_HOT), in cap_pm() 36 FLAG(cap, PCI_PM_CAP_PME_D3_COLD)); in cap_pm() 42 FLAG(t, PCI_PM_CTRL_NO_SOFT_RST), in cap_pm() [all …]
|
D | ls-ecaps.c | 95 FLAG(ctrl3, PCI_SEC_LNKCTL3_LNK_EQU_REQ_INTR_EN), in cap_sec() 96 FLAG(ctrl3, PCI_SEC_LNKCTL3_PERFORM_LINK_EQU)); in cap_sec() 142 FLAG(l, PCI_ERR_UNC_DLP), FLAG(l, PCI_ERR_UNC_SDES), FLAG(l, PCI_ERR_UNC_POISON_TLP), in cap_aer() 143 FLAG(l, PCI_ERR_UNC_FCP), FLAG(l, PCI_ERR_UNC_COMP_TIME), FLAG(l, PCI_ERR_UNC_COMP_ABORT), in cap_aer() 144 FLAG(l, PCI_ERR_UNC_UNX_COMP), FLAG(l, PCI_ERR_UNC_RX_OVER), FLAG(l, PCI_ERR_UNC_MALF_TLP), in cap_aer() 145 FLAG(l, PCI_ERR_UNC_ECRC), FLAG(l, PCI_ERR_UNC_UNSUP), FLAG(l, PCI_ERR_UNC_ACS_VIOL), in cap_aer() 146 FLAG(l, PCI_ERR_UNC_INTERNAL), FLAG(l, PCI_ERR_UNC_MC_BLOCKED_TLP), in cap_aer() 147 FLAG(l, PCI_ERR_UNC_ATOMICOP_EGRESS_BLOCKED), FLAG(l, PCI_ERR_UNC_TLP_PREFIX_BLOCKED), in cap_aer() 148 FLAG(l, PCI_ERR_UNC_POISONED_TLP_EGRESS), FLAG(l, PCI_ERR_UNC_DMWR_REQ_EGRESS_BLOCKED), in cap_aer() 149 FLAG(l, PCI_ERR_UNC_IDE_CHECK), FLAG(l, PCI_ERR_UNC_MISR_IDE_TLP), FLAG(l, PCI_ERR_UNC_PCRC_CHECK), in cap_aer() [all …]
|
/external/toybox/toys/posix/ |
D | ls.c | 80 if (FLAG(q)) *buf = '?'; in crunch_qb() 85 if (FLAG(b)) { in crunch_qb() 116 if ((FLAG(F)||FLAG(p)) && S_ISDIR(mode)) return '/'; in endtype() 117 if (FLAG(F)) { in endtype() 134 if (FLAG(h)) return human_readable(s, value, 0); in print_with_h() 147 if (FLAG(m)) ++*len; in entrylen() 149 len[1] = FLAG(i) ? numlen(st->st_ino) : 0; in entrylen() 150 if (FLAG(l)||FLAG(o)||FLAG(n)||FLAG(g)) { in entrylen() 152 len[3] = FLAG(n) ? numlen(st->st_uid) : strwidth(getusername(st->st_uid)); in entrylen() 153 len[4] = FLAG(n) ? numlen(st->st_gid) : strwidth(getgroupname(st->st_gid)); in entrylen() [all …]
|
D | grep.c | 90 if (!trim && FLAG(o)) return; in outline() 91 if (name && FLAG(H)) printf("%s%s%s%c", TT.purple, name, TT.cyan, dash); in outline() 92 if (FLAG(c)) xprintf("%s%ld%c", TT.grey, lcount, TT.delim); in outline() 93 else if (lcount && FLAG(n)) numdash(lcount, dash); in outline() 94 if (bcount && FLAG(b)) numdash(bcount-1, dash); in outline() 96 if (FLAG(color)) xputsn(FLAG(o) ? TT.red : TT.grey); in outline() 105 if (FLAG(w)) { in matchw() 122 if (!FLAG(r)) TT.tried++; in do_grep() 126 if (!FLAG(a) && !lseek(fd, 0, SEEK_CUR)) { in do_grep() 142 if (bin && FLAG(I)) return; in do_grep() [all …]
|
D | cp.c | 178 if (S_ISLNK(try->st.st_mode) && FLAG(d)) rr++; in cp_node() 195 else if (FLAG(F) && unlinkat(cfd, catch, 0)) in cp_node() 197 else if (FLAG(i)) { in cp_node() 200 } else if (!(FLAG(u) && nanodiff(&try->st.st_mtim, &cst.st_mtim)>0) in cp_node() 201 && !FLAG(n)) rc++; in cp_node() 206 if (FLAG(v)) { in cp_node() 223 if (!FLAG(a) && !FLAG(r) && !rr) { in cp_node() 239 return DIRTREE_COMEAGAIN | DIRTREE_SYMFOLLOW*FLAG(L); in cp_node() 243 } else if (FLAG(l)) { in cp_node() 249 } else if (FLAG(s)) { in cp_node() [all …]
|
D | du.c | 62 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() 117 if (FLAG(x) && TT.st_dev != node->st.st_dev) return 0; in do_du() 120 if (FLAG(L)) { in do_du() 127 if (!FLAG(l) && !again) in do_du() 134 return DIRTREE_COMEAGAIN|DIRTREE_SYMFOLLOW*FLAG(L); in do_du() 140 blocks = FLAG(b) ? node->st.st_size : node->st.st_blocks; in do_du() 147 if (FLAG(a) || !node->parent || (S_ISDIR(node->st.st_mode) && !FLAG(s))) { in do_du() [all …]
|
D | df.c | 60 TT.width[0] = maxof(TT.width[0], 14+(FLAG(H)||FLAG(h))); in print_header() 62 if (FLAG(i)) memcpy(dsuapm+1, (char *[]){"Inodes", "IUsed", "IFree", "IUse%"}, in print_header() 65 if (!(FLAG(H)||FLAG(h))) { in print_header() 67 FLAG(P) ? "1024-blocks" : "1K-blocks"; in print_header() 69 if (FLAG(P)) dsuapm[4] = "Capacity"; in print_header() 85 if (!mt || (!FLAG(a) && (!mt->stat.st_dev || !mt->statvfs.f_blocks))) return; in show_mt() 101 if (FLAG(i)) { in show_mt() 117 if (FLAG(H)||FLAG(h)) in show_mt() 118 human_readable(dsuapm[i+1], suap[i], HR_1000*FLAG(H)); in show_mt() 145 if (FLAG(H)||FLAG(h)||FLAG(i)) TT.units = 1; in df_main() [all …]
|
D | chgrp.c | 51 if (FLAG(R) && !(node->again&DIRTREE_COMEAGAIN) && S_ISDIR(node->st.st_mode)) in do_chgrp() 52 return DIRTREE_COMEAGAIN|DIRTREE_SYMFOLLOW*FLAG(L); in do_chgrp() 56 AT_SYMLINK_NOFOLLOW*(!(FLAG(L)|FLAG(H)) && (FLAG(h)|FLAG(R)))); in do_chgrp() 58 if (ret || FLAG(v)) { in do_chgrp() 60 if (FLAG(v)) in do_chgrp() 64 if (ret == -1 && !FLAG(f)) in do_chgrp() 97 dirtree_flagread(*s, DIRTREE_SYMFOLLOW*(FLAG(H)|FLAG(L)), do_chgrp); in chgrp_main()
|
/external/toybox/toys/net/ |
D | sntp.c | 81 if (FLAG(d)) xvdaemon(); in sntp_main() 83 if (FLAG(M)) toys.optflags |= FLAG_S; in sntp_main() 84 if (!(FLAG(S)||FLAG(m)) && !*toys.optargs) in sntp_main() 93 if (FLAG(S)||FLAG(m)) { in sntp_main() 118 if (FLAG(m) || FLAG(S)) then = -1; in sntp_main() 123 if (FLAG(d)||FLAG(D)||FLAG(M)) then = now + (1<<TT.r)*1000; in sntp_main() 142 if (!(FLAG(S)||FLAG(m)||FLAG(D)||FLAG(d)) && ++tries == 3) in sntp_main() 149 if (!FLAG(S) || FLAG(m)) { in sntp_main() 157 if (!FLAG(S) && !FLAG(m) && before != SWAP_BE64(pktime[3])) continue; in sntp_main() 159 if (strike && !FLAG(S)) continue; in sntp_main() [all …]
|
D | netcat.c | 131 type = FLAG(u) ? SOCK_DGRAM : SOCK_STREAM; in netcat_main() 155 if (FLAG(f) ? toys.optc : (!FLAG(l) && !FLAG(L) && toys.optc!=2-FLAG(U))) in netcat_main() 158 if (FLAG(4)) family = AF_INET; in netcat_main() 159 else if (FLAG(6)) family = AF_INET6; in netcat_main() 160 else if (FLAG(U)) family = AF_UNIX; in netcat_main() 168 if (!FLAG(l) && !FLAG(L)) { in netcat_main() 169 if (FLAG(U)) sockfd = usock(toys.optargs[0], type, 1); in netcat_main() 171 family, type, 0, AI_NUMERICHOST*FLAG(n))); in netcat_main() 174 if (FLAG(z)) goto cleanup; in netcat_main() 182 if (FLAG(U)) { in netcat_main() [all …]
|
D | netstat.c | 84 if (FLAG(n) || !port) { in addr2str() 166 if (!(FLAG(l) && (!rport && (state&0xA))) && !FLAG(a) && !(rport&0x70)) in show_ip() 185 if (FLAG(e)) { in show_ip() 186 if (FLAG(n)) sprintf(s = toybuf, "%d", uid); in show_ip() 190 if (FLAG(p)) { in show_ip() 218 if (state==1 && flags && !(FLAG(a) || FLAG(l))) continue; in show_unix_sockets() 224 if (state!=1 && FLAG(l)) continue; in show_unix_sockets() 229 if (FLAG(p)) { in show_unix_sockets() 236 printf("%s\n", filename+!FLAG(p)); in show_unix_sockets() 294 !FLAG(e) ? " MSS Window irtt" : "Metric Ref Use"); in display_routes() [all …]
|
D | ftpget.c | 68 if (FLAG(v)) fprintf(stderr, "%s\n", toybuf); in xread2line() 79 if (FLAG(v)) fprintf(stderr, s, cmd, arg); in ftp_line() 118 if (FLAG(m)) { in ftpget_main() 122 } else if (FLAG(M)) ftp_line("MKD", toys.optargs[1], 257); in ftpget_main() 123 else if (FLAG(d)) ftp_line("DELE", toys.optargs[1], 250); in ftpget_main() 124 else if (FLAG(D)) ftp_line("RMD", toys.optargs[1], 250); in ftpget_main() 126 int get = !FLAG(s), cnt = FLAG(c); in ftpget_main() 155 if (FLAG(s)|FLAG(g)) { in ftpget_main() 168 if (FLAG(l)) cmd = "LIST"; in ftpget_main() 169 if (FLAG(L)) cmd = "NLST"; in ftpget_main() [all …]
|
/external/pigweed/pw_hdlc/py/ |
D | encode_test.py | 23 FLAG = bytes([protocol.FLAG]) variable 35 encode.ui_frame(0, b''), FLAG + _with_fcs(b'\x01\x03') + FLAG 38 encode.ui_frame(0x1A, b''), FLAG + _with_fcs(b'\x35\x03') + FLAG 43 encode.ui_frame(0, b'A'), FLAG + _with_fcs(b'\x01\x03A') + FLAG 49 FLAG + _with_fcs(b'\x01\x03123456789') + FLAG, 55 FLAG + _with_fcs(b'\x00\x03\x03123456789') + FLAG, 61 FLAG + b'\x7d\x5d\x03\x7d\x5d' + _fcs(b'\x7d\x03\x7d') + FLAG, 65 FLAG 68 + FLAG,
|
/external/libcxx/utils/google-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 …]
|
/external/cronet/stable/third_party/google_benchmark/src/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 …]
|
/external/google-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 …]
|
/external/cronet/tot/third_party/google_benchmark/src/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 …]
|
/external/toybox/toys/other/ |
D | hwclock.c | 58 if (FLAG(t)&&!FLAG(u)) toys.optflags |= FLAG_l; 59 if (FLAG(l)) { 67 if (!FLAG(t)) { 68 fd = xopen(TT.f ? : "/dev/rtc0", O_WRONLY*FLAG(w)); 71 if (!FLAG(w)) { 73 ts.tv_sec = xmktime(&tm, !FLAG(l)); 77 if (FLAG(w) || FLAG(t)) { 78 if (FLAG(w)) { 80 if (!(FLAG(l) ? localtime_r : gmtime_r)(&ts.tv_sec, &tm)) 81 error_exit("%s failed", FLAG(l) ? "localtime_r" : "gmtime_r"); [all …]
|
D | xxd.c | 49 if (FLAG(s)) { 56 if (!FLAG(p)) printf("%08llx: ", TT.o + pos); 63 if (FLAG(e) && j==1 && (len-i)<TT.g) { 70 space -= printf("%02x", toybuf[FLAG(e) ? (i + TT.g - j) : i]); 72 if (!FLAG(p) && TT.g && !(i%TT.g)) { 79 if (!FLAG(p)) { 84 if (TT.c || !FLAG(p)) putchar('\n'); 86 if (!TT.c && FLAG(p)) putchar('\n'); 125 if (FLAG(i)) while (fscanf(fp, " 0x%02x,", &tmp) == 1) xputc(tmp); in do_xxd_reverse() 132 if (!FLAG(p) && fscanf(fp, "%llx%c ", &pos, &ch) == 2) { in do_xxd_reverse() [all …]
|
D | pmap.c | 35 char *name = 0, *k = "K"+FLAG(x), mode[5]; in pmap_main() 49 sprintf(toybuf, "/proc/%u/%smaps", pid, "s"+!FLAG(x)); in pmap_main() 55 if (FLAG(x) && !FLAG(q)) in pmap_main() 66 printf("%0*llx % *lld%s ", (int)(2*sizeof(long)), start, 6+FLAG(x), in pmap_main() 68 if (FLAG(x)) { in pmap_main() 87 FLAG(p) ? name : basename(name)); in pmap_main() 90 if (!FLAG(q)) { in pmap_main() 91 if (FLAG(x)) { in pmap_main() 95 printf("total% *lld%s", 2*(int)(sizeof(long)+1)+FLAG(x), total, k); in pmap_main() 96 if (FLAG(x)) printf("% 8lld% 8lld% 8lld", tpss, tdirty, tswap); in pmap_main()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_debug.c | 255 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 …]
|
/external/libcxx/utils/google-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 …]
|
/external/toybox/toys/lsb/ |
D | dmesg.c | 72 if (FLAG(r)) { in format_message() 84 if (!FLAG(t)) { in format_message() 86 if (FLAG(T)) { in format_message() 124 if (FLAG(C)||FLAG(n)) goto no_output; in dmesg_main() 126 if (FLAG(T)) { in dmesg_main() 133 if (!FLAG(S)) { in dmesg_main() 140 fd = open("/dev/kmsg", O_RDONLY|O_NONBLOCK*!(FLAG(w) || FLAG(W))); in dmesg_main() 145 lseek(fd, 0, FLAG(W) ? SEEK_END : SEEK_DATA); in dmesg_main() 167 data[size = xklogctl(3+FLAG(c), data, size)] = 0; in dmesg_main() 183 if (FLAG(n)) xklogctl(8, 0, TT.n); in dmesg_main() [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_sbr_dec.h | 153 FLAG ps_present; 165 FLAG stereo_config_idx; 166 FLAG usac_independency_flag; 167 FLAG pvc_flag; 168 FLAG hbe_flag; 169 FLAG sbr_mode; 170 FLAG prev_sbr_mode; 171 FLAG inter_tes_flag; 172 FLAG aot_usac_flag; 178 FLAG esbr_hq; [all …]
|
/external/ltp/lib/newlib_tests/ |
D | tst_res_flags.c | 12 #define FLAG(x) .flag = x, .str = #x macro 18 {FLAG(TPASS)}, 19 {FLAG(TFAIL)}, 20 {FLAG(TBROK)}, 21 {FLAG(TCONF)}, 22 {FLAG(TWARN)}, 23 {FLAG(TINFO)}, 24 {FLAG(TDEBUG), " (printed only with -D or LTP_ENABLE_DEBUG=1)"},
|