Home
last modified time | relevance | path

Searched refs:event1 (Results 1 – 25 of 30) sorted by relevance

12

/external/oss-fuzz/projects/libyaml/
Dlibyaml_emitter_fuzzer.c30 bool events_equal(yaml_event_t *event1, yaml_event_t *event2) { in events_equal() argument
34 if (event1->type != event2->type) in events_equal()
37 switch (event1->type) { in events_equal()
42 if ((event1->data.document_start.version_directive && in events_equal()
44 (!event1->data.document_start.version_directive && in events_equal()
46 (event1->data.document_start.version_directive && in events_equal()
48 (event1->data.document_start.version_directive->major != in events_equal()
50 event1->data.document_start.version_directive->minor != in events_equal()
53 if ((event1->data.document_start.tag_directives.end - in events_equal()
54 event1->data.document_start.tag_directives.start) != in events_equal()
[all …]
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_module.tc26 test -d events/kprobes/event1 || exit_failure
31 test -d events/kprobes1/event1 || exit_failure
38 test -d events/kprobes1/event1
44 echo 1 > events/kprobes1/event1/enable
52 echo 0 > events/kprobes1/event1/enable
Dkprobe_eventname.tc18 test -d events/kprobes/event1 || exit_failure
/external/tensorflow/tensorflow/core/profiler/convert/
Dxplane_to_trace_events_test.cc34 XEventBuilder event1 = in CreateXSpace() local
36 event1.SetTimestampNs(150000); in CreateXSpace()
37 event1.SetDurationNs(10000); in CreateXSpace()
38 event1.AddStatValue(*host_plane.GetOrCreateStatMetadata("tf_op"), in CreateXSpace()
Dxplane_to_profile_response_test.cc38 XEventBuilder event1 = in CreateXSpace() local
40 event1.SetTimestampNs(150000); in CreateXSpace()
41 event1.SetDurationNs(10000); in CreateXSpace()
42 event1.AddStatValue(*host_plane.GetOrCreateStatMetadata("tf_op"), in CreateXSpace()
/external/webrtc/modules/audio_coding/neteq/
Ddtmf_buffer_unittest.cc191 DtmfEvent event1(timestamp, event_no, volume, duration, end_bit); in TEST() local
193 EXPECT_EQ(DtmfBuffer::kOK, buffer.InsertEvent(event1)); in TEST()
199 EXPECT_TRUE(EqualEvents(event1, out_event)); in TEST()
204 EXPECT_TRUE(EqualEvents(event1, out_event)); in TEST()
232 DtmfEvent event1(timestamp1, event_no, volume, duration, end_bit); in TEST() local
236 EXPECT_EQ(DtmfBuffer::kOK, buffer.InsertEvent(event1)); in TEST()
241 EXPECT_TRUE(EqualEvents(event1, out_event)); in TEST()
251 EXPECT_EQ(DtmfBuffer::kOK, buffer.InsertEvent(event1)); in TEST()
254 EXPECT_TRUE(EqualEvents(event1, out_event)); in TEST()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
DActivityFlinger.java129 … public boolean onFling(MotionEvent event1, MotionEvent event2, float velocityX, float velocityY) { in onFling() argument
130 if (Math.abs(event1.getY() - event2.getY()) > SWIPE_MAX_OFF_PATH) { in onFling()
133 if (event1.getX() - event2.getX() > SWIPE_MIN_DISTANCE in onFling()
138 } else if (event2.getX() - event1.getX() > SWIPE_MIN_DISTANCE in onFling()
144 return super.onFling(event1, event2, velocityX, velocityY); in onFling()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java54 Event event1 = iter1.next(); in compareEvents() local
56 assertEquals(event1.getClass(), event2.getClass()); in compareEvents()
57 if (event1 instanceof AliasEvent && full) { in compareEvents()
58 assertEquals(((AliasEvent) event1).getAnchor(), ((AliasEvent) event2).getAnchor()); in compareEvents()
60 if (event1 instanceof CollectionStartEvent) { in compareEvents()
61 String tag1 = ((CollectionStartEvent) event1).getTag(); in compareEvents()
62 String tag2 = ((CollectionStartEvent) event1).getTag(); in compareEvents()
67 if (event1 instanceof ScalarEvent) { in compareEvents()
68 ScalarEvent scalar1 = (ScalarEvent) event1; in compareEvents()
/external/OpenCL-CTS/test_conformance/device_execution/
Dhost_queue_order.cpp155 cl_event event1 = clCreateUserEvent(context, &err_ret); in test_host_queue_order() local
158 err_ret = clEnqueueNDRangeKernel(queue, kernel1, 1, NULL, &size, &size, 1, &event1, NULL); in test_host_queue_order()
171 err_ret = clSetUserEventStatus(event1, CL_COMPLETE); in test_host_queue_order()
186 clReleaseEvent(event1); in test_host_queue_order()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_config_muxer_unittest.cc251 Event event1; in TEST_F() local
252 event1.name = "foo"; in TEST_F()
253 event1.group = "group_one"; in TEST_F()
254 event1.ftrace_event_id = kEventId1; in TEST_F()
256 .WillByDefault(Return(&event1)); in TEST_F()
364 Event event1; in TEST_F() local
365 event1.name = "foo"; in TEST_F()
366 event1.group = "group_one"; in TEST_F()
367 event1.ftrace_event_id = kEventId1; in TEST_F()
369 .WillByDefault(Return(&event1)); in TEST_F()
/external/python/cpython3/Lib/test/
Dtest_sched.py103 event1 = scheduler.enterabs(now + 0.01, 1, fun, (0.01,))
108 scheduler.cancel(event1)
119 event1 = scheduler.enterabs(now + 1, 1, fun, (1,))
Dtest_kqueue.py198 event1 = select.kevent(a, select.KQ_FILTER_READ, select.KQ_EV_ADD | select.KQ_EV_ENABLE)
200 r = kq.control([event1, event2], 1, 1)
/external/webrtc/rtc_base/
Doperations_chain_unittest.cc244 Event event1; in TEST() local
246 operation_tracker.BindSynchronousOperation(&event1)); in TEST()
247 EXPECT_TRUE(event1.Wait(0)); in TEST()
/external/perfetto/test/trace_processor/track_event/
Dtrack_event_with_atrace.out2 "[NULL]","[NULL]","t1","[NULL]",10000,1000,"cat","event1"
Dtrack_event_with_atrace.textproto28 name: "event1"
/external/clang/test/SemaCXX/
Dflexible-array-test.cpp38 inotify_event event1 = *ptr; in foo() local
/external/llvm-project/clang/test/SemaCXX/
Dflexible-array-test.cpp38 inotify_event event1 = *ptr; in foo() local
/external/python/cpython2/Lib/test/
Dtest_kqueue.py200 event1 = select.kevent(a, select.KQ_FILTER_READ, select.KQ_EV_ADD | select.KQ_EV_ENABLE)
202 r = kq.control([event1, event2], 1, 1)
/external/libchrome/ipc/
Dipc_sync_channel_unittest.cc1611 WaitableEvent event1(base::WaitableEvent::ResetPolicy::AUTOMATIC, in TEST_F() local
1617 WaitableEvent* events[4] = {&event0, &event1, &event2, &event3}; in TEST_F()
1657 WaitableEvent* event1, in RestrictedDispatchPipeWorker() argument
1663 event1_(event1), in RestrictedDispatchPipeWorker()
1742 WaitableEvent event1(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F() local
1750 std::move(pipe0.handle0), &event0, std::move(pipe1.handle1), &event1, 1, in TEST_F()
1753 std::move(pipe1.handle0), &event1, std::move(pipe2.handle1), &event2, 2, in TEST_F()
/external/tensorflow/tensorflow/core/profiler/utils/
Dxplane_utils_test.cc131 const XEvent* event1 = line.add_events(); in TEST() local
135 RemoveEvents(&line, {event1, event3}); in TEST()
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dbernoulli_test.py159 event1 = [1, 0, 1]
162 dist.prob(event1).eval({
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc1677 const TraceEvent* event1 = tracer->GetEventByHandle(handle1); in TEST_F() local
1679 ASSERT_TRUE(event1); in TEST_F()
1681 EXPECT_STREQ("name1", event1->name()); in TEST_F()
1683 EXPECT_TRUE(event1->parameter_copy_storage() != nullptr); in TEST_F()
1685 EXPECT_GT(event1->parameter_copy_storage()->size(), 0u); in TEST_F()
1710 const TraceEvent* event1 = tracer->GetEventByHandle(handle1); in TEST_F() local
1712 ASSERT_TRUE(event1); in TEST_F()
1714 EXPECT_STREQ("name1", event1->name()); in TEST_F()
1716 EXPECT_TRUE(event1->parameter_copy_storage() == nullptr); in TEST_F()
Dheap_profiler_allocation_context_tracker_unittest.cc319 TRACE_HEAP_PROFILER_API_SCOPED_TASK_EXECUTION event1(kContext1); in TEST_F() local
/external/llvm-project/openmp/runtime/src/
Dkmp_stats.cpp364 int compare_two_events(const void *event1, const void *event2) { in compare_two_events() argument
365 const kmp_stats_event *ev1 = RCAST(const kmp_stats_event *, event1); in compare_two_events()
/external/webrtc/pc/
Dpeer_connection_jsep_unittest.cc1509 const auto& event1 = track_events[0]; in TEST_F() local
1511 ASSERT_EQ(1u, event1.streams.size()); in TEST_F()
1512 auto stream = event1.streams[0]; in TEST_F()
1514 auto track1 = event1.receiver->track(); in TEST_F()
1516 EXPECT_THAT(event1.snapshotted_stream_tracks.at(stream), in TEST_F()

12