Home
last modified time | relevance | path

Searched full:shared (Results 1 – 25 of 4323) sorted by relevance

12345678910>>...173

/external/mesa3d/src/mesa/main/
Dshared.c26 * \file shared.c
27 * Shared-context state
38 #include "shared.h"
49 * Allocate and initialize a shared context state structure.
60 struct gl_shared_state *shared; in _mesa_alloc_shared_state() local
63 shared = CALLOC_STRUCT(gl_shared_state); in _mesa_alloc_shared_state()
64 if (!shared) in _mesa_alloc_shared_state()
67 _glthread_INIT_MUTEX(shared->Mutex); in _mesa_alloc_shared_state()
69 shared->DisplayList = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
70 shared->TexObjects = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
[all …]
/external/v8/test/mjsunit/
Dcross-realm-filtering.js10 Realm.shared = {
18 Realm.shared.thrower_0(); \
20 Realm.shared.error_0 = e.stack; \
23 Realm.shared.thrower_1(); \
25 Realm.shared.error_1 = e.stack; \
36 assertSame(3, Realm.shared.error_0.length);
37 assertSame(4, Realm.shared.error_1.length);
39 assertTrue(Realm.shared.thrower_1 === Realm.shared.error_1[2].getFunction());
40 assertNotIn(Realm.shared.thrower_0, Realm.shared.error_0);
41 assertNotIn(Realm.shared.thrower_0, Realm.shared.error_1);
[all …]
/external/vboot_reference/tests/
Dvboot_api_init_tests.c25 static VbSharedDataHeader *shared = (VbSharedDataHeader *)shared_data; variable
64 VbSharedDataInit(shared, sizeof(shared_data)); in ResetMocks()
158 /* Test passing in too small a shared data area */ in VbInitTest()
161 TestVbInit(VBERROR_INIT_SHARED_DATA, 0, "Shared data too small"); in VbInitTest()
166 TEST_EQ(shared->timer_vb_init_enter, 21, " time enter"); in VbInitTest()
167 TEST_EQ(shared->timer_vb_init_exit, 43, " time exit"); in VbInitTest()
168 TEST_EQ(shared->flags, 0, " shared flags"); in VbInitTest()
185 * Test boot switch flags which are just passed through to shared in VbInitTest()
191 TEST_EQ(shared->flags, VBSD_BOOT_FIRMWARE_WP_ENABLED, in VbInitTest()
192 " shared flags"); in VbInitTest()
[all …]
Dvboot_firmware_tests.c28 static VbSharedDataHeader* shared = (VbSharedDataHeader*)shared_data; variable
81 VbSharedDataInit(shared, sizeof(shared_data)); in ResetMocks()
82 shared->fw_version_tpm = 0x00020004; in ResetMocks()
228 TEST_EQ(shared->flags & VBSD_LF_DEV_SWITCH_ON, 0, in LoadFirmwareTest()
229 "Dev flag in shared.flags dev=0"); in LoadFirmwareTest()
230 TEST_EQ(shared->check_fw_a_result, VBSD_LF_CHECK_DEV_MISMATCH, in LoadFirmwareTest()
232 TEST_EQ(shared->check_fw_b_result, VBSD_LF_CHECK_REC_MISMATCH, in LoadFirmwareTest()
236 shared->flags |= VBSD_BOOT_DEV_SWITCH_ON; in LoadFirmwareTest()
244 TEST_NEQ(shared->flags & VBSD_LF_DEV_SWITCH_ON, 0, in LoadFirmwareTest()
245 "Dev flag in shared.flags dev=1"); in LoadFirmwareTest()
[all …]
Dvboot_api_kernel4_tests.c28 static VbSharedDataHeader *shared = (VbSharedDataHeader *)shared_data; variable
58 VbSharedDataInit(shared, sizeof(shared_data)); in ResetMocks()
105 shared->kernel_version_tpm = new_version; in VbBootNormal()
115 shared->kernel_version_tpm = new_version; in VbBootDeveloper()
125 shared->kernel_version_tpm = new_version; in VbBootRecovery()
151 shared->flags |= VBSD_EC_SOFTWARE_SYNC; in VbSlkTest()
160 shared->flags |= VBSD_EC_SOFTWARE_SYNC; in VbSlkTest()
178 shared->flags |= VBSD_FWB_TRIED; in VbSlkTest()
179 shared->firmware_index = 1; in VbSlkTest()
187 shared->flags |= VBSD_FWB_TRIED; in VbSlkTest()
[all …]
/external/icu/icu4j/main/shared/build/
Dlocations.properties6 icu4j.collate.dir = ${shared.dir}/../classes/collate
7 icu4j.core.dir = ${shared.dir}/../classes/core
8 icu4j.charset.dir = ${shared.dir}/../classes/charset
9 icu4j.currdata.dir = ${shared.dir}/../classes/currdata
10 icu4j.langdata.dir = ${shared.dir}/../classes/langdata
11 icu4j.localespi.dir = ${shared.dir}/../classes/localespi
12 icu4j.regiondata.dir = ${shared.dir}/../classes/regiondata
13 icu4j.translit.dir = ${shared.dir}/../classes/translit
15 icu4j.test-framework.dir = ${shared.dir}/../tests/framework
16 icu4j.core-tests.dir = ${shared.dir}/../tests/core
[all …]
/external/clang/test/OpenMP/
Dparallel_shared_messages.cpp62 #pragma omp parallel shared // expected-error {{expected '(' after 'shared'}} in main()
63 …#pragma omp parallel shared ( // expected-error {{expected expression}} expected-error {{expected … in main()
64 #pragma omp parallel shared () // expected-error {{expected expression}} in main()
65 …#pragma omp parallel shared (argc // expected-error {{expected ')'}} expected-note {{to match this… in main()
66 …#pragma omp parallel shared (argc, // expected-error {{expected expression}} expected-error {{expe… in main()
67 …#pragma omp parallel shared (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable n… in main()
68 #pragma omp parallel shared (argc) in main()
69 #pragma omp parallel shared (S1) // expected-error {{'S1' does not refer to a value}} in main()
70 #pragma omp parallel shared (a, b, c, d, f) in main()
71 #pragma omp parallel shared (argv[1]) // expected-error {{expected variable name}} in main()
[all …]
Dtask_shared_messages.cpp66 #pragma omp task shared // expected-error {{expected '(' after 'share… in main()
68 #pragma omp task shared( // expected-error {{expected expression}} exp… in main()
70 #pragma omp task shared() // expected-error {{expected expression}} in main()
72 #pragma omp task shared(argc // expected-error {{expected ')'}} expected-n… in main()
74 #pragma omp task shared(argc, // expected-error {{expected expression}} exp… in main()
76 #pragma omp task shared(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} in main()
78 #pragma omp task shared(argc) in main()
80 #pragma omp task shared(S1) // expected-error {{'S1' does not refer to a value}} in main()
82 #pragma omp task shared(a, b, c, d, f) in main()
84 #pragma omp task shared(argv[1]) // expected-error {{expected variable name}} in main()
[all …]
Dteams_shared_messages.cpp63 #pragma omp teams shared // expected-error {{expected '(' after 'shared'}} in main()
66 …#pragma omp teams shared ( // expected-error {{expected expression}} expected-error {{expected ')'… in main()
69 #pragma omp teams shared () // expected-error {{expected expression}} in main()
72 …#pragma omp teams shared (argc // expected-error {{expected ')'}} expected-note {{to match this '(… in main()
75 …#pragma omp teams shared (argc, // expected-error {{expected expression}} expected-error {{expecte… in main()
78 …#pragma omp teams shared (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name… in main()
81 #pragma omp teams shared (argc) in main()
84 #pragma omp teams shared (S1) // expected-error {{'S1' does not refer to a value}} in main()
87 #pragma omp teams shared (a, b, c, d, f) in main()
90 #pragma omp teams shared (argv[1]) // expected-error {{expected variable name}} in main()
[all …]
Dparallel_sections_shared_messages.cpp66 #pragma omp parallel sections shared // expected-error {{expected '(' after 'shared'}} in main()
68 #pragma omp parallel sections shared( // expected-error {{expected expression}} expected-error {{ex… in main()
70 #pragma omp parallel sections shared() // expected-error {{expected expression}} in main()
72 #pragma omp parallel sections shared(argc // expected-error {{expected ')'}} expected-note {{to mat… in main()
74 #pragma omp parallel sections shared(argc, // expected-error {{expected expression}} expected-error… in main()
76 #pragma omp parallel sections shared(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected var… in main()
78 #pragma omp parallel sections shared(argc) in main()
80 #pragma omp parallel sections shared(S1) // expected-error {{'S1' does not refer to a value}} in main()
82 #pragma omp parallel sections shared(a, b, c, d, f) in main()
84 #pragma omp parallel sections shared(argv[1]) // expected-error {{expected variable name}} in main()
[all …]
/external/compiler-rt/test/profile/
Dinstrprof-dynamic-two-shared.test2 RUN: %clang_profgen -o %t.d/a.shared -fPIC -shared %S/Inputs/instrprof-dynamic-a.cpp
3 RUN: %clang_profgen -o %t.d/b.shared -fPIC -shared %S/Inputs/instrprof-dynamic-b.cpp
4 RUN: %clang_profgen -o %t-shared -fPIC -rpath %t.d %t.d/a.shared %t.d/b.shared %S/Inputs/instrprof-…
9 RUN: env LLVM_PROFILE_FILE=%t-shared.profraw %run %t-shared
12 RUN: llvm-profdata merge -o %t-shared.profdata %t-shared.profraw
15 RUN: %clang_profuse=%t-shared.profdata -o %t-a.shared.ll -S -emit-llvm %S/Inputs/instrprof-dynamic-…
16 RUN: diff %t-a.static.ll %t-a.shared.ll
19 RUN: %clang_profuse=%t-shared.profdata -o %t-b.shared.ll -S -emit-llvm %S/Inputs/instrprof-dynamic-…
20 RUN: diff %t-b.static.ll %t-b.shared.ll
23 RUN: %clang_profuse=%t-shared.profdata -o %t-main.shared.ll -S -emit-llvm %S/Inputs/instrprof-dynam…
[all …]
Dinstrprof-shared.test2 This test produces three shared libraries:
12 The test is to verify that programs linked against these shared objects with and without instrument…
17 RUN: %clang_profgen -o %t.d/libt-instr.so -fPIC -shared %S/Inputs/instrprof-shared-lib.c
18 RUN: %clang -o %t.d/libt-no-instr1.so -fPIC -shared %S/Inputs/instrprof-shared-lib.c
19 RUN: %clang -c -o %t.d/instrprof-shared-lib-no-instr2.o -fPIC %S/Inputs/instrprof-shared-lib.c
20 RUN: %clang_profgen -o %t.d/libt-no-instr2.so -fPIC -shared %t.d/instrprof-shared-lib-no-instr2.o
22 RUN: %clang_profgen -o %t-instr-instr -L%t.d -rpath %t.d -lt-instr %S/Inputs/instrprof-shared-main…
23 …g_profgen -o %t-instr-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %S/Inputs/instrprof-shared-main.c
24 …g_profgen -o %t-instr-no-instr2 -L%t.d -rpath %t.d -lt-no-instr2 %S/Inputs/instrprof-shared-main.c
25 RUN: %clang -o %t-no-instr1-instr -L%t.d -rpath %t.d -lt-instr %S/Inputs/instrprof-shared-main.c
[all …]
Dinstrprof-dynamic-one-shared.test2 RUN: %clang_profgen -o %t.d/a.shared -fPIC -shared %S/Inputs/instrprof-dynamic-a.cpp
3 RUN: %clang_profgen -o %t-shared -fPIC -rpath %t.d %t.d/a.shared %S/Inputs/instrprof-dynamic-b.cpp …
8 RUN: env LLVM_PROFILE_FILE=%t-shared.profraw %run %t-shared
11 RUN: llvm-profdata merge -o %t-shared.profdata %t-shared.profraw
14 RUN: %clang_profuse=%t-shared.profdata -o %t-a.shared.ll -S -emit-llvm %S/Inputs/instrprof-dynamic-…
15 RUN: diff %t-a.static.ll %t-a.shared.ll
18 RUN: %clang_profuse=%t-shared.profdata -o %t-b.shared.ll -S -emit-llvm %S/Inputs/instrprof-dynamic-…
19 RUN: diff %t-b.static.ll %t-b.shared.ll
22 RUN: %clang_profuse=%t-shared.profdata -o %t-main.shared.ll -S -emit-llvm %S/Inputs/instrprof-dynam…
23 RUN: diff %t-main.static.ll %t-main.shared.ll
/external/llvm/test/CodeGen/WinEH/
Dwineh-no-demotion.ll25 br i1 %bool, label %shared, label %cleanupret
32 br label %shared
34 shared:
37 to label %shared.cont unwind label %inner
39 shared.cont:
43 %phi = phi i32 [ %x, %shared ], [ 0, %invoke.cont ]
48 ; CHECK: %phi = phi i32 [ %x, %shared ], [ 0, %invoke.cont ], [ %x.for.left, %shared.for.left ]
60 to label %shared.cont unwind label %left
64 br i1 %bool, label %shared, label %cleanupret
71 br label %shared
[all …]
/external/libchrome/base/memory/
Dshared_memory.h31 // Options for creating a shared memory object.
45 // If true, and the shared memory already exists, Create() will open the
46 // existing shared memory and ignore the size parameter. If false,
47 // shared memory must not exist. This flag is meaningless unless
52 // Size of the shared memory object to be created.
59 // If true, the file can be shared read-only to a process.
63 // Platform abstraction for shared memory. Provides a C++ wrapper
77 // shared memory file.
87 // shared memory file that was created by a remote process and not shared
104 // Closes a shared memory handle.
[all …]
/external/clang/test/Driver/
Dwindows-cross.c21 …dows/ARM/8.1 -B %S/Inputs/Windows/ARM/8.1/usr/bin -shared -rtlib=compiler-rt -stdlib=libc++ -o sha…
22 // RUN: | FileCheck %s --check-prefix CHECK-SHARED
24SHARED: armv7-windows-itanium-ld" "--sysroot={{.*}}/Inputs/Windows/ARM/8.1" "-m" "thumb2pe" "-shar…
26 …M/8.1 -B %S/Inputs/Windows/ARM/8.1/usr/bin -shared -rtlib=compiler-rt -stdlib=libc++ -nostartfiles…
29 …"-shared" "-Bdynamic" "--enable-auto-image-base" "--entry" "_DllMainCRTStartup" "--allow-multiple-…
31 …B %S/Inputs/Windows/ARM/8.1/usr/bin -shared -rtlib=compiler-rt -stdlib=libc++ -nostartfiles -nodef…
34 …"-shared" "-Bdynamic" "--enable-auto-image-base" "--entry" "_DllMainCRTStartup" "--allow-multiple-…
36 …root %S/Inputs/Windows/ARM/8.1 -B %/Inputs/Windows/ARM/8.1/usr/bin -shared -o shared.dll -x c++ %s…
41 …ws/ARM/8.1 -B %S/Inputs/Windows/ARM/8.1/usr/bin -fuse-ld=lld-link2 -shared -o shared.dll -x c++ %s…
46 …ws/ARM/8.1 -B %S/Inputs/Windows/ARM/8.1/usr/bin -fuse-ld=lld-link2 -shared -o shared.dll -fsanitiz…
[all …]
Dsanitizer-ld.c20 // RUN: -target i386-unknown-linux -fsanitize=address -shared-libasan \
23 // RUN: | FileCheck --check-prefix=CHECK-SHARED-ASAN-LINUX %s
25 // CHECK-SHARED-ASAN-LINUX: "{{(.*[^-.0-9A-Z_a-z])?}}ld{{(.exe)?}}"
26 // CHECK-SHARED-ASAN-LINUX-NOT: "-lc"
27 // CHECK-SHARED-ASAN-LINUX-NOT: libclang_rt.asan-i386.a"
28 // CHECK-SHARED-ASAN-LINUX: libclang_rt.asan-i386.so"
29 // CHECK-SHARED-ASAN-LINUX: "-whole-archive" "{{.*}}libclang_rt.asan-preinit-i386.a" "-no-whole-arc…
30 // CHECK-SHARED-ASAN-LINUX-NOT: "-lpthread"
31 // CHECK-SHARED-ASAN-LINUX-NOT: "-lrt"
32 // CHECK-SHARED-ASAN-LINUX-NOT: "-ldl"
[all …]
/external/v8/test/unittests/compiler/
Djs-operator-unittest.cc42 // Shared operators without language mode.
61 #define SHARED(Name, properties, value_input_count, frame_state_input_count, \ macro
70 SHARED(Equal, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2),
71 SHARED(NotEqual, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2),
72 SHARED(StrictEqual, Operator::kNoThrow, 2, 0, 1, 1, 1, 1, 0),
73 SHARED(StrictNotEqual, Operator::kNoThrow, 2, 0, 1, 1, 1, 1, 0),
74 SHARED(ToNumber, Operator::kNoProperties, 1, 1, 1, 1, 1, 1, 2),
75 SHARED(ToString, Operator::kNoProperties, 1, 1, 1, 1, 1, 1, 2),
76 SHARED(ToName, Operator::kNoProperties, 1, 1, 1, 1, 1, 1, 2),
77 SHARED(ToObject, Operator::kNoProperties, 1, 1, 1, 1, 1, 1, 2),
[all …]
/external/vboot_reference/firmware/lib/
Dvboot_firmware.c44 VbSharedDataHeader *shared = in LoadFirmware() local
61 shared->firmware_index = 0xFF; in LoadFirmware()
74 is_dev = (shared->flags & VBSD_BOOT_DEV_SWITCH_ON ? 1 : 0); in LoadFirmware()
76 shared->flags |= VBSD_LF_DEV_SWITCH_ON; in LoadFirmware()
82 shared->flags |= VBSD_FWB_TRIED; in LoadFirmware()
107 check_result = &shared->check_fw_a_result; in LoadFirmware()
112 check_result = &shared->check_fw_b_result; in LoadFirmware()
146 if (key_version < (shared->fw_version_tpm >> 16)) { in LoadFirmware()
187 if (combined_version < shared->fw_version_tpm && in LoadFirmware()
218 if (!(shared->flags & VBSD_BOOT_RO_NORMAL_SUPPORT)) { in LoadFirmware()
[all …]
Dvboot_api_init.c22 VbSharedDataHeader *shared = in VbInit() local
58 /* Initialize shared data structure */ in VbInit()
59 if (0 != VbSharedDataInit(shared, cparams->shared_data_size)) { in VbInit()
60 VBDEBUG(("Shared data init error\n")); in VbInit()
64 shared->timer_vb_init_enter = VbExGetTimer(); in VbInit()
68 shared->flags = 0; in VbInit()
70 shared->flags |= VBSD_BOOT_REC_SWITCH_ON; in VbInit()
72 shared->flags |= VBSD_BOOT_FIRMWARE_WP_ENABLED; in VbInit()
74 shared->flags |= VBSD_BOOT_FIRMWARE_SW_WP_ENABLED; in VbInit()
76 shared->flags |= VBSD_BOOT_S3_RESUME; in VbInit()
[all …]
/external/valgrind/helgrind/tests/
Dhg03_inherit.c11 static volatile int shared[2]; variable
41 shared[0] = 22; in main()
42 shared[1] = 77; in main()
44 pthread_create(&a, NULL, t1, (void *)&shared[0]); in main()
45 // a steals shared[0] from root thread, so is excl(a) in main()
46 pthread_create(&b, NULL, t2, (void *)&shared[1]); in main()
47 // b steals shared[1] from root thread, so is excl(b) in main()
50 // b's stuff (shared[1]) still belongs to b, so is excl(b) in main()
52 // ret is excl(root), and shared[0] is re-acquired as excl(root) in main()
55 ret += shared[0]; /* no error - a is finished */ in main()
[all …]
/external/curl/m4/
Dxc-lt-iface.m439 # Default behavior is to enable shared and static libraries on systems
48 # User may have disabled shared or static libraries.
62 AC_MSG_ERROR([can not disable shared and static libraries simultaneously])
67 # and build runs for shared and static is to enable shared libraries
68 # and disable static ones. On these systems option '--disable-shared'
82 # Make libtool aware of current shared and static library preferences
91 # Default behavior is to build PIC objects for shared libraries and
111 # Default behavior on some systems where building a shared library out
113 # "relocation R_X86_64_32 can not be used when making a shared object"
115 # be overriden using 'configure --disable-shared --without-pic'.
[all …]
/external/v8/src/
Druntime-profiler.cc57 static void GetICCounts(SharedFunctionInfo* shared, in GetICCounts() argument
61 Code* shared_code = shared->code(); in GetICCounts()
74 TypeFeedbackVector* vector = shared->feedback_vector(); in GetICCounts()
97 GetICCounts(function->shared(), &typeinfo, &generic, &total, in Optimize()
112 SharedFunctionInfo* shared = function->shared(); in AttemptOnStackReplacement() local
113 if (!FLAG_use_osr || function->shared()->IsBuiltin()) { in AttemptOnStackReplacement()
118 if (shared->optimization_disabled()) return; in AttemptOnStackReplacement()
123 if (shared->uses_arguments()) return; in AttemptOnStackReplacement()
135 BackEdgeTable::Patch(isolate_, shared->code()); in AttemptOnStackReplacement()
158 SharedFunctionInfo* shared = function->shared(); in OptimizeNow() local
[all …]
Dcompiler.cc142 // passed in shared info, rather than creating a new one. in CompilationInfo()
256 int CompilationInfo::TraceInlinedFunction(Handle<SharedFunctionInfo> shared, in TraceInlinedFunction() argument
263 shared->start_position()); in TraceInlinedFunction()
264 if (!shared->script()->IsUndefined()) { in TraceInlinedFunction()
265 Handle<Script> script(Script::cast(shared->script())); in TraceInlinedFunction()
271 os << "--- FUNCTION SOURCE (" << shared->DebugName()->ToCString().get() in TraceInlinedFunction()
275 int start = shared->start_position(); in TraceInlinedFunction()
276 int len = shared->end_position() - start; in TraceInlinedFunction()
293 os << "INLINE (" << shared->DebugName()->ToCString().get() << ") id{" in TraceInlinedFunction()
666 int opt_count = function->shared()->opt_count(); in RecordOptimizationStats()
[all …]
/external/v8/src/debug/
Ddebug.cc114 rinfo()->data() - debug_info_->shared()->start_position()); in Next()
119 debug_info_->shared()->start_position()); in Next()
130 if (debug_info_->shared()->HasSourceCode()) { in Next()
131 position_ = debug_info_->shared()->end_position() - in Next()
132 debug_info_->shared()->start_position() - 1; in Next()
439 Handle<SharedFunctionInfo> shared(function->shared()); in Break() local
440 if (!EnsureDebugInfo(shared, function)) { in Break()
444 Handle<DebugInfo> debug_info(shared->GetDebugInfo()); in Break()
586 Handle<SharedFunctionInfo> shared(function->shared()); in SetBreakPoint() local
587 if (!EnsureDebugInfo(shared, function)) { in SetBreakPoint()
[all …]

12345678910>>...173