Home
last modified time | relevance | path

Searched refs:_config (Results 1 – 25 of 121) sorted by relevance

12345

/external/tensorflow/tensorflow/python/distribute/
Destimator_training.py221 local_estimator._config._train_distribute = strategy
223 _init_run_config_from_worker_context(local_estimator._config, context)
224 logging.info('Updated config: %s', str(vars(local_estimator._config)))
244 local_estimator._config._distribute_coordinator_mode = None # pylint: disable=protected-access
254 local_estimator._config._eval_distribute = strategy
256 local_estimator._config, dc_context.get_current_worker_context())
257 logging.info('Updated config: %s', str(vars(local_estimator._config)))
263 local_estimator._config._distribute_coordinator_mode = None # pylint: disable=protected-access
293 assert estimator._config._distribute_coordinator_mode
294 run_config = estimator._config
[all …]
/external/autotest/utils/side_effects/
Dconfig_loader_unittest.py74 self._config = config_pb2.Config(
85 config_loader.validate_tko(self._config)
88 self._config.tko.proxy_socket = ''
90 config_loader.validate_tko(self._config)
93 self._config.tko.mysql_user = ''
95 config_loader.validate_tko(self._config)
98 self._config.tko.mysql_password_file = ''
100 config_loader.validate_tko(self._config)
103 os.remove(self._config.tko.proxy_socket)
105 config_loader.validate_tko(self._config)
[all …]
/external/pigweed/pw_console/py/pw_console/
Dconsole_prefs.py136 return self._config.get('ui_theme', '')
139 self._config['ui_theme'] = theme_name
147 return self._config.get('code_theme', '')
150 self._config['code_theme'] = theme_name
154 return self._config.get('swap_light_and_dark', False)
158 history = Path(self._config['repl_history'])
164 history = Path(self._config['search_history'])
170 spaces = self._config.get('spaces_between_columns', 2)
176 return self._config.get('column_order_omit_unspecified_columns', False)
180 return self._config.get('hide_date_from_log_time', False)
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectReader.java58 protected final DeserializationConfig _config; field in ObjectReader
181 _config = config; in ObjectReader()
204 _config = config; in ObjectReader()
225 _config = config; in ObjectReader()
244 _config = base._config in ObjectReader()
262 _config = base._config; in ObjectReader()
346 _config.initialize(p, _schema); in _initForReading()
376 _config.initialize(p, _schema); in _initForMultiRead()
390 return _with(_config.with(feature)); in with()
400 return _with(_config.with(first, other)); in with()
[all …]
DObjectWriter.java53 protected final SerializationConfig _config; field in ObjectWriter
100 _config = config; in ObjectWriter()
123 _config = config; in ObjectWriter()
138 _config = config; in ObjectWriter()
155 _config = config; in ObjectWriter()
170 _config = config; in ObjectWriter()
186 _config = base._config in ObjectWriter()
227 if (config == _config) { in _new()
244 return new ObjectWriter(this, _config, genSettings, prefetch); in _new()
274 return _new(this, _config.with(feature)); in with()
[all …]
DSerializerProvider.java80 final protected SerializationConfig _config; field in SerializerProvider
194 _config = null; in SerializerProvider()
217 _config = config; in SerializerProvider()
244 _config = null; in SerializerProvider()
324 public final SerializationConfig getConfig() { return _config; } in getConfig()
328 return _config.getAnnotationIntrospector(); in getAnnotationIntrospector()
333 return _config.getTypeFactory(); in getTypeFactory()
359 return _config.canOverrideAccessModifiers(); in canOverrideAccessModifiers()
364 return _config.isEnabled(feature); in isEnabled()
369 return _config.getDefaultPropertyFormat(baseType); in getDefaultPropertyFormat()
[all …]
DDeserializationContext.java95 protected final DeserializationConfig _config; field in DeserializationContext
178 _config = null; in DeserializationContext()
190 _config = src._config; in DeserializationContext()
213 _config = config; in DeserializationContext()
234 _config = config; in DeserializationContext()
249 _config = src._config; in DeserializationContext()
263 public DeserializationConfig getConfig() { return _config; } in getConfig()
270 return _config.canOverrideAccessModifiers(); in canOverrideAccessModifiers()
275 return _config.isEnabled(feature); in isEnabled()
280 return _config.getDefaultPropertyFormat(baseType); in getDefaultPropertyFormat()
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Dcli_config.py39 self._config = collections.OrderedDict(self._DEFAULT_CONFIG)
43 self._config[key] = value
49 if property_name not in self._config:
51 return self._config[property_name]
67 if property_name not in self._config:
70 orig_val = self._config[property_name]
88 self._config[property_name] = property_val
93 self._set_callbacks[property_name](self._config)
110 if property_name not in self._config:
122 json.dump(self._config, config_file)
[all …]
Dbase_ui.py54 self._config = config or cli_config.CLIConfig()
198 return self._config
207 self._config.set(parsed.property_name, parsed.property_value)
208 return self._config.summarize(highlight=parsed.property_name)
211 return self._config.summarize()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializerBuilder.java30 final protected DeserializationConfig _config; field in BeanDeserializerBuilder
128 _config = ctxt.getConfig(); in BeanDeserializerBuilder()
139 _config = src._config; in BeanDeserializerBuilder()
206 if (_config.canOverrideAccessModifiers()) { in addBackReferenceProperty()
207 prop.fixAccess(_config); in addBackReferenceProperty()
228 if ( _config.canOverrideAccessModifiers()) { in addInjectable()
229 member.fixAccess(_config.isEnabled(MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); in addInjectable()
374 BeanPropertyMap propertyMap = BeanPropertyMap.construct(_config, props, in build()
382 boolean anyViews = !_config.isEnabled(MapperFeature.DEFAULT_VIEW_INCLUSION); in build()
451 BeanPropertyMap propertyMap = BeanPropertyMap.construct(_config, props, in buildBuilderBased()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DDefaultSerializerProvider.java132 HandlerInstantiator hi = _config.getHandlerInstantiator(); in serializerInstance()
133 ser = (hi == null) ? null : hi.serializerInstance(_config, annotated, serClass); in serializerInstance()
136 _config.canOverrideAccessModifiers()); in serializerInstance()
149 HandlerInstantiator hi = _config.getHandlerInstantiator(); in includeFilterInstance()
150 … Object filter = (hi == null) ? null : hi.includeFilterInstance(_config, forProperty, filterClass); in includeFilterInstance()
153 _config.canOverrideAccessModifiers()); in includeFilterInstance()
254 if (!_config.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)) { in hasSerializerFor()
309 PropertyName rootName = _config.getFullRootName(); in serializeValue()
311 if (_config.isEnabled(SerializationFeature.WRAP_ROOT_VALUE)) { in serializeValue()
312 _serialize(gen, value, ser, _config.findRootName(cls)); in serializeValue()
[all …]
DBeanSerializerBuilder.java29 protected SerializationConfig _config; field in BeanSerializerBuilder
101 _config = config; in setConfig()
187 if (_config.isEnabled(MapperFeature.CAN_OVERRIDE_ACCESS_MODIFIERS)) { in build()
188 … _typeId.fixAccess(_config.isEnabled(MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); in build()
192 _anyGetter.fixAccess(_config); in build()
206 if (_config.isEnabled(MapperFeature.CAN_OVERRIDE_ACCESS_MODIFIERS)) { in build()
208 properties[i].fixAccess(_config); in build()
DPropertyBuilder.java20 final protected SerializationConfig _config; field in PropertyBuilder
54 _config = config; in PropertyBuilder()
73 _annotationIntrospector = _config.getAnnotationIntrospector(); in PropertyBuilder()
145 JsonInclude.Value inclV = _config.getDefaultInclusion(actualType.getRawClass(), in buildWriter()
172 am.fixAccess(_config.isEnabled(MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); in buildWriter()
220 && !_config.isEnabled(SerializationFeature.WRITE_EMPTY_JSON_ARRAYS)) { in buildWriter()
261 … JavaType secondary = _annotationIntrospector.refineSerializationType(_config, a, declaredType); in findSerializationType()
315 def = _beanDesc.instantiateBean(_config.canOverrideAccessModifiers()); in getDefaultBean()
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Daudioproc_wrapper.py35 self._config = None
72 self._config = data_access.AudioProcConfigFile.Load(config_filepath)
78 self._config['-i'] = capture_input_filepath
79 self._config['-o'] = self._output_signal_filepath
84 self._config['-ri'] = render_input_filepath
88 for param_name in self._config:
90 if self._config[param_name] is not None:
91 args.append(str(self._config[param_name]))
/external/libconfig/lib/
Dlibconfigcpp.c++319 _config = new config_t; in Config()
320 config_init(_config); in Config()
321 config_set_hook(_config, reinterpret_cast<void *>(this)); in Config()
322 config_set_destructor(_config, ConfigDestructor); in Config()
323 config_set_include_func(_config, __include_func); in Config()
330 config_destroy(_config); in ~Config()
331 delete _config; in ~Config()
338 config_clear(_config); in clear()
345 config_set_options(_config, options); in setOptions()
352 return(config_get_options(_config)); in getOptions()
[all …]
/external/pigweed/pw_ide/py/pw_ide/
Dsettings.py103 return Path(self._config.get('working_dir', PW_IDE_DEFAULT_DIR))
115 return Path(self._config.get('build_dir', _DEFAULT_BUILD_DIR))
125 return self._config.get('compdb_paths', _DEFAULT_BUILD_DIR_NAME)
148 return self._config.get('targets', list())
188 return self._config.get('target_inference', _DEFAULT_TARGET_INFERENCE)
200 return self._config.get('default_target', None)
214 return self._config.get('setup', list())
225 return self._config.get('clangd_additional_query_drivers', list())
246 return self._config.get('editors', _DEFAULT_SUPPORTED_EDITORS)
255 return self._config.get('editors', {}).get(editor, False)
/external/angle/build/android/pylib/local/emulator/
Davd.py270 self._config = _Load(avd_proto_path)
282 return os.path.join(COMMON_CIPD_ROOT, self._config.avd_package.dest_path)
296 self._config.emulator_package.dest_path)
335 return self._config.avd_settings
343 return self._config.avd_launch_settings
348 return self._config.avd_name
377 self._config.system_image_package.dest_path,
378 *self._config.system_image_name.split(';'))
467 system_image=self._config.system_image_name,
517 for pkg in self._config.additional_apk:
[all …]
/external/cronet/build/android/pylib/local/emulator/
Davd.py267 self._config = _Load(avd_proto_path)
279 return os.path.join(COMMON_CIPD_ROOT, self._config.avd_package.dest_path)
293 self._config.emulator_package.dest_path)
332 return self._config.avd_settings
337 return self._config.avd_name
366 self._config.system_image_package.dest_path,
367 *self._config.system_image_name.split(';'))
456 system_image=self._config.system_image_name,
506 for pkg in self._config.additional_apk:
508 apk_file = _FindMinSdkFile(apk_dir, self._config.min_sdk)
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DPOJOPropertiesCollector.java31 protected final MapperConfig<?> _config; field in POJOPropertiesCollector
144 _config = config; in POJOPropertiesCollector()
152 _annotationIntrospector = _config.getAnnotationIntrospector(); in POJOPropertiesCollector()
157 _visibilityChecker = _config.getDefaultVisibilityChecker(type.getRawClass(), in POJOPropertiesCollector()
168 return _config; in getConfig()
363 if (_config.isEnabled(MapperFeature.USE_WRAPPER_NAME_AS_PROPERTY_NAME)) { in collectAll()
389 …final boolean pruneFinalFields = !_forSerialization && !_config.isEnabled(MapperFeature.ALLOW_FINA… in _addFields()
390 … final boolean transientAsIgnoral = _config.isEnabled(MapperFeature.PROPAGATE_TRANSIENT_MARKER); in _addFields()
418 final PropertyName rename = ai.findRenameByField(_config, f, implNameP); in _addFields()
524 JsonCreator.Mode creatorMode = _annotationIntrospector.findCreatorAnnotation(_config, in _addCreatorParam()
[all …]
DBasicBeanDescription.java46 final protected MapperConfig<?> _config; field in BasicBeanDescription
98 _config = coll.getConfig(); in BasicBeanDescription()
100 if (_config == null) { in BasicBeanDescription()
103 _annotationIntrospector = _config.getAnnotationIntrospector(); in BasicBeanDescription()
117 _config = config; in BasicBeanDescription()
119 if (_config == null) { in BasicBeanDescription()
122 _annotationIntrospector = _config.getAnnotationIntrospector(); in BasicBeanDescription()
287 return _config.getTypeFactory().constructType(jdkType, _type.getBindings()); in resolveType()
351 ac.fixAccess(_config.isEnabled(MapperFeature.OVERRIDE_PUBLIC_ACCESS_MODIFIERS)); in instantiateBean()
400 JsonFormat.Value v = _config.getDefaultPropertyFormat(_classInfo.getRawType()); in findExpectedFormat()
[all …]
/external/python/mobly/mobly/controllers/android_device_lib/services/
Dlogcat.py67 self._config = configs if configs else Config()
172 self._config, new_config)
173 self._config = new_config
205 if self._config.clear_log:
213 if self._config.output_file_path:
215 self.adb_logcat_file_path = self._config.output_file_path
226 adb.ADB, self._ad.serial, self._config.logcat_params,
/external/autotest/server/cros/
Dresource_monitor.py240 self._config = config
270 self._config._monitor_period, self._client_outfile)
292 if self._config._server_outfile is None:
293 self._config._server_outfile = self._client_outfile
295 self._client_outfile, self._config._server_outfile)
303 self._config._server_outfile)
304 return ResourceMonitorRawResult(self._config._server_outfile)
/external/python/cpython3/Lib/multiprocessing/
Dprocess.py85 self._config = _current_process._config.copy()
118 assert not _current_process._config.get('daemon'), \
203 return self._config.get('daemon', False)
211 self._config['daemon'] = daemonic
215 return self._config['authkey']
222 self._config['authkey'] = AuthenticationString(authkey)
368 self._config = {}
399 self._config = {'authkey': AuthenticationString(os.urandom(32)),
/external/libusb/libusb/
Ddescriptor.c461 struct libusb_config_descriptor *_config = calloc(1, sizeof(*_config)); in raw_desc_to_config() local
464 if (!_config) in raw_desc_to_config()
467 r = parse_configuration(ctx, _config, buf, size); in raw_desc_to_config()
470 free(_config); in raw_desc_to_config()
476 *config = _config; in raw_desc_to_config()
558 union usbi_config_desc_buf _config; in libusb_get_active_config_descriptor() local
563 r = get_active_config_descriptor(dev, _config.buf, sizeof(_config.buf)); in libusb_get_active_config_descriptor()
567 config_len = libusb_le16_to_cpu(_config.desc.wTotalLength); in libusb_get_active_config_descriptor()
599 union usbi_config_desc_buf _config; in libusb_get_config_descriptor() local
608 r = get_config_descriptor(dev, config_index, _config.buf, sizeof(_config.buf)); in libusb_get_config_descriptor()
[all …]
/external/pigweed/pw_console/py/
Dconsole_prefs_test.py47 self.assertEqual(_DEFAULT_CONFIG, prefs._config)
62 for k, v in prefs._config.items()
67 for k, v in prefs._config.items()
93 for k, v in prefs._config.items()
98 for k, v in prefs._config.items()

12345