Home
last modified time | relevance | path

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

123456

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DHandleRangeAllocator_unittest.cpp34 GLuint id1 = allocator->allocate(); in TEST_F() local
35 EXPECT_TRUE(allocator->isUsed(id1)); in TEST_F()
41 EXPECT_NE(id1, id2); in TEST_F()
44 allocator->release(id1); in TEST_F()
45 EXPECT_FALSE(allocator->isUsed(id1)); in TEST_F()
70 GLuint id1 = ids[kNumResources / 2]; in TEST_F() local
71 allocator->release(id1); in TEST_F()
72 EXPECT_FALSE(allocator->isUsed(id1)); in TEST_F()
75 EXPECT_EQ(id1, id2); in TEST_F()
101 GLuint id1 = allocator->allocateAtOrAbove(kOffset); in TEST_F() local
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Dtype_manager_test.cpp133 for (const auto id1 : {1, 2, 3, 4, 7}) { in TEST()
135 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
136 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
137 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
140 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
141 << "%struct" << id1 << " is expected to be different with %struct" in TEST()
183 for (const auto id1 : {1, 2, 3, 4, 5, 6, 7, 10}) { in TEST()
185 if (id1 == id2 || (id1 == 1 && id2 == 4) || (id1 == 4 && id2 == 1)) { in TEST()
186 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
187 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
[all …]
/third_party/alsa-utils/alsactl/
Ddaemon.c156 static int compare_ids(snd_ctl_elem_id_t *id1, snd_ctl_elem_id_t *id2) in compare_ids() argument
158 if (id1 == NULL || id2 == NULL) in compare_ids()
160 return snd_ctl_elem_id_get_interface(id1) == snd_ctl_elem_id_get_interface(id2) && in compare_ids()
161 snd_ctl_elem_id_get_index(id1) == snd_ctl_elem_id_get_index(id2) && in compare_ids()
162 strcmp(snd_ctl_elem_id_get_name(id1), snd_ctl_elem_id_get_name(id2)) == 0 && in compare_ids()
163 snd_ctl_elem_id_get_device(id1) == snd_ctl_elem_id_get_device(id2) && in compare_ids()
164 snd_ctl_elem_id_get_subdevice(id1) == snd_ctl_elem_id_get_subdevice(id2); in compare_ids()
170 snd_ctl_elem_id_t *id1; in in_list() local
173 id1 = list->list[i]; in in_list()
174 if (id1 == NULL) in in_list()
[all …]
/third_party/openssl/crypto/rc4/
Drc4_skey.c33 register int id1, id2; in RC4_set_key() local
40 id1 = id2 = 0; in RC4_set_key()
44 id2 = (data[id1] + tmp + id2) & 0xff; \ in RC4_set_key()
45 if (++id1 == len) id1=0; \ in RC4_set_key()
/third_party/flutter/skia/third_party/externals/wuffs/lang/ast/
Dast.go179 id1 t.ID member
280 if o.id1 == t.IDBase {
283 if o.id1 != 0 {
285 pkg.Str(tm), o.id1.Str(tm))
287 o.id1 = pkg
336 func (n *Expr) StatusQID() t.QID { return t.QID{n.id1, n.id2} }
370 id1: statusPkg,
517 func (n *Iterate) Label() t.ID { return n.id1 }
531 id1: label,
554 func (n *While) Label() t.ID { return n.id1 }
[all …]
Deq.go38 if n.flags != o.flags || n.id0 != o.id0 || n.id1 != o.id1 || n.id2 != o.id2 {
104 if n.id0 != o.id0 || n.id1 != o.id1 || n.id2 != o.id2 {
/third_party/glib/tests/
Dasyncqueue-test.c40 gint32 id1; in sort_compare() local
43 id1 = GPOINTER_TO_INT (p1); in sort_compare()
47 id1, id2, (id1 > id2 ? +1 : id1 == id2 ? 0 : -1))); in sort_compare()
49 return (id1 > id2 ? +1 : id1 == id2 ? 0 : -1); in sort_compare()
/third_party/python/Lib/test/
Dtest__xxsubinterpreters.py564 id1 = interpreters.create()
565 id2 = interpreters.InterpreterID(int(id1))
568 self.assertTrue(id1 == id1)
569 self.assertTrue(id1 == id2)
570 self.assertTrue(id1 == int(id1))
571 self.assertTrue(int(id1) == id1)
572 self.assertTrue(id1 == float(int(id1)))
573 self.assertTrue(float(int(id1)) == id1)
574 self.assertFalse(id1 == float(int(id1)) + 0.1)
575 self.assertFalse(id1 == str(int(id1)))
[all …]
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dtraversal_switch_detector.hpp219 signed_size_type const id1 = turn.operations[1].enriched.region_id; in ii_turn_connects_two_regions() local
221 return (id0 == region.region_id && id1 == connected_region.region_id) in ii_turn_connects_two_regions()
222 || (id1 == region.region_id && id0 == connected_region.region_id); in ii_turn_connects_two_regions()
442 signed_size_type const& id1 = op1.enriched.region_id; in assign_connected_regions() local
450 if (id1 != -1 && id0 != id1) in assign_connected_regions()
452 m_connected_regions[id1].region_id = id1; in assign_connected_regions()
453 m_connected_regions[id1].unique_turn_ids.insert(unique_turn_id); in assign_connected_regions()
456 if (id0 != id1 && id0 != -1 && id1 != -1) in assign_connected_regions()
459 … connection_properties& prop0 = m_connected_regions[id0].connected_region_counts[id1]; in assign_connected_regions()
460 … connection_properties& prop1 = m_connected_regions[id1].connected_region_counts[id0]; in assign_connected_regions()
/third_party/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()
/third_party/typescript/tests/baselines/reference/
DcommentsOnPropertyOfObjectLiteral1.types3 >resolve : { id: (details: any) => any; id1: string; id2: (details: any) => any; id3: (details: any…
4id1: /* c1 */ "hello", id2: /*! @ngInject */ (details: any) => details.id, id3: /*…
14 id1: /* c1 */ "hello",
15 >id1 : string
DcommentsOnPropertyOfObjectLiteral1.symbols10 id1: /* c1 */ "hello",
11 >id1 : Symbol(id1, Decl(commentsOnPropertyOfObjectLiteral1.ts, 1, 54))
/third_party/boost/boost/graph/
Djohnson_all_pairs_shortest.hpp41 DistanceMatrix& D, VertexID id1, Weight w1, const BinaryPredicate& compare, in johnson_all_pairs_shortest_paths() argument
80 boost::tie(e, z) = add_edge(s, get(id1, *v) + 1, g2); in johnson_all_pairs_shortest_paths()
90 get(id1, source(*e, g1)) + 1, get(id1, target(*e, g1)) + 1, g2); in johnson_all_pairs_shortest_paths()
94 boost::tie(e2, z) = add_edge(get(id1, target(*e, g1)) + 1, in johnson_all_pairs_shortest_paths()
95 get(id1, source(*e, g1)) + 1, g2); in johnson_all_pairs_shortest_paths()
147 DistanceMatrix& D, VertexID id1, Weight w1, DistanceZero zero) in johnson_all_pairs_shortest_paths() argument
150 return johnson_all_pairs_shortest_paths(g1, D, id1, w1, std::less< WT >(), in johnson_all_pairs_shortest_paths()
/third_party/boost/tools/quickbook/test/doc-info/
Did1-1.5.quickbook8 [include id1-no-docinfo.quickbook]
13 [include id1-docinfo-no-id.quickbook]
18 [include id1-no-docinfo.quickbook]
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dcnd_wait.c38 thrd_t id1; in cnd_wait_0100() local
42 ret = thrd_create(&id1, (thrd_start_t)cnd_waitfirst, (void *)1); in cnd_wait_0100()
48 thrd_join(id1, NULL); in cnd_wait_0100()
Dcnd_signal.c38 thrd_t id1; in cnd_signal_0100() local
43 ret = thrd_create(&id1, (thrd_start_t)cnd_timedwaitfirst, (void *)1); in cnd_signal_0100()
51 thrd_join(id1, NULL); in cnd_signal_0100()
/third_party/boost/boost/interprocess/detail/
Dos_thread_functions.hpp114 inline bool equal_thread_id(OS_thread_id_t id1, OS_thread_id_t id2) in equal_thread_id() argument
115 { return id1 == id2; } in equal_thread_id()
207 inline bool equal_systemwide_thread_id(const OS_systemwide_thread_id_t &id1, const OS_systemwide_th… in equal_systemwide_thread_id() argument
209 return equal_thread_id(id1, id2); in equal_systemwide_thread_id()
299 inline bool equal_thread_id(OS_thread_id_t id1, OS_thread_id_t id2)
300 { return 0 != pthread_equal(id1, id2); }
443 inline bool equal_systemwide_thread_id(const OS_systemwide_thread_id_t &id1, const OS_systemwide_th…
445 return (0 != pthread_equal(id1.tid, id2.tid)) && (id1.pid == id2.pid);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_swap_two_functions.cpp29 TransformationSwapTwoFunctions::TransformationSwapTwoFunctions(uint32_t id1, in TransformationSwapTwoFunctions() argument
31 assert(id1 != id2 && "The two function ids cannot be the same."); in TransformationSwapTwoFunctions()
32 message_.set_function_id1(id1); in TransformationSwapTwoFunctions()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_swap_two_functions.cpp29 TransformationSwapTwoFunctions::TransformationSwapTwoFunctions(uint32_t id1, in TransformationSwapTwoFunctions() argument
31 assert(id1 != id2 && "The two function ids cannot be the same."); in TransformationSwapTwoFunctions()
32 message_.set_function_id1(id1); in TransformationSwapTwoFunctions()
/third_party/flutter/flutter/packages/flutter/test/semantics/
Dcustom_semantics_action_test.dart16 final int id1 = CustomSemanticsAction.getIdentifier(action1);
20 expect(id1, id2);
22 expect(CustomSemanticsAction.getAction(id1), action1);
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dtype_manager_test.cpp522 for (const auto id1 : {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()
526 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
529 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
530 << "%struct" << id1 << " is expected to be different with %struct" in TEST()
571 for (const auto id1 : {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()
575 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
[all …]
/third_party/spirv-tools/test/opt/
Dtype_manager_test.cpp522 for (const auto id1 : {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()
526 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
529 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
530 << "%struct" << id1 << " is expected to be different with %struct" in TEST()
571 for (const auto id1 : {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()
575 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp522 for (const auto id1 : {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()
526 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
529 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
530 << "%struct" << id1 << " is expected to be different with %struct" in TEST()
571 for (const auto id1 : {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()
575 << "%struct" << id1 << " is expected to be the same as %struct" in TEST()
[all …]
/third_party/node/test/parallel/
Dtest-http2-misbehaving-multiplex.js60 const id1 = new h2test.HeadersFrame(1, h2test.kFakeRequestHeaders, 0, true); constant
70 client.write(id1.data, () => {
77 client.write(id1.data, () => {

123456