/build/make/tools/fs_config/ |
fs_config_test.cpp | 47 static void confirm(std::string&& data, const fs_path_config* config, 53 ASSERT_TRUE(config != NULL); 60 EXPECT_EQ(config->mode, pc->mode); 61 EXPECT_EQ(config->uid, pc->uid); 62 EXPECT_EQ(config->gid, pc->gid); 63 EXPECT_EQ(config->capabilities, pc->capabilities); 64 EXPECT_STREQ(config->prefix, pc->prefix); 68 if (num_config >= 0) ++config; 99 const fs_path_config* config = android_device_dirs; local 101 if (!android::base::StartsWith(config->prefix, vendor_str) & 118 const fs_path_config* config = android_device_dirs; local 133 const fs_path_config* config = android_device_dirs; local 148 const fs_path_config* config = android_device_dirs; local 163 const fs_path_config* config = android_device_files; local 182 const fs_path_config* config = android_device_files; local 197 const fs_path_config* config = android_device_files; local 212 const fs_path_config* config = android_device_files; local [all...] |
/external/autotest/frontend/ |
database_settings_helper.py | 37 config = global_config.global_config variable 38 SHARD_HOSTNAME = config.get_config_value('SHARD', 'shard_hostname', 43 """Retrieves a config value for the specified key. 45 @param config_key: The string key associated with the desired config value. 46 @param section: Section of global config to read config. Default is set to 51 @return: The config value, as returned by 54 return config.get_config_value(section, config_key, **kwargs) 57 def _get_global_config(config_key, default=config._NO_DEFAULT_SPECIFIED, 59 """Retrieves a global config value for the specified key [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
xvmc_bench.c | 53 struct Config 64 void ParseArgs(int argc, char **argv, struct Config *config); 66 void ParseArgs(int argc, char **argv, struct Config *config) 71 config->input_width = DEFAULT_INPUT_WIDTH; 72 config->input_height = DEFAULT_INPUT_HEIGHT; 73 config->output_width = 0; 74 config->output_height = 0; 75 config->pipeline = 0 181 struct Config config; local [all...] |
/external/libxcam/modules/isp/iq/ |
x3a_ciq_tnr_tuning_handler.cpp | 65 XCam3aResultTemporalNoiseReduction config; local 88 //Calculate YUV config 89 xcam_mem_clear (config); 90 config.gain = linear_interpolate_p2 (tuning[i_prev].yuv_gain, tuning[i_curr].yuv_gain, 93 config.threshold[0] = linear_interpolate_p2 (tuning[i_prev].y_threshold, tuning[i_curr].y_threshold, 96 config.threshold[1] = linear_interpolate_p2 (tuning[i_prev].uv_threshold, tuning[i_curr].uv_threshold, 99 config.threshold[2] = 0.0; 100 XCAM_LOG_DEBUG ("Calculate YUV temporal noise reduction config: yuv_gain(%f), y_threshold(%f), uv_threshold(%f)", 101 config.gain, config.threshold[0], config.threshold[1]) [all...] |
x3a_ciq_wavelet_tuning_handler.cpp | 61 XCam3aResultWaveletNoiseReduction config; local 83 //Calculate Wavelet denoise config 84 xcam_mem_clear (config); 87 config.threshold[0] = linear_interpolate_p2 (tuning[i_prev].soft_threshold, tuning[i_curr].soft_threshold, 90 config.threshold[1] = linear_interpolate_p2 (tuning[i_prev].hard_threshold, tuning[i_curr].hard_threshold, 93 config.decomposition_levels = 1; 95 config.analog_gain = analog_gain / X3A_CIQ_GAIN_MAX; 96 XCAM_LOG_DEBUG ("Calculate Wavelet noise reduction config: soft threshold(%f), hard threshold(%f), decomposition levels(%d)", 97 config.threshold[0], config.threshold[1], config.decomposition_levels) [all...] |
/external/tensorflow/tensorflow/tools/dist_test/scripts/ |
k8s_tensorflow_test.py | 29 config = k8s_tensorflow_lib.GenerateConfig( 37 self.assertTrue('LoadBalancer' in config) 40 config = k8s_tensorflow_lib.GenerateConfig( 48 self.assertFalse('LoadBalancer' in config) 52 config = k8s_tensorflow_lib.GenerateConfig( 60 self.assertTrue('/shared' in config) 63 config = k8s_tensorflow_lib.GenerateConfig( 71 self.assertFalse('/shared' in config) 75 config = k8s_tensorflow_lib.GenerateConfig( 84 self.assertTrue('{name: "test1", value: "test1_value"}' in config) [all...] |
/external/webrtc/webrtc/call/ |
call_unittest.cc | 23 webrtc::AudioState::Config audio_state_config; 25 webrtc::Call::Config config; local 26 config.audio_state = webrtc::AudioState::Create(audio_state_config); 27 call_.reset(webrtc::Call::Create(config)); 46 AudioSendStream::Config config(nullptr); 47 config.rtp.ssrc = 42; 48 config.voe_channel_id = 123; 49 AudioSendStream* stream = call->CreateAudioSendStream(config); 56 AudioReceiveStream::Config config; local 89 AudioReceiveStream::Config config; local [all...] |
/tools/repohooks/rh/ |
config_unittest.py | 17 """Unittests for the config module.""" 36 import rh.config 49 """Helper to write out a config file for testing.""" 51 filename = rh.config.PreSubmitConfig.FILENAME 57 """Helper to write out a global config file for testing.""" 59 data, filename=rh.config.PreSubmitConfig.GLOBAL_FILENAME) 62 """Instantiating a non-existent config file should be fine.""" 63 rh.config.PreSubmitConfig() 66 """Instantiating an empty config file should be fine.""" 68 rh.config.PreSubmitConfig(paths=(self.tempdir,) [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
InstrumentationConfigurationTest.java | 16 private InstrumentationConfiguration config; field in class:InstrumentationConfigurationTest 22 config = builder.build(); 27 assertThat(config.shouldInstrument(wrap("com.google.android.apps.Foo"))).isFalse(); 32 assertThat(config.shouldInstrument(wrap("dalvik.system.DexFile"))).isTrue(); 37 assertThat(config.shouldInstrument(wrap("java.lang.Object"))).isFalse(); 38 assertThat(config.shouldInstrument(wrap("java.lang.String"))).isFalse(); 43 assertThat(config.shouldInstrument(wrap("android.content.Intent"))).isTrue(); 44 assertThat(config.shouldInstrument(wrap("android.and.now.for.something.completely.different"))).isTrue(); 49 assertThat(config.shouldInstrument(wrap("org.apache.http.util.CharArrayBuffer"))).isTrue(); 54 assertThat(config.shouldInstrument(wrap("org.kxml2.io.KXmlParser"))).isTrue() [all...] |
/external/tensorflow/tensorflow/stream_executor/cuda/ |
cuda_platform.cc | 85 StreamExecutorConfig config; local 87 config.ordinal = i; 88 StreamExecutor* exec = GetExecutor(config).ValueOrDie(); 110 StreamExecutorConfig config; local 111 config.ordinal = device_ordinal; 112 StreamExecutor* exec = GetExecutor(config).ValueOrDie(); 122 StreamExecutorConfig config; local 123 config.ordinal = i; 124 return GetExecutor(config).ValueOrDie(); 148 StreamExecutorConfig config; local 157 StreamExecutorConfig config; local [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
run_config_test.py | 47 config = run_config_lib.RunConfig() 48 self.assertTrue(isinstance(config, core_run_config.RunConfig)) 51 config = run_config_lib.RunConfig() 52 self.assertEqual(config.master, "") 53 self.assertEqual(config.task_id, 0) 54 self.assertEqual(config.num_ps_replicas, 0) 55 self.assertEqual(config.cluster_spec, {}) 56 self.assertIsNone(config.task_type) 57 self.assertTrue(config.is_chief) 58 self.assertEqual(config.evaluation_master, "" [all...] |
/cts/tests/tests/drm/src/android/drm/cts/ |
DRMTest.java | 63 private ArrayList<Config> mConfigs = new ArrayList<Config>(); 75 Config config = ConfigFactory.getConfig(plugInName); local 76 if (null != config) { 77 mConfigs.add(config); 82 private void register(Config config) throws Exception { 84 config.getInfoOfRegistration(), 85 config.getMimeType()) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
config_file.c | 19 #include "config.h" 340 static int wpa_config_process_blob(struct wpa_config *config, FILE *f, 360 wpa_config_set_blob(config, blob); 373 struct wpa_config *config; local 380 config = cfgp; 382 config = wpa_config_alloc_empty(NULL, NULL); 383 if (config == NULL) { 384 wpa_printf(MSG_ERROR, "Failed to allocate config file " 388 tail = head = config->ssid; 391 cred_tail = cred_head = config->cred [all...] |
/external/tensorflow/tensorflow/python/debug/cli/ |
cli_config_test.py | 44 config = cli_config.CLIConfig(config_file_path=self._tmp_config_path) 45 self.assertEqual(20, config.get("graph_recursion_depth")) 46 self.assertEqual(True, config.get("mouse_mode")) 48 config.get("property_that_should_not_exist") 52 config = cli_config.CLIConfig(config_file_path=self._tmp_config_path) 60 config = cli_config.CLIConfig(config_file_path=self._tmp_config_path) 61 self.assertEqual(20, config.get("graph_recursion_depth")) 64 config = cli_config.CLIConfig(config_file_path=self._tmp_config_path) 65 config.set("graph_recursion_depth", 9) 66 config.set("mouse_mode", False [all...] |
/external/deqp/framework/opengl/ |
gluRenderConfig.cpp | 31 void parseConfigBitsFromName (RenderConfig* config, const char* renderCfgName) 35 DE_ASSERT(config->redBits == RenderConfig::DONT_CARE && 36 config->greenBits == RenderConfig::DONT_CARE && 37 config->blueBits == RenderConfig::DONT_CARE && 38 config->alphaBits == RenderConfig::DONT_CARE && 39 config->depthBits == RenderConfig::DONT_CARE && 40 config->stencilBits == RenderConfig::DONT_CARE && 41 config->numSamples == RenderConfig::DONT_CARE); 62 config->redBits = colorCfgs[ndx].redBits; 63 config->greenBits = colorCfgs[ndx].greenBits [all...] |
/external/icu/icu4c/source/samples/ |
defs.mk | 11 CC=$(shell icu-config --cc) 12 CXX=$(shell icu-config --cxx) 13 CPPFLAGS=$(shell icu-config --cppflags) 14 CFLAGS=$(shell icu-config --cflags) 15 CXXFLAGS=$(shell icu-config --cxxflags) 16 LDFLAGS =$^ $(shell icu-config --ldflags) 17 LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio) 18 INVOKE=$(shell icu-config --invoke) 19 GENRB=$(shell icu-config --invoke=genrb) 21 PKGDATA=$(shell icu-config --invoke=pkgdata [all...] |
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
ModuleSplitter.java | 18 import com.android.tradefed.config.ConfigurationException; 19 import com.android.tradefed.config.IConfiguration; 20 import com.android.tradefed.config.IDeviceConfiguration; 21 import com.android.tradefed.config.OptionCopier; 91 IConfiguration config, 96 if (config.getConfigurationDescription().isNotShardable() 98 && config.getConfigurationDescription().isNotStrictShardable())) { 99 for (int i = 0; i < config.getTests().size(); i++) { 104 config.getTests(), 105 clonePreparersMap(config), [all...] |
/external/ImageMagick/Magick++/bin/ |
Magick++-config.in | 11 usage='Usage: Magick++-config [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version] 15 "c++ -o magick magick.cpp `Magick++-config --cppflags --cxxflags --ldflags --libs`"' 44 pkg-config --cflags Magick++ 47 pkg-config --cflags Magick++ 50 pkg-config --cflags Magick++ 53 pkg-config --libs Magick++ 56 pkg-config --libs Magick++
|
/external/ImageMagick/MagickCore/ |
MagickCore-config.in | 11 Usage: MagickCore-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]" 15 echo "Example: gcc \`MagickCore-config --cflags --cppflags\` -o core core.c \`Magick-config --ldflags --libs\`" 1>&2 41 pkg-config --cflags MagickCore 44 pkg-config --cflags MagickCore 47 pkg-config --cflags MagickCore 50 pkg-config --libs MagickCore 53 pkg-config --libs MagickCore
|
/external/ImageMagick/MagickWand/ |
MagickWand-config.in | 11 Usage: MagickWand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]" 15 echo "Example: gcc \`MagickWand-config --cflags --cppflags\` -o wand wand.c \`MagickWand-config --ldflags --libs\`" 1>&2 41 PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand 44 PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand 47 PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand 50 PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand 53 PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand
|
/external/deqp/framework/egl/ |
egluConfigInfo.cpp | 21 * \brief EGL config dst-> 87 void queryCoreConfigInfo (const Library& egl, EGLDisplay display, EGLConfig config, ConfigInfo* dst) 89 egl.getConfigAttrib(display, config, EGL_BUFFER_SIZE, &dst->bufferSize); 90 egl.getConfigAttrib(display, config, EGL_RED_SIZE, &dst->redSize); 91 egl.getConfigAttrib(display, config, EGL_GREEN_SIZE, &dst->greenSize); 92 egl.getConfigAttrib(display, config, EGL_BLUE_SIZE, &dst->blueSize); 93 egl.getConfigAttrib(display, config, EGL_LUMINANCE_SIZE, &dst->luminanceSize); 94 egl.getConfigAttrib(display, config, EGL_ALPHA_SIZE, &dst->alphaSize); 95 egl.getConfigAttrib(display, config, EGL_ALPHA_MASK_SIZE, &dst->alphaMaskSize); 96 egl.getConfigAttrib(display, config, EGL_BIND_TO_TEXTURE_RGB, (EGLint*)&dst->bindToTextureRGB) [all...] |
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
RemoteHardwareConfig.java | 46 public RemoteHardwareConfig(@NotNull HardwareConfig config) { 47 this(config.getScreenWidth(), config.getScreenHeight(), config.getDensity(), 48 config.getXdpi(), config.getYdpi(), config.getScreenSize(), config.getOrientation(), 49 config.getScreenRoundness(), config.hasSoftwareButtons()) [all...] |
/external/tensorflow/tensorflow/stream_executor/ |
executor_cache.cc | 24 const StreamExecutorConfig& config, 29 auto fast_result = Get(config); 37 entry = &cache_[config.ordinal]; 47 if (iter.first.plugin_config == config.plugin_config && 48 iter.first.device_options == config.device_options) { 62 entry->configurations.emplace_back(config, std::move(result.ValueOrDie())); 67 const StreamExecutorConfig& config) { 71 auto it = cache_.find(config.ordinal); 77 config.ordinal)); 84 port::Printf("No executors registered for ordinal %d", config.ordinal)) [all...] |
/system/bt/osi/include/ |
config.h | 42 // Creates a new config object with no entries (i.e. not backed by a file). 43 // This function returns a unique pointer to config object. 46 // Loads the specified file and returns a handle to the config file. If there 53 // Returns a new config which is a copy and separated from the original; 54 // changes to the new config are not reflected in any way in the original. 59 // Returns true if the config file contains a section named |section|. If 61 bool config_has_section(const config_t& config, const std::string& section); 63 // Returns true if the config file has a key named |key| under |section|. 65 bool config_has_key(const config_t& config, const std::string& section, 71 int config_get_int(const config_t& config, const std::string& section [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
DOMConfigurationImpl.java | 61 public Object get(DOMConfigurationImpl config) { 62 return config.cdataSections; 64 public void set(DOMConfigurationImpl config, Object value) { 65 config.cdataSections = (Boolean) value; 78 public Object get(DOMConfigurationImpl config) { 79 return config.comments; 81 public void set(DOMConfigurationImpl config, Object value) { 82 config.comments = (Boolean) value; 91 public Object get(DOMConfigurationImpl config) { 92 return config.datatypeNormalization [all...] |