Home
last modified time | relevance | path

Searched +full:vm +full:- +full:other (Results 1 – 25 of 515) sorted by relevance

12345678910>>...21

/third_party/node/test/parallel/
Dtest-vm-context.js1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
25 const vm = require('vm'); constant
26 const Script = vm.Script;
30 let context = vm.createContext();
34 // Create a new pre-populated context
35 context = vm.createContext({ 'foo': 'bar', 'thing': 'lala' });
45 // Issue GH-227:
47 vm.runInNewContext('', null, 'some.js');
[all …]
Dtest-vm-run-in-new-context.js1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
23 // Flags: --expose-gc
27 const vm = require('vm'); constant
30 assert.fail('Run this test with --expose-gc');
33 const result = vm.runInNewContext('\'passed\';');
38 vm.runInNewContext('throw new Error(\'test\');');
42 vm.runInNewContext('hello = 2');
52 /* eslint-disable no-unused-vars */
[all …]
Dtest-vm-basic.js1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
25 const vm = require('vm'); constant
27 // vm.runInNewContext
30 const result = vm.runInNewContext(
41 // vm.runInContext
44 const context = vm.createContext(sandbox);
45 const result = vm.runInContext(
57 // vm.runInThisContext
[all …]
Dtest-vm-create-and-run-in-context.js1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
23 // Flags: --expose-gc
27 const vm = require('vm'); constant
30 let context = vm.createContext();
31 let result = vm.runInContext('"passed";', context);
34 // Create a new pre-populated context
35 context = vm.createContext({ 'foo': 'bar', 'thing': 'lala' });
40 result = vm.runInContext('var foo = 3;', context);
[all …]
Dtest-vm-static-this.js1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
22 /* eslint-disable strict */
25 const vm = require('vm'); constant
28 const result = vm.runInThisContext('\'passed\';');
33 vm.runInThisContext('throw new Error(\'test\');');
37 vm.runInThisContext('hello = 2');
48 /* eslint-disable no-unused-vars */
49 const baz = vm.runInThisContext(code);
[all …]
Dtest-vm-access-process-env.js1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
24 // process.env when inside a VM context.
25 // See https://github.com/nodejs/node-v0.x-archive/issues/7511.
29 const vm = require('vm'); constant
31 const context = vm.createContext({ process });
32 const result = vm.runInContext('process.env["PATH"]', context);
Dtest-vm-not-strict.js1 /* eslint-disable strict, no-var, no-delete-var, no-undef, node-core/required-modules, node-core/re…
2 // Importing common would break the execution. Indeed running `vm.runInThisContext` alters the glob…
3 // when declaring new variables with `var`. The other rules (strict, no-var, no-delete-var) have be…
4 // in order to be able to test this specific not-strict case playing with `var` and `delete`.
7 var vm = require('vm'); variable
14 var item2 = vm.runInThisContext(`
24 vm.runInContext(
31 vm.createContext({ data: data })
Dtest-repl-syntax-error-handling.js1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
52 console.log('ok - got expected output');
57 console.log('ok - exit success');
62 const vm = require('vm');
65 vm.runInThisContext('haf!@##&$!@$*!@', { displayErrors: false });
70 vm.runInThisContext('console.log(10)', { displayErrors: false });
Dtest-inspector-contexts.js3 // Flags: --expose-gc
9 const vm = require('vm'); constant
29 // uv_get_process_title() is unimplemented on Solaris-likes and IBMi,
56 vm.runInNewContext('1 + 1');
60 assert.strictEqual(name, 'VM Context 1',
85 vm.runInNewContext('1 + 1', {}, {
103 console.log('Other context destroyed.');
114 vm.createContext({}, { origin: 'https://nodejs.org' });
118 assert.strictEqual(name, 'VM Context 2',
140 vm.createContext({}, { name: 'Custom context 2' });
[all …]
/third_party/libdrm/amdgpu/
Damdgpu_vm.c18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20 * OTHER DEALINGS IN THE SOFTWARE.
31 union drm_amdgpu_vm vm; in amdgpu_vm_reserve_vmid() local
33 vm.in.op = AMDGPU_VM_OP_RESERVE_VMID; in amdgpu_vm_reserve_vmid()
34 vm.in.flags = flags; in amdgpu_vm_reserve_vmid()
36 return drmCommandWriteRead(dev->fd, DRM_AMDGPU_VM, in amdgpu_vm_reserve_vmid()
37 &vm, sizeof(vm)); in amdgpu_vm_reserve_vmid()
43 union drm_amdgpu_vm vm; in amdgpu_vm_unreserve_vmid() local
45 vm.in.op = AMDGPU_VM_OP_UNRESERVE_VMID; in amdgpu_vm_unreserve_vmid()
46 vm.in.flags = flags; in amdgpu_vm_unreserve_vmid()
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_insert_waitcnt.cpp18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
41 * Per BB two wait_ctx is maintained: an in-context and out-context.
42 * The in-context is the joined out-contexts of the predecessors.
43 * The context contains a map: gpr -> wait_entry
45 * Note: After merge-nodes, it might occur that for the same register
49 * - additional events increment the counter of waits of the same type
50 * - or erase gprs with counters higher than to be waited for.
56 /* Instructions of the same event will finish in-order except for smem
57 * and maybe flat. Instructions of different events may not finish in-order. */
[all …]
Daco_statistics.cpp18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
41 for (Block& block : program->blocks) in collect_presched_stats()
43 program->statistics[statistic_sgpr_presched] = presched_demand.sgpr; in collect_presched_stats()
44 program->statistics[statistic_vgpr_presched] = presched_demand.vgpr; in collect_presched_stats()
71 std::deque<int32_t> vm; member in aco::BlockCycleEstimator
76 void join(const BlockCycleEstimator& other);
88 : vm(vm_), exp(exp_), lgkm(lgkm_), vs(vs_) in wait_counter_info()
91 unsigned vm; member
110 instr_class cls = instr_info.classes[(int)instr->opcode]; in get_perf_info()
[all …]
Daco_ir.cpp18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
40 {"force-waitcnt", DEBUG_FORCE_WAITCNT},
72 program->stage = stage; in init_program()
73 program->config = config; in init_program()
74 program->info = *info; in init_program()
75 program->gfx_level = gfx_level; in init_program()
78 case GFX6: program->family = CHIP_TAHITI; break; in init_program()
79 case GFX7: program->family = CHIP_BONAIRE; break; in init_program()
80 case GFX8: program->family = CHIP_POLARIS10; break; in init_program()
[all …]
/third_party/libinput/
D.gitlab-ci.yml9 # To change the gitlab CI, edit .gitlab-ci/ci.template and/or .gitlab-ci/config.yaml
10 # and run ci-fairy generate-template. For details, see
11 # https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#templating-gitlab-ci-yml
14 # - we really want to run dnf/apt/... only once, updating on the test runner for
18 # This is handled by the ci-templates, ensuring containers are only rebuilt
21 # - GitLab only allows one script: set per job but we have a bunch of commands
22 # we need to re-run for each build (meson && ninja && etc). YAML cannot merge
27 # MESON_ARGS=-Denable-something=true
28 # NINJA_ARGS=dist ... to run 'ninja -C builddir dist'
35 # e.g. fedora:31@build-default
[all …]
/third_party/node/deps/cares/docs/
Dares_library_init_android.33 .\" SPDX-License-Identifier: MIT
7 ares_library_init_android \- c-ares library Android initialization
21 internally required by the c-ares library when used on Android. This can take
30 manager to c-ares via JNI. Also, the ACCESS_NETWORK_STATE permission
41 with c-ares. It's meant to be called during JNI_OnLoad because you're
48 whether c-ares has been initialized for use with Android.
55 before the program starts any other thread. This is required to avoid
57 these might call functions from other libraries that
58 are thread unsafe, and could conflict with any other thread that is already
59 using these other libraries.
[all …]
/third_party/node/test/pummel/
Dtest-vm-memleak.js1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
23 // Flags: --max_old_space_size=32 --expose_gc
32 const vm = require('vm'); constant
40 vm.runInNewContext('throw 1;');
51 if (Date.now() - start > 5 * 1000) {
62 vm.createContext({});
/third_party/ltp/doc/
DKVM-Test-API.asciidoc4 Testing KVM is more complex than other Linux features. Some KVM bugs allow
10 payload program running inside the VM. The cooperation of these two components
14 … https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines[Test Writing Guidelines],
15 https://github.com/linux-test-project/ltp/wiki/C-Test-Case-Tutorial[C Test Case Tutorial],
16 https://github.com/linux-test-project/ltp/wiki/C-Test-API[C Test API].
19 ---------------------------
25 The result is a single self-contained binary that'll execute the embedded
30 usual `tst_test.h`. The `kvm_test.h` header file will include the other basic
33 condition, including any other header file includes. Note that the standard
39 -------------------------------------------------------------------------------
[all …]
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidExecService.hpp3 /*-------------------------------------------------------------------------
5 * ----------------------------------------
13 * http://www.apache.org/licenses/LICENSE-2.0
24 *//*--------------------------------------------------------------------*/
47 TestProcess (JavaVM* vm, jobject context);
79 …ExecutionServer (JavaVM* vm, xs::TestProcess* testProcess, deSocketFamily family, int port, RunM…
89 ConnectionHandler (JavaVM* vm, xs::ExecutionServer* server, de::Socket* socket);
99 ServerThread (JavaVM* vm, xs::TestProcess* testProcess, deSocketFamily family, int port);
111 …ExecService (JavaVM* vm, jobject context, int port, deSocketFamily family = (deSocketFamily)DEFA…
118 ExecService (const ExecService& other);
[all …]
/third_party/node/lib/
Dvm.js1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
63 } = require('internal/vm');
96 // abort-on-uncaught-exception check. A dummy try/catch in JS land
98 try { // eslint-disable-line no-useless-catch
108 throw e; /* node-do-not-add-exception-line */
144 throw new ERR_INVALID_ARG_TYPE('contextifiedObject', 'vm.Context',
154 timeout = -1;
217 name = `VM Context ${defaultContextNameIndex++}`,
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_varyings.c19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
54 const struct glsl_type *type = var->type; in get_varying_type()
55 if (nir_is_arrayed_io(var, stage) || var->data.per_view) { in get_varying_type()
66 return var->data.explicit_location && in varying_has_user_specified_location()
67 var->data.location >= VARYING_SLOT_VAR0; in varying_has_user_specified_location()
127 if (prog->TransformFeedback.BufferStride[j]) { in process_xfb_layout_qualifiers()
133 nir_foreach_shader_out_variable(var, sh->Program->nir) { in process_xfb_layout_qualifiers()
143 if (var->data.explicit_xfb_buffer || var->data.explicit_xfb_stride) { in process_xfb_layout_qualifiers()
147 if (var->data.explicit_offset) { in process_xfb_layout_qualifiers()
[all …]
/third_party/node/deps/v8/src/regexp/experimental/
Dexperimental-bytecode.h2 // Use of this source code is governed by a BSD-style license that can be
12 #include "src/regexp/regexp-ast.h"
14 // ----------------------------------------------------------------------------
17 // - Russ Cox's blog post series on regular expression matching, in particular
19 // - The re2 regular regexp library: https://github.com/google/re2
22 // and its abstract semantics in terms of a VM. An implementation of the
25 // The experimental bytecode describes a non-deterministic finite automaton. It
26 // runs on a multithreaded virtual machine (VM), i.e. in several threads
28 // threads.) Apart from a list of threads, the VM maintains an immutable
36 // - CONSUME_RANGE: Check whether the codepoint of the current character is
[all …]
/third_party/rust/crates/regex/
DHACKING.md17 implementation of the Pike VM (similar to Thompson's construction, but supports
19 --- This library contains such an implementation in src/pikevm.rs.
21 Making it fast is harder. One of the key problems with the Pike VM is that it
23 positions between them. The Pike VM also spends a lot of time following the
25 speed up the Pike VM: extract one or more literal prefixes from the regular
27 prefixes in the search text. The Pike VM can then be avoided for most the
29 prefixes is in the regex-syntax crate (in this repository). The code to search
31 we fall back to an Aho-Corasick DFA using the aho-corasick crate. For one
32 literal, we use a variant of the Boyer-Moore algorithm. Both Aho-Corasick and
33 Boyer-Moore use `memchr` when appropriate. The Boyer-Moore variant in this
[all …]
/third_party/jerryscript/jerry-core/vm/
Dvm-stack.h1 /* Copyright JS Foundation and other contributors, http://js.foundation
7 * http://www.apache.org/licenses/LICENSE-2.0
19 #include "ecma-globals.h"
21 /** \addtogroup vm Virtual machine
24 * \addtogroup stack VM stack
29 * Create context on the vm stack.
34 * Create context on the vm stack with environment.
40 * Get type of a vm context.
45 * Get the end position of a vm context.
55 * This flag is set if the iterator close operation should be invoked during a for-of context break.
[all …]
/third_party/jsframework/runtime/main/page/
DPage.ts10 * http://www.apache.org/licenses/LICENSE-2.0
29 import Vm from '../model/index';
51 private _vm: Vm;
119 * Vm of this Page.
120 * @type {Vm}
122 get vm() { method in Page
126 set vm(vm: Vm) { method in Page
127 this._vm = vm;
224 * Collect all virtual-DOM mutations together and send them to renderer.
241 * get params from other page.
/third_party/node/deps/v8/include/
Dv8-unwinder.h2 // Use of this source code is governed by a BSD-style license that can be
10 #include "v8-embedder-state-scope.h" // NOLINT(build/include_directory)
16 // include/v8-unwinder-state.h.
24 RegisterState(const RegisterState& other);
25 RegisterState& operator=(const RegisterState& other);
35 // A StateTag represents a possible state of the VM.
42 OTHER, enumerator
51 void* external_callback_entry; // External callback address if VM is
55 StateTag vm_state; // Current VM state.
83 * signal-safe and does not access any V8 state and thus doesn't require an
[all …]

12345678910>>...21