Home
last modified time | relevance | path

Searched refs:vm (Results 1 - 25 of 132) sorted by relevance

123456

/third_party/jsframework/runtime/main/reactivity/
H A Dstate.js13 export function initState (vm) {
14 vm._watchers = [];
15 initData(vm);
16 initComputed(vm);
17 initMethods(vm);
20 export function initData (vm) {
21 let data = vm.__data;
22 initDataSegment(vm, data);
23 let shareData = vm.__shareData;
24 initDataSegment(vm, shareDat
[all...]
H A Dobserver.js68 * <p>Add an owner vm, so that when $set/$delete mutations<br>
71 * @param {Vue} vm
73 Observer.prototype.addVm = function (vm) {
74 (this.vms || (this.vms = [])).push(vm);
78 * Remove an owner vm. This is called when the object is swapped out as a page's $data object.
79 * @param {Vue} vm
81 Observer.prototype.removeVm = function (vm) {
82 remove(this.vms, vm);
102 * @param {Vue} [vm]
106 export function observe (value, vm) {
[all...]
H A Dwatcher.js15 * @param {Vue} vm
30 export default function Watcher (vm, expOrFn, cb, options) {
36 this.vm = vm;
37 vm._watchers.push(this);
55 // State for avoiding false triggers for deep and Array watchers during vm._digest().
64 const value = this.getter.call(this.vm, this.vm);
136 this.cb.call(this.vm, value, oldValue);
165 /* Remove self from vm'
[all...]
/third_party/node/test/parallel/
H A Dtest-vm-basic.js25 const vm = require('vm');
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
59 const result = vm.runInThisContext(
67 // vm
[all...]
H A Dtest-vm-options-validation.js5 const vm = require('vm');
18 new vm.Script('void 0', 42);
23 new vm.Script('void 0', { lineOffset: value });
27 new vm.Script('void 0', { columnOffset: value });
33 new vm.Script('void 0', { lineOffset: value });
37 new vm.Script('void 0', { columnOffset: value });
42 new vm.Script('void 0', { lineOffset: Number.MAX_SAFE_INTEGER });
46 new vm.Script('void 0', { columnOffset: Number.MAX_SAFE_INTEGER });
50 new vm
[all...]
H A Dtest-vm-is-context.js25 const vm = require('vm');
31 vm.isContext(valToTest);
38 assert.strictEqual(vm.isContext({}), false);
39 assert.strictEqual(vm.isContext([]), false);
41 assert.strictEqual(vm.isContext(vm.createContext()), true);
42 assert.strictEqual(vm.isContext(vm.createContext([])), true);
45 vm
[all...]
H A Dtest-vm-context.js25 const vm = require('vm');
26 const Script = vm.Script;
30 let context = vm.createContext();
35 context = vm.createContext({ 'foo': 'bar', 'thing': 'lala' });
47 vm.runInNewContext('', null, 'some.js');
57 vm.runInContext('throw new Error()', context, 'expected-filename.js');
73 message: /The "contextifiedObject" argument must be an vm\.Context/
86 assert.throws(() => { vm.runInContext('', e[0]); }, e[1]);
91 script = vm
[all...]
H A Dtest-vm-global-property-interceptors.js4 const vm = require('vm');
31 const ctx = vm.createContext(sandbox);
33 const result = vm.runInContext(`
64 vm.runInContext(`
106 assert.strictEqual(vm.runInContext('k;', ctx), 1);
107 vm.runInContext('k = 2;', ctx);
109 assert.strictEqual(vm.runInContext('k;', ctx), 2);
112 assert.strictEqual(typeof vm.runInContext('encodeURI;', ctx), 'function');
114 vm
[all...]
H A Dtest-vm-run-in-new-context.js27 const vm = require('vm');
33 const result = vm.runInNewContext('\'passed\';');
38 vm.runInNewContext('throw new Error(\'test\');');
42 vm.runInNewContext('hello = 2');
53 const baz = vm.runInNewContext(global.code, global.obj);
61 vm.runInNewContext('f()', { f: changeFoo });
66 vm.runInNewContext('f.a = 2', { f });
70 const fn = vm.runInNewContext('(function() { obj.p = {}; })', { obj: {} });
75 const filename = 'test_file.vm';
[all...]
H A Dtest-vm-create-and-run-in-context.js27 const vm = require('vm');
30 let context = vm.createContext();
31 let result = vm.runInContext('"passed";', context);
35 context = vm.createContext({ 'foo': 'bar', 'thing': 'lala' });
40 result = vm.runInContext('var foo = 3;', context);
47 vm.createContext(sandbox);
49 vm.runInContext('x = 2', sandbox);
H A Dtest-vm-context-property-forwarding.js25 const vm = require('vm');
29 const ctx = vm.createContext(sandbox);
31 assert.strictEqual(vm.runInContext('x;', ctx), 3);
32 vm.runInContext('y = 4;', ctx);
39 const ctx2 = vm.createContext(x);
49 const ctx = vm.createContext();
61 vm.runInContext('prop = 42', ctx);
H A Dtest-vm-static-this.js25 const vm = require('vm');
28 const result = vm.runInThisContext('\'passed\';');
33 vm.runInThisContext('throw new Error(\'test\');');
37 vm.runInThisContext('hello = 2');
49 const baz = vm.runInThisContext(code);
57 vm.runInThisContext('f()');
H A Dtest-vm-cached-data.js4 const vm = require('vm');
18 const vm = require('vm');
22 var script = new vm.Script(process.argv[1], {
46 const script = new vm.Script(source, {
68 const script = new vm.Script(getSource('invalid_1'), {
81 const script = new vm.Script(source, {
90 new vm.Script('function abc() {}', {
H A Dtest-util-types.js1 // Flags: --experimental-vm-modules --expose-internals
6 const vm = require('vm');
81 assert(types.isUint8Array(vm.runInNewContext('new Uint8Array')));
87 vm.runInNewContext('new Uint8ClampedArray')
91 assert(types.isUint16Array(vm.runInNewContext('new Uint16Array')));
94 assert(types.isUint32Array(vm.runInNewContext('new Uint32Array')));
97 assert(types.isInt8Array(vm.runInNewContext('new Int8Array')));
100 assert(types.isInt16Array(vm.runInNewContext('new Int16Array')));
103 assert(types.isInt32Array(vm
[all...]
/third_party/node/deps/v8/src/codegen/arm64/
H A Dassembler-arm64.h476 void and_(const VRegister& vd, const VRegister& vn, const VRegister& vm);
482 void bic(const VRegister& vd, const VRegister& vn, const VRegister& vm);
485 void bif(const VRegister& vd, const VRegister& vn, const VRegister& vm);
488 void bit(const VRegister& vd, const VRegister& vn, const VRegister& vm);
491 void bsl(const VRegister& vd, const VRegister& vn, const VRegister& vm);
494 void pmul(const VRegister& vd, const VRegister& vn, const VRegister& vm);
556 void orn(const VRegister& vd, const VRegister& vn, const VRegister& vm);
559 void eor(const VRegister& vd, const VRegister& vn, const VRegister& vm);
565 void orr(const VRegister& vd, const VRegister& vn, const VRegister& vm);
961 void add(const VRegister& vd, const VRegister& vn, const VRegister& vm);
[all...]
/third_party/libdrm/amdgpu/
H A Damdgpu_vm.c31 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()
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()
49 &vm, sizeof(vm)); in amdgpu_vm_unreserve_vmid()
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_link_varyings.c1121 init_varying_matches(void *mem_ctx, struct varying_matches *vm, in init_varying_matches() argument
1166 vm->matches_capacity = 8; in init_varying_matches()
1167 vm->matches = (struct match *) in init_varying_matches()
1168 ralloc_array(mem_ctx, struct match, vm->matches_capacity); in init_varying_matches()
1169 vm->num_matches = 0; in init_varying_matches()
1171 vm->disable_varying_packing = disable_varying_packing; in init_varying_matches()
1172 vm->disable_xfb_packing = disable_xfb_packing; in init_varying_matches()
1173 vm->xfb_enabled = xfb_enabled; in init_varying_matches()
1174 vm->enhanced_layouts_enabled = exts->ARB_enhanced_layouts; in init_varying_matches()
1175 vm in init_varying_matches()
1185 is_varying_packing_safe(struct varying_matches *vm, const struct glsl_type *type, const nir_variable *var) is_varying_packing_safe() argument
1197 is_packing_disabled(struct varying_matches *vm, const struct glsl_type *type, const nir_variable *var) is_packing_disabled() argument
1294 varying_matches_record(void *mem_ctx, struct varying_matches *vm, nir_variable *producer_var, nir_variable *consumer_var) varying_matches_record() argument
1395 varying_matches_assign_locations(struct varying_matches *vm, struct gl_shader_program *prog, uint8_t components[], uint64_t reserved_slots) varying_matches_assign_locations() argument
1560 varying_matches_assign_temp_locations(struct varying_matches *vm, struct gl_shader_program *prog, uint64_t reserved_slots) varying_matches_assign_temp_locations() argument
1595 varying_matches_store_locations(struct varying_matches *vm) varying_matches_store_locations() argument
2357 assign_initial_varying_locations(const struct gl_constants *consts, const struct gl_extensions *exts, void *mem_ctx, struct gl_shader_program *prog, struct gl_linked_shader *producer, struct gl_linked_shader *consumer, unsigned num_xfb_decls, struct xfb_decl *xfb_decls, struct varying_matches *vm) assign_initial_varying_locations() argument
2600 link_shader_opts(struct varying_matches *vm, nir_shader *producer, nir_shader *consumer, struct gl_shader_program *prog, void *mem_ctx) link_shader_opts() argument
2668 assign_final_varying_locations(const struct gl_constants *consts, const struct gl_extensions *exts, void *mem_ctx, struct gl_shader_program *prog, struct gl_linked_shader *producer, struct gl_linked_shader *consumer, unsigned num_xfb_decls, struct xfb_decl *xfb_decls, const uint64_t reserved_slots, struct varying_matches *vm) assign_final_varying_locations() argument
2979 struct varying_matches vm; link_varyings() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Djni.c40 int av_jni_set_java_vm(void *vm, void *log_ctx) in av_jni_set_java_vm() argument
46 java_vm = vm; in av_jni_set_java_vm()
47 } else if (java_vm != vm) { in av_jni_set_java_vm()
58 void *vm; in av_jni_get_java_vm() local
61 vm = java_vm; in av_jni_get_java_vm()
64 return vm; in av_jni_get_java_vm()
69 int av_jni_set_java_vm(void *vm, void *log_ctx) in av_jni_set_java_vm() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmFloatControlsTests.cpp465 ValueMap& vm = m_valueIdToFloatType; in TypeValues() local
466 vm[V_UNUSED] = deFloat32To16(0.0f); in TypeValues()
467 vm[V_MINUS_INF] = 0xfc00; in TypeValues()
468 vm[V_MINUS_ONE] = deFloat32To16(-1.0f); in TypeValues()
469 vm[V_MINUS_ZERO] = 0x8000; in TypeValues()
470 vm[V_ZERO] = 0x0000; in TypeValues()
471 vm[V_HALF] = deFloat32To16(0.5f); in TypeValues()
472 vm[V_ONE] = deFloat32To16(1.0f); in TypeValues()
473 vm[V_INF] = 0x7c00; in TypeValues()
474 vm[V_DENOR in TypeValues()
517 ValueMap& vm = m_valueIdToFloatType; TypeValues() local
574 ValueMap& vm = m_valueIdToFloatType; TypeValues() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmFloatControlsTests.cpp463 ValueMap& vm = m_valueIdToFloatType; in TypeValues() local
464 vm[V_UNUSED] = deFloat32To16(0.0f); in TypeValues()
465 vm[V_MINUS_INF] = 0xfc00; in TypeValues()
466 vm[V_MINUS_ONE] = deFloat32To16(-1.0f); in TypeValues()
467 vm[V_MINUS_ZERO] = 0x8000; in TypeValues()
468 vm[V_ZERO] = 0x0000; in TypeValues()
469 vm[V_HALF] = deFloat32To16(0.5f); in TypeValues()
470 vm[V_ONE] = deFloat32To16(1.0f); in TypeValues()
471 vm[V_INF] = 0x7c00; in TypeValues()
472 vm[V_DENOR in TypeValues()
515 ValueMap& vm = m_valueIdToFloatType; TypeValues() local
572 ValueMap& vm = m_valueIdToFloatType; TypeValues() local
[all...]
/third_party/ltp/lib/newlib_tests/
H A Dtest_zero_hugepage.sh14 orig_value=`cat /proc/sys/vm/nr_hugepages`
20 if [ ! -f /proc/sys/vm/nr_hugepages ]; then
21 tconf "/proc/sys/vm/nr_hugepages does not exist"
24 if [ ! -w /proc/sys/vm/nr_hugepages ]; then
25 tconf "no write permission to /proc/sys/vm/nr_hugepages (run as root)"
28 echo 4 > /proc/sys/vm/nr_hugepages
32 echo $orig_value > /proc/sys/vm/nr_hugepages
/third_party/vixl/src/aarch64/
H A Dassembler-aarch64.h590 void tbl(const VRegister& vd, const VRegister& vn, const VRegister& vm);
596 const VRegister& vm);
603 const VRegister& vm);
611 const VRegister& vm);
614 void tbx(const VRegister& vd, const VRegister& vn, const VRegister& vm);
620 const VRegister& vm);
627 const VRegister& vm);
635 const VRegister& vm);
2249 void fadd(const VRegister& vd, const VRegister& vn, const VRegister& vm);
2252 void fsub(const VRegister& vd, const VRegister& vn, const VRegister& vm);
[all...]
H A Dassembler-aarch64.cc317 const VRegister& vm, in NEONTable()
322 VIXL_ASSERT(AreSameFormat(vd, vm)); in NEONTable()
323 Emit(op | (vd.IsQ() ? NEON_Q : 0) | Rm(vm) | Rn(vn) | Rd(vd)); in NEONTable()
329 const VRegister& vm) { in tbl()
331 NEONTable(vd, vn, vm, NEON_TBL_1v); in tbl()
338 const VRegister& vm) { in tbl()
343 NEONTable(vd, vn, vm, NEON_TBL_2v); in tbl()
351 const VRegister& vm) { in tbl()
356 NEONTable(vd, vn, vm, NEON_TBL_3v); in tbl()
365 const VRegister& vm) { in tbl()
315 NEONTable(const VRegister& vd, const VRegister& vn, const VRegister& vm, NEONTableOp op) NEONTable() argument
327 tbl(const VRegister& vd, const VRegister& vn, const VRegister& vm) tbl() argument
335 tbl(const VRegister& vd, const VRegister& vn, const VRegister& vn2, const VRegister& vm) tbl() argument
347 tbl(const VRegister& vd, const VRegister& vn, const VRegister& vn2, const VRegister& vn3, const VRegister& vm) tbl() argument
360 tbl(const VRegister& vd, const VRegister& vn, const VRegister& vn2, const VRegister& vn3, const VRegister& vn4, const VRegister& vm) tbl() argument
374 tbx(const VRegister& vd, const VRegister& vn, const VRegister& vm) tbx() argument
382 tbx(const VRegister& vd, const VRegister& vn, const VRegister& vn2, const VRegister& vm) tbx() argument
394 tbx(const VRegister& vd, const VRegister& vn, const VRegister& vn2, const VRegister& vn3, const VRegister& vm) tbx() argument
407 tbx(const VRegister& vd, const VRegister& vn, const VRegister& vn2, const VRegister& vn3, const VRegister& vn4, const VRegister& vm) tbx() argument
[all...]
/third_party/vk-gl-cts/framework/platform/android/
H A DtcuAndroidExecService.cpp61 TestProcess::TestProcess (JavaVM* vm, jobject context) in TestProcess() argument
62 : m_vm (vm) in TestProcess()
73 DBG_PRINT(("TestProcess::TestProcess(%p, %p)", vm, context)); in TestProcess()
291 ExecutionServer::ExecutionServer (JavaVM* vm, xs::TestProcess* testProcess, deSocketFamily family, int port, RunMode runMode) in ExecutionServer() argument
293 , m_vm (vm) in ExecutionServer()
305 ConnectionHandler::ConnectionHandler (JavaVM* vm, xs::ExecutionServer* server, de::Socket* socket) in ConnectionHandler() argument
307 , m_vm (vm) in ConnectionHandler()
328 ServerThread::ServerThread (JavaVM* vm, xs::TestProcess* process, deSocketFamily family, int port) in ServerThread() argument
329 : m_server(vm, process, family, port, xs::ExecutionServer::RUNMODE_FOREVER) in ServerThread()
353 ExecService::ExecService (JavaVM* vm, jobjec argument
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_statistics.cpp71 std::deque<int32_t> vm; member in aco::BlockCycleEstimator
88 : vm(vm_), exp(exp_), lgkm(lgkm_), vs(vs_) in wait_counter_info()
91 unsigned vm; member
277 imm.vm = wait_info.vm ? max_vm_cnt : wait_imm::unset_counter; in get_wait_imm()
289 if (imm.vm != wait_imm::unset_counter) { in get_dependency_cost()
290 for (int i = 0; i < (int)vm.size() - imm.vm; i++) in get_dependency_cost()
291 deps_available = MAX2(deps_available, vm[i]); in get_dependency_cost()
377 while (vm in add()
[all...]

Completed in 28 milliseconds

123456