Home
last modified time | relevance | path

Searched refs:cb1 (Results 1 – 25 of 57) sorted by relevance

123

/external/webrtc/rtc_base/
Dcallback_unittest.cc74 Callback1<int, int> cb1(&h); in TEST() local
75 EXPECT_FALSE(cb1.empty()); in TEST()
76 EXPECT_EQ(9, cb1(-3)); in TEST()
77 EXPECT_EQ(100, cb1(10)); in TEST()
80 cb1 = Callback1<int, int>(); in TEST()
81 EXPECT_TRUE(cb1.empty()); in TEST()
94 Callback0<int> cb1 = Bind(&BindTester::a, &t); in TEST() local
95 EXPECT_EQ(24, cb1()); in TEST()
96 EXPECT_EQ(24, cb1()); in TEST()
97 cb1 = Bind(&BindTester::b, &t, 10); in TEST()
[all …]
/external/pdfium/core/fxcrt/
Dcfx_timer_unittest.cpp42 MockTimerCallback cb1; in TEST() local
43 EXPECT_CALL(cb1, OnTimerFired()).Times(1); in TEST()
48 auto timer1 = pdfium::MakeUnique<CFX_Timer>(&scheduler, &cb1, 100); in TEST()
69 MockTimerCallback cb1; in TEST() local
70 EXPECT_CALL(cb1, OnTimerFired()).Times(0); in TEST()
73 auto timer1 = pdfium::MakeUnique<CFX_Timer>(&scheduler, &cb1, 100); in TEST()
/external/llvm-project/llvm/test/Transforms/SCCP/
Dmultiple_callbacks.ll9 ; void broker(int (*cb0)(int), int (*cb1)(int), int (*cb2)(int), int, int);
14 ; static int cb1(int unknown) {
31 ; broker(cb0, cb1, cb0, 0, 1);
32 ; broker(cb1, cb2, cb2, 0, 1);
48 define internal i32 @cb1(i32 %unknown) {
49 ; CHECK-LABEL: @cb1(
91 ; CHECK-NEXT: call void @broker(i32 (i32)* nonnull @cb0, i32 (i32)* nonnull @cb1, i32 (i32)* non…
92 ; CHECK-NEXT: call void @broker(i32 (i32)* nonnull @cb1, i32 (i32)* nonnull @cb2, i32 (i32)* non…
100 …call void @broker(i32 (i32)* nonnull @cb0, i32 (i32)* nonnull @cb1, i32 (i32)* nonnull @cb0, i32 0…
101 …call void @broker(i32 (i32)* nonnull @cb1, i32 (i32)* nonnull @cb2, i32 (i32)* nonnull @cb2, i32 0…
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/
Dirtranslator-switch-bittest.ll40 ; CHECK: bb.3.cb1:
44 i16 58, label %cb1
45 i16 59, label %cb1
46 i16 47, label %cb1
47 i16 48, label %cb1
48 i16 50, label %cb1
49 i16 114, label %cb1
54 cb1:
162 ; CHECK: bb.3.cb1:
166 i16 58, label %cb1
[all …]
/external/llvm-project/libcxx/test/std/strings/string.view/string.view.iterators/
Dbegin.pass.cpp24 typename S::const_iterator cb1 = cs.begin(); in test() local
30 assert( *cb1 == s[0]); in test()
31 assert(&*cb1 == &s[0]); in test()
36 assert( b == cb1); in test()
38 assert(cb1 == cb2); in test()
Drbegin.pass.cpp24 typename S::const_reverse_iterator cb1 = cs.rbegin(); in test() local
31 assert( *cb1 == s[last]); in test()
32 assert(&*cb1 == &s[last]); in test()
37 assert( b == cb1); in test()
39 assert(cb1 == cb2); in test()
/external/libcxx/test/std/strings/string.view/string.view.iterators/
Dbegin.pass.cpp25 typename S::const_iterator cb1 = cs.begin(); in test() local
31 assert( *cb1 == s[0]); in test()
32 assert(&*cb1 == &s[0]); in test()
37 assert( b == cb1); in test()
39 assert(cb1 == cb2); in test()
Drbegin.pass.cpp25 typename S::const_reverse_iterator cb1 = cs.rbegin(); in test() local
32 assert( *cb1 == s[last]); in test()
33 assert(&*cb1 == &s[last]); in test()
38 assert( b == cb1); in test()
40 assert(cb1 == cb2); in test()
/external/llvm-project/llvm/test/Transforms/Attributor/IPConstantProp/
Dmultiple_callbacks.ll12 ; void broker(int (*cb0)(int), int (*cb1)(int), int (*cb2)(int), int, int);
17 ; static int cb1(int unknown) {
34 ; broker(cb0, cb1, cb0, 0, 1);
35 ; broker(cb1, cb2, cb2, 0, 1);
59 define internal i32 @cb1(i32 %unknown) {
61 ; IS__TUNIT____-LABEL: define {{[^@]+}}@cb1
67 ; IS__CGSCC____-LABEL: define {{[^@]+}}@cb1
131 ; CHECK-NEXT: call void @broker(i32 (i32)* noundef nonnull @cb0, i32 (i32)* noundef nonnull @cb1
132 ; CHECK-NEXT: call void @broker(i32 (i32)* noundef nonnull @cb1, i32 (i32)* noundef nonnull @cb2…
140 …call void @broker(i32 (i32)* nonnull @cb0, i32 (i32)* nonnull @cb1, i32 (i32)* nonnull @cb0, i32 0…
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.constantbuffer.frag.out25 0:22 'cb1' (layout( binding=12 row_major std140) uniform block{layout( row_major std…
60 0:? 'cb1' (layout( binding=12 row_major std140) uniform block{layout( row_major std140) uniform…
93 0:22 'cb1' (layout( binding=12 row_major std140) uniform block{layout( row_major std…
128 0:? 'cb1' (layout( binding=12 row_major std140) uniform block{layout( row_major std140) uniform…
151 Name 31 "cb1"
152 MemberName 31(cb1) 0 "x"
153 Name 33 "cb1"
164 MemberDecorate 31(cb1) 0 Offset 0
165 Decorate 31(cb1) Block
166 Decorate 33(cb1) DescriptorSet 0
[all …]
Dhlsl.shift.per-set.frag.out57 0:55 cb1: direct index for structure (layout( row_major std140) uniform int)
58 …layout( set=6 binding=1 row_major std140) uniform block{layout( row_major std140) uniform int cb1})
96 …layout( set=6 binding=1 row_major std140) uniform block{layout( row_major std140) uniform int cb1})
159 0:55 cb1: direct index for structure (layout( row_major std140) uniform int)
160 …layout( set=6 binding=1 row_major std140) uniform block{layout( row_major std140) uniform int cb1})
198 …layout( set=6 binding=1 row_major std140) uniform block{layout( row_major std140) uniform int cb1})
217 cb1: offset 0, type 1404, size 1, index 4, binding -1, stages 16
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dhlsl.constantbuffer.frag.out25 0:22 'cb1' (layout( binding=12 row_major std140) uniform block{layout( row_major std…
60 0:? 'cb1' (layout( binding=12 row_major std140) uniform block{layout( row_major std140) uniform…
93 0:22 'cb1' (layout( binding=12 row_major std140) uniform block{layout( row_major std…
128 0:? 'cb1' (layout( binding=12 row_major std140) uniform block{layout( row_major std140) uniform…
151 Name 31 "cb1"
152 MemberName 31(cb1) 0 "x"
153 Name 33 "cb1"
164 MemberDecorate 31(cb1) 0 Offset 0
165 Decorate 31(cb1) Block
166 Decorate 33(cb1) DescriptorSet 0
[all …]
/external/llvm-project/flang/test/Semantics/
Dallocate12.f9040 type(B) :: cb1[5:*], cb2(*)[2, -1:*] local
49 allocate(b1%x, b2(1)%x, cb1%x, cb2(1)%x, SOURCE=xsrc)
77 allocate(cb1%x[5:*] , SOURCE=xsrc)
112 allocate(b1%x, b2(1)%x, cb1[2]%x, SOURCE=xsrc)
/external/deqp-deps/glslang/Test/
Dhlsl.constantbuffer.frag11 ConstantBuffer<c1_t> cb1 : register(b12);
22 return cb1.x + cb2[1].y + c1;
Dhlsl.automap.frag24 int cb1;
53 cb1;
Dhlsl.shift.per-set.frag26 int cb1;
55 cb1;
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dhlsl.constantbuffer.frag11 ConstantBuffer<c1_t> cb1 : register(b12);
22 return cb1.x + cb2[1].y + c1;
Dhlsl.automap.frag24 int cb1;
53 cb1;
Dhlsl.shift.per-set.frag26 int cb1;
55 cb1;
/external/mesa3d/src/gallium/tests/graw/
Dfs-test.c112 struct pipe_constant_buffer cb1; in init_fs_constbuf() local
115 memset(&cb1, 0, sizeof cb1); in init_fs_constbuf()
116 cb1.buffer_size = sizeof constants1; in init_fs_constbuf()
117 cb1.user_buffer = constants1; in init_fs_constbuf()
121 &cb1); in init_fs_constbuf()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_futures.py640 cb1 = self._make_callback(bag, 42)
644 f.add_done_callback(cb1)
648 f.remove_done_callback(cb1)
649 f.remove_done_callback(cb1)
663 cb1 = self._make_callback(bag, 42)
667 f.add_done_callback(cb1)
671 f.remove_done_callback(cb1)
673 f.remove_done_callback(cb1)
687 cb1 = self._make_callback(bag, 42)
691 f.add_done_callback(cb1)
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_variables.py78 cb1 = v.trace_variable('r', read_tracer)
80 self.assertEqual(sorted(v.trace_vinfo()), [('r', cb1), ('wu', cb2)])
92 v.trace_vdelete('w', cb1) # Wrong mode
97 v.trace_vdelete('r', (cb1, 43)) # Wrong arguments
103 v.trace_vdelete('r', cb1)
/external/libwebsockets/minimal-examples/api-tests/api-test-async-dns/
Dmain.c101 cb1(struct lws *wsi_unused, const char *ads, const struct addrinfo *a, int n,
113 adt[dtest].recordtype, cb1, NULL, in next_test_cb()
123 cb1(struct lws *wsi_unused, const char *ads, const struct addrinfo *a, int n, in cb1() function
/external/llvm-project/flang/lib/Parser/
Dmessage.cpp134 [](CharBlock cb1, CharBlock cb2) { in SortBefore() argument
135 return cb1.begin() < cb2.begin(); in SortBefore()
248 [](CharBlock cb1, CharBlock cb2) { in AtSameLocation() argument
249 return cb1.begin() == cb2.begin(); in AtSameLocation()
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_variables.py106 cb1 = v.trace_variable('r', read_tracer)
108 self.assertEqual(sorted(v.trace_vinfo()), [('r', cb1), ('wu', cb2)])
120 v.trace_vdelete('w', cb1) # Wrong mode
125 v.trace_vdelete('r', (cb1, 43)) # Wrong arguments
131 v.trace_vdelete('r', cb1)

123