Home
last modified time | relevance | path

Searched refs:num_events (Results 1 – 25 of 64) sorted by relevance

123

/external/libvpx/vp9/encoder/
Dvp9_treewriter.c36 const unsigned int num_events[]) { in convert_distribution() argument
40 left = num_events[-tree[i]]; in convert_distribution()
42 left = convert_distribution(tree[i], tree, branch_ct, num_events); in convert_distribution()
45 right = num_events[-tree[i + 1]]; in convert_distribution()
47 right = convert_distribution(tree[i + 1], tree, branch_ct, num_events); in convert_distribution()
56 const unsigned int num_events[/* n */]) { in vp9_tree_probs_from_distribution()
57 convert_distribution(0, tree, branch_ct, num_events); in vp9_tree_probs_from_distribution()
Dvp9_treewriter.h22 const unsigned int num_events[/* n */]);
/external/ltp/testcases/kernel/connectors/pec/
Dcn_pec.sh22 num_events=10
40 n) num_events=$2;;
75 tst_res TINFO "Testing $2 event (nevents=$num_events)"
77 event_generator -n $num_events -e $event -c $GENERATOR_ID >gen.log &
136 if [ $act_nevents -ne $num_events ]; then
137 tst_res TBROK "Expected $num_events, but $act_nevents generated"
/external/cronet/components/metrics/structured/
Dhistogram_util.cc20 void LogNumEventsInUpload(const int num_events) { in LogNumEventsInUpload() argument
22 num_events); in LogNumEventsInUpload()
34 void LogNumEventsRecordedBeforeInit(int num_events) { in LogNumEventsRecordedBeforeInit() argument
36 num_events); in LogNumEventsRecordedBeforeInit()
Dhistogram_util.h66 void LogNumEventsInUpload(int num_events);
74 void LogNumEventsRecordedBeforeInit(int num_events);
/external/libcups/scheduler/
Dtestsub.c47 int num_events; /* Number of events */ in main() local
65 num_events = 0; in main()
74 if (i >= argc || num_events >= 100) in main()
77 events[num_events] = argv[i]; in main()
78 num_events ++; in main()
96 if (num_events == 0) in main()
99 num_events = 1; in main()
152 num_events, NULL, events); in main()
/external/libvpx/vp8/common/
Dtreecoder.c46 const unsigned int num_events[/* n */]) { in branch_counts()
61 const unsigned int ct = num_events[t]; in branch_counts()
82 const unsigned int num_events[/* n */], in vp8_tree_probs_from_distribution()
87 branch_counts(n, tok, tree, branch_ct, num_events); in vp8_tree_probs_from_distribution()
Dtreecoder.h66 const unsigned int num_events[/* n */],
75 const unsigned int num_events[/* n */],
/external/vboot_reference/tests/
Dvboot_api_devmode_tests.c44 int num_events; member
313 max_events = test[i].num_events; in VbBootDeveloperSoundTest()
317 matched_events, current_event, test[i].num_events)); in VbBootDeveloperSoundTest()
318 TEST_TRUE(matched_events == test[i].num_events && in VbBootDeveloperSoundTest()
319 current_event == test[i].num_events, test[i].name); in VbBootDeveloperSoundTest()
/external/ltp/testcases/kernel/input/
Dinput06.c41 static int num_events; variable
133 num_events = rd / sizeof(struct input_event); in read_events()
138 return num_events && ev_iter < num_events; in have_events()
/external/cronet/base/test/
Dtrace_event_analyzer_unittest.cc820 size_t num_events = 100; in TEST_F() local
829 events.resize(num_events); in TEST_F()
832 size_t bam_index = num_events/2; in TEST_F()
852 EXPECT_EQ(num_events - 1, index); in TEST_F()
853 EXPECT_TRUE(FindLastOf(event_ptrs, Query::Bool(true), num_events - 5, in TEST_F()
855 EXPECT_EQ(num_events - 5, index); in TEST_F()
858 EXPECT_TRUE(FindLastOf(event_ptrs, query_bam, num_events, &index)); in TEST_F()
872 size_t num_events = 5; in TEST_F() local
874 events.resize(num_events); in TEST_F()
911 size_t num_events = 5; in TEST_F() local
[all …]
/external/libchrome/base/test/
Dtrace_event_analyzer_unittest.cc816 size_t num_events = 100; in TEST_F() local
825 events.resize(num_events); in TEST_F()
828 size_t bam_index = num_events/2; in TEST_F()
848 EXPECT_EQ(num_events - 1, index); in TEST_F()
849 EXPECT_TRUE(FindLastOf(event_ptrs, Query::Bool(true), num_events - 5, in TEST_F()
851 EXPECT_EQ(num_events - 5, index); in TEST_F()
854 EXPECT_TRUE(FindLastOf(event_ptrs, query_bam, num_events, &index)); in TEST_F()
868 size_t num_events = 5; in TEST_F() local
870 events.resize(num_events); in TEST_F()
907 size_t num_events = 5; in TEST_F() local
[all …]
/external/tensorflow/tensorflow/core/profiler/backends/gpu/
Dcupti_wrapper.cc126 CUpti_EventDomainID event_domain, uint32_t* num_events) { in EventDomainGetNumEvents() argument
127 return cuptiEventDomainGetNumEvents(event_domain, num_events); in EventDomainGetNumEvents()
202 uint32_t* num_events) { in MetricGetNumEvents() argument
203 return cuptiMetricGetNumEvents(metric, num_events); in MetricGetNumEvents()
Dcupti_collector.cc337 size_t num_events = events_.size(); in Flush() local
339 return num_events; in Flush()
514 void OnEventsDropped(const std::string& reason, uint32 num_events) override { in OnEventsDropped() argument
516 dropped_events_[reason] += num_events; in OnEventsDropped()
524 size_t num_events = 0; in Export() local
538 num_events += per_device_collector_[device_ordinal].Flush( in Export()
543 return num_events > 0; in Export()
Dcupti_interface.h106 uint32_t* num_events) = 0;
156 uint32_t* num_events) = 0;
Dcupti_wrapper.h103 uint32_t* num_events) override;
149 uint32_t* num_events) override;
Dcupti_error_manager.cc271 CUpti_EventDomainID event_domain, uint32_t* num_events) { in EventDomainGetNumEvents() argument
274 interface_->EventDomainGetNumEvents(event_domain, num_events); in EventDomainGetNumEvents()
397 uint32_t* num_events) { in MetricGetNumEvents() argument
399 CUptiResult error = interface_->MetricGetNumEvents(metric, num_events); in MetricGetNumEvents()
Dcupti_error_manager.h134 uint32_t* num_events) override;
195 uint32_t* num_events) override;
Dmock_cupti.h91 (CUpti_EventDomainID event_domain, uint32_t* num_events),
135 (CUpti_MetricID metric, uint32_t* num_events), (override));
/external/tensorflow/tensorflow/core/profiler/utils/
Dgroup_events_test.cc418 int num_events = 0; in TEST() local
421 num_events += line.NumEvents(); in TEST()
433 EXPECT_EQ(num_events, 3); in TEST()
459 int num_events = 0; in TEST() local
462 num_events += line.NumEvents(); in TEST()
478 EXPECT_EQ(num_events, 3); in TEST()
504 int num_events = 0; in TEST() local
507 num_events += line.NumEvents(); in TEST()
523 EXPECT_EQ(num_events, 3); in TEST()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source.cc227 size_t num_events = 0; in ReadLogSocket() local
231 num_events++; in ReadLogSocket()
236 if (num_events > 500) { in ReadLogSocket()
308 if (num_events > 3) in ReadLogSocket()
309 PERFETTO_DLOG("Seen %zu Android log events", num_events); in ReadLogSocket()
/external/libpcap/rpcapd/
Drpcapd.c854 DWORD num_events; in accept_connections() local
864 num_events = 1; // shutdown event in accept_connections()
868 if (num_events == WSA_MAXIMUM_WAIT_EVENTS) in accept_connections()
878 num_events++; in accept_connections()
884 events = (WSAEVENT *) malloc(num_events * sizeof (WSAEVENT)); in accept_connections()
929 ret = WSAWaitForMultipleEvents(num_events, events, FALSE, in accept_connections()
/external/crosvm/gpu_display/src/
Devent_device.rs110 fn can_buffer_events(&self, num_events: usize) -> bool { in can_buffer_events()
111 let event_bytes = match EVENT_SIZE.checked_mul(num_events) { in can_buffer_events()
/external/grpc-grpc/src/core/lib/iomgr/
Dev_epoll1_linux.cc81 gpr_atm num_events; member
117 gpr_atm_no_barrier_store(&g_epoll_set.num_events, 0); in epoll_set_init()
651 long num_events = gpr_atm_acq_load(&g_epoll_set.num_events); in process_epoll_events() local
654 (idx < MAX_EPOLL_EVENTS_HANDLED_PER_ITERATION) && cursor != num_events; in process_epoll_events()
723 gpr_atm_rel_store(&g_epoll_set.num_events, r); in do_epoll_wait()
1028 gpr_atm_acq_load(&g_epoll_set.num_events)) { in pollset_work()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dev_epoll1_linux.cc87 gpr_atm num_events; member
123 gpr_atm_no_barrier_store(&g_epoll_set.num_events, 0); in epoll_set_init()
671 long num_events = gpr_atm_acq_load(&g_epoll_set.num_events); in process_epoll_events() local
674 (idx < MAX_EPOLL_EVENTS_HANDLED_PER_ITERATION) && cursor != num_events; in process_epoll_events()
743 gpr_atm_rel_store(&g_epoll_set.num_events, r); in do_epoll_wait()
1051 gpr_atm_acq_load(&g_epoll_set.num_events)) { in pollset_work()

123