Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 25 of 3724) sorted by relevance

12345678910>>...149

/external/llvm-project/libcxx/utils/libcxx/test/
Dfeatures.py14 _isClang = lambda cfg: '__clang__' in compilerMacros(cfg) and '__apple_build_version__' not in… argument
15 _isAppleClang = lambda cfg: '__apple_build_version__' in compilerMacros(cfg) argument
16 _isGCC = lambda cfg: '__GNUC__' in compilerMacros(cfg) and '__clang__' not in compilerMacros… argument
20 when=lambda cfg: hasCompileFlag(cfg, '-fcoroutines-ts') and
21 … featureTestMacros(cfg, flags='-fcoroutines-ts').get('__cpp_coroutines', 0) >= 201703,
25 when=lambda cfg: hasCompileFlag(cfg, '-Werror=thread-safety'),
29 when=lambda cfg: hasCompileFlag(cfg, '-Wuser-defined-warnings'),
32 Feature(name='has-fblocks', when=lambda cfg: hasCompileFlag(cfg, '-fblocks')),
33 …Feature(name='-fsized-deallocation', when=lambda cfg: hasCompileFlag(cfg, '-fsized-deallo…
34 …Feature(name='-faligned-allocation', when=lambda cfg: hasCompileFlag(cfg, '-faligned-allo…
[all …]
/external/perfetto/ui/src/frontend/
Drecord_page.ts123 const cfg = globals.state.recordConfig; constant
127 checked: cfg.mode === mode,
138 `label${cfg.mode === mode ? '.selected' : ''}`,
157 set: (cfg, val) => cfg.bufferSizeMb = val,
158 get: (cfg) => cfg.bufferSizeMb
167 set: (cfg, val) => cfg.durationMs = val,
168 get: (cfg) => cfg.durationMs
173 cssClass: cfg.mode !== 'LONG_TRACE' ? '.hide' : '',
176 set: (cfg, val) => cfg.maxFileSizeMb = val,
177 get: (cfg) => cfg.maxFileSizeMb
[all …]
/external/rust/crates/syn/src/gen/
Deq.rs4 #[cfg(any(feature = "derive", feature = "full"))]
7 #[cfg(any(feature = "derive", feature = "full"))]
8 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
10 #[cfg(any(feature = "derive", feature = "full"))]
11 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
17 #[cfg(any(feature = "derive", feature = "full"))]
18 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
20 #[cfg(any(feature = "derive", feature = "full"))]
21 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
27 #[cfg(feature = "full")]
[all …]
Dclone.rs6 #[cfg(any(feature = "derive", feature = "full"))]
7 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
16 #[cfg(any(feature = "derive", feature = "full"))]
17 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
28 #[cfg(feature = "full")]
29 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
42 #[cfg(any(feature = "derive", feature = "full"))]
43 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
45 #[cfg(any(feature = "derive", feature = "full"))]
46 #[cfg_attr(doc_cfg, doc(cfg(feature = "clone-impls")))]
[all …]
Dhash.rs4 #[cfg(any(feature = "derive", feature = "full"))]
8 #[cfg(any(feature = "derive", feature = "full"))]
9 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
18 #[cfg(any(feature = "derive", feature = "full"))]
19 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
29 #[cfg(feature = "full")]
30 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
43 #[cfg(any(feature = "derive", feature = "full"))]
44 #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
60 #[cfg(any(feature = "derive", feature = "full"))]
[all …]
/external/rust/crates/nix/src/net/
Dif_.rs40 #[cfg(any(target_os = "android",
49 #[cfg(any(target_os = "dragonfly"))]
53 #[cfg(any(target_os = "android",
75 #[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))]
78 #[cfg(any(target_os = "freebsd",
85 #[cfg(target_os = "solaris")]
89 #[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux"))]
92 #[cfg(any(target_os = "dragonfly",
103 #[cfg(any(target_os = "dragonfly",
111 #[cfg(any(target_os = "solaris"))]
[all …]
/external/yapf/yapftests/
Dstyle_test.py57 def _LooksLikeChromiumStyle(cfg): argument
58 return (cfg['INDENT_WIDTH'] == 2 and
59 cfg['BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF'])
62 def _LooksLikeGoogleStyle(cfg): argument
63 return (cfg['INDENT_WIDTH'] == 4 and
64 cfg['BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF'])
67 def _LooksLikePEP8Style(cfg): argument
68 return (cfg['INDENT_WIDTH'] == 4 and
69 not cfg['BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF'])
72 def _LooksLikeFacebookStyle(cfg): argument
[all …]
/external/iptables/extensions/
Dlibxt_hashlimit.c131 XTOPT_POINTER(s, cfg.burst)},
134 XTOPT_POINTER(s, cfg.size)},
137 XTOPT_POINTER(s, cfg.max)},
140 XTOPT_POINTER(s, cfg.gc_interval)},
143 XTOPT_POINTER(s, cfg.expire)},
165 XTOPT_POINTER(s, cfg.size)},
168 XTOPT_POINTER(s, cfg.max)},
171 XTOPT_POINTER(s, cfg.gc_interval)},
174 XTOPT_POINTER(s, cfg.expire)},
195 XTOPT_POINTER(s, cfg.size)},
[all …]
/external/skqp/src/sksl/
DSkSLCFGGenerator.cpp294 void CFGGenerator::addExpression(CFG& cfg, std::unique_ptr<Expression>* e, bool constantPropagate) { in addExpression() argument
305 this->addExpression(cfg, &b->fLeft, constantPropagate); in addExpression()
306 BlockId start = cfg.fCurrent; in addExpression()
307 cfg.newBlock(); in addExpression()
308 this->addExpression(cfg, &b->fRight, constantPropagate); in addExpression()
309 cfg.newBlock(); in addExpression()
310 cfg.addExit(start, cfg.fCurrent); in addExpression()
311 cfg.fBlocks[cfg.fCurrent].fNodes.push_back({ in addExpression()
320 this->addExpression(cfg, &b->fRight, constantPropagate); in addExpression()
321 this->addLValue(cfg, &b->fLeft); in addExpression()
[all …]
/external/perfetto/src/profiling/memory/
Dheapprofd_producer_unittest.cc86 HeapprofdConfig cfg; in TEST() local
87 cfg.add_heaps("foo"); in TEST()
88 cfg.set_sampling_interval_bytes(4096); in TEST()
90 ASSERT_TRUE(HeapprofdConfigToClientConfiguration(cfg, &cli_config)); in TEST()
97 HeapprofdConfig cfg; in TEST() local
98 cfg.set_sampling_interval_bytes(4096); in TEST()
100 ASSERT_TRUE(HeapprofdConfigToClientConfiguration(cfg, &cli_config)); in TEST()
107 HeapprofdConfig cfg; in TEST() local
108 cfg.add_heaps("foo"); in TEST()
109 cfg.add_heaps("bar"); in TEST()
[all …]
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c95 vpx_codec_enc_cfg_t *cfg) { in set_rate_control_metrics() argument
99 const double framerate = cfg->g_timebase.den / cfg->g_timebase.num; in set_rate_control_metrics()
100 const int ts_number_layers = cfg->ts_number_layers; in set_rate_control_metrics()
101 rc->layer_framerate[0] = framerate / cfg->ts_rate_decimator[0]; in set_rate_control_metrics()
106 rc->layer_framerate[i] = framerate / cfg->ts_rate_decimator[i]; in set_rate_control_metrics()
125 cfg->rc_target_bitrate = rc->layer_target_bitrate[ts_number_layers - 1]; in set_rate_control_metrics()
129 vpx_codec_enc_cfg_t *cfg, in printout_rate_control_summary() argument
136 cfg->ts_number_layers); in printout_rate_control_summary()
137 for (i = 0; i < cfg->ts_number_layers; ++i) { in printout_rate_control_summary()
177 static void set_roi_map(const char *enc_name, vpx_codec_enc_cfg_t *cfg, in set_roi_map() argument
[all …]
Dvp8_multi_resolution_encoder.c124 static void write_ivf_file_header(FILE *outfile, const vpx_codec_enc_cfg_t *cfg, in write_ivf_file_header() argument
128 if (cfg->g_pass != VPX_RC_ONE_PASS && cfg->g_pass != VPX_RC_LAST_PASS) return; in write_ivf_file_header()
136 mem_put_le16(header + 12, cfg->g_w); /* width */ in write_ivf_file_header()
137 mem_put_le16(header + 14, cfg->g_h); /* height */ in write_ivf_file_header()
138 mem_put_le32(header + 16, cfg->g_timebase.den); /* rate */ in write_ivf_file_header()
139 mem_put_le32(header + 20, cfg->g_timebase.num); /* scale */ in write_ivf_file_header()
167 vpx_codec_enc_cfg_t *cfg, int bitrate, in set_temporal_layer_pattern() argument
173 cfg->ts_number_layers = 1; in set_temporal_layer_pattern()
174 cfg->ts_periodicity = 1; in set_temporal_layer_pattern()
175 cfg->ts_rate_decimator[0] = 1; in set_temporal_layer_pattern()
[all …]
/external/libvpx/libvpx/test/
Dencode_api_test.cc33 vpx_codec_enc_cfg_t cfg; in TEST() local
45 vpx_codec_enc_config_default(NULL, &cfg, 0)); in TEST()
55 vpx_codec_enc_config_default(kCodecs[i], &cfg, 1)); in TEST()
57 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_enc_config_default(kCodecs[i], &cfg, 0)); in TEST()
58 EXPECT_EQ(VPX_CODEC_OK, vpx_codec_enc_init(&enc, kCodecs[i], &cfg, 0)); in TEST()
89 vpx_codec_enc_cfg_t cfg; in TEST() local
92 vpx_codec_enc_config_default(vpx_codec_vp8_cx(), &cfg, 0); in TEST()
94 cfg.g_w = width; in TEST()
95 cfg.g_h = height; in TEST()
99 vpx_codec_enc_init(&enc, vpx_codec_vp8_cx(), &cfg, 0); in TEST()
[all …]
Dcodec_factory.h37 virtual Decoder *CreateDecoder(vpx_codec_dec_cfg_t cfg) const = 0;
39 virtual Decoder *CreateDecoder(vpx_codec_dec_cfg_t cfg,
42 virtual Encoder *CreateEncoder(vpx_codec_enc_cfg_t cfg,
47 virtual vpx_codec_err_t DefaultEncoderConfig(vpx_codec_enc_cfg_t *cfg,
81 explicit VP8Decoder(vpx_codec_dec_cfg_t cfg) : Decoder(cfg) {} in VP8Decoder() argument
83 VP8Decoder(vpx_codec_dec_cfg_t cfg, const vpx_codec_flags_t flag) in VP8Decoder() argument
84 : Decoder(cfg, flag) {} in VP8Decoder()
98 VP8Encoder(vpx_codec_enc_cfg_t cfg, unsigned long deadline, in VP8Encoder() argument
100 : Encoder(cfg, deadline, init_flags, stats) {} in VP8Encoder()
116 virtual Decoder *CreateDecoder(vpx_codec_dec_cfg_t cfg) const { in CreateDecoder() argument
[all …]
/external/rust/crates/tokio/src/macros/
Dcfg.rs9 #[cfg($meta)]
10 #[cfg_attr(docsrs, doc(cfg($meta)))]
20 #[cfg(any(
35 #[cfg(any(
42 #[cfg(not(loom))]
51 #[cfg(feature = "fs")]
52 #[cfg_attr(docsrs, doc(cfg(feature = "fs")))]
60 $( #[cfg(any(feature = "io-std", feature = "fs"))] $item )*
67 #[cfg(any(
72 #[cfg_attr(docsrs, doc(cfg(any(
[all …]
/external/libaom/libaom/av1/encoder/
Dav1_fwd_txfm2d.c42 const TXFM_2D_FLIP_CFG *cfg, int bd) { in av1_gen_fwd_stage_range() argument
44 const int8_t *shift = cfg->shift; in av1_gen_fwd_stage_range()
46 for (int i = 0; i < cfg->stage_num_col && i < MAX_TXFM_STAGE_NUM; ++i) { in av1_gen_fwd_stage_range()
47 stage_range_col[i] = cfg->stage_range_col[i] + shift[0] + bd + 1; in av1_gen_fwd_stage_range()
51 for (int i = 0; i < cfg->stage_num_row && i < MAX_TXFM_STAGE_NUM; ++i) { in av1_gen_fwd_stage_range()
52 stage_range_row[i] = cfg->stage_range_row[i] + shift[0] + shift[1] + bd + 1; in av1_gen_fwd_stage_range()
57 const int stride, const TXFM_2D_FLIP_CFG *cfg, in fwd_txfm2d_c() argument
66 const int txfm_size_col = tx_size_wide[cfg->tx_size]; in fwd_txfm2d_c()
67 const int txfm_size_row = tx_size_high[cfg->tx_size]; in fwd_txfm2d_c()
69 const int8_t *shift = cfg->shift; in fwd_txfm2d_c()
[all …]
/external/rust/crates/nix/src/sys/
Dmman.rs2 #[cfg(not(target_os = "android"))]
5 #[cfg(not(target_os = "android"))]
8 #[cfg(not(target_os = "android"))]
24 #[cfg(any(target_os = "android", target_os = "linux"))]
27 #[cfg(any(target_os = "android", target_os = "linux"))]
46 #[cfg(any(target_os = "android", target_os = "linux", target_os = "freebsd"))]
49 #[cfg(any(all(any(target_os = "android", target_os = "linux"),
55 #[cfg(any(target_os = "android", target_os = "linux"))]
58 #[cfg(any(target_os = "android", target_os = "linux"))]
61 #[cfg(any(target_os = "android", target_os = "linux"))]
[all …]
Dstatfs.rs4 #[cfg(not(any(target_os = "linux", target_os = "android")))]
9 #[cfg(target_os = "android")]
11 #[cfg(not(target_os = "android"))]
18 #[cfg(target_os = "freebsd")]
20 #[cfg(target_os = "android")]
22 #[cfg(all(target_os = "linux", target_arch = "s390x"))]
24 #[cfg(all(target_os = "linux", target_env = "musl"))]
26 #[cfg(all(target_os = "linux", not(any(target_arch = "s390x", target_env = "musl"))))]
29 #[cfg(any(
39 #[cfg(all(target_os = "linux", not(target_env = "musl")))]
[all …]
/external/mesa3d/src/panfrost/lib/
Dpan_blit.c206 pan_pack(t.cpu, VIEWPORT, cfg) { in panfrost_load_emit_viewport()
207 cfg.scissor_maximum_x = width - 1; /* Inclusive */ in panfrost_load_emit_viewport()
208 cfg.scissor_maximum_y = height - 1; in panfrost_load_emit_viewport()
272 pan_pack(varying_buffer.cpu, ATTRIBUTE_BUFFER, cfg) { in panfrost_load_emit_varying()
273 cfg.pointer = coordinates; in panfrost_load_emit_varying()
274 cfg.stride = 4 * sizeof(float); in panfrost_load_emit_varying()
275 cfg.size = cfg.stride * vertex_count; in panfrost_load_emit_varying()
280 ATTRIBUTE_BUFFER, cfg); in panfrost_load_emit_varying()
283 pan_pack(varying.cpu, ATTRIBUTE, cfg) { in panfrost_load_emit_varying()
284 cfg.buffer_index = 0; in panfrost_load_emit_varying()
[all …]
/external/rust/crates/syn/src/
Dlib.rs298 #[cfg(all(
306 #[cfg(feature = "printing")]
313 #[cfg(feature = "parsing")]
324 #[cfg(any(feature = "full", feature = "derive"))]
326 #[cfg(any(feature = "full", feature = "derive"))]
333 #[cfg(any(feature = "full", feature = "derive"))]
335 #[cfg(any(feature = "full", feature = "derive"))]
341 #[cfg(any(feature = "full", feature = "derive"))]
343 #[cfg(feature = "full")]
347 #[cfg(any(feature = "full", feature = "derive"))]
[all …]
/external/perfetto/src/profiling/perf/
Devent_config_unittest.cc48 protos::gen::PerfEventConfig cfg; in TEST() local
50 EventConfig::Create(AsDataSourceConfig(cfg)); in TEST()
58 protos::gen::PerfEventConfig cfg; in TEST() local
60 EventConfig::Create(AsDataSourceConfig(cfg)); in TEST()
68 protos::gen::PerfEventConfig cfg; in TEST() local
69 cfg.set_ring_buffer_pages(num_pages); in TEST()
71 EventConfig::Create(AsDataSourceConfig(cfg)); in TEST()
77 protos::gen::PerfEventConfig cfg; in TEST() local
78 cfg.set_ring_buffer_pages(7); in TEST()
80 EventConfig::Create(AsDataSourceConfig(cfg)); in TEST()
[all …]
/external/libnl/lib/route/cls/ematch/
Dtext.c28 struct tcf_em_text cfg; member
36 t->cfg.from_offset = offset; in rtnl_ematch_text_set_from()
37 t->cfg.from_layer = layer; in rtnl_ematch_text_set_from()
42 return ((struct text_data *) rtnl_ematch_data(e))->cfg.from_offset; in rtnl_ematch_text_get_from_offset()
47 return ((struct text_data *) rtnl_ematch_data(e))->cfg.from_layer; in rtnl_ematch_text_get_from_layer()
54 t->cfg.to_offset = offset; in rtnl_ematch_text_set_to()
55 t->cfg.to_layer = layer; in rtnl_ematch_text_set_to()
60 return ((struct text_data *) rtnl_ematch_data(e))->cfg.to_offset; in rtnl_ematch_text_get_to_offset()
65 return ((struct text_data *) rtnl_ematch_data(e))->cfg.to_layer; in rtnl_ematch_text_get_to_layer()
77 t->cfg.pattern_len = len; in rtnl_ematch_text_set_pattern()
[all …]
/external/webrtc/api/audio/test/
Decho_canceller3_config_json_unittest.cc19 EchoCanceller3Config cfg; in TEST() local
20 cfg.delay.down_sampling_factor = 1u; in TEST()
21 cfg.delay.log_warning_on_delay_changes = true; in TEST()
22 cfg.filter.refined.error_floor = 2.f; in TEST()
23 cfg.filter.coarse_initial.length_blocks = 3u; in TEST()
24 cfg.comfort_noise.noise_floor_dbfs = 100.f; in TEST()
25 cfg.suppressor.normal_tuning.mask_hf.enr_suppress = .5f; in TEST()
26 cfg.suppressor.subband_nearend_detection.nearend_average_blocks = 3; in TEST()
27 cfg.suppressor.subband_nearend_detection.subband1 = {1, 3}; in TEST()
28 cfg.suppressor.subband_nearend_detection.subband1 = {4, 5}; in TEST()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_l3_state.c71 setup_l3_config(struct brw_context *brw, const struct gen_l3_config *cfg) in setup_l3_config() argument
74 const bool has_dc = cfg->n[GEN_L3P_DC] || cfg->n[GEN_L3P_ALL]; in setup_l3_config()
75 const bool has_is = cfg->n[GEN_L3P_IS] || cfg->n[GEN_L3P_RO] || in setup_l3_config()
76 cfg->n[GEN_L3P_ALL]; in setup_l3_config()
77 const bool has_c = cfg->n[GEN_L3P_C] || cfg->n[GEN_L3P_RO] || in setup_l3_config()
78 cfg->n[GEN_L3P_ALL]; in setup_l3_config()
79 const bool has_t = cfg->n[GEN_L3P_T] || cfg->n[GEN_L3P_RO] || in setup_l3_config()
80 cfg->n[GEN_L3P_ALL]; in setup_l3_config()
81 const bool has_slm = cfg->n[GEN_L3P_SLM]; in setup_l3_config()
119 assert(!cfg->n[GEN_L3P_IS] && !cfg->n[GEN_L3P_C] && !cfg->n[GEN_L3P_T]); in setup_l3_config()
[all …]
/external/toolchain-utils/compiler_wrapper/
Dconfig_test.go18 cfg, err := getRealConfig()
22 if cfg.useCCache {
27 cfg, err = getRealConfig()
31 if !cfg.useCCache {
81 cfg, err := getRealConfig()
85 if !isSysrootHardened(cfg) || cfg.isHostWrapper {
86 t.Fatalf("ConfigName: Expected sysroot hardened config. Got: %#v", cfg)
90 cfg, err = getRealConfig()
94 if isSysrootHardened(cfg) || cfg.isHostWrapper {
95 t.Fatalf("ConfigName: Expected sysroot non hardened config. Got: %#v", cfg)
[all …]

12345678910>>...149