Home
last modified time | relevance | path

Searched full:config (Results 1 – 25 of 8152) sorted by relevance

12345678910>>...327

/third_party/typescript/tests/baselines/reference/
DobjectSpreadRepeatedNullCheckPerf.types82 function parseWithSpread(config: Record<string, number>): Props {
83 >parseWithSpread : (config: Record<string, number>) => Props
84 >config : Record<string, number>
87config.a !== undefined && { a: config.a.toString() }, ...config.b !== undefined && { b: con…
89 ...config.a !== undefined && { a: config.a.toString() },
90 >config.a !== undefined && { a: config.a.toString() } : false | { a: string; }
91 >config.a !== undefined : boolean
92 >config.a : number
93 >config : Record<string, number>
96 >{ a: config.a.toString() } : { a: string; }
[all …]
DobjectSpreadRepeatedNullCheckPerf.js31 function parseWithSpread(config: Record<string, number>): Props {
33 ...config.a !== undefined && { a: config.a.toString() },
34 ...config.b !== undefined && { b: config.b.toString() },
35 ...config.c !== undefined && { c: config.c.toString() },
36 ...config.d !== undefined && { d: config.d.toString() },
37 ...config.e !== undefined && { e: config.e.toString() },
38 ...config.f !== undefined && { f: config.f.toString() },
39 ...config.g !== undefined && { g: config.g.toString() },
40 ...config.h !== undefined && { h: config.h.toString() },
41 ...config.i !== undefined && { i: config.i.toString() },
[all …]
DobjectSpreadRepeatedNullCheckPerf.symbols84 function parseWithSpread(config: Record<string, number>): Props {
86 >config : Symbol(config, Decl(objectSpreadRepeatedNullCheckPerf.ts, 29, 25))
91 ...config.a !== undefined && { a: config.a.toString() },
92 >config : Symbol(config, Decl(objectSpreadRepeatedNullCheckPerf.ts, 29, 25))
95 >config.a.toString : Symbol(Number.toString, Decl(lib.es5.d.ts, --, --))
96 >config : Symbol(config, Decl(objectSpreadRepeatedNullCheckPerf.ts, 29, 25))
99 ...config.b !== undefined && { b: config.b.toString() },
100 >config : Symbol(config, Decl(objectSpreadRepeatedNullCheckPerf.ts, 29, 25))
103 >config.b.toString : Symbol(Number.toString, Decl(lib.es5.d.ts, --, --))
104 >config : Symbol(config, Decl(objectSpreadRepeatedNullCheckPerf.ts, 29, 25))
[all …]
DcontrolFlowElementAccess2.types2 declare const config: {
3 >config : { [key: string]: boolean | { prop: string; }; }
11 if (typeof config['works'] !== 'boolean') {
12 >typeof config['works'] !== 'boolean' : boolean
13 >typeof config['works'] : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "ob…
14 >config['works'] : boolean | { prop: string; }
15 >config : { [key: string]: boolean | { prop: string; }; }
19 config.works.prop = 'test'; // ok
20 >config.works.prop = 'test' : "test"
21 >config.works.prop : string
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dconfig_enc.c15 #include "src/webp/config.h"
24 int WebPConfigInitInternal(WebPConfig* config, in WebPConfigInitInternal() argument
29 if (config == NULL) return 0; in WebPConfigInitInternal()
31 config->quality = quality; in WebPConfigInitInternal()
32 config->target_size = 0; in WebPConfigInitInternal()
33 config->target_PSNR = 0.; in WebPConfigInitInternal()
34 config->method = 4; in WebPConfigInitInternal()
35 config->sns_strength = 50; in WebPConfigInitInternal()
36 config->filter_strength = 60; // mid-filtering in WebPConfigInitInternal()
37 config->filter_sharpness = 0; in WebPConfigInitInternal()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dconfig_enc.c15 #include "src/webp/config.h"
24 int WebPConfigInitInternal(WebPConfig* config, in WebPConfigInitInternal() argument
29 if (config == NULL) return 0; in WebPConfigInitInternal()
31 config->quality = quality; in WebPConfigInitInternal()
32 config->target_size = 0; in WebPConfigInitInternal()
33 config->target_PSNR = 0.; in WebPConfigInitInternal()
34 config->method = 4; in WebPConfigInitInternal()
35 config->sns_strength = 50; in WebPConfigInitInternal()
36 config->filter_strength = 60; // mid-filtering in WebPConfigInitInternal()
37 config->filter_sharpness = 0; in WebPConfigInitInternal()
[all …]
/third_party/cef/tests/ceftests/
Ddialog_unittest.cc69 explicit DialogTestHandler(const TestConfig& config) : config_(config) {} in DialogTestHandler() argument
146 DialogTestHandler::TestConfig config(FILE_DIALOG_OPEN); in TEST() local
147 config.title.clear(); in TEST()
148 config.default_file_name.clear(); in TEST()
149 config.accept_types.clear(); in TEST()
150 config.callback_async = false; in TEST()
151 config.callback_cancel = false; in TEST()
153 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST()
159 DialogTestHandler::TestConfig config(static_cast<cef_file_dialog_mode_t>( in TEST() local
162 config.title.clear(); in TEST()
[all …]
/third_party/typescript/tests/cases/conformance/types/spread/
DobjectSpreadRepeatedNullCheckPerf.ts31 function parseWithSpread(config: Record<string, number>): Props {
33 ...config.a !== undefined && { a: config.a.toString() },
34 ...config.b !== undefined && { b: config.b.toString() },
35 ...config.c !== undefined && { c: config.c.toString() },
36 ...config.d !== undefined && { d: config.d.toString() },
37 ...config.e !== undefined && { e: config.e.toString() },
38 ...config.f !== undefined && { f: config.f.toString() },
39 ...config.g !== undefined && { g: config.g.toString() },
40 ...config.h !== undefined && { h: config.h.toString() },
41 ...config.i !== undefined && { i: config.i.toString() },
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DConfig_unittest.cpp11 #include "libANGLE/Config.h"
13 // Create a generic, valid EGL config that can be modified to test sorting and
15 static egl::Config GenerateGenericConfig() in GenerateGenericConfig()
17 egl::Config config; in GenerateGenericConfig() local
19 config.bufferSize = 24; in GenerateGenericConfig()
20 config.redSize = 8; in GenerateGenericConfig()
21 config.greenSize = 8; in GenerateGenericConfig()
22 config.blueSize = 8; in GenerateGenericConfig()
23 config.luminanceSize = 0; in GenerateGenericConfig()
24 config.alphaSize = 8; in GenerateGenericConfig()
[all …]
DConfig.cpp7 // Config.cpp: Implements the egl::Config class, describing the format, type
11 #include "libANGLE/Config.h"
25 Config::Config() in Config() function in egl::Config
69 Config::~Config() {} in ~Config()
71 Config::Config(const Config &other) = default;
73 Config &Config::operator=(const Config &other) = default;
83 EGLint ConfigSet::add(const Config &config) in add() argument
85 // Set the config's ID to a small number that starts at 1 ([EGL 1.5] section 3.4) in add()
88 Config copyConfig(config); in add()
95 const Config &ConfigSet::get(EGLint id) const in get()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DConfig_unittest.cpp11 #include "libANGLE/Config.h"
13 // Create a generic, valid EGL config that can be modified to test sorting and
15 static egl::Config GenerateGenericConfig() in GenerateGenericConfig()
17 egl::Config config; in GenerateGenericConfig() local
19 config.bufferSize = 24; in GenerateGenericConfig()
20 config.redSize = 8; in GenerateGenericConfig()
21 config.greenSize = 8; in GenerateGenericConfig()
22 config.blueSize = 8; in GenerateGenericConfig()
23 config.luminanceSize = 0; in GenerateGenericConfig()
24 config.alphaSize = 8; in GenerateGenericConfig()
[all …]
DConfig.cpp7 // Config.cpp: Implements the egl::Config class, describing the format, type
11 #include "libANGLE/Config.h"
25 Config::Config() in Config() function in egl::Config
66 Config::~Config() {} in ~Config()
68 Config::Config(const Config &other) = default;
70 Config &Config::operator=(const Config &other) = default;
80 EGLint ConfigSet::add(const Config &config) in add() argument
82 // Set the config's ID to a small number that starts at 1 ([EGL 1.5] section 3.4) in add()
85 Config copyConfig(config); in add()
92 const Config &ConfigSet::get(EGLint id) const in get()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dconfig_file.c19 #include "config.h"
26 #include "utils/config.h"
266 static int wpa_config_process_blob(struct wpa_config *config, FILE *f, in wpa_config_process_blob() argument
286 wpa_config_set_blob(config, blob); in wpa_config_process_blob()
299 struct wpa_config *config; in wpa_config_read() local
306 config = cfgp; in wpa_config_read()
308 config = wpa_config_alloc_empty(NULL, NULL); in wpa_config_read()
309 if (config == NULL) { in wpa_config_read()
310 wpa_printf(MSG_ERROR, "Failed to allocate config file " in wpa_config_read()
314 tail = head = config->ssid; in wpa_config_read()
[all …]
/third_party/icu/icu4c/source/config/
Dtest-icu-config.sh8 # Just a script to test out icu-config.
12 which icu-config
13 icu-config
14 icu-config -?
15 icu-config --BAD ARGUMENT
16 icu-config --bindir
17 icu-config --cflags
18 icu-config --cxx
19 icu-config --cc
20 icu-config --cxxflags
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/config/
Dtest-icu-config.sh8 # Just a script to test out icu-config.
12 which icu-config
13 icu-config
14 icu-config -?
15 icu-config --BAD ARGUMENT
16 icu-config --bindir
17 icu-config --cflags
18 icu-config --cxx
19 icu-config --cc
20 icu-config --cxxflags
[all …]
/third_party/skia/third_party/externals/icu/source/config/
Dtest-icu-config.sh8 # Just a script to test out icu-config.
12 which icu-config
13 icu-config
14 icu-config -?
15 icu-config --BAD ARGUMENT
16 icu-config --bindir
17 icu-config --cflags
18 icu-config --cxx
19 icu-config --cc
20 icu-config --cxxflags
[all …]
/third_party/python/Python/
Dinitconfig.c596 config_check_consistency(const PyConfig *config) in config_check_consistency() argument
598 /* Check config consistency */ in config_check_consistency()
599 assert(config->isolated >= 0); in config_check_consistency()
600 assert(config->use_environment >= 0); in config_check_consistency()
601 assert(config->dev_mode >= 0); in config_check_consistency()
602 assert(config->install_signal_handlers >= 0); in config_check_consistency()
603 assert(config->use_hash_seed >= 0); in config_check_consistency()
604 assert(config->hash_seed <= MAX_HASH_SEED); in config_check_consistency()
605 assert(config->faulthandler >= 0); in config_check_consistency()
606 assert(config->tracemalloc >= 0); in config_check_consistency()
[all …]
Dpreconfig.c17 preconfig_copy(PyPreConfig *config, const PyPreConfig *config2);
129 precmdline_get_preconfig(_PyPreCmdline *cmdline, const PyPreConfig *config) in precmdline_get_preconfig() argument
132 if (config->ATTR != -1) { \ in precmdline_get_preconfig()
133 cmdline->ATTR = config->ATTR; \ in precmdline_get_preconfig()
145 precmdline_set_preconfig(const _PyPreCmdline *cmdline, PyPreConfig *config) in precmdline_set_preconfig() argument
148 config->ATTR = cmdline->ATTR in precmdline_set_preconfig()
159 _PyPreCmdline_SetConfig(const _PyPreCmdline *cmdline, PyConfig *config) in _PyPreCmdline_SetConfig() argument
162 config->ATTR = cmdline->ATTR in _PyPreCmdline_SetConfig()
164 PyStatus status = _PyWideStringList_Extend(&config->xoptions, &cmdline->xoptions); in _PyPreCmdline_SetConfig()
281 _PyPreConfig_InitCompatConfig(PyPreConfig *config) in _PyPreConfig_InitCompatConfig() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dconfig_file.c19 #include "config.h"
350 static int wpa_config_process_blob(struct wpa_config *config, FILE *f, in wpa_config_process_blob() argument
370 wpa_config_set_blob(config, blob); in wpa_config_process_blob()
383 struct wpa_config *config; in wpa_config_read() local
390 config = cfgp; in wpa_config_read()
392 config = wpa_config_alloc_empty(NULL, NULL); in wpa_config_read()
393 if (config == NULL) { in wpa_config_read()
394 wpa_printf(MSG_ERROR, "Failed to allocate config file " in wpa_config_read()
398 tail = head = config->ssid; in wpa_config_read()
401 cred_tail = cred_head = config->cred; in wpa_config_read()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/
DGPUTestExpectationsTest.cpp23 void validateConfigBase(const GPUTestConfig &config) in validateConfigBase() argument
25 EXPECT_EQ(IsWindows(), config.getConditions()[GPUTestConfig::kConditionWin]); in validateConfigBase()
26 EXPECT_EQ(IsOSX(), config.getConditions()[GPUTestConfig::kConditionMac]); in validateConfigBase()
27 EXPECT_EQ(IsIOS(), config.getConditions()[GPUTestConfig::kConditionIOS]); in validateConfigBase()
28 EXPECT_EQ(IsLinux(), config.getConditions()[GPUTestConfig::kConditionLinux]); in validateConfigBase()
29 EXPECT_EQ(IsAndroid(), config.getConditions()[GPUTestConfig::kConditionAndroid]); in validateConfigBase()
30 EXPECT_EQ(IsNexus5X(), config.getConditions()[GPUTestConfig::kConditionNexus5X]); in validateConfigBase()
32 config.getConditions()[GPUTestConfig::kConditionPixel2OrXL]); in validateConfigBase()
33 EXPECT_EQ(IsIntel(), config.getConditions()[GPUTestConfig::kConditionIntel]); in validateConfigBase()
34 EXPECT_EQ(IsAMD(), config.getConditions()[GPUTestConfig::kConditionAMD]); in validateConfigBase()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DCompressedTextureFormatTests.cpp209 void TestCopyRegionIntoBCFormatTextures(const CopyConfig& config) { in TestCopyRegionIntoBCFormatTextures() argument
210 dawn::Texture bcTexture = Create2DTexture(device, config.format, config.textureWidthLevel0, in TestCopyRegionIntoBCFormatTextures()
211 config.textureHeightLevel0, in TestCopyRegionIntoBCFormatTextures()
212 config.arrayLayerCount, config.mipmapLevelCount); in TestCopyRegionIntoBCFormatTextures()
213 CopyDataIntoCompressedTexture(bcTexture, config); in TestCopyRegionIntoBCFormatTextures()
216 bcTexture, config.format, config.baseArrayLayer, config.baseMipmapLevel); in TestCopyRegionIntoBCFormatTextures()
219 dawn::Extent3D virtualSizeAtLevel = GetVirtualSizeAtLevel(config); in TestCopyRegionIntoBCFormatTextures()
224 dawn::Extent3D noPaddingExtent3D = config.copyExtent3D; in TestCopyRegionIntoBCFormatTextures()
225 if (config.copyOrigin3D.x + config.copyExtent3D.width > virtualSizeAtLevel.width) { in TestCopyRegionIntoBCFormatTextures()
226 noPaddingExtent3D.width = virtualSizeAtLevel.width - config.copyOrigin3D.x; in TestCopyRegionIntoBCFormatTextures()
[all …]
/third_party/rust/crates/clap/tests/builder/
Dempty_values.rs8 let m = Command::new("config") in empty_values()
9 .arg(Arg::new("config").long("config").action(ArgAction::Set)) in empty_values()
10 .try_get_matches_from(["config", "--config", ""]) in empty_values()
12 assert_eq!(m.get_one::<String>("config").map(|v| v.as_str()), Some("")); in empty_values()
17 let m = Command::new("config") in empty_values_with_equals()
18 .arg(Arg::new("config").long("config").action(ArgAction::Set)) in empty_values_with_equals()
19 .try_get_matches_from(["config", "--config="]) in empty_values_with_equals()
21 assert_eq!(m.get_one::<String>("config").map(|v| v.as_str()), Some("")); in empty_values_with_equals()
23 let m = Command::new("config") in empty_values_with_equals()
24 .arg(Arg::new("config").short('c').action(ArgAction::Set)) in empty_values_with_equals()
[all …]
/third_party/vk-gl-cts/framework/platform/ohos/context/
DtcuOhosNativeContext.cpp61 OhosRendContext::OhosRendContext(const glu::RenderConfig &config, const tcu::CommandLine &cmdLine) in OhosRendContext() argument
62 : m_contextType(config.type) in OhosRendContext()
67 printf("config.width = %d\n", config.width); in OhosRendContext()
68 printf("config.height = %d\n", config.height); in OhosRendContext()
69 printf("config.redBits = %d\n", config.redBits); in OhosRendContext()
70 printf("config.greenBits = %d\n", config.greenBits); in OhosRendContext()
71 printf("config.blueBits = %d\n", config.blueBits); in OhosRendContext()
72 printf("config.alphaBits = %d\n", config.alphaBits); in OhosRendContext()
73 printf("config.depthBits = %d\n", config.depthBits); in OhosRendContext()
74 printf("config.stencilBits = %d\n", config.stencilBits); in OhosRendContext()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharingThreadedTests.cpp573 …CreateContext (EGLDisplay display, EGLConfig config, SharedPtr<GLES2Context> shared, SharedPtr<GLE…
584 CreateContext::CreateContext (EGLDisplay display, EGLConfig config, SharedPtr<GLES2Context> shared,… in CreateContext() argument
587 , m_config (config) in CreateContext()
794 …CreatePBufferSurface (EGLDisplay display, EGLConfig config, EGLint width, EGLint height, SharedPtr…
805 CreatePBufferSurface::CreatePBufferSurface (EGLDisplay display, EGLConfig config, EGLint width, EGL… in CreatePBufferSurface() argument
808 , m_config (config) in CreatePBufferSurface()
2071 …GLES2SharingRandomTest (EglTestContext& context, const TestConfig& config, const char* name, cons…
2113 GLES2SharingRandomTest::GLES2SharingRandomTest (EglTestContext& context, const TestConfig& config, … in GLES2SharingRandomTest() argument
2115 , m_config (config) in GLES2SharingRandomTest()
2972 …GLES2ThreadedSharingTest (EglTestContext& context, const TestConfig& config, const char* name, con…
[all …]
/third_party/mbedtls/tests/scripts/
Dall.sh138 # Files clobbered by config.py
284 # Remove built files as well as the cmake cache/config.
883 msg "build: make, default config (out-of-box)" # ~1min
889 msg "test: main suites make, default config (out-of-box)" # ~10s
892 msg "selftest: make, default config (out-of-box)" # ~10s
921 msg "build: full config, cmake, gcc, ASan"
922 scripts/config.py full
926 msg "test: main suites (inc. selftests) (full config, ASan build)"
932 msg "test: ssl-opt.sh (full config, ASan build)"
935 msg "test: compat.sh (full config, ASan build)"
[all …]

12345678910>>...327