Home
last modified time | relevance | path

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

12345678910>>...23

/external/skia/src/sksl/
DSkSLCFGGenerator.cpp85 void CFGGenerator::addExpression(CFG& cfg, std::unique_ptr<Expression>* e, bool constantPropagate) { in addExpression() argument
96 this->addExpression(cfg, &b->fLeft, constantPropagate); in addExpression()
97 BlockId start = cfg.fCurrent; in addExpression()
98 cfg.newBlock(); in addExpression()
99 this->addExpression(cfg, &b->fRight, constantPropagate); in addExpression()
100 cfg.newBlock(); in addExpression()
101 cfg.addExit(start, cfg.fCurrent); in addExpression()
105 this->addExpression(cfg, &b->fRight, constantPropagate); in addExpression()
106 this->addLValue(cfg, &b->fLeft); in addExpression()
107 cfg.fBlocks[cfg.fCurrent].fNodes.push_back({ in addExpression()
[all …]
/external/iptables/extensions/
Dlibxt_hashlimit.c104 XTOPT_POINTER(s, cfg.burst)},
107 XTOPT_POINTER(s, cfg.size)},
110 XTOPT_POINTER(s, cfg.max)},
113 XTOPT_POINTER(s, cfg.gc_interval)},
116 XTOPT_POINTER(s, cfg.expire)},
138 XTOPT_POINTER(s, cfg.size)},
141 XTOPT_POINTER(s, cfg.max)},
144 XTOPT_POINTER(s, cfg.gc_interval)},
147 XTOPT_POINTER(s, cfg.expire)},
168 XTOPT_POINTER(s, cfg.size)},
[all …]
/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c81 vpx_codec_enc_cfg_t *cfg) { in set_rate_control_metrics() argument
85 const double framerate = cfg->g_timebase.den / cfg->g_timebase.num; in set_rate_control_metrics()
86 rc->layer_framerate[0] = framerate / cfg->ts_rate_decimator[0]; in set_rate_control_metrics()
89 for (i = 0; i < cfg->ts_number_layers; ++i) { in set_rate_control_metrics()
91 rc->layer_framerate[i] = framerate / cfg->ts_rate_decimator[i]; in set_rate_control_metrics()
110 vpx_codec_enc_cfg_t *cfg, in printout_rate_control_summary() argument
117 cfg->ts_number_layers); in printout_rate_control_summary()
118 for (i = 0; i < cfg->ts_number_layers; ++i) { in printout_rate_control_summary()
163 vpx_codec_enc_cfg_t *cfg, in set_temporal_layer_pattern() argument
170 cfg->ts_periodicity = 1; in set_temporal_layer_pattern()
[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 …]
Dset_maps.c63 static void set_roi_map(const vpx_codec_enc_cfg_t *cfg, in set_roi_map() argument
69 roi.rows = (cfg->g_h + 15) / 16; in set_roi_map()
70 roi.cols = (cfg->g_w + 15) / 16; in set_roi_map()
96 static void set_active_map(const vpx_codec_enc_cfg_t *cfg, in set_active_map() argument
101 map.rows = (cfg->g_h + 15) / 16; in set_active_map()
102 map.cols = (cfg->g_w + 15) / 16; in set_active_map()
113 static void unset_active_map(const vpx_codec_enc_cfg_t *cfg, in unset_active_map() argument
117 map.rows = (cfg->g_h + 15) / 16; in unset_active_map()
118 map.cols = (cfg->g_w + 15) / 16; in unset_active_map()
156 vpx_codec_enc_cfg_t cfg; in main() local
[all …]
Dtwopass_encoder.c125 const vpx_codec_enc_cfg_t *cfg, int max_frames) { in pass0() argument
130 if (vpx_codec_enc_init(&codec, encoder->codec_interface(), cfg, 0)) in pass0()
153 const VpxInterface *encoder, const vpx_codec_enc_cfg_t *cfg, in pass1() argument
156 cfg->g_w, in pass1()
157 cfg->g_h, in pass1()
158 { cfg->g_timebase.num, cfg->g_timebase.den } }; in pass1()
166 if (vpx_codec_enc_init(&codec, encoder->codec_interface(), cfg, 0)) in pass1()
194 vpx_codec_enc_cfg_t cfg; in main() local
229 res = vpx_codec_enc_config_default(encoder->codec_interface(), &cfg, 0); in main()
232 cfg.g_w = w; in main()
[all …]
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c75 vpx_codec_enc_cfg_t cfg; member
130 const vpx_codec_enc_cfg_t *cfg, in validate_config() argument
133 RANGE_CHECK(cfg, g_w, 1, 16383); /* 14 bits available */ in validate_config()
134 RANGE_CHECK(cfg, g_h, 1, 16383); /* 14 bits available */ in validate_config()
135 RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000); in validate_config()
136 RANGE_CHECK(cfg, g_timebase.num, 1, 1000000000); in validate_config()
137 RANGE_CHECK_HI(cfg, g_profile, 3); in validate_config()
138 RANGE_CHECK_HI(cfg, rc_max_quantizer, 63); in validate_config()
139 RANGE_CHECK_HI(cfg, rc_min_quantizer, cfg->rc_max_quantizer); in validate_config()
140 RANGE_CHECK_HI(cfg, g_threads, 64); in validate_config()
[all …]
/external/libnl/lib/route/cls/ematch/
Dtext.c27 struct tcf_em_text cfg; member
35 t->cfg.from_offset = offset; in rtnl_ematch_text_set_from()
36 t->cfg.from_layer = layer; in rtnl_ematch_text_set_from()
41 return ((struct text_data *) rtnl_ematch_data(e))->cfg.from_offset; in rtnl_ematch_text_get_from_offset()
46 return ((struct text_data *) rtnl_ematch_data(e))->cfg.from_layer; in rtnl_ematch_text_get_from_layer()
53 t->cfg.to_offset = offset; in rtnl_ematch_text_set_to()
54 t->cfg.to_layer = layer; in rtnl_ematch_text_set_to()
59 return ((struct text_data *) rtnl_ematch_data(e))->cfg.to_offset; in rtnl_ematch_text_get_to_offset()
64 return ((struct text_data *) rtnl_ematch_data(e))->cfg.to_layer; in rtnl_ematch_text_get_to_layer()
76 t->cfg.pattern_len = len; in rtnl_ematch_text_set_pattern()
[all …]
Dnbyte.c27 struct tcf_em_nbyte cfg; member
35 n->cfg.off = offset; in rtnl_ematch_nbyte_set_offset()
36 n->cfg.layer = layer; in rtnl_ematch_nbyte_set_offset()
41 return ((struct nbyte_data *) rtnl_ematch_data(e))->cfg.off; in rtnl_ematch_nbyte_get_offset()
46 return ((struct nbyte_data *) rtnl_ematch_data(e))->cfg.layer; in rtnl_ematch_nbyte_get_layer()
58 n->cfg.len = len; in rtnl_ematch_nbyte_set_pattern()
68 return ((struct nbyte_data *) rtnl_ematch_data(e))->cfg.len; in rtnl_ematch_nbyte_get_len()
91 memcpy(&n->cfg, data, hdrlen); in nbyte_parse()
107 nl_dump(p, "pattern(%u:[", n->cfg.len); in nbyte_dump()
109 for (i = 0; i < n->cfg.len; i++) { in nbyte_dump()
[all …]
/external/libvpx/libvpx/test/
Dcodec_factory.h35 virtual Decoder *CreateDecoder(vpx_codec_dec_cfg_t cfg) const = 0;
37 virtual Decoder *CreateDecoder(vpx_codec_dec_cfg_t cfg,
40 virtual Encoder *CreateEncoder(vpx_codec_enc_cfg_t cfg,
45 virtual vpx_codec_err_t DefaultEncoderConfig(vpx_codec_enc_cfg_t *cfg,
80 explicit VP8Decoder(vpx_codec_dec_cfg_t cfg) : Decoder(cfg) {} in VP8Decoder() argument
82 VP8Decoder(vpx_codec_dec_cfg_t cfg, const vpx_codec_flags_t flag) in VP8Decoder() argument
83 : Decoder(cfg, flag) {} in VP8Decoder()
97 VP8Encoder(vpx_codec_enc_cfg_t cfg, unsigned long deadline, in VP8Encoder() argument
99 : Encoder(cfg, deadline, init_flags, stats) {} in VP8Encoder()
115 virtual Decoder *CreateDecoder(vpx_codec_dec_cfg_t cfg) const { in CreateDecoder() argument
[all …]
/external/curl/
DMakefile.dist98 nmake -f Makefile.$(VC) cfg=release
99 nmake -f Makefile.$(VC) cfg=release-ssl
100 nmake -f Makefile.$(VC) cfg=release-zlib
101 nmake -f Makefile.$(VC) cfg=release-ssl-zlib
102 nmake -f Makefile.$(VC) cfg=release-ssl-dll
103 nmake -f Makefile.$(VC) cfg=release-zlib-dll
104 nmake -f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
105 nmake -f Makefile.$(VC) cfg=release-dll
106 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll
107 nmake -f Makefile.$(VC) cfg=release-dll-zlib-dll
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Ddefault_temporal_layers.cc49 vpx_codec_enc_cfg_t* cfg) { in ConfigureBitrates() argument
55 cfg->ts_number_layers = number_of_temporal_layers_; in ConfigureBitrates()
56 cfg->ts_periodicity = temporal_ids_length_; in ConfigureBitrates()
57 cfg->ts_target_bitrate[0] = bitrateKbit; in ConfigureBitrates()
58 cfg->ts_rate_decimator[0] = 1; in ConfigureBitrates()
59 memcpy(cfg->ts_layer_id, temporal_ids_, in ConfigureBitrates()
68 cfg->ts_number_layers = number_of_temporal_layers_; in ConfigureBitrates()
69 cfg->ts_periodicity = temporal_ids_length_; in ConfigureBitrates()
72 cfg->ts_target_bitrate[0] = bitrateKbit * kVp8LayerRateAlloction[1][0]; in ConfigureBitrates()
73 cfg->ts_target_bitrate[1] = bitrateKbit; in ConfigureBitrates()
[all …]
Drealtime_temporal_layers.cc107 vpx_codec_enc_cfg_t* cfg) { in ConfigureBitrates() argument
113 cfg->ts_number_layers = temporal_layers_; in ConfigureBitrates()
115 cfg->ts_target_bitrate[tl] = in ConfigureBitrates()
129 cfg->ts_rate_decimator[0] = 1; in ConfigureBitrates()
130 cfg->ts_periodicity = layer_ids_length_; in ConfigureBitrates()
150 cfg->ts_rate_decimator[0] = 2; in ConfigureBitrates()
151 cfg->ts_rate_decimator[1] = 1; in ConfigureBitrates()
152 cfg->ts_periodicity = layer_ids_length_; in ConfigureBitrates()
172 cfg->ts_rate_decimator[0] = 4; in ConfigureBitrates()
173 cfg->ts_rate_decimator[1] = 2; in ConfigureBitrates()
[all …]
/external/autotest/client/bin/
Dtest_config.py19 def __init__(self, cfg, tmpdir='/tmp', raise_errors=False): argument
36 if hasattr(cfg, 'read'):
37 self.cfg = cfg
38 self.parser.readfp(self.cfg)
39 elif isinstance(cfg, types.StringTypes):
41 if cfg.startswith('http') or cfg.startswith('ftp'):
42 self.cfg = path.join(tmpdir, path.basename(cfg))
43 utils.urlretrieve(cfg, self.cfg)
44 self.parser.read(self.cfg)
46 elif path.exists(path.abspath(cfg)):
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c93 vpx_codec_enc_cfg_t cfg; member
153 const vpx_codec_enc_cfg_t *cfg, in validate_config() argument
155 RANGE_CHECK(cfg, g_w, 1, 65535); // 16 bits available in validate_config()
156 RANGE_CHECK(cfg, g_h, 1, 65535); // 16 bits available in validate_config()
157 RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000); in validate_config()
158 RANGE_CHECK(cfg, g_timebase.num, 1, 1000000000); in validate_config()
159 RANGE_CHECK_HI(cfg, g_profile, 3); in validate_config()
161 RANGE_CHECK_HI(cfg, rc_max_quantizer, 63); in validate_config()
162 RANGE_CHECK_HI(cfg, rc_min_quantizer, cfg->rc_max_quantizer); in validate_config()
168 RANGE_CHECK_HI(cfg, g_threads, 64); in validate_config()
[all …]
/external/libevent/
Dbufferevent_ratelim.c50 const struct ev_token_bucket_cfg *cfg, in ev_token_bucket_init() argument
60 if (bucket->read_limit > (ev_int64_t) cfg->read_maximum) in ev_token_bucket_init()
61 bucket->read_limit = cfg->read_maximum; in ev_token_bucket_init()
62 if (bucket->write_limit > (ev_int64_t) cfg->write_maximum) in ev_token_bucket_init()
63 bucket->write_limit = cfg->write_maximum; in ev_token_bucket_init()
65 bucket->read_limit = cfg->read_rate; in ev_token_bucket_init()
66 bucket->write_limit = cfg->write_rate; in ev_token_bucket_init()
74 const struct ev_token_bucket_cfg *cfg, in ev_token_bucket_update() argument
95 if ((cfg->read_maximum - bucket->read_limit) / n_ticks < cfg->read_rate) in ev_token_bucket_update()
96 bucket->read_limit = cfg->read_maximum; in ev_token_bucket_update()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps.c39 struct wps_data * wps_init(const struct wps_config *cfg) in wps_init() argument
44 data->wps = cfg->wps; in wps_init()
45 data->registrar = cfg->registrar; in wps_init()
46 if (cfg->registrar) { in wps_init()
47 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN); in wps_init()
49 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN); in wps_init()
50 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN); in wps_init()
52 if (cfg->pin) { in wps_init()
53 data->dev_pw_id = cfg->dev_pw_id; in wps_init()
54 data->dev_password = os_malloc(cfg->pin_len); in wps_init()
[all …]
/external/wpa_supplicant_8/src/p2p/
Dp2p.c73 if (p2p->cfg->go_connected && in p2p_expire_peers()
74 p2p->cfg->go_connected(p2p->cfg->cb_ctx, in p2p_expire_peers()
196 p2p->cfg->reg_class = p2p->pending_reg_class; in p2p_set_state()
197 p2p->cfg->channel = p2p->pending_channel; in p2p_set_state()
249 p2p->cfg->go_neg_completed(p2p->cfg->cb_ctx, &res); in p2p_go_neg_failed()
268 freq = p2p_channel_to_freq(p2p->cfg->reg_class, p2p->cfg->channel); in p2p_listen_in_find()
282 if (p2p->cfg->max_listen && 1024 * tu / 1000 > p2p->cfg->max_listen) in p2p_listen_in_find()
283 tu = p2p->cfg->max_listen * 1000 / 1024; in p2p_listen_in_find()
299 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, 1024 * tu / 1000, in p2p_listen_in_find()
321 freq = p2p_channel_to_freq(p2p->cfg->reg_class, p2p->cfg->channel); in p2p_listen()
[all …]
Dp2p_invitation.c72 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_req()
77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_invitation_req()
83 dev_addr = p2p->cfg->dev_addr; in p2p_build_invitation_req()
154 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_resp()
159 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); in p2p_build_invitation_resp()
238 p2p_channels_union(&p2p->cfg->channels, &p2p->cfg->cli_channels, in p2p_process_invitation_req()
249 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels); in p2p_process_invitation_req()
256 if (p2p->cfg->invitation_process) { in p2p_process_invitation_req()
257 status = p2p->cfg->invitation_process( in p2p_process_invitation_req()
258 p2p->cfg->cb_ctx, sa, msg.group_bssid, msg.group_id, in p2p_process_invitation_req()
[all …]
Dp2p_pd.c54 if (!p2p->cfg->get_go_info) in p2ps_add_new_group_info()
57 found = p2p->cfg->get_go_info( in p2ps_add_new_group_info()
58 p2p->cfg->cb_ctx, intended_addr, ssid, in p2ps_add_new_group_info()
68 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
82 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
90 buf, p2p->cfg->dev_addr); in p2ps_add_new_group_info()
119 if (p2p->cfg->get_persistent_group) { in p2ps_add_pd_req_attrs()
120 shared_group = p2p->cfg->get_persistent_group( in p2ps_add_pd_req_attrs()
121 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, in p2ps_add_pd_req_attrs()
128 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2ps_add_pd_req_attrs()
[all …]
/external/libopus/celt/dump_modes/
Ddump_modes_arm_ne10.c82 NE10_FFT_CFG_TYPE_T cfg; in dump_mode_arch() local
83 cfg = (NE10_FFT_CFG_TYPE_T)mode->mdct.kfft[k]->arch_fft->priv; in dump_mode_arch()
84 if (!cfg) in dump_mode_arch()
89 fprintf(file, "%d,%c", cfg->factors[j],(j+16)%15==0?'\n':' '); in dump_mode_arch()
96 NE10_FFT_CFG_TYPE_T cfg; in dump_mode_arch() local
97 cfg = (NE10_FFT_CFG_TYPE_T)mode->mdct.kfft[k]->arch_fft->priv; in dump_mode_arch()
98 if (!cfg) in dump_mode_arch()
106 cfg->twiddles[j].r, cfg->twiddles[j].i,(j+4)%3==0?'\n':' '); in dump_mode_arch()
109 cfg->twiddles[j].r, cfg->twiddles[j].i,(j+4)%3==0?'\n':' '); in dump_mode_arch()
116 NE10_FFT_CFG_TYPE_T cfg; in dump_mode_arch() local
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_live_variables.cpp54 for (int b = 0; b < cfg->num_blocks; b++) { in setup_def_use()
55 fs_bblock *block = cfg->blocks[b]; in setup_def_use()
59 assert(cfg->blocks[b - 1]->end_ip == ip - 1); in setup_def_use()
108 for (int b = 0; b < cfg->num_blocks; b++) { in compute_live_variables()
120 foreach_list(block_node, &cfg->blocks[b]->children) { in compute_live_variables()
135 fs_live_variables::fs_live_variables(fs_visitor *v, fs_cfg *cfg) in fs_live_variables() argument
136 : v(v), cfg(cfg) in fs_live_variables()
138 mem_ctx = ralloc_context(cfg->mem_ctx); in fs_live_variables()
141 bd = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); in fs_live_variables()
143 for (int i = 0; i < cfg->num_blocks; i++) { in fs_live_variables()
[all …]
/external/libopus/celt/arm/
Dcelt_ne10_fft.c100 NE10_FFT_CFG_TYPE_T cfg; in opus_fft_free_arm_neon() local
105 cfg = (NE10_FFT_CFG_TYPE_T)st->arch_fft->priv; in opus_fft_free_arm_neon()
106 if (cfg) in opus_fft_free_arm_neon()
107 NE10_FFT_DESTROY_C2C_TYPE(cfg); in opus_fft_free_arm_neon()
117 NE10_FFT_CFG_TYPE_T cfg = &state; in opus_fft_neon() local
127 memcpy((void *)cfg, st->arch_fft->priv, sizeof(NE10_FFT_STATE_TYPE_T)); in opus_fft_neon()
134 cfg, 0); in opus_fft_neon()
138 cfg, 0, 1); in opus_fft_neon()
149 NE10_FFT_CFG_TYPE_T cfg = &state; in opus_ifft_neon() local
159 memcpy((void *)cfg, st->arch_fft->priv, sizeof(NE10_FFT_STATE_TYPE_T)); in opus_ifft_neon()
[all …]
/external/autotest/client/tests/dacapo/
Ddacapo.py44 cfg = config_loader(cfg=config, tmpdir=self.tmpdir, raise_errors=True)
50 dacapo_url = cfg.get('dacapo', 'tarball_url')
51 dacapo_md5 = cfg.get('dacapo', 'package_md5')
56 jvm_pkg_url = cfg.get(jvm, 'jvm_pkg_url')
57 jvm_pkg_md5 = cfg.get(jvm, 'package_md5')
62 java_root = cfg.get(jvm, 'java_root')
65 if cfg.get('global', 'use_global') == 'yes':
66 iterations = cfg.get('global', 'iterations')
67 workload = cfg.get('global', 'workload')
69 iterations = cfg.get(test, 'iterations')
[all …]
/external/clang/lib/Analysis/
DPostOrderCFGView.cpp20 PostOrderCFGView::PostOrderCFGView(const CFG *cfg) { in PostOrderCFGView() argument
21 Blocks.reserve(cfg->getNumBlockIDs()); in PostOrderCFGView()
22 CFGBlockSet BSet(cfg); in PostOrderCFGView()
24 for (po_iterator I = po_iterator::begin(cfg, BSet), in PostOrderCFGView()
25 E = po_iterator::end(cfg, BSet); I != E; ++I) { in PostOrderCFGView()
32 const CFG *cfg = ctx.getCFG(); in create() local
33 if (!cfg) in create()
35 return new PostOrderCFGView(cfg); in create()

12345678910>>...23