Home
last modified time | relevance | path

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

12345678910>>...308

/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/curl/src/
Dtool_cfgable.c32 void config_init(struct OperationConfig *config) in config_init() argument
34 memset(config, 0, sizeof(struct OperationConfig)); in config_init()
36 config->postfieldsize = -1; in config_init()
37 config->use_httpget = FALSE; in config_init()
38 config->create_dirs = FALSE; in config_init()
39 config->maxredirs = DEFAULT_MAXREDIRS; in config_init()
40 config->proto_present = FALSE; in config_init()
41 config->proto_redir_present = FALSE; in config_init()
42 config->proto_default = NULL; in config_init()
43 config->tcp_nodelay = TRUE; /* enabled by default */ in config_init()
[all …]
Dtool_operate.c107 struct OperationConfig *config,
332 struct OperationConfig *config = per->config; /* for the macro below */ in pre_transfer() local
334 (void)config; in pre_transfer()
364 void single_transfer_cleanup(struct OperationConfig *config) in single_transfer_cleanup() argument
366 if(config) { in single_transfer_cleanup()
367 struct State *state = &config->state; in single_transfer_cleanup()
395 struct OperationConfig *config = per->config; in post_per_transfer() local
398 if(!curl || !config) in post_per_transfer()
415 if(!config->synthetic_error && result && in post_per_transfer()
423 else if(config->failwithbody) { in post_per_transfer()
[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/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/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/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/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/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/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/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/mbedtls/tests/scripts/
Dall.sh142 # Files clobbered by config.py
289 # Remove built files as well as the cmake cache/config.
890 msg "build: make, default config (out-of-box)" # ~1min
895 msg "test: main suites make, default config (out-of-box)" # ~10s
898 msg "selftest: make, default config (out-of-box)" # ~10s
924 msg "build: full config, cmake, gcc, ASan"
925 scripts/config.py full
929 msg "test: main suites (inc. selftests) (full config, ASan build)"
935 msg "test: ssl-opt.sh (full config, ASan build)"
938 msg "test: compat.sh (full config, ASan build)"
[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/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/node/deps/npm/test/lib/commands/
Dconfig.js11 t.test('config no args', async t => {
15 sandbox.run('config', []),
23 t.test('config ignores workspaces', async t => {
27 sandbox.run('config', ['--workspaces']),
35 t.test('config list', async t => {
52 await sandbox.run('config', ['list'])
57 t.test('config list --long', async t => {
74 await sandbox.run('config', ['list', '--long'])
79 t.test('config list --json', async t => {
96 await sandbox.run('config', ['list', '--json'])
[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/node/deps/npm/node_modules/@npmcli/config/
DREADME.md1 # `@npmcli/config`
7 `lib/config/` folder.
15 - The `prefix` config value has some special semantics, setting the local
18 - The `project` config file is loaded based on the local prefix (which can
19 only be set by the CLI config options, and otherwise defaults to a walk
27 - A `builtin` config, read from a `npmrc` file in the root of the npm
42 The `userconfig` config value can be overridden by the `cli`, `env`, or
49 - INI-formatted builtin config file. eg `some-key = some-value` in
57 const Config = require('@npmcli/config')
59 const types = require('./config/types.js')
[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/python/Programs/
D_testembed.c346 static void config_set_string(PyConfig *config, wchar_t **config_str, const wchar_t *str) in config_set_string() argument
348 PyStatus status = PyConfig_SetString(config, config_str, str); in config_set_string()
350 PyConfig_Clear(config); in config_set_string()
356 static void config_set_argv(PyConfig *config, Py_ssize_t argc, wchar_t * const *argv) in config_set_argv() argument
358 PyStatus status = PyConfig_SetArgv(config, argc, argv); in config_set_argv()
360 PyConfig_Clear(config); in config_set_argv()
367 config_set_wide_string_list(PyConfig *config, PyWideStringList *list, in config_set_wide_string_list() argument
370 PyStatus status = PyConfig_SetWideStringList(config, list, length, items); in config_set_wide_string_list()
372 PyConfig_Clear(config); in config_set_wide_string_list()
378 static void config_set_program_name(PyConfig *config) in config_set_program_name() argument
[all …]

12345678910>>...308