/external/v8/test/mjsunit/ |
H A D | cross-realm-filtering.js | 10 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 [all...] |
H A D | contextual-calls.js | 30 Realm.shared = {} 33 Realm.shared[name] = value; 35 Realm.eval(realms[i], name + " = Realm.shared['" + name + "'];"); 44 Realm.shared.results = []; 49 Realm.shared.results.push(return_this()); \ 50 Realm.shared.results.push(return_this_strict()); \ 53 Realm.shared.results.push(return_this()); \ 54 Realm.shared.results.push(return_this_strict()); \ 57 assertSame(globals[0], Realm.shared.results[0]); 58 assertSame(undefined, Realm.shared [all...] |
/external/valgrind/helgrind/tests/ |
H A D | hg03_inherit.c | 11 static volatile int shared[2]; variable 41 shared[0] = 22; 42 shared[1] = 77; 44 pthread_create(&a, NULL, t1, (void *)&shared[0]); 45 // a steals shared[0] from root thread, so is excl(a) 46 pthread_create(&b, NULL, t2, (void *)&shared[1]); 47 // b steals shared[1] from root thread, so is excl(b) 50 // b's stuff (shared[1]) still belongs to b, so is excl(b) 52 // ret is excl(root), and shared[0] is re-acquired as excl(root) 55 ret += shared[ [all...] |
H A D | hg06_readshared.c | 6 static int shared; variable 10 return (void *)(long)(shared + 44); 15 return (void *)(long)(shared + 55); 22 shared = 22; 30 assert(shared == 22);
|
H A D | hg01_all_ok.c | 8 static int shared = 0; variable 13 if (shared == 1) 20 shared++; 21 if (shared == 1) { 25 if (shared == 2) {
|
H A D | hg04_race.c | 6 static int shared; variable 10 shared++;
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | GameComponent.java | 41 public boolean shared; field in class:GameComponent 45 shared = false;
|
/external/clang/test/OpenMP/ |
H A D | parallel_default_messages.cpp | 7 #pragma omp parallel default ( // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 8 #pragma omp parallel default () // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 10 #pragma omp parallel default (shared), default(shared) // expected-error {{directive '#pragma omp parallel' cannot contain more than one 'default' clause}} 11 #pragma omp parallel default (x) // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 18 #pragma omp parallel default(shared)
|
H A D | task_default_messages.cpp | 7 #pragma omp task default( // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 8 #pragma omp task default() // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 10 #pragma omp task default(shared), default(shared) // expected-error {{directive '#pragma omp task' cannot contain more than one 'default' clause}} 11 #pragma omp task default(x) // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 18 #pragma omp task default(shared)
|
H A D | parallel_sections_shared_messages.cpp | 66 #pragma omp parallel sections shared // expected-error {{expected '(' after 'shared'}} 68 #pragma omp parallel sections shared( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 70 #pragma omp parallel sections shared() // expected-error {{expected expression}} 72 #pragma omp parallel sections shared(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 74 #pragma omp parallel sections shared(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 76 #pragma omp parallel sections shared(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 78 #pragma omp parallel sections shared(argc) 80 #pragma omp parallel sections shared(S1) // expected-error {{'S1' does not refer to a value}} 82 #pragma omp parallel sections shared( [all...] |
H A D | parallel_shared_messages.cpp | 62 #pragma omp parallel shared // expected-error {{expected '(' after 'shared'}} 63 #pragma omp parallel shared ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 64 #pragma omp parallel shared () // expected-error {{expected expression}} 65 #pragma omp parallel shared (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 66 #pragma omp parallel shared (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 67 #pragma omp parallel shared (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 68 #pragma omp parallel shared (argc) 69 #pragma omp parallel shared (S1) // expected-error {{'S1' does not refer to a value}} 70 #pragma omp parallel shared ( [all...] |
H A D | task_shared_messages.cpp | 66 #pragma omp task shared // expected-error {{expected '(' after 'shared'}} 68 #pragma omp task shared( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 70 #pragma omp task shared() // expected-error {{expected expression}} 72 #pragma omp task shared(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 74 #pragma omp task shared(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 76 #pragma omp task shared(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 78 #pragma omp task shared(argc) 80 #pragma omp task shared(S1) // expected-error {{'S1' does not refer to a value}} 82 #pragma omp task shared( [all...] |
H A D | parallel_sections_default_messages.cpp | 8 #pragma omp parallel sections default( // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 10 #pragma omp parallel sections default() // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 14 #pragma omp parallel sections default(shared), default(shared) // expected-error {{directive '#pragma omp parallel sections' cannot contain more than one 'default' clause}} 16 #pragma omp parallel sections default(x) // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 33 #pragma omp parallel sections default(shared)
|
H A D | teams_shared_messages.cpp | 63 #pragma omp teams shared // expected-error {{expected '(' after 'shared'}} 66 #pragma omp teams shared ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 69 #pragma omp teams shared () // expected-error {{expected expression}} 72 #pragma omp teams shared (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 75 #pragma omp teams shared (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 78 #pragma omp teams shared (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 81 #pragma omp teams shared (argc) 84 #pragma omp teams shared (S1) // expected-error {{'S1' does not refer to a value}} 87 #pragma omp teams shared ( [all...] |
H A D | teams_default_messages.cpp | 10 #pragma omp teams default ( // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 13 #pragma omp teams default () // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 19 #pragma omp teams default (shared), default(shared) // expected-error {{directive '#pragma omp teams' cannot contain more than one 'default' clause}} 22 #pragma omp teams default (x) // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 31 #pragma omp parallel default(shared)
|
H A D | parallel_for_default_messages.cpp | 10 #pragma omp parallel for default( // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 13 #pragma omp parallel for default() // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 19 #pragma omp parallel for default(shared), default(shared) // expected-error {{directive '#pragma omp parallel for' cannot contain more than one 'default' clause}} 22 #pragma omp parallel for default(x) // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 31 #pragma omp parallel for default(shared)
|
/external/mesa3d/src/mesa/main/ |
H A D | shared.c | 26 * \file shared.c 38 #include "shared.h" 49 * Allocate and initialize a shared context state structure. 60 struct gl_shared_state *shared; local 63 shared = CALLOC_STRUCT(gl_shared_state); 64 if (!shared) 67 _glthread_INIT_MUTEX(shared->Mutex); 69 shared->DisplayList = _mesa_NewHashTable(); 70 shared->TexObjects = _mesa_NewHashTable(); 71 shared 309 free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared) argument [all...] |
/external/vboot_reference/tests/ |
H A D | vboot_firmware_tests.c | 28 static VbSharedDataHeader* shared = (VbSharedDataHeader*)shared_data; variable 81 VbSharedDataInit(shared, sizeof(shared_data)); 82 shared->fw_version_tpm = 0x00020004; 228 TEST_EQ(shared->flags & VBSD_LF_DEV_SWITCH_ON, 0, 229 "Dev flag in shared.flags dev=0"); 230 TEST_EQ(shared->check_fw_a_result, VBSD_LF_CHECK_DEV_MISMATCH, 232 TEST_EQ(shared->check_fw_b_result, VBSD_LF_CHECK_REC_MISMATCH, 236 shared->flags |= VBSD_BOOT_DEV_SWITCH_ON; 244 TEST_NEQ(shared->flags & VBSD_LF_DEV_SWITCH_ON, 0, 245 "Dev flag in shared [all...] |
H A D | vboot_api_kernel4_tests.c | 28 static VbSharedDataHeader *shared = (VbSharedDataHeader *)shared_data; variable 58 VbSharedDataInit(shared, sizeof(shared_data)); 105 shared->kernel_version_tpm = new_version; 115 shared->kernel_version_tpm = new_version; 125 shared->kernel_version_tpm = new_version; 151 shared->flags |= VBSD_EC_SOFTWARE_SYNC; 160 shared->flags |= VBSD_EC_SOFTWARE_SYNC; 178 shared->flags |= VBSD_FWB_TRIED; 179 shared->firmware_index = 1; 187 shared [all...] |
H A D | vboot_api_init_tests.c | 25 static VbSharedDataHeader *shared = (VbSharedDataHeader *)shared_data; variable 64 VbSharedDataInit(shared, sizeof(shared_data)); 158 /* Test passing in too small a shared data area */ 166 TEST_EQ(shared->timer_vb_init_enter, 21, " time enter"); 167 TEST_EQ(shared->timer_vb_init_exit, 43, " time exit"); 168 TEST_EQ(shared->flags, 0, " shared flags"); 185 * Test boot switch flags which are just passed through to shared 191 TEST_EQ(shared->flags, VBSD_BOOT_FIRMWARE_WP_ENABLED, 192 " shared flag [all...] |
H A D | vboot_api_firmware_tests.c | 30 static VbSharedDataHeader* shared = (VbSharedDataHeader*)shared_data; variable 64 VbSharedDataInit(shared, sizeof(shared_data)); 65 shared->fw_keyblock_flags = 0xABCDE0; 74 shared->fw_version_tpm_start = mock_tpm_version; 127 shared->fw_version_tpm = mock_lf_tpm_version; 150 TEST_EQ(shared->timer_vb_select_firmware_enter, 21, " time enter"); 151 TEST_EQ(shared->timer_vb_select_firmware_exit, 43, " time exit"); 159 shared->flags |= VBSD_BOOT_DEV_SWITCH_ON; 167 shared->recovery_reason = VBNV_RECOVERY_US_TEST; 178 shared [all...] |
/external/valgrind/gdbserver_tests/ |
H A D | hginfo.stdoutB.exp | 5 13 if (shared == 1) 9 13 if (shared == 1)
|
/external/vboot_reference/firmware/lib/ |
H A D | vboot_api_firmware.c | 23 VbSharedDataHeader *shared = local 27 int is_rec = (shared->recovery_reason ? 1 : 0); 28 int is_dev = (shared->flags & VBSD_BOOT_DEV_SWITCH_ON ? 1 : 0); 35 shared->timer_vb_select_firmware_enter = VbExGetTimer(); 73 if (shared->flags & VBSD_LF_USE_RO_NORMAL) { 77 } else if (0 == shared->firmware_index) 84 if (shared->fw_version_tpm_start < shared->fw_version_tpm) { 86 RollbackFirmwareWrite(shared->fw_version_tpm); 112 shared [all...] |
H A D | vboot_firmware.c | 44 VbSharedDataHeader *shared = local 61 shared->firmware_index = 0xFF; 74 is_dev = (shared->flags & VBSD_BOOT_DEV_SWITCH_ON ? 1 : 0); 76 shared->flags |= VBSD_LF_DEV_SWITCH_ON; 82 shared->flags |= VBSD_FWB_TRIED; 107 check_result = &shared->check_fw_a_result; 112 check_result = &shared->check_fw_b_result; 146 if (key_version < (shared->fw_version_tpm >> 16)) { 187 if (combined_version < shared->fw_version_tpm && 218 if (!(shared [all...] |
H A D | vboot_api_init.c | 22 VbSharedDataHeader *shared = local 58 /* Initialize shared data structure */ 59 if (0 != VbSharedDataInit(shared, cparams->shared_data_size)) { 64 shared->timer_vb_init_enter = VbExGetTimer(); 68 shared->flags = 0; 70 shared->flags |= VBSD_BOOT_REC_SWITCH_ON; 72 shared->flags |= VBSD_BOOT_FIRMWARE_WP_ENABLED; 74 shared->flags |= VBSD_BOOT_FIRMWARE_SW_WP_ENABLED; 76 shared->flags |= VBSD_BOOT_S3_RESUME; 78 shared [all...] |