Home
last modified time | relevance | path

Searched refs:env (Results 501 - 525 of 1803) sorted by relevance

1...<<21222324252627282930>>...73

/third_party/rust/crates/bindgen/bindgen/
H A Dbuild.rs1 use std::env;
7 let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); in main()
11 dst.write_all(env::var("TARGET").unwrap().as_bytes()) in main()
17 println!("cargo:rerun-if-env-changed=LLVM_CONFIG_PATH"); in main()
18 println!("cargo:rerun-if-env-changed=LIBCLANG_PATH"); in main()
19 println!("cargo:rerun-if-env-changed=LIBCLANG_STATIC_PATH"); in main()
20 println!("cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS"); in main()
22 "cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_{}", in main()
23 std::env::var("TARGET").unwrap() in main()
26 "cargo:rerun-if-env in main()
[all...]
/third_party/skia/modules/androidkit/src/
H A DFont.cpp17 static jlong Font_Create(JNIEnv* env, jobject, jstring jFontFamily, float size) { in Font_Create() argument
18 const androidkit::utils::CString cFontFamily(env, jFontFamily); in Font_Create()
30 int register_androidkit_Font(JNIEnv* env) { in register_androidkit_Font() argument
36 const auto clazz = env->FindClass("org/skia/androidkit/Font"); in register_androidkit_Font()
38 ? env->RegisterNatives(clazz, methods, SK_ARRAY_COUNT(methods)) in register_androidkit_Font()
/third_party/node/src/
H A Dnode_constants.cc22 #include "env-inl.h"
1343 Environment* env = Environment::GetCurrent(isolate); in DefineConstants() local
1346 CHECK(os_constants->SetPrototype(env->context(), in DefineConstants()
1347 Null(env->isolate())).FromJust()); in DefineConstants()
1350 CHECK(err_constants->SetPrototype(env->context(), in DefineConstants()
1351 Null(env->isolate())).FromJust()); in DefineConstants()
1354 CHECK(sig_constants->SetPrototype(env->context(), in DefineConstants()
1355 Null(env->isolate())).FromJust()); in DefineConstants()
1358 CHECK(priority_constants->SetPrototype(env->context(), in DefineConstants()
1359 Null(env in DefineConstants()
[all...]
H A Djsvm_types.h152 JSVM_Value(JSVM_CDECL* callback)(JSVM_Env env,
169 typedef void(JSVM_CDECL* JSVM_Finalize)(JSVM_Env env,
585 JSVM_Value(JSVM_CDECL* genericNamedPropertyGetterCallback)(JSVM_Env env,
591 JSVM_Value(JSVM_CDECL* genericNamedPropertySetterCallback)(JSVM_Env env,
598 JSVM_Value(JSVM_CDECL* genericNamedPropertyDeleterCallback)(JSVM_Env env,
604 JSVM_Value(JSVM_CDECL* genericNamedPropertyEnumeratorCallback)(JSVM_Env env,
609 JSVM_Value(JSVM_CDECL* genericIndexedPropertyGetterCallback)(JSVM_Env env,
615 JSVM_Value(JSVM_CDECL* genericIndexedPropertySetterCallback)(JSVM_Env env,
622 JSVM_Value(JSVM_CDECL* genericIndexedPropertyDeleterCallback)(JSVM_Env env,
628 JSVM_Value(JSVM_CDECL* genericIndexedPropertyEnumeratorCallback)(JSVM_Env env,
[all...]
H A Dasync_wrap.h127 AsyncWrap(Environment* env,
134 AsyncWrap(Environment* env, v8::Local<v8::Object> object);
143 Environment* env);
165 static void EmitAsyncInit(Environment* env,
171 static void EmitDestroy(Environment* env, double async_id);
172 static void EmitBefore(Environment* env, double async_id);
173 static void EmitAfter(Environment* env, double async_id);
174 static void EmitPromiseResolve(Environment* env, double async_id);
182 static void DestroyAsyncIdsCallback(Environment* env);
219 static v8::Local<v8::Object> GetOwner(Environment* env,
[all...]
/third_party/node/src/crypto/
H A Dcrypto_x509.h8 #include "env.h"
45 static void Initialize(Environment* env, v8::Local<v8::Object> target);
48 Environment* env);
49 static bool HasInstance(Environment* env, v8::Local<v8::Object> object);
52 Environment* env,
57 Environment* env,
62 Environment* env,
66 Environment* env,
71 Environment* env,
110 Environment* env,
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPUAdapter.cpp119 interop::Interface<interop::GPUSupportedFeatures> GPUAdapter::getFeatures(Napi::Env env) { in getFeatures() argument
120 return interop::GPUSupportedFeatures::Create<Features>(env, in getFeatures()
124 interop::Interface<interop::GPUSupportedLimits> GPUAdapter::getLimits(Napi::Env env) { in getLimits() argument
127 Napi::Error::New(env, "failed to get adapter limits").ThrowAsJavaScriptException(); in getLimits()
161 return interop::GPUSupportedLimits::Create<GPUSupportedLimits>(env, wgpuLimits); in getLimits()
169 Napi::Env env, in requestDevice()
172 interop::Promise<interop::Interface<interop::GPUDevice>> promise(env, PROMISE_INFO); in requestDevice()
217 promise.Resolve(interop::GPUDevice::Create<GPUDevice>(env, env, wgpu_device)); in requestDevice()
219 Napi::Error::New(env, "faile in requestDevice()
168 requestDevice( Napi::Env env, interop::GPUDeviceDescriptor descriptor) requestDevice() argument
[all...]
/third_party/spirv-tools/test/
H A Dtest_fixture.h28 ScopedContext(spv_target_env env = SPV_ENV_UNIVERSAL_1_0) in ScopedContext()
29 : context(spvContextCreate(env)) {} in ScopedContext()
64 spv_target_env env = SPV_ENV_UNIVERSAL_1_0) { in CompileSuccessfully()
68 spvTextToBinary(ScopedContext(env).context, txt.c_str(), txt.size(), in CompileSuccessfully()
84 spv_target_env env = SPV_ENV_UNIVERSAL_1_0) { in CompileFailure()
88 spvTextToBinary(ScopedContext(env).context, txt.c_str(), in CompileFailure()
114 spv_target_env env = SPV_ENV_UNIVERSAL_1_0, bool flip_words = false) { in EncodeAndDecodeSuccessfully()
117 ScopedContext context(env); in EncodeAndDecodeSuccessfully()
173 spv_target_env env = SPV_ENV_UNIVERSAL_1_0) { in CompiledInstructions()
174 const SpirvVector code = CompileSuccessfully(txt, env); in CompiledInstructions()
[all...]
/third_party/node/test/cctest/
H A Dtest_linked_binding.cc91 napi_value InitializeLocalNapiBinding(napi_env env, napi_value exports) { in InitializeLocalNapiBinding() argument
93 CHECK_EQ(napi_create_string_utf8(env, "hello", NAPI_AUTO_LENGTH, &key), in InitializeLocalNapiBinding()
95 CHECK_EQ(napi_create_string_utf8(env, "world", NAPI_AUTO_LENGTH, &value), in InitializeLocalNapiBinding()
97 CHECK_EQ(napi_set_property(env, exports, key, value), napi_ok); in InitializeLocalNapiBinding()
163 napi_value InitializeLocalNapiRefBinding(napi_env env, napi_value exports) { in InitializeLocalNapiRefBinding() argument
166 napi_create_string_utf8(env, "napi_ref_created", NAPI_AUTO_LENGTH, &key), in InitializeLocalNapiRefBinding()
173 CHECK_EQ(napi_create_reference(env, key, 1, &ref), napi_ok); in InitializeLocalNapiRefBinding()
174 CHECK_EQ(napi_delete_reference(env, ref), napi_ok); in InitializeLocalNapiRefBinding()
176 CHECK_EQ(napi_create_reference(env, key, 1, &ref), napi_invalid_arg); in InitializeLocalNapiRefBinding()
178 CHECK_EQ(napi_get_boolean(env, re in InitializeLocalNapiRefBinding()
239 NapiLinkedWithInstanceData(napi_env env, napi_value exports) NapiLinkedWithInstanceData() argument
[all...]
/third_party/python/Lib/
H A Dos.py545 """execle(file, *args, env)
548 environment env, replacing the current process. """
549 env = args[-1]
550 execve(file, args[:-1], env)
560 """execlpe(file, *args, env)
563 with argument list args and environment env, replacing the current
565 env = args[-1]
566 execvpe(file, args[:-1], env)
576 def execvpe(file, args, env):
577 """execvpe(file, args, env)
[all...]
/third_party/node/test/parallel/
H A Dtest-env-var-no-warnings.js10 const env = { ...process.env, ...newEnv };
13 cp.exec(cmd, { env }, common.mustCall((err, stdout, stderr) => {
17 if (env.NODE_NO_WARNINGS === '1')
25 test(process.env);
H A Dtest-tls-env-bad-extra-ca.js14 if (process.env.CHILD) {
19 const env = {
20 ...process.env,
26 env: env,
37 // TODO(addaleax): Make `SafeGetenv` work like `process.env`
H A Dtest-tls-env-extra-ca.js15 if (process.env.CHILD) {
17 port: process.env.PORT,
35 const env = {
36 ...process.env,
42 fork(__filename, { env }).on('exit', common.mustCall(function(status) {
/third_party/node/deps/npm/node_modules/cross-spawn/lib/util/
H A DresolveCommand.js8 const env = parsed.options.env || process.env;
28 path: env[getPathKey({ env })],
/third_party/rust/crates/env_logger/tests/
H A Dinit-twice-retains-filter.rs4 use std::env;
9 if env::var("YOU_ARE_TESTING_NOW").is_ok() { in main()
10 // Init from the env (which should set the max level to `Debug`) in main()
26 let exe = env::current_exe().unwrap(); in main()
28 .env("YOU_ARE_TESTING_NOW", "1") in main()
29 .env("RUST_LOG", "debug") in main()
H A Dlog-in-log.rs5 use std::env;
21 if env::var("YOU_ARE_TESTING_NOW").is_ok() { in main()
25 let exe = env::current_exe().unwrap(); in main()
27 .env("YOU_ARE_TESTING_NOW", "1") in main()
28 .env("RUST_LOG", "debug") in main()
H A Dregexp_filter.rs5 use std::env;
10 if env::var("LOG_REGEXP_TEST").ok() == Some(String::from("1")) { in main()
23 let exe = env::current_exe().unwrap(); in run_child()
25 .env("LOG_REGEXP_TEST", "1") in run_child()
26 .env("RUST_LOG", rust_log) in run_child()
/third_party/skia/third_party/externals/spirv-tools/test/reduce/
H A Dreduce_test_util.h27 void CheckEqual(spv_target_env env,
33 void CheckEqual(spv_target_env env, const std::string& expected_text,
38 void CheckEqual(spv_target_env env, const std::string& expected_text,
43 void CheckValid(spv_target_env env, const opt::IRContext* ir);
47 std::string ToString(spv_target_env env, const opt::IRContext* ir);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/
H A Dreduce_test_util.h27 void CheckEqual(spv_target_env env,
33 void CheckEqual(spv_target_env env, const std::string& expected_text,
38 void CheckEqual(spv_target_env env, const std::string& expected_text,
43 void CheckValid(spv_target_env env, const opt::IRContext* ir);
47 std::string ToString(spv_target_env env, const opt::IRContext* ir);
/third_party/spirv-tools/test/reduce/
H A Dreduce_test_util.h27 void CheckEqual(spv_target_env env,
33 void CheckEqual(spv_target_env env, const std::string& expected_text,
38 void CheckEqual(spv_target_env env, const std::string& expected_text,
43 void CheckValid(spv_target_env env, const opt::IRContext* ir);
47 std::string ToString(spv_target_env env, const opt::IRContext* ir);
/third_party/node/lib/internal/process/
H A Dpre_execution.js94 // If the process is spawned with env NODE_CHANNEL_FD, it's probably
249 process.env.NODE_NO_WARNINGS !== '1') {
333 // overwrite process.env so that the original path gets passed
337 if (process.env.NODE_V8_COVERAGE &&
339 process.env.NODE_V8_COVERAGE =
340 setupCoverageHooks(process.env.NODE_V8_COVERAGE);
378 require('internal/util/debuglog').initializeDebugEnv(process.env.NODE_DEBUG);
505 if (process.env.NODE_CHANNEL_FD) {
508 const fd = NumberParseInt(process.env.NODE_CHANNEL_FD, 10);
512 delete process.env
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dextensions.c46 char *env; member
143 free(unrecognized_extensions.env); in free_unknown_extensions_strings()
164 char *env; in _mesa_one_time_init_extension_overrides() local
177 env = strdup(override); in _mesa_one_time_init_extension_overrides()
179 if (env == NULL) in _mesa_one_time_init_extension_overrides()
182 for (ext = strtok(env, " "); ext != NULL; ext = strtok(NULL, " ")) { in _mesa_one_time_init_extension_overrides()
232 free(env); in _mesa_one_time_init_extension_overrides()
234 unrecognized_extensions.env = env; in _mesa_one_time_init_extension_overrides()
369 /* Check if the MESA_EXTENSION_MAX_YEAR env va in _mesa_make_extension_string()
371 const char *env = getenv("MESA_EXTENSION_MAX_YEAR"); _mesa_make_extension_string() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/
H A Dtransformation_add_global_variable_test.cpp60 const auto env = SPV_ENV_UNIVERSAL_1_3; in TEST() local
62 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
220 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
260 for (auto env : {SPV_ENV_UNIVERSAL_1_4, SPV_ENV_UNIVERSAL_1_5, in TEST()
264 BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
336 IsEqual(env, after_transformation_enlarged_interface, context.get())); in TEST()
378 for (auto env : in TEST()
383 BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
455 IsEqual(env, after_transformation_fixed_interface, context.get())); in TEST()
479 const auto env in TEST() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/
H A Dtransformation_add_global_variable_test.cpp60 const auto env = SPV_ENV_UNIVERSAL_1_3; in TEST() local
62 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
220 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
260 for (auto env : {SPV_ENV_UNIVERSAL_1_4, SPV_ENV_UNIVERSAL_1_5, in TEST()
264 BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
336 IsEqual(env, after_transformation_enlarged_interface, context.get())); in TEST()
378 for (auto env : in TEST()
383 BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
455 IsEqual(env, after_transformation_fixed_interface, context.get())); in TEST()
479 const auto env in TEST() local
[all...]
/third_party/spirv-tools/test/fuzz/
H A Dtransformation_add_global_variable_test.cpp60 const auto env = SPV_ENV_UNIVERSAL_1_3; in TEST() local
62 const auto context = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
221 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
261 for (auto env : {SPV_ENV_UNIVERSAL_1_4, SPV_ENV_UNIVERSAL_1_5, in TEST()
265 BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
337 IsEqual(env, after_transformation_enlarged_interface, context.get())); in TEST()
379 for (auto env : in TEST()
384 BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST()
456 IsEqual(env, after_transformation_fixed_interface, context.get())); in TEST()
480 const auto env in TEST() local
[all...]

Completed in 13 milliseconds

1...<<21222324252627282930>>...73