/external/catch2/include/internal/ |
D | catch_config.cpp | 14 Config::Config( ConfigData const& data ) in Config() function in Catch::Config 39 std::string const& Config::getFilename() const { in getFilename() 43 bool Config::listTests() const { return m_data.listTests; } in listTests() 44 bool Config::listTestNamesOnly() const { return m_data.listTestNamesOnly; } in listTestNamesOnly() 45 bool Config::listTags() const { return m_data.listTags; } in listTags() 46 bool Config::listReporters() const { return m_data.listReporters; } in listReporters() 48 std::string Config::getProcessName() const { return m_data.processName; } in getProcessName() 49 std::string const& Config::getReporterName() const { return m_data.reporterName; } in getReporterName() 51 std::vector<std::string> const& Config::getTestsOrTags() const { return m_data.testsOrTags; } in getTestsOrTags() 52 … std::vector<std::string> const& Config::getSectionsToRun() const { return m_data.sectionsToRun; } in getSectionsToRun() [all …]
|
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
D | COFFObjcopy.cpp | 134 static Error handleArgs(const CopyConfig &Config, Object &Obj) { in handleArgs() argument 136 Obj.removeSections([&Config](const Section &Sec) { in handleArgs() 139 if (!Config.OnlySection.empty() && !Config.OnlySection.matches(Sec.Name)) in handleArgs() 142 if (Config.StripDebug || Config.StripAll || Config.StripAllGNU || in handleArgs() 143 Config.DiscardMode == DiscardType::All || Config.StripUnneeded) { in handleArgs() 149 if (Config.ToRemove.matches(Sec.Name)) in handleArgs() 155 if (Config.OnlyKeepDebug) { in handleArgs() 166 if (Config.StripAll || Config.StripAllGNU) in handleArgs() 171 if (Config.StripUnneeded || Config.DiscardMode == DiscardType::All || in handleArgs() 172 !Config.SymbolsToRemove.empty()) in handleArgs() [all …]
|
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
D | ELFObjcopy.cpp | 135 static std::unique_ptr<Writer> createELFWriter(const CopyConfig &Config, in createELFWriter() argument 141 return std::make_unique<ELFWriter<ELF32LE>>(Obj, Buf, !Config.StripSections, in createELFWriter() 142 Config.OnlyKeepDebug); in createELFWriter() 144 return std::make_unique<ELFWriter<ELF64LE>>(Obj, Buf, !Config.StripSections, in createELFWriter() 145 Config.OnlyKeepDebug); in createELFWriter() 147 return std::make_unique<ELFWriter<ELF32BE>>(Obj, Buf, !Config.StripSections, in createELFWriter() 148 Config.OnlyKeepDebug); in createELFWriter() 150 return std::make_unique<ELFWriter<ELF64BE>>(Obj, Buf, !Config.StripSections, in createELFWriter() 151 Config.OnlyKeepDebug); in createELFWriter() 156 static std::unique_ptr<Writer> createWriter(const CopyConfig &Config, in createWriter() argument [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | ConfigTest.java | 13 import org.robolectric.annotation.Config; 14 import org.robolectric.annotation.Config.Builder; 20 Config defaults = Config.Builder.defaults().build(); in testDefaults() 28 Config.Implementation base = new Config.Builder().setSdk(16, 17, 18).build(); in withOverlay_withBaseSdk() 30 assertThat(sdksIn(overlay(base, new Config.Builder().build()))) in withOverlay_withBaseSdk() 33 assertThat(sdksIn(overlay(base, new Config.Builder().setSdk(16).build()))) in withOverlay_withBaseSdk() 36 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).build()))) in withOverlay_withBaseSdk() 39 assertThat(sdksIn(overlay(base, new Config.Builder().setMaxSdk(20).build()))) in withOverlay_withBaseSdk() 42 assertThat(sdksIn(overlay(base, new Config.Builder().setMinSdk(16).setMaxSdk(18).build()))) in withOverlay_withBaseSdk() 48 Config.Implementation base = new Config.Builder().setMinSdk(18).build(); in withOverlay_withBaseMinSdk() [all …]
|
D | SdkPickerTest.java | 13 import org.robolectric.annotation.Config; 32 assertThat(sdkPicker.selectSdks(new Config.Builder().build(), usesSdk)) in withDefaultSdkConfig_shouldUseTargetSdkFromAndroidManifest() 41 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withAllSdksConfig_shouldUseFullSdkRangeFromAndroidManifest() 50 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withAllSdksConfigAndNoMinSdkVersion_shouldUseFullSdkRangeFromAndroidManifest() 60 assertThat(sdkPicker.selectSdks(new Config.Builder().setSdk(Config.ALL_SDKS).build(), usesSdk)) in withAllSdksConfigAndNoMaxSdkVersion_shouldUseFullSdkRangeFromAndroidManifest() 69 assertThat(sdkPicker.selectSdks(new Config.Builder().setMinSdk(24).build(), usesSdk)) in withMinSdkHigherThanSupportedRange_shouldReturnNone() 81 new Config.Builder().setMinSdk(22).setMaxSdk(21).build(), usesSdk); in withMinSdkHigherThanMaxSdk_shouldThrowError() 94 sdkPicker.selectSdks(new Config.Builder().build(), usesSdk); in withTargetSdkLessThanMinSdk_shouldThrowError() 106 sdkPicker.selectSdks(new Config.Builder().build(), usesSdk); in withTargetSdkGreaterThanMaxSdk_shouldThrowError() 118 assertThat(sdkPicker.selectSdks(new Config.Builder().build(), usesSdk)) in shouldClipSdkRangeFromAndroidManifest() [all …]
|
/external/llvm-project/llvm/tools/llvm-objcopy/wasm/ |
D | WasmObjcopy.cpp | 42 static Error handleArgs(const CopyConfig &Config, Object &Obj) { in handleArgs() argument 44 for (StringRef Flag : Config.DumpSection) { in handleArgs() 52 Obj.removeSections([&Config](const Section &Sec) { in handleArgs() 53 if (Config.ToRemove.matches(Sec.Name)) in handleArgs() 58 for (StringRef Flag : Config.AddSection) { in handleArgs() 75 if (!Config.AddGnuDebugLink.empty() || !Config.BuildIdLinkDir.empty() || in handleArgs() 76 Config.BuildIdLinkInput || Config.BuildIdLinkOutput || in handleArgs() 77 Config.ExtractPartition || !Config.SplitDWO.empty() || in handleArgs() 78 !Config.SymbolsPrefix.empty() || !Config.AllocSectionsPrefix.empty() || in handleArgs() 79 Config.DiscardMode != DiscardType::None || Config.NewSymbolVisibility || in handleArgs() [all …]
|
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/ |
D | MachOObjcopy.cpp | 49 static Error removeSections(const CopyConfig &Config, Object &Obj) { in removeSections() argument 54 if (!Config.ToRemove.empty()) { in removeSections() 55 RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() 56 return Config.ToRemove.matches(Sec->CanonicalName); in removeSections() 60 if (Config.StripAll || Config.StripDebug) { in removeSections() 70 if (!Config.OnlySection.empty()) { in removeSections() 72 RemovePred = [&Config](const std::unique_ptr<Section> &Sec) { in removeSections() 73 return !Config.OnlySection.matches(Sec->CanonicalName); in removeSections() 80 static void markSymbols(const CopyConfig &Config, Object &Obj) { in markSymbols() argument 87 static void updateAndRemoveSymbols(const CopyConfig &Config, Object &Obj) { in updateAndRemoveSymbols() argument [all …]
|
/external/webrtc/api/neteq/ |
D | neteq.cc | 17 NetEq::Config::Config() = default; 18 NetEq::Config::Config(const Config&) = default; 19 NetEq::Config::Config(Config&&) = default; 20 NetEq::Config::~Config() = default; 21 NetEq::Config& NetEq::Config::operator=(const Config&) = default; 22 NetEq::Config& NetEq::Config::operator=(Config&&) = default; 24 std::string NetEq::Config::ToString() const { in ToString()
|
/external/llvm-project/llvm/tools/llvm-objcopy/ |
D | CopyConfig.cpp | 512 CopyConfig Config; in parseObjcopyOptions() local 513 Config.InputFilename = Positional[0]; in parseObjcopyOptions() 514 Config.OutputFilename = Positional[Positional.size() == 1 ? 0 : 1]; in parseObjcopyOptions() 546 Config.InputFormat = StringSwitch<FileFormat>(InputFormat) in parseObjcopyOptions() 552 Config.NewSymbolVisibility = in parseObjcopyOptions() 555 Config.OutputFormat = StringSwitch<FileFormat>(OutputFormat) in parseObjcopyOptions() 559 if (Config.OutputFormat == FileFormat::Unspecified) { in parseObjcopyOptions() 561 Config.OutputFormat = Config.InputFormat; in parseObjcopyOptions() 567 Config.OutputFormat = Target->Format; in parseObjcopyOptions() 568 Config.OutputArch = Target->Machine; in parseObjcopyOptions() [all …]
|
D | llvm-objcopy.cpp | 132 static Error executeObjcopyOnIHex(CopyConfig &Config, MemoryBuffer &In, in executeObjcopyOnIHex() argument 135 if (Error E = Config.parseELFConfig()) in executeObjcopyOnIHex() 137 return elf::executeObjcopyOnIHex(Config, In, Out); in executeObjcopyOnIHex() 142 static Error executeObjcopyOnRawBinary(CopyConfig &Config, MemoryBuffer &In, in executeObjcopyOnRawBinary() argument 144 switch (Config.OutputFormat) { in executeObjcopyOnRawBinary() 152 if (Error E = Config.parseELFConfig()) in executeObjcopyOnRawBinary() 154 return elf::executeObjcopyOnRawBinary(Config, In, Out); in executeObjcopyOnRawBinary() 162 static Error executeObjcopyOnBinary(CopyConfig &Config, object::Binary &In, in executeObjcopyOnBinary() argument 165 if (Error E = Config.parseELFConfig()) in executeObjcopyOnBinary() 167 return elf::executeObjcopyOnBinary(Config, *ELFBinary, Out); in executeObjcopyOnBinary() [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | size_class_map.h | 25 template <typename Config> struct SizeClassMapBase { 30 if (Config::MaxBytesCachedLog > 31 || Config::MaxSizeLog > 31) in getMaxCachedHint() 31 N = static_cast<u32>((1UL << Config::MaxBytesCachedLog) / Size); in getMaxCachedHint() 33 N = (1U << Config::MaxBytesCachedLog) / static_cast<u32>(Size); in getMaxCachedHint() 34 return Max(1U, Min(Config::MaxNumCachedHint, N)); in getMaxCachedHint() 57 template <typename Config> 58 class FixedSizeClassMap : public SizeClassMapBase<Config> { 59 typedef SizeClassMapBase<Config> Base; 61 static const uptr MinSize = 1UL << Config::MinSizeLog; 62 static const uptr MidSize = 1UL << Config::MidSizeLog; [all …]
|
/external/scudo/standalone/ |
D | size_class_map.h | 25 template <typename Config> struct SizeClassMapBase { 30 if (Config::MaxBytesCachedLog > 31 || Config::MaxSizeLog > 31) in getMaxCachedHint() 31 N = static_cast<u32>((1UL << Config::MaxBytesCachedLog) / Size); in getMaxCachedHint() 33 N = (1U << Config::MaxBytesCachedLog) / static_cast<u32>(Size); in getMaxCachedHint() 34 return Max(1U, Min(Config::MaxNumCachedHint, N)); in getMaxCachedHint() 57 template <typename Config> 58 class FixedSizeClassMap : public SizeClassMapBase<Config> { 59 typedef SizeClassMapBase<Config> Base; 61 static const uptr MinSize = 1UL << Config::MinSizeLog; 62 static const uptr MidSize = 1UL << Config::MidSizeLog; [all …]
|
/external/boringssl/src/ssl/test/runner/ |
D | runner.go | 378 var dummyConfig Config 550 config Config 586 resumeConfig *Config 733 func doExchange(test *testCase, config *Config, conn net.Conn, isResume bool, transcripts *[][]byte… argument 1521 var resumeConfig Config 1851 config: Config{ 1861 config: Config{ 1870 config: Config{ 1890 config: Config{ 1902 config: Config{ [all …]
|
/external/openscreen/discovery/common/ |
D | config.h | 16 struct Config { struct 101 inline Config::NetworkInfo::AddressFamilies operator&( argument 102 Config::NetworkInfo::AddressFamilies lhs, 103 Config::NetworkInfo::AddressFamilies rhs) { 104 return static_cast<Config::NetworkInfo::AddressFamilies>( 108 inline Config::NetworkInfo::AddressFamilies operator|( 109 Config::NetworkInfo::AddressFamilies lhs, 110 Config::NetworkInfo::AddressFamilies rhs) { 111 return static_cast<Config::NetworkInfo::AddressFamilies>( 115 inline Config::NetworkInfo::AddressFamilies operator|=( [all …]
|
/external/webrtc/rtc_base/experiments/ |
D | balanced_degradation_settings.cc | 26 std::vector<BalancedDegradationSettings::Config> DefaultConfigs() { in DefaultConfigs() 94 bool IsValid(const std::vector<BalancedDegradationSettings::Config>& configs) { in IsValid() 139 std::vector<BalancedDegradationSettings::Config> GetValidOrDefault( in GetValidOrDefault() 140 const std::vector<BalancedDegradationSettings::Config>& configs) { in GetValidOrDefault() 149 const BalancedDegradationSettings::Config& config) { in GetThresholds() 187 const absl::optional<BalancedDegradationSettings::Config>& config) { in GetFps() 220 const absl::optional<BalancedDegradationSettings::Config>& config) { in GetKbps() 253 const absl::optional<BalancedDegradationSettings::Config>& config) { in GetKbpsRes() 311 BalancedDegradationSettings::Config::Config() = default; 313 BalancedDegradationSettings::Config::Config(int pixels, in Config() function in webrtc::BalancedDegradationSettings::Config [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/ |
D | ConfigMerger.java | 17 import org.robolectric.annotation.Config; 21 private final Map<String, Config> packageConfigCache = new LinkedHashMap<String, Config>() { 37 public Config getConfig(Class<?> testClass, Method method, Config globalConfig) { in getConfig() 38 Config config = Config.Builder.defaults().build(); in getConfig() 42 Config packageConfig = cachedPackageConfig(packageName); in getConfig() 47 Config classConfig = (Config) clazz.getAnnotation(Config.class); in getConfig() 51 Config methodConfig = method.getAnnotation(Config.class); in getConfig() 72 private Config buildPackageConfig(String packageName) { in buildPackageConfig() 73 return Config.Implementation.fromProperties(getConfigProperties(packageName)); in buildPackageConfig() 119 private Config override(Config config, Config classConfig) { in override() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapTest.java | 26 import org.robolectric.annotation.Config; 44 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap() 49 assertThat(bitmap.getConfig()).isEqualTo(Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap() 54 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasAlpha() 61 @Config(minSdk = JELLY_BEAN_MR1) 63 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasMipmap() 70 @Config(minSdk = KITKAT) 72 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in getAllocationByteCount() 82 Bitmap bitmap = Bitmap.createBitmap(colors, 3, 2, Bitmap.Config.ARGB_8888); in shouldCreateBitmapWithColors() 85 assertThat(bitmap.getConfig()).isEqualTo(Bitmap.Config.ARGB_8888); in shouldCreateBitmapWithColors() [all …]
|
D | ShadowDevicePolicyManagerTest.java | 44 import org.robolectric.annotation.Config; 69 @Config(minSdk = JELLY_BEAN_MR2) 80 @Config(minSdk = LOLLIPOP) 92 @Config(minSdk = JELLY_BEAN_MR2) 104 @Config(minSdk = JELLY_BEAN_MR2) 116 @Config(minSdk = JELLY_BEAN_MR2) 124 @Config(minSdk = N) 135 @Config(minSdk = N) 143 @Config(minSdk = LOLLIPOP) 154 @Config(minSdk = LOLLIPOP) [all …]
|
/external/autotest/server/cros/faft/utils/ |
D | config_unittest.py | 24 cfg = config.Config(platform) 95 child_config = config.Config('childboard') 104 parent_config = config.Config('parentboard') 110 foo_config = config.Config('foo') 150 child_config = config.Config('childboard') 151 child_modelA_config = config.Config('childboard', 'modelA') 152 child_modelB_config = config.Config('childboard', 'modelB') 153 parent_config = config.Config('parentboard') 154 parent_modelA_config = config.Config('parentboard', 'modelA') 155 parent_modelB_config = config.Config('parentboard', 'modelB') [all …]
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Config.h | 42 struct Config { struct 44 static const Config ¤t(); 46 static clangd::Key<Config> Key; argument 48 Config() = default; 49 Config(const Config &) = delete; 50 Config &operator=(const Config &) = delete; argument 51 Config(Config &&) = default; 52 Config &operator=(Config &&) = default; argument 101 template <> struct DenseMapInfo<clang::clangd::Config::ExternalIndexSpec> { argument 102 using ExternalIndexSpec = clang::clangd::Config::ExternalIndexSpec;
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | videocodec_test_fixture_config_unittest.cc | 24 using Config = VideoCodecTestFixture::Config; typedef 30 TEST(Config, NumberOfCoresWithUseSingleCore) { in TEST() argument 31 Config config; in TEST() 36 TEST(Config, NumberOfCoresWithoutUseSingleCore) { in TEST() argument 37 Config config; in TEST() 42 TEST(Config, NumberOfTemporalLayersIsOne) { in TEST() argument 43 Config config; in TEST() 48 TEST(Config, NumberOfTemporalLayers_Vp8) { in TEST() argument 49 Config config; in TEST() 55 TEST(Config, NumberOfTemporalLayers_Vp9) { in TEST() argument [all …]
|
/external/webrtc/call/ |
D | video_receive_stream.cc | 75 VideoReceiveStream::Config::Config(const Config&) = default; 76 VideoReceiveStream::Config::Config(Config&&) = default; 77 VideoReceiveStream::Config::Config(Transport* rtcp_send_transport) in Config() function in webrtc::VideoReceiveStream::Config 80 VideoReceiveStream::Config& VideoReceiveStream::Config::operator=(Config&&) = 82 VideoReceiveStream::Config::Config::~Config() = default; 84 std::string VideoReceiveStream::Config::ToString() const { in ToString() 105 VideoReceiveStream::Config::Rtp::Rtp() = default; 106 VideoReceiveStream::Config::Rtp::Rtp(const Rtp&) = default; 107 VideoReceiveStream::Config::Rtp::~Rtp() = default; 109 std::string VideoReceiveStream::Config::Rtp::ToString() const { in ToString()
|
D | video_send_stream.cc | 96 VideoSendStream::Config::Config(const Config&) = default; 97 VideoSendStream::Config::Config(Config&&) = default; 98 VideoSendStream::Config::Config(Transport* send_transport) in Config() function in webrtc::VideoSendStream::Config 103 VideoSendStream::Config& VideoSendStream::Config::operator=(Config&&) = default; 104 VideoSendStream::Config::Config::~Config() = default; 106 std::string VideoSendStream::Config::ToString() const { in ToString()
|
/external/webrtc/modules/audio_processing/include/ |
D | audio_processing.cc | 20 const AudioProcessing::Config::NoiseSuppression::Level& level) { in NoiseSuppressionLevelToString() 22 case AudioProcessing::Config::NoiseSuppression::Level::kLow: in NoiseSuppressionLevelToString() 24 case AudioProcessing::Config::NoiseSuppression::Level::kModerate: in NoiseSuppressionLevelToString() 26 case AudioProcessing::Config::NoiseSuppression::Level::kHigh: in NoiseSuppressionLevelToString() 28 case AudioProcessing::Config::NoiseSuppression::Level::kVeryHigh: in NoiseSuppressionLevelToString() 34 const AudioProcessing::Config::GainController1::Mode& mode) { in GainController1ModeToString() 36 case AudioProcessing::Config::GainController1::Mode::kAdaptiveAnalog: in GainController1ModeToString() 38 case AudioProcessing::Config::GainController1::Mode::kAdaptiveDigital: in GainController1ModeToString() 40 case AudioProcessing::Config::GainController1::Mode::kFixedDigital: in GainController1ModeToString() 46 const AudioProcessing::Config::GainController2::LevelEstimator& level) { in GainController2LevelEstimatorToString() [all …]
|
/external/robolectric-shadows/soong/ |
D | robolectric.go | 45 ctx.Config().PlatformVersionName(), 46 ctx.Config().BuildId()) 51 "ro.build.id=" + ctx.Config().BuildId(), 60 "ro.build.version.security_patch=" + ctx.Config().PlatformSecurityPatch(), 61 "ro.build.version.sdk=" + ctx.Config().PlatformSdkVersion().String(), 62 "ro.build.version.release=" + ctx.Config().PlatformVersionName(), 63 "ro.build.version.preview_sdk=" + ctx.Config().PlatformPreviewSdkVersion(), 65 "ro.build.version.preview_sdk_fingerprint=" + ctx.Config().PlatformPreviewSdkVersion(), 66 "ro.build.version.codename=" + ctx.Config().PlatformSdkCodename(), 67 …"ro.build.version.all_codenames=" + strings.Join(ctx.Config().PlatformVersionActiveCodenames(), ",… [all …]
|