Home
last modified time | relevance | path

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

1234567

/third_party/mesa3d/src/asahi/lib/
Dunstable_asahi_drm.h1 /* SPDX-License-Identifier: MIT */
7 * Copyright © 2014-2018 Broadcom
10 /* clang-format off */
14 #include "drm-uapi/drm.h"
77 /** @vm_page_size: GPU VM page size */
81 /** @vm_user_start: VM user range start VMA */
83 /** @vm_user_end: VM user range end VMA */
85 /** @vm_usc_start: VM USC region start VMA (zero if flexible) */
87 /** @vm_usc_end: VM USC region end VMA (zero if flexible) */
141 /** @extensions: Pointer to the first extension struct, if any */
[all …]
/third_party/ltp/doc/
DKVM-Test-API.asciidoc10 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
39 -------------------------------------------------------------------------------
62 -------------------------------------------------------------------------------
73 be the VM entry point of the test.
76 -------------------
[all …]
/third_party/flatbuffers/dart/lib/
Dflat_buffers.dart38 @pragma('vm:prefer-inline')
41 @pragma('vm:prefer-inline')
45 @pragma('vm:prefer-inline')
48 @pragma('vm:prefer-inline')
51 @pragma('vm:prefer-inline')
54 @pragma('vm:prefer-inline')
57 @pragma('vm:prefer-inline')
60 @pragma('vm:prefer-inline')
63 @pragma('vm:prefer-inline')
66 @pragma('vm:prefer-inline')
[all …]
/third_party/ltp/testcases/kernel/kvm/include/
Dkvm_host.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 * [VM guest code goes here]
24 * [optional VM host setup/run/cleanup code goes here]
58 /* Test binary to be installed into the VM at VM_KERNEL_BASEADDR */
61 /* CPU reset code to be installed into the VM at VM_RESET_BASEADDR */
70 * Validate KVM guest test result (usually passed via result->result) and
77 * Allocate memory slot for the VM. The returned pointer is page-aligned
80 * The first argument is a VM file descriptor created by ioctl(KVM_CREATE_VM)
90 * Translate VM virtual memory address to the corresponding physical address.
98 * or physical VM memory address. Returns -1 if the address is not backed
[all …]
Dkvm_guest.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
25 #define LTP_ALIGN(x, a) __LTP_ALIGN_MASK((x), (typeof(x))(a) - 1)
53 /* Exit the VM by looping on a HLT instruction forever */
56 /* Exit the VM using the HLT instruction but allow resume */
68 * Send asynchronous notification to host without stopping VM execution and
70 * The data argument will be passed to host in test_result->file_addr and
96 /* Get the instruction pointer from interrupt frame */
/third_party/ffmpeg/libavcodec/
Djni.h4 * Copyright (c) 2015-2016 Matthieu Bouron <matthieu.bouron stupeflix.com>
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
28 * environment. Once a Java VM is set it cannot be changed afterwards, meaning
29 * you can call multiple times av_jni_set_java_vm with the same Java VM pointer
30 * however it will error out if you try to set a different Java VM.
32 * @param vm Java virtual machine
36 int av_jni_set_java_vm(void *vm, void *log_ctx);
41 * @param vm Java virtual machine
42 * @return a pointer to the Java virtual machine
/third_party/mesa3d/include/drm-uapi/
Dpanthor_drm.h1 /* SPDX-License-Identifier: MIT */
19 * - Structures must be aligned on 64-bit/8-byte. If the object is not
21 * - Fields must be explicitly aligned to their natural type alignment with
23 * - All padding fields will be checked by the driver to make sure they are
25 * - Flags can be added, but not removed/replaced.
26 * - New fields can be added to the main structures (the structures
31 * - New fields can be added to indirect objects (objects pointed by the
35 * - If the kernel driver is too old to know some fields, those will be
37 * - If userspace is too old to know some fields, those will be zeroed
39 * - Each new flag/field addition must come with a driver version update so
[all …]
Dxe_drm.h1 /* SPDX-License-Identifier: MIT */
17 * subject to backwards-compatibility constraints.
28 * The diagram below represents a high-level simplification of a discrete
72 * - &DRM_IOCTL_XE_DEVICE_QUERY
73 * - &DRM_IOCTL_XE_GEM_CREATE
74 * - &DRM_IOCTL_XE_GEM_MMAP_OFFSET
75 * - &DRM_IOCTL_XE_VM_CREATE
76 * - &DRM_IOCTL_XE_VM_DESTROY
77 * - &DRM_IOCTL_XE_VM_BIND
78 * - &DRM_IOCTL_XE_EXEC_QUEUE_CREATE
[all …]
Dpvr_drm.h1 /* SPDX-License-Identifier: (GPL-2.0-only WITH Linux-syscall-note) OR MIT */
22 * - All members must be type-aligned.
23 * - The overall struct must be padded to 64-bit alignment.
24 * - Explicit padding is almost always required. This takes the form of
25 * ``_padding_[x]`` members of sufficient size to pad to the next power-of-two
29 * - Unions may only appear as the last member of a struct.
30 * - Individual union members may grow in the future. The space between the
41 * struct drm_pvr_obj_array - Container used to pass arrays of objects
62 /** @array: User pointer to an array of objects. */
67 * DRM_PVR_OBJ_ARRAY() - Helper macro for filling &struct drm_pvr_obj_array.
[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/mesa3d/src/panfrost/lib/kmod/
Dpanthor_kmod.c4 * SPDX-License-Identifier: MIT
20 #include "drm-uapi/dma-buf.h"
21 #include "drm-uapi/panthor_drm.h"
31 /* VM sync point at which the VA range should be released. */
44 /* Fields used for auto-VA management. Since the kernel doesn't do it for
58 /* Fields used for VM activity tracking (TRACK_ACTIVITY flag). */
60 /* VM sync handle. */
63 /* Current VM sync point. Incremented every time a GPU job or VM
91 /* BO sync handle. Will point to the VM BO if the object is not shared. */
116 .size = sizeof(panthor_dev->props.gpu), in panthor_kmod_dev_create()
[all …]
/third_party/vixl/src/aarch64/
Dassembler-aarch64.h30 #include "../assembler-base-vixl.h"
31 #include "../code-generation-scopes-vixl.h"
32 #include "../cpu-features.h"
33 #include "../globals-vixl.h"
34 #include "../invalset-vixl.h"
35 #include "../utils-vixl.h"
37 #include "operands-aarch64.h"
100 : LabelLinksIteratorBase(&label->links_) {} in LabelLinksIterator()
102 // TODO: Remove these and use the STL-like interface instead.
112 // Disabled for unit-tests (it bind non-bound locs) in Bind()
[all …]
Dmacro-assembler-aarch64.h33 #include "../code-generation-scopes-vixl.h"
34 #include "../globals-vixl.h"
35 #include "../macro-assembler-interface.h"
37 #include "assembler-aarch64.h"
41 #include "simulator-aarch64.h"
45 #include "simulator-constants-aarch64.h"
356 // TODO: Remove these and use the STL-like interface instead.
472 BranchInfoTypedSetIterator(&(set_->typed_set_[i])); in BranchInfoSetIterator()
479 sub_iterator_.emplace_back(&(set_->typed_set_[i]));
563 // The macro-instruction maps to a single instruction.
[all …]
Dassembler-aarch64.cc28 #include "assembler-aarch64.h"
32 #include "macro-assembler-aarch64.h"
48 literal_pool_->DeleteOnDestruction(this); in RawLiteral()
53 void Assembler::Reset() { GetBuffer()->Reset(); } in Reset()
57 BindToOffset(label, GetBuffer()->GetCursorOffset()); in bind()
62 VIXL_ASSERT((offset >= 0) && (offset <= GetBuffer()->GetCursorOffset())); in BindToOffset()
65 label->Bind(offset); in BindToOffset()
69 GetBuffer()->GetOffsetAddress<Instruction*>(*it.Current()); in BindToOffset()
70 link->SetImmPCOffsetTarget(GetLabelAddress<Instruction*>(label)); in BindToOffset()
72 label->ClearAllLinks(); in BindToOffset()
[all …]
/third_party/python/Objects/
Dframe_layout.md11 as happens for heap-allocated objects, frames are allocated
12 contiguously in a per-thread stack.
14 * It reduces allocation overhead to a pointer comparison and increment.
19 can be linked into the per-thread stack so as to not impact performance too much.
27 * Specials: The per-frame object references needed by the VM: globals dict,
29 * Linkage: Pointer to the previous activation record, stack depth, etc.
41 It needs the interpreter to hold two pointers, a frame pointer and a stack pointer.
53 location for the parameters. However, it requires the VM to maintain
54 an extra pointer for the locals, which can hurt performance.
58 is numbered `N-1`.
[all …]
/third_party/vixl/doc/aarch64/
Dsupported-instructions-aarch64.md6 operations to the precision required by AArch64 - please check the simulator
10-a) [b](#integer-b) [c](#integer-c) [d](#integer-d) [e](#integer-e) [h](#integer-h) [i](#integer-i…
13-a) [b](#float-b) [c](#float-c) [d](#float-d) [e](#float-e) [f](#float-f) [i](#float-i) [l](#float
16-a) [b](#sve-b) [c](#sve-c) [d](#sve-d) [e](#sve-e) [f](#sve-f) [h](#sve-h) [i](#sve-i) [l](#sve-l…
19 [b](#pseudo-b) [d](#pseudo-d) [p](#pseudo-p)
24 ----------------------------
26 <a id="integer-a">
212 Convert floating-point condition flags from Arm format to alternative format _(Armv8.5)_.
217 <a id="integer-b">
321 Branch with link to register, with pointer authentication. Using key A _(Armv8.3)_.
[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-defines.h7 * http://www.apache.org/licenses/LICENSE-2.0
18 #include "byte-code.h"
19 #include "ecma-globals.h"
21 /** \addtogroup vm Virtual machine
34 * Helper for -= on uint16_t values.
36 #define VM_MINUS_EQUAL_U16(base, value) (base) = (uint16_t) ((base) - (value))
43 const ecma_compiled_code_t *bytecode_header_p; /**< currently executed byte-code data */
44 const uint8_t *byte_code_p; /**< current byte code pointer */
45 const uint8_t *byte_code_start_p; /**< byte code start pointer */
46 ecma_value_t *stack_top_p; /**< stack top pointer */
[all …]
/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h7 * http://www.apache.org/licenses/LICENSE-2.0
23 #include "jerryscript-compiler.h"
55 JERRY_INIT_SHOW_OPCODES = (1u << 0), /**< dump byte-code to log after parse */
56 JERRY_INIT_SHOW_REGEXP_OPCODES = (1u << 1), /**< dump regexp byte-code to log after compilation */
85 JERRY_FEATURE_JS_PARSER, /**< js-parser */
87 JERRY_FEATURE_PARSER_DUMP, /**< parser byte-code dumps */
88 JERRY_FEATURE_REGEXP_DUMP, /**< regexp byte-code dumps */
232 * When a non-undefined value is returned the execution stops and the value
236 * Note: if the function returns with a non-undefined value it
276 …* right *before* the VM has been cleaned up. This is a good place to release strong references to …
[all …]
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-deaddrop/mount-origin/
Ddeaddrop.css3 .dd-fileinfo { font-size: 8pt; }
5 display: table-cell;
6 vertical-align: top;
7 background-color: rgba(247, 247, 232, 0.6);
8 text-align: center
13 border-radius: 12px;
14 transition: background-color 0.5s ease;
16 table.nb { border: 0px; border-radius: 0px; transition: opacity 0.5s; }
17 table.noconn { background-color: #ddd; }
20 div.da { padding-left: 20px; padding-right:20px; }
[all …]
/third_party/libwebsockets/plugins/deaddrop/assets/
Ddeaddrop.css3 .dd-fileinfo { font-size: 8pt; }
5 display: table-cell;
6 vertical-align: top;
7 background-color: rgba(247, 247, 232, 0.6);
8 text-align: center
13 border-radius: 12px;
14 transition: background-color 0.5s ease;
16 table.nb { border: 0px; border-radius: 0px; transition: opacity 0.5s; }
17 table.noconn { background-color: #ddd; }
20 div.da { padding-left: 20px; padding-right:20px; }
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_varyings.c48 #define SAFE_MASK_FROM_INDEX(i) (((i) >= 32) ? ~0 : ((1 << (i)) - 1))
65 if (r->slots != l->slots) in compare_attr()
66 return r->slots - l->slots; in compare_attr()
68 return l->original_idx - r->original_idx; in compare_attr()
79 const struct glsl_type *type = var->type; in get_varying_type()
95 * Base location of the available bits on success or -1 on failure.
100 unsigned needed_mask = (1 << needed_count) - 1; in find_available_slots()
101 const int max_bit_to_test = (8 * sizeof(used_mask)) - needed_count; in find_available_slots()
107 return -1; in find_available_slots()
116 return -1; in find_available_slots()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/core/utils/
Dlog_adapter.h2 * Copyright 2019-2023 Huawei Technologies Co., Ltd
8 * http://www.apache.org/licenses/LICENSE-2.0
48 …return sizeof(__FILE__) > sizeof(LOG_HDR_FILE_REL_PATH) ? sizeof(__FILE__) - sizeof(LOG_HDR_FILE_R… in GetRelPathPos()
117 oss << iter->first; in SupportedExceptionsToString()
118 if (index != exception_types_map.size() - 1) { in SupportedExceptionsToString()
183 SM_PRE_ACT, // pre-activate
187 SM_VM, // VM
211 #define NUM_ALIGN(val, base) (((val) + (base)-1) / (base) * (base))
218 VL_CORE = COMPONENT_START + (SM_CORE - 1) * COMPONENT_RANGE, // 0. core
219 …VL_ANALYZER = COMPONENT_START + (SM_ANALYZER - 1) * COMPONENT_RANGE, // 1. stat…
[all …]
/third_party/libdrm/amdgpu/
Damdgpu.h47 /*--------------------------------------------------------------------------*/
48 /* --------------------------- Defines ------------------------------------ */
49 /*--------------------------------------------------------------------------*/
70 /*--------------------------------------------------------------------------*/
71 /* ----------------------------- Enums ------------------------------------ */
72 /*--------------------------------------------------------------------------*/
87 /** DMA-buf fd handle */
96 /** Define known types of GPU VM VA ranges */
107 /*--------------------------------------------------------------------------*/
108 /* -------------------------- Datatypes ----------------------------------- */
[all …]
/third_party/rust/crates/regex/src/
Dpikevm.rs1 // This module implements the Pike VM. That is, it guarantees linear time
11 // Specifically, the Pike VM executes a DFA implicitly by repeatedly expanding
12 // epsilon transitions. That is, the Pike VM engine can be in multiple states
15 // Therefore, the Pike VM is generally treated as the fallback when the other
57 /// It is stored in row-major order, where the columns are the capture
69 /// Follow transitions at the given instruction pointer.
78 pub fn new(_prog: &Program) -> Self { in new()
97 ) -> bool { in exec()
123 ) -> bool { in exec_()
133 // 1. We have a match---so we're done exploring any possible in exec_()
[all …]

1234567