Home
last modified time | relevance | path

Searched refs:id1 (Results 1 – 25 of 116) sorted by relevance

12345

/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
Deq.pass.cpp25 std::thread::id id1; in main() local
26 id1 = id0; in main()
27 assert( (id1 == id0)); in main()
28 assert(!(id1 != id0)); in main()
29 id1 = std::this_thread::get_id(); in main()
30 assert(!(id1 == id0)); in main()
31 assert( (id1 != id0)); in main()
Dassign.pass.cpp24 std::thread::id id1; in main() local
25 id1 = id0; in main()
26 assert(id1 == id0); in main()
27 id1 = std::this_thread::get_id(); in main()
28 assert(id1 != id0); in main()
Dlt.pass.cpp27 std::thread::id id1; in main() local
29 assert(!(id0 < id1)); in main()
30 assert( (id0 <= id1)); in main()
31 assert(!(id0 > id1)); in main()
32 assert( (id0 >= id1)); in main()
Dcopy.pass.cpp24 std::thread::id id1 = id0; in main() local
25 assert(id1 == id0); in main()
/external/libcxx/test/libcxx/localization/locales/locale/locale.types/locale.id/
Did.pass.cpp27 std::locale::id id1; variable
35 assert(id1.__get() == id+1); in main()
36 assert(id1.__get() == id+1); in main()
37 assert(id1.__get() == id+1); in main()
44 assert(id1.__get() == id+1); in main()
45 assert(id1.__get() == id+1); in main()
46 assert(id1.__get() == id+1); in main()
/external/speex/libspeexdsp/
Dfilterbank.c60 int id1; in filterbank_new() local
87 id1 = DIV32(mel,mel_interval); in filterbank_new()
89 id1 = (int)(floor(mel/mel_interval)); in filterbank_new()
91 if (id1>banks-2) in filterbank_new()
93 id1 = banks-2; in filterbank_new()
96 val = DIV32_16(mel - id1*mel_interval,EXTRACT16(PSHR32(mel_interval,15))); in filterbank_new()
98 id2 = id1+1; in filterbank_new()
99 bank->bank_left[i] = id1; in filterbank_new()
162 int id1, id2; in filterbank_compute_psd16() local
163 id1 = bank->bank_left[i]; in filterbank_compute_psd16()
[all …]
/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
105 print_keyring_serial_number(id1); in keyctl_handle_key_key()
132 keyctl_keyring_search(struct tcb *tcp, key_serial_t id1, kernel_ulong_t addr1, in keyctl_keyring_search() argument
135 print_keyring_serial_number(id1); in keyctl_keyring_search()
154 keyctl_instantiate_key(struct tcb *tcp, key_serial_t id1, kernel_ulong_t addr, in keyctl_instantiate_key() argument
157 print_keyring_serial_number(id1); in keyctl_instantiate_key()
165 keyctl_instantiate_key_iov(struct tcb *tcp, key_serial_t id1, in keyctl_instantiate_key_iov() argument
169 print_keyring_serial_number(id1); in keyctl_instantiate_key_iov()
177 keyctl_negate_key(struct tcb *tcp, key_serial_t id1, unsigned timeout, in keyctl_negate_key() argument
180 print_keyring_serial_number(id1); in keyctl_negate_key()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/
DKeyboardIdTest.java42 KeyboardId id1 = 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()
49 KeyboardId id1 = KeyboardId.fromString("de-CH-t-k0-windows-extended-var"); in testEqualsFalse() local
51 assertFalse("", id1.equals(id2)); in testEqualsFalse()
/external/u-boot/board/Arcturus/ucp1020/
Ducp1020.c194 static u8 id1[16]; in last_stage_init() local
199 if (i2c_read(CONFIG_SYS_I2C_IDT6V49205B, 7, 1, &id1[0], 2) < 0) { in last_stage_init()
202 printf("IDT6V49205B(0x%02x): ready\n", id1[1]); in last_stage_init()
203 i2c_read(CONFIG_SYS_I2C_IDT6V49205B, 4, 1, &id1[0], 2); in last_stage_init()
204 if (!(id1[1] & 0x02)) { in last_stage_init()
205 id1[1] |= 0x02; in last_stage_init()
206 i2c_write(CONFIG_SYS_I2C_IDT6V49205B, 4, 1, &id1[0], 2); in last_stage_init()
/external/ltp/testcases/kernel/containers/sysvipc/
Dsemtest_2ns.c93 int id1; in check_sem1() local
99 id1 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); in check_sem1()
100 if (id1 == -1) { in check_sem1()
106 id1 = semget(MY_KEY, 1, 0); in check_sem1()
107 if (id1 == -1) { in check_sem1()
Dshmem_2nstest.c66 int id1; in check_shmem1() local
73 id1 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem1()
74 if (id1 == -1) in check_shmem1()
/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()
92 if (++id1 == len) { in RC4_set_key()
93 id1 = 0; in RC4_set_key()
/external/u-boot/arch/xtensa/cpu/
Dcpu.c31 uint32_t id0, id1; in print_cpuinfo() local
35 : "=r"(id0), "=r"(id1)); in print_cpuinfo()
38 XCHAL_CORE_ID, id0, id1, strmhz(mhz, gd->cpu_clk)); in print_cpuinfo()
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_addition_test.py272 id1 = linalg.LinearOperatorIdentity(num_rows=2)
277 self.assertTrue(self._adder.can_add(id1, id2))
278 operator = self._adder.add(id1, id2, "my_operator", hints)
291 id1 = linalg.LinearOperatorIdentity(num_rows=2, batch_shape=[3])
296 self.assertTrue(self._adder.can_add(id1, id2))
297 operator = self._adder.add(id1, id2, "my_operator", hints)
310 id1 = linalg.LinearOperatorScaledIdentity(
316 self.assertTrue(self._adder.can_add(id1, id2))
317 operator = self._adder.add(id1, id2, "my_operator", hints)
336 id1 = linalg.LinearOperatorIdentity(num_rows=2)
[all …]
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dsubgraph_test.cc50 Subgraph::Identity id1; in TEST() local
53 id1.insert(gn1); in TEST()
56 Subgraph sg1(id1); in TEST()
59 EXPECT_TRUE(id1 == sg1.id()); in TEST()
62 EXPECT_THAT(sg1 < sg2, Eq(id1 < id2)); in TEST()
68 Subgraph::Identity id1; in TEST() local
69 id1.insert(gn1.get()); in TEST()
70 Subgraph sg1(id1); in TEST()
/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()
235 if (id1.getParameters() == null) in isAlgIdEqual()
247 if (id1.getParameters() != null && !id1.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
255 return id1.getParameters().equals(id2.getParameters()); in isAlgIdEqual()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp497 for (const auto id1 : {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()
501 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
504 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
505 << "%struct" << id1 << " is expected to be different with %struct" in TEST()
546 for (const auto id1 : {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()
550 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp495 for (const auto id1 : {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()
499 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
502 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
503 << "%struct" << id1 << " is expected to be different with %struct" in TEST()
544 for (const auto id1 : {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()
548 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
[all …]
/external/u-boot/arch/arm/mach-davinci/
Dlxt972.c24 u_int16_t id1, id2; in lxt972_is_phy_connected() local
26 if (!davinci_eth_phy_read(phy_addr, MII_PHYSID1, &id1)) 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
25 if (!davinci_eth_phy_read(phy_addr, DP83848_PHYID1_REG, &id1)) 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
76 id1 = phy_read(phydev, MDIO_DEVAD_NONE, 2); in board_phy_config()
79 if ((id1 == 0x22) && ((id2 & 0xFFF0) == 0x1620)) { in board_phy_config()
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp537 const UnicodeString *id1, *id2; in TestGetAvailableIDsNew() local
616 while ((id1 = any->snext(ec)) != NULL) { in TestGetAvailableIDsNew()
620 if (*id1 == *id2) { in TestGetAvailableIDsNew()
629 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
633 if (*id1 == canonicalID) { in TestGetAvailableIDsNew()
634 errln((UnicodeString)"FAIL: canonicalID [" + *id1 + "] is not in CANONICAL"); in TestGetAvailableIDsNew()
637 errln((UnicodeString)"FAIL: ANY contains non-system ID: " + *id1); in TestGetAvailableIDsNew()
648 while ((id1 = canonical->snext(ec)) != NULL) { in TestGetAvailableIDsNew()
649 TimeZone::getCanonicalID(*id1, canonicalID, isSystemID, ec); in TestGetAvailableIDsNew()
653 if (*id1 != canonicalID) { in TestGetAvailableIDsNew()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNotificationManagerTest.java281 String id1 = notificationManager.addAutomaticZenRule(rule1); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() local
284 assertThat(id2).isNotEqualTo(id1); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds()
285 assertThat(notificationManager.getAutomaticZenRule(id1)).isEqualTo(rule1); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds()
287 assertThat(notificationManager.getAutomaticZenRules()).containsExactly(id1, rule1, id2, rule2); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds()
357 String id1 = notificationManager.addAutomaticZenRule(rule1); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() local
369 assertThat(notificationManager.getAutomaticZenRule(id1)).isEqualTo(rule1); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue()
372 .containsExactly(id1, rule1, id2, updatedRule); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue()
422 String id1 = notificationManager.addAutomaticZenRule(rule1); in removeAutomaticZenRule_existingId_shouldRemoveRuleAndReturnTrue() local
425 assertThat(notificationManager.removeAutomaticZenRule(id1)).isTrue(); in removeAutomaticZenRule_existingId_shouldRemoveRuleAndReturnTrue()
427 assertThat(notificationManager.getAutomaticZenRule(id1)).isNull(); in removeAutomaticZenRule_existingId_shouldRemoveRuleAndReturnTrue()
/external/u-boot/board/congatec/cgtqmx6eval/
Dcgtqmx6eval.c214 u32 id1, id2, i; in power_init_board() local
230 pmic_reg_read(p, PFUZE100_DEVICEID, &id1); in power_init_board()
232 printf("PFUZE100 Rev. [%02x/%02x] detected\n", id1, id2); in power_init_board()
259 unsigned short id1, id2; in board_eth_init() local
282 id1 = phy_read(phydev, MDIO_DEVAD_NONE, 2); 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
331 id1 = phy_read(phydev, MDIO_DEVAD_NONE, 2); in mx6_rgmii_rework()
[all …]
/external/deqp-deps/glslang/Test/
Dhlsl.function.frag11 float4 fun4(uint id1, uniform uint id2)
13 return id1 * id2;

12345