Home
last modified time | relevance | path

Searched refs:shared (Results 1 – 25 of 1517) sorted by relevance

12345678910>>...61

/external/mesa3d/src/mesa/main/
Dshared.c60 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()
71 shared->Programs = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
74 shared->DefaultVertexProgram = in _mesa_alloc_shared_state()
80 shared->DefaultFragmentProgram = in _mesa_alloc_shared_state()
86 shared->ATIShaders = _mesa_NewHashTable(); in _mesa_alloc_shared_state()
[all …]
/external/vboot_reference/tests/
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()
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()
246 TEST_EQ(shared->check_fw_a_result, VBSD_LF_CHECK_DEV_MISMATCH, in LoadFirmwareTest()
248 TEST_EQ(shared->check_fw_b_result, VBSD_LF_CHECK_REC_MISMATCH, in LoadFirmwareTest()
[all …]
Dvboot_api_init_tests.c25 static VbSharedDataHeader *shared = (VbSharedDataHeader *)shared_data; variable
64 VbSharedDataInit(shared, sizeof(shared_data)); in ResetMocks()
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()
191 TEST_EQ(shared->flags, VBSD_BOOT_FIRMWARE_WP_ENABLED, in VbInitTest()
197 TEST_EQ(shared->flags, VBSD_BOOT_FIRMWARE_SW_WP_ENABLED, in VbInitTest()
203 TEST_EQ(shared->flags, VBSD_BOOT_RO_NORMAL_SUPPORT, in VbInitTest()
209 TEST_EQ(shared->flags, VBSD_EC_SOFTWARE_SYNC, " shared flags"); in VbInitTest()
214 TEST_EQ(shared->flags, VBSD_EC_SLOW_UPDATE, " shared flags"); in VbInitTest()
[all …]
Dvboot_api_firmware_tests.c30 static VbSharedDataHeader* shared = (VbSharedDataHeader*)shared_data; variable
64 VbSharedDataInit(shared, sizeof(shared_data)); in ResetMocks()
65 shared->fw_keyblock_flags = 0xABCDE0; in ResetMocks()
74 shared->fw_version_tpm_start = mock_tpm_version; in ResetMocks()
127 shared->fw_version_tpm = mock_lf_tpm_version; in LoadFirmware()
150 TEST_EQ(shared->timer_vb_select_firmware_enter, 21, " time enter"); in VbSelectFirmwareTest()
151 TEST_EQ(shared->timer_vb_select_firmware_exit, 43, " time exit"); in VbSelectFirmwareTest()
159 shared->flags |= VBSD_BOOT_DEV_SWITCH_ON; in VbSelectFirmwareTest()
167 shared->recovery_reason = VBNV_RECOVERY_US_TEST; in VbSelectFirmwareTest()
178 shared->recovery_reason = VBNV_RECOVERY_US_TEST; in VbSelectFirmwareTest()
[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/v8/test/mjsunit/
Dcross-realm-filtering.js10 Realm.shared = {
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);
44 assertSame(5, Realm.shared.error_0.length);
45 assertSame(4, Realm.shared.error_1.length);
47 assertTrue(Realm.shared.thrower_0 === Realm.shared.error_0[2].getFunction());
48 assertNotIn(Realm.shared.thrower_1, Realm.shared.error_0);
[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 …]
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 …]
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 …]
Dtask_messages.cpp40 #pragma omp task default(shared) in foo()
50 #pragma omp task default(shared) in foo()
61 #pragma omp parallel shared(a, b) in foo()
71 #pragma omp task default(shared) in foo()
91 #pragma omp task default(shared) in foo()
179 #pragma omp task default(shared) in main()
184 #pragma omp task default(shared) in main()
193 #pragma omp parallel shared(a, b) in main()
196 #pragma omp task default(shared) in main()
206 #pragma omp task default(shared) 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-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
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 …]
/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
59 if (0 != VbSharedDataInit(shared, cparams->shared_data_size)) { 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()
78 shared->flags |= VBSD_BOOT_RO_NORMAL_SUPPORT; in VbInit()
80 shared->flags |= VBSD_EC_SOFTWARE_SYNC; in VbInit()
[all …]
Dvboot_api_kernel.c156 VbSharedDataHeader *shared = in VbUserConfirms() local
200 if (!(shared->flags & VBSD_BOOT_REC_SWITCH_VIRTUAL)) { in VbUserConfirms()
230 VbSharedDataHeader *shared = in VbBootDeveloper() local
275 __func__, shared->flags)); in VbBootDeveloper()
276 if (shared->flags & VBSD_HONOR_VIRT_DEV_SWITCH && in VbBootDeveloper()
277 shared->flags & VBSD_BOOT_DEV_SWITCH_ON) { in VbBootDeveloper()
452 VbSharedDataHeader *shared = in VbBootRecovery() local
464 if (!(shared->flags & VBSD_BOOT_DEV_SWITCH_ON) && in VbBootRecovery()
465 !(shared->flags & VBSD_BOOT_REC_SWITCH_ON)) { in VbBootRecovery()
555 shared->flags & VBSD_HONOR_VIRT_DEV_SWITCH && in VbBootRecovery()
[all …]
Dvboot_api_firmware.c23 VbSharedDataHeader *shared = in VbSelectFirmware() local
27 int is_rec = (shared->recovery_reason ? 1 : 0); in VbSelectFirmware()
28 int is_dev = (shared->flags & VBSD_BOOT_DEV_SWITCH_ON ? 1 : 0); in VbSelectFirmware()
35 shared->timer_vb_select_firmware_enter = VbExGetTimer(); in VbSelectFirmware()
73 if (shared->flags & VBSD_LF_USE_RO_NORMAL) { in VbSelectFirmware()
77 } else if (0 == shared->firmware_index) in VbSelectFirmware()
84 if (shared->fw_version_tpm_start < shared->fw_version_tpm) { in VbSelectFirmware()
86 RollbackFirmwareWrite(shared->fw_version_tpm); in VbSelectFirmware()
112 shared->fw_keyblock_flags, in VbSelectFirmware()
140 shared->timer_vb_select_firmware_exit = VbExGetTimer(); in VbSelectFirmware()
/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.cc256 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()
667 function->shared()->set_opt_count(opt_count + 1); in RecordOptimizationStats()
[all …]
/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/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()
46 pthread_create(&b, NULL, t2, (void *)&shared[1]); in main()
55 ret += shared[0]; /* no error - a is finished */ in main()
60 ret += shared[1]; /* expect error - b has not finished, in main()
/external/v8/src/compiler/
Djs-inlining-heuristic.cc28 if (function->shared()->force_inline()) { in Reduce()
49 if (function->shared()->HasBuiltinFunctionId()) return NoChange(); in Reduce()
52 if (function->shared()->IsBuiltin()) return NoChange(); in Reduce()
55 if (function->shared()->SourceSize() > FLAG_max_inlined_source_size) { in Reduce()
60 if (function->shared()->ast_node_count() > FLAG_max_inlined_nodes) { in Reduce()
66 if (function->shared()->asm_function()) return NoChange(); in Reduce()
114 cumulative_count_ += candidate.function->shared()->ast_node_count(); in Finalize()
133 candidate.function->shared()->SourceSize(), in PrintCandidates()
134 candidate.function->shared()->ast_node_count(), in PrintCandidates()
135 candidate.function->shared()->DebugName()->ToCString().get()); in PrintCandidates()
/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>>...61