Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 25 of 148) sorted by relevance

123456

/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
Dlt.pass.cpp28 std::thread::id id2 = std::this_thread::get_id(); in main() local
33 assert(!(id0 == id2)); in main()
34 if (id0 < id2) { in main()
35 assert( (id0 <= id2)); in main()
36 assert(!(id0 > id2)); in main()
37 assert(!(id0 >= id2)); in main()
39 assert(!(id0 <= id2)); in main()
40 assert( (id0 > id2)); in main()
41 assert( (id0 >= id2)); in main()
Dthread_id.pass.cpp31 std::thread::id id2 = std::this_thread::get_id(); in main() local
35 ASSERT_NOEXCEPT(H()(id2)); in main()
37 assert(h(id1) != h(id2)); in main()
/external/llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
Dlt.pass.cpp29 std::thread::id id2 = std::this_thread::get_id(); in main() local
34 assert(!(id0 == id2)); in main()
35 if (id0 < id2) { in main()
36 assert( (id0 <= id2)); in main()
37 assert(!(id0 > id2)); in main()
38 assert(!(id0 >= id2)); in main()
40 assert(!(id0 <= id2)); in main()
41 assert( (id0 > id2)); in main()
42 assert( (id0 >= id2)); in main()
Dthread_id.pass.cpp30 std::thread::id id2 = std::this_thread::get_id(); in main() local
34 ASSERT_NOEXCEPT(H()(id2)); in main()
36 assert(h(id1) != h(id2)); in main()
/external/libcxx/test/libcxx/localization/locales/locale/locale.types/locale.id/
Did.pass.cpp26 std::locale::id id2; variable
38 assert(id2.__get() == id+2); in main()
39 assert(id2.__get() == id+2); in main()
40 assert(id2.__get() == id+2); in main()
47 assert(id2.__get() == id+2); in main()
48 assert(id2.__get() == id+2); in main()
49 assert(id2.__get() == id+2); in main()
/external/llvm-project/libcxx/test/libcxx/localization/locales/locale/locale.types/locale.id/
Did.pass.cpp27 std::locale::id id2; variable
39 assert(id2.__get() == id+2); in main()
40 assert(id2.__get() == id+2); in main()
41 assert(id2.__get() == id+2); in main()
48 assert(id2.__get() == id+2); in main()
49 assert(id2.__get() == id+2); in main()
50 assert(id2.__get() == id+2); in main()
/external/llvm-project/lld/test/COFF/
Dforce-multipleres.test11 RUN: cp %S/Inputs/id.res %t.dir/id2.res
13 RUN: cp %S/Inputs/id.res.o %t.dir/id2.o
15 RUN: not lld-link /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.res %t.dir/id2.res 2>&1 | \
17 RUN: not lld-link /lldmingw /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.res %t.dir/id2.o 2>…
19 RUN: not lld-link /lldmingw /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.o %t.dir/id2.o 2>&1…
21 … type STRINGTABLE (ID 6)/name ID 3/language 1033, in {{.*}}id1.{{res|o}} and in {{.*}}id2.{{res|o}}
23 RUN: lld-link /force /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.res %t.dir/id2.res 2>&1 | \
25 RUN: lld-link /force:multipleres /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.res %t.dir/id2
27 …ingw /force:multipleres /machine:x64 /nodefaultlib /noentry /dll %t.dir/id1.o %t.dir/id2.o 2>&1 | \
29 … type STRINGTABLE (ID 6)/name ID 3/language 1033, in {{.*}}id1.{{res|o}} and in {{.*}}id2.{{res|o}}
/external/strace/
Dkeyctl.c103 keyctl_handle_key_key(struct tcb *tcp, key_serial_t id1, key_serial_t id2) in keyctl_handle_key_key() argument
107 print_keyring_serial_number(id2); in keyctl_handle_key_key()
133 kernel_ulong_t addr2, key_serial_t id2) in keyctl_keyring_search() argument
141 print_keyring_serial_number(id2); in keyctl_keyring_search()
155 kernel_ulong_t len, key_serial_t id2) in keyctl_instantiate_key() argument
161 print_keyring_serial_number(id2); in keyctl_instantiate_key()
167 key_serial_t id2) in keyctl_instantiate_key_iov() argument
173 print_keyring_serial_number(id2); in keyctl_instantiate_key_iov()
178 key_serial_t id2) in keyctl_negate_key() argument
182 print_keyring_serial_number(id2); in keyctl_negate_key()
[all …]
/external/boringssl/src/crypto/rc4/
Drc4.c88 unsigned id1 = 0, id2 = 0; in RC4_set_key() local
91 id2 = (key[id1] + tmp + id2) & 0xff; in RC4_set_key()
95 d[i] = d[id2]; in RC4_set_key()
96 d[id2] = tmp; in RC4_set_key()
/external/rust/crates/quiche/deps/boringssl/src/crypto/rc4/
Drc4.c88 unsigned id1 = 0, id2 = 0; in RC4_set_key() local
91 id2 = (key[id1] + tmp + id2) & 0xff; in RC4_set_key()
95 d[i] = d[id2]; in RC4_set_key()
96 d[id2] = tmp; in RC4_set_key()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/
DKeyboardIdTest.java43 KeyboardId id2 = KeyboardId.fromString("de-CH-t-k0-windows-extended-var"); in testEqualsTrue() local
44 assertTrue("", id1.equals(id2)); in testEqualsTrue()
45 assertTrue("", id1.hashCode() == id2.hashCode()); in testEqualsTrue()
50 KeyboardId id2 = KeyboardId.fromString("es-US-t-k0-android-768dpi.xml"); in testEqualsFalse() local
51 assertFalse("", id1.equals(id2)); in testEqualsFalse()
/external/llvm-project/polly/lib/External/isl/
Disl_id.c146 int isl_id_cmp(__isl_keep isl_id *id1, __isl_keep isl_id *id2) in isl_id_cmp() argument
148 if (id1 == id2) in isl_id_cmp()
152 if (!id2) in isl_id_cmp()
154 if (!id1->name != !id2->name) in isl_id_cmp()
155 return !id1->name - !id2->name; in isl_id_cmp()
157 int cmp = strcmp(id1->name, id2->name); in isl_id_cmp()
161 if (id1->user < id2->user) in isl_id_cmp()
294 __isl_keep isl_id *id2) in isl_id_plain_is_equal() argument
296 if (!id1 || !id2) in isl_id_plain_is_equal()
298 return id1 == id2; in isl_id_plain_is_equal()
Disl_id_to_id.c5 #define isl_id_is_equal(id1,id2) isl_bool_ok(id1 == id2) argument
/external/ltp/testcases/kernel/containers/sysvipc/
Dsemtest_2ns.c125 int id2; in check_sem2() local
133 id2 = semget(MY_KEY, 1, 0); in check_sem2()
134 if (id2 != -1) { in check_sem2()
135 sem_lock(id2); in check_sem2()
139 id2 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); in check_sem2()
140 if (id2 == -1) { in check_sem2()
Dshmem_2nstest.c88 int id2; in check_shmem2() local
97 id2 = shmget(TESTKEY, 100, 0); in check_shmem2()
98 if (id2 == -1) { in check_shmem2()
99 id2 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem2()
100 if (id2 == -1) in check_shmem2()
/external/llvm-project/llvm/test/Instrumentation/MemorySanitizer/
Dmsan_asm_conservative.ll18 @id2 = common dso_local global i32 0, align 4
58 ; asm("" : "=r" (id1), "=r" (id2) : "r" (is1), "r"(is2));
67 store i32 %asmresult1, i32* @id2, align 4
81 ; CHECK: [[PACK2_F2:%.*]] = call {{.*}} @__msan_metadata_ptr_for_store_4({{.*}}@id2{{.*}})
87 ; asm("" : "=r" (id1), "=r" (id2) : "r" (id1), "r" (id2));
91 %1 = load i32, i32* @id2, align 4
96 store i32 %asmresult1, i32* @id2, align 4
102 ; CHECK: [[ID2_F3:%.*]] = load i32, i32* @id2, align 4
110 ; CHECK: [[PACK2_F3:%.*]] = call {{.*}} @__msan_metadata_ptr_for_store_4({{.*}}@id2{{.*}})
117 ; asm("" : "=r" (id1), "=r" (id2) : "r" (id1), "r"(is1));
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DCertUtils.java230 static boolean isAlgIdEqual(AlgorithmIdentifier id1, AlgorithmIdentifier id2) in isAlgIdEqual() argument
232 if (!id1.getAlgorithm().equals(id2.getAlgorithm())) in isAlgIdEqual()
241 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
249 if (id2.getParameters() == null) in isAlgIdEqual()
262 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
265 if (id2.getParameters() != null) in isAlgIdEqual()
267 return id2.getParameters().equals(id1.getParameters()); in isAlgIdEqual()
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_addition_test.py273 id2 = linalg.LinearOperatorIdentity(num_rows=2, batch_shape=[3])
277 self.assertTrue(self._adder.can_add(id1, id2))
278 operator = self._adder.add(id1, id2, "my_operator", hints)
291 id2 = linalg.LinearOperatorScaledIdentity(num_rows=2, multiplier=2.2)
295 self.assertTrue(self._adder.can_add(id1, id2))
296 operator = self._adder.add(id1, id2, "my_operator", hints)
310 id2 = linalg.LinearOperatorScaledIdentity(num_rows=2, multiplier=-1.0)
314 self.assertTrue(self._adder.can_add(id1, id2))
315 operator = self._adder.add(id1, id2, "my_operator", hints)
334 id2 = linalg.LinearOperatorIdentity(num_rows=2, batch_shape=[3])
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/tensorflow/
Dtf_to_quant.cc93 if (auto id2 = dyn_cast_or_null<TF::IdentityOp>(max.getDefiningOp())) { in matchAndRewrite() local
94 id2.replaceAllUsesWith(id2.input()); in matchAndRewrite()
96 rewriter.eraseOp(id2); in matchAndRewrite()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_swap_two_functions.cpp30 uint32_t id2) { in TransformationSwapTwoFunctions() argument
31 assert(id1 != id2 && "The two function ids cannot be the same."); in TransformationSwapTwoFunctions()
33 message_.set_function_id2(id2); in TransformationSwapTwoFunctions()
/external/speex/libspeexdsp/
Dfilterbank.c61 int id2; in filterbank_new() local
98 id2 = id1+1; in filterbank_new()
101 bank->bank_right[i] = id2; in filterbank_new()
162 int id1, id2; in filterbank_compute_psd16() local
164 id2 = bank->bank_right[i]; in filterbank_compute_psd16()
166 tmp += MULT16_16(mel[id2],bank->filter_right[i]); in filterbank_compute_psd16()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNotificationManagerTest.java282 String id2 = notificationManager.addAutomaticZenRule(rule2); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() local
284 assertThat(id2).isNotEqualTo(id1); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds()
286 assertThat(notificationManager.getAutomaticZenRule(id2)).isEqualTo(rule2); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds()
287 assertThat(notificationManager.getAutomaticZenRules()).containsExactly(id1, rule1, id2, rule2); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds()
358 String id2 = notificationManager.addAutomaticZenRule(rule2); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() local
367 assertThat(notificationManager.updateAutomaticZenRule(id2, updatedRule)).isTrue(); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue()
370 assertThat(notificationManager.getAutomaticZenRule(id2)).isEqualTo(updatedRule); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue()
372 .containsExactly(id1, rule1, id2, updatedRule); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue()
423 String id2 = notificationManager.addAutomaticZenRule(rule2); in removeAutomaticZenRule_existingId_shouldRemoveRuleAndReturnTrue() local
428 assertThat(notificationManager.getAutomaticZenRule(id2)).isEqualTo(rule2); in removeAutomaticZenRule_existingId_shouldRemoveRuleAndReturnTrue()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp523 for (const auto id2 : {1, 2, 3, 4, 7}) { in TEST()
524 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
525 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
527 << id2; in TEST()
529 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
531 << id2; in TEST()
572 for (const auto id2 : {1, 2, 3, 4, 5, 6, 7, 10}) { in TEST()
573 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
574 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
576 << id2; in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp523 for (const auto id2 : {1, 2, 3, 4, 7}) { in TEST()
524 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
525 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
527 << id2; in TEST()
529 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
531 << id2; in TEST()
572 for (const auto id2 : {1, 2, 3, 4, 5, 6, 7, 10}) { in TEST()
573 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
574 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
576 << id2; in TEST()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dtype_manager_test.cpp523 for (const auto id2 : {1, 2, 3, 4, 7}) { in TEST()
524 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
525 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
527 << id2; in TEST()
529 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
531 << id2; in TEST()
572 for (const auto id2 : {1, 2, 3, 4, 5, 6, 7, 10}) { in TEST()
573 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
574 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
576 << id2; in TEST()
[all …]

123456