Home
last modified time | relevance | path

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

1234

/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/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/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/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/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/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)
292 id2 = linalg.LinearOperatorScaledIdentity(num_rows=2, multiplier=2.2)
296 self.assertTrue(self._adder.can_add(id1, id2))
297 operator = self._adder.add(id1, id2, "my_operator", hints)
312 id2 = linalg.LinearOperatorScaledIdentity(num_rows=2, multiplier=-1.0)
316 self.assertTrue(self._adder.can_add(id1, id2))
317 operator = self._adder.add(id1, id2, "my_operator", hints)
337 id2 = linalg.LinearOperatorIdentity(num_rows=2, batch_shape=[3])
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DCertUtils.java228 static boolean isAlgIdEqual(AlgorithmIdentifier id1, AlgorithmIdentifier id2) in isAlgIdEqual() argument
230 if (!id1.getAlgorithm().equals(id2.getAlgorithm())) in isAlgIdEqual()
237 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
245 if (id2.getParameters() == null) in isAlgIdEqual()
255 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
/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/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp498 for (const auto id2 : {1, 2, 3, 4, 7}) { in TEST()
499 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
500 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
502 << id2; in TEST()
504 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
506 << id2; in TEST()
547 for (const auto id2 : {1, 2, 3, 4, 5, 6, 7, 10}) { in TEST()
548 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
549 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
551 << id2; in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp496 for (const auto id2 : {1, 2, 3, 4, 7}) { in TEST()
497 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
498 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
500 << id2; in TEST()
502 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
504 << id2; in TEST()
545 for (const auto id2 : {1, 2, 3, 4, 5, 6, 7, 10}) { in TEST()
546 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
547 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
549 << id2; in TEST()
[all …]
/external/u-boot/arch/arm/mach-davinci/
Dlxt972.c24 u_int16_t id1, id2; in lxt972_is_phy_connected() local
28 if (!davinci_eth_phy_read(phy_addr, MII_PHYSID2, &id2)) in lxt972_is_phy_connected()
31 if ((id1 == (0x0013)) && ((id2 & 0xfff0) == 0x78e0)) in lxt972_is_phy_connected()
Ddp83848.c23 u_int16_t id1, id2; in dp83848_is_phy_connected() local
27 if (!davinci_eth_phy_read(phy_addr, DP83848_PHYID2_REG, &id2)) in dp83848_is_phy_connected()
30 if ((id1 == DP83848_PHYID1_OUI) && (id2 == DP83848_PHYID2_OUI)) in dp83848_is_phy_connected()
/external/u-boot/board/spear/x600/
Dx600.c73 unsigned short id1, id2; in board_phy_config() local
77 id2 = phy_read(phydev, MDIO_DEVAD_NONE, 3); in board_phy_config()
79 if ((id1 == 0x22) && ((id2 & 0xFFF0) == 0x1620)) { in board_phy_config()
/external/u-boot/board/congatec/cgtqmx6eval/
Dcgtqmx6eval.c214 u32 id1, id2, i; in power_init_board() local
231 pmic_reg_read(p, PFUZE100_REVID, &id2); in power_init_board()
232 printf("PFUZE100 Rev. [%02x/%02x] detected\n", id1, id2); in power_init_board()
234 if (id2 >= 0x20) in power_init_board()
259 unsigned short id1, id2; in board_eth_init() local
283 id2 = phy_read(phydev, MDIO_DEVAD_NONE, 3); in board_eth_init()
285 if ((id1 == 0x22) && ((id2 & 0xFFF0) == 0x1620)) { in board_eth_init()
302 } else if ((id1 == 0x004d) && (id2 == 0xd072)) { in board_eth_init()
307 printf("Unknown Ethernet-Phy: 0x%04x 0x%04x\n", id1, id2); in board_eth_init()
327 unsigned short id1, id2; in mx6_rgmii_rework() local
[all …]
/external/deqp-deps/glslang/Test/
Dhlsl.function.frag11 float4 fun4(uint id1, uniform uint id2)
13 return id1 * id2;
/external/bcc/src/cc/frontends/b/
Dparser.cc104 StmtNode *Parser::state_add(Scopes::StateScope *scope, IdentExprNode *id1, IdentExprNode *id2, Bloc… in state_add() argument
107 …state = new StateDeclStmtNode(IdentExprNode::Ptr(id1), IdentExprNode::Ptr(id2), BlockStmtNode::Ptr… in state_add()
116 if (state->find_sub(id2->name_) != state->subs_.end()) { in state_add()
117 …fprintf(stderr, "redeclaration of state %s, %s\n", id1->full_name().c_str(), id2->full_name().c_st… in state_add()
120 state->subs_.push_back(StateDeclStmtNode::Sub(IdentExprNode::Ptr(id2), BlockStmtNode::Ptr(body), in state_add()
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.function.frag.out29 0:12 'id2' ( in uint)
36 0:13 'id2' ( in uint)
87 0:12 'id2' ( in uint)
94 0:13 'id2' ( in uint)
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsubgraph_test.cc51 Subgraph::Identity id2; in TEST() local
54 id2.insert(gn2); in TEST()
57 Subgraph sg2(id2); in TEST()
60 EXPECT_TRUE(id2 == sg2.id()); in TEST()
62 EXPECT_THAT(sg1 < sg2, Eq(id1 < id2)); in TEST()
/external/icu/icu4c/source/i18n/
Duspoof.cpp432 const UChar *id2, int32_t length2, in uspoof_areConfusable() argument
444 UnicodeString id2Str((length2==-1), id2, length2); // Aliasing constructor in uspoof_areConfusable()
452 const char *id2, int32_t length2, in uspoof_areConfusableUTF8() argument
463 …id2Str = UnicodeString::fromUTF8(StringPiece(id2, length2>=0? length2 : static_cast<int32_t>(uprv_… in uspoof_areConfusableUTF8()
472 const icu::UnicodeString &id2, in uspoof_areConfusableUnicodeString() argument
495 uspoof_getSkeletonUnicodeString(sc, 0 /* deprecated */, id2, id2Skeleton, status); in uspoof_areConfusableUnicodeString()
507 This->getResolvedScriptSet(id2, id2RSS, *status); in uspoof_areConfusableUnicodeString()
/external/clang/test/CodeGenCXX/
Dcaptured-statements.cpp128 template <typename U, int id2>
132 touch<U, id + id2>(u); in foo()
/external/u-boot/board/Arcturus/ucp1020/
Ducp1020.c195 static u8 id2; in last_stage_init() local
211 if (i2c_read(CONFIG_SYS_I2C_NCT72_ADDR, 0xFE, 1, &id2, 1) < 0) in last_stage_init()
214 printf("NCT72(0x%x): ready\n", id2); in last_stage_init()

1234