Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 25 of 1867) sorted by relevance

12345678910>>...75

/external/flac/libFLAC/
Dmd5.c280 unsigned channel, sample; in format_input_() local
290 for (sample = 0; sample < samples; sample++) in format_input_()
291 *buf_++ = signal[0][sample]; in format_input_()
295 for (sample = 0; sample < samples; sample++) { in format_input_()
296 *buf_++ = signal[0][sample]; in format_input_()
297 *buf_++ = signal[1][sample]; in format_input_()
302 for (sample = 0; sample < samples; sample++) { in format_input_()
303 *buf_++ = signal[0][sample]; in format_input_()
304 *buf_++ = signal[1][sample]; in format_input_()
305 *buf_++ = signal[2][sample]; in format_input_()
[all …]
/external/libchrome/base/metrics/
Dhistogram_macros.h89 #define UMA_HISTOGRAM_SCALED_ENUMERATION(name, sample, count, scale) \ argument
91 name, sample, count, scale, \
98 #define UMA_HISTOGRAM_BOOLEAN(name, sample) \ argument
99 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddBoolean(sample), \
115 #define UMA_HISTOGRAM_EXACT_LINEAR(name, sample, value_max) \ argument
117 name, sample, value_max, base::HistogramBase::kUmaTargetedHistogramFlag)
134 #define UMA_HISTOGRAM_SCALED_EXACT_LINEAR(name, sample, count, value_max, \ argument
137 name, sample, count, value_max, scale, \
160 #define UMA_HISTOGRAM_COUNTS_100(name, sample) UMA_HISTOGRAM_CUSTOM_COUNTS( \ argument
161 name, sample, 1, 100, 50)
[all …]
Dhistogram_samples_unittest.cc18 AtomicSingleSample sample; in TEST() local
19 ASSERT_TRUE(sample.Accumulate(9, 1)); in TEST()
21 SingleSample s = sample.Load(); in TEST()
25 s = sample.Load(); in TEST()
31 AtomicSingleSample sample; in TEST() local
32 ASSERT_TRUE(sample.Accumulate(9, 1)); in TEST()
34 SingleSample s = sample.Extract(/*disable=*/false); in TEST()
38 s = sample.Extract(/*disable=*/false); in TEST()
44 AtomicSingleSample sample; in TEST() local
45 EXPECT_EQ(0U, sample.Extract(/*disable=*/false).count); in TEST()
[all …]
Dhistogram_functions.cc14 void UmaHistogramBoolean(const std::string& name, bool sample) { in UmaHistogramBoolean() argument
17 histogram->Add(sample); in UmaHistogramBoolean()
21 int sample, in UmaHistogramExactLinear() argument
26 histogram->Add(sample); in UmaHistogramExactLinear()
34 int sample, in UmaHistogramCustomCounts() argument
40 histogram->Add(sample); in UmaHistogramCustomCounts()
43 void UmaHistogramCounts100(const std::string& name, int sample) { in UmaHistogramCounts100() argument
44 UmaHistogramCustomCounts(name, sample, 1, 100, 50); in UmaHistogramCounts100()
47 void UmaHistogramCounts1000(const std::string& name, int sample) { in UmaHistogramCounts1000() argument
48 UmaHistogramCustomCounts(name, sample, 1, 1000, 50); in UmaHistogramCounts1000()
[all …]
Dhistogram_functions.h34 int sample,
53 void UmaHistogramEnumeration(const std::string& name, T sample, T enum_size) { in UmaHistogramEnumeration() argument
57 DCHECK_LT(static_cast<uintmax_t>(sample), static_cast<uintmax_t>(enum_size)); in UmaHistogramEnumeration()
58 return UmaHistogramExactLinear(name, static_cast<int>(sample), in UmaHistogramEnumeration()
65 void UmaHistogramEnumeration(const std::string& name, T sample) { in UmaHistogramEnumeration() argument
70 DCHECK_LE(static_cast<uintmax_t>(sample), in UmaHistogramEnumeration()
72 return UmaHistogramExactLinear(name, static_cast<int>(sample), in UmaHistogramEnumeration()
79 BASE_EXPORT void UmaHistogramBoolean(const std::string& name, bool sample);
91 int sample,
97 BASE_EXPORT void UmaHistogramCounts100(const std::string& name, int sample);
[all …]
Dhistogram_macros_local.h27 #define LOCAL_HISTOGRAM_BOOLEAN(name, sample) \ argument
28 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddBoolean(sample), \
44 #define LOCAL_HISTOGRAM_COUNTS_100(name, sample) \ argument
45 LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 100, 50)
47 #define LOCAL_HISTOGRAM_COUNTS_10000(name, sample) \ argument
48 LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50)
50 #define LOCAL_HISTOGRAM_COUNTS_1000000(name, sample) \ argument
51 LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 1000000, 50)
53 #define LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ argument
55 name, sample, min, max, bucket_count, base::HistogramBase::kNoFlags)
[all …]
/external/perf_data_converter/src/quipper/
Dsample_info_reader_test.cc67 perf_sample sample; in TEST() local
68 ASSERT_TRUE(reader.ReadPerfSampleInfo(event, &sample)); in TEST()
70 EXPECT_EQ(0xffffffff01234567, sample.ip); in TEST()
71 EXPECT_EQ(0x68d, sample.pid); in TEST()
72 EXPECT_EQ(0x68e, sample.tid); in TEST()
73 EXPECT_EQ(1415837014 * 1000000000ULL, sample.time); in TEST()
74 EXPECT_EQ(0x00007f999c38d15a, sample.addr); in TEST()
75 EXPECT_EQ(2, sample.id); in TEST()
76 EXPECT_EQ(1, sample.stream_id); in TEST()
77 EXPECT_EQ(8, sample.cpu); in TEST()
[all …]
Dsample_info_reader.cc44 struct perf_sample* sample) { in ReadReadInfo() argument
45 reader->ReadUint64(&sample->read.one.value); in ReadReadInfo()
47 reader->ReadUint64(&sample->read.time_enabled); in ReadReadInfo()
49 reader->ReadUint64(&sample->read.time_running); in ReadReadInfo()
50 if (read_format & PERF_FORMAT_ID) reader->ReadUint64(&sample->read.one.id); in ReadReadInfo()
56 struct perf_sample* sample) { in ReadGroupReadInfo() argument
60 reader->ReadUint64(&sample->read.time_enabled); in ReadGroupReadInfo()
62 reader->ReadUint64(&sample->read.time_running); in ReadGroupReadInfo()
66 CHECK_EQ(static_cast<void*>(NULL), sample->read.group.values); in ReadGroupReadInfo()
72 sample->read.group.nr = num; in ReadGroupReadInfo()
[all …]
Dperf_serializer.cc348 const event_t& event, PerfDataProto_SampleEvent* sample) const { in SerializeSampleEvent()
354 if (sample_type & PERF_SAMPLE_IP) sample->set_ip(sample_info.ip); in SerializeSampleEvent()
356 sample->set_pid(sample_info.pid); in SerializeSampleEvent()
357 sample->set_tid(sample_info.tid); in SerializeSampleEvent()
360 sample->set_sample_time_ns(sample_info.time); in SerializeSampleEvent()
361 if (sample_type & PERF_SAMPLE_ADDR) sample->set_addr(sample_info.addr); in SerializeSampleEvent()
363 sample->set_id(sample_info.id); in SerializeSampleEvent()
365 sample->set_stream_id(sample_info.stream_id); in SerializeSampleEvent()
366 if (sample_type & PERF_SAMPLE_CPU) sample->set_cpu(sample_info.cpu); in SerializeSampleEvent()
367 if (sample_type & PERF_SAMPLE_PERIOD) sample->set_period(sample_info.period); in SerializeSampleEvent()
[all …]
/external/webrtc/webrtc/system_wrappers/include/
Dmetrics.h65 #define RTC_HISTOGRAM_COUNTS_100(name, sample) \ argument
66 RTC_HISTOGRAM_COUNTS(name, sample, 1, 100, 50)
68 #define RTC_HISTOGRAM_COUNTS_200(name, sample) \ argument
69 RTC_HISTOGRAM_COUNTS(name, sample, 1, 200, 50)
71 #define RTC_HISTOGRAM_COUNTS_1000(name, sample) \ argument
72 RTC_HISTOGRAM_COUNTS(name, sample, 1, 1000, 50)
74 #define RTC_HISTOGRAM_COUNTS_10000(name, sample) \ argument
75 RTC_HISTOGRAM_COUNTS(name, sample, 1, 10000, 50)
77 #define RTC_HISTOGRAM_COUNTS_100000(name, sample) \ argument
78 RTC_HISTOGRAM_COUNTS(name, sample, 1, 100000, 50)
[all …]
/external/flatbuffers/samples/
Dsample_binary.go22 sample "MyGame/Sample" packageName
36 sample.WeaponStart(builder)
37 sample.WeaponAddName(builder, weaponOne)
38 sample.WeaponAddDamage(builder, 3)
39 sword := sample.WeaponEnd(builder)
41 sample.WeaponStart(builder)
42 sample.WeaponAddName(builder, weaponTwo)
43 sample.WeaponAddDamage(builder, 5)
44 axe := sample.WeaponEnd(builder)
49 sample.MonsterStartInventoryVector(builder, 10)
[all …]
/external/perf_data_converter/src/
Dperf_data_converter.cc59 ExecutionMode PerfExecMode(const PerfDataHandler::SampleContext& sample) { in PerfExecMode() argument
60 if (sample.header.has_misc()) { in PerfExecMode()
61 switch (sample.header.misc() & PERF_RECORD_MISC_CPUMODE_MASK) { in PerfExecMode()
210 void Sample(const PerfDataHandler::SampleContext& sample) override;
255 SampleKey MakeSampleKey(const PerfDataHandler::SampleContext& sample,
259 const PerfDataHandler::SampleContext& sample);
289 const PerfDataHandler::SampleContext& sample, ProfileBuilder* builder) { in MakeSampleKey() argument
291 sample_key.pid = sample.sample.has_pid() ? sample.sample.pid() : 0; in MakeSampleKey()
293 (IncludeTidLabels() && sample.sample.has_tid()) ? sample.sample.tid() : 0; in MakeSampleKey()
295 (IncludeTimestampNsLabels() && sample.sample.has_sample_time_ns()) in MakeSampleKey()
[all …]
/external/libevent/sample/
Dinclude.am1 # sample/include.am for libevent
8 sample/dns-example \
9 sample/event-read-fifo \
10 sample/hello-world \
11 sample/http-server \
12 sample/http-connect \
13 sample/signal-test \
14 sample/time-test
17 SAMPLES += sample/le-proxy
18 sample_le_proxy_SOURCES = sample/le-proxy.c
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dconvert_to_argb.cc42 int ConvertToARGB(const uint8_t* sample, in ConvertToARGB() argument
68 (rotation && format != FOURCC_ARGB) || dst_argb == sample; in ConvertToARGB()
74 if (dst_argb == NULL || sample == NULL || src_width <= 0 || crop_width <= 0 || in ConvertToARGB()
95 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
100 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
105 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
110 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
116 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
122 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
127 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
[all …]
Dconvert_to_i420.cc28 int ConvertToI420(const uint8_t* sample, in ConvertToI420() argument
55 dst_y == sample; in ConvertToI420()
66 if (!dst_y || !dst_u || !dst_v || !sample || src_width <= 0 || in ConvertToI420()
93 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
99 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
105 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
111 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
117 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
123 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
129 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
[all …]
/external/libaom/libaom/third_party/libyuv/source/
Dconvert_to_argb.cc32 int ConvertToARGB(const uint8* sample, size_t sample_size, in ConvertToARGB() argument
53 crop_argb == sample; in ConvertToARGB()
59 if (crop_argb == NULL || sample == NULL || in ConvertToARGB()
81 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
87 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
93 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
99 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
105 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
111 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
117 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
[all …]
Dconvert_to_i420.cc28 int ConvertToI420(const uint8* sample, in ConvertToI420() argument
47 format != FOURCC_YU12 && format != FOURCC_YV12) || y == sample; in ConvertToI420()
57 if (!y || !u || !v || !sample || in ConvertToI420()
88 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
96 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
104 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
112 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
120 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
128 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
136 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SampleProfile/
Dsyntax.ll1 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck -check-…
2 ; RUN: not opt < %s -sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -check-prefi…
3 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_fn_header.prof 2>&1 | FileCh…
4 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_sample_line.prof 2>&1 | File…
5 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_line_values.prof 2>&1 | File…
6 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_discriminator_value.prof 2>&…
7 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_samples.prof 2>&1 | FileChec…
8 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_mangle.prof 2>&1 >/dev/null
10 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck …
11 ; RUN: not opt < %s -passes=sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -chec…
[all …]
/external/llvm/test/Transforms/SampleProfile/
Dsyntax.ll1 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck -check-…
2 ; RUN: not opt < %s -sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -check-prefi…
3 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_fn_header.prof 2>&1 | FileCh…
4 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_sample_line.prof 2>&1 | File…
5 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_line_values.prof 2>&1 | File…
6 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_discriminator_value.prof 2>&…
7 ; RUN: not opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_samples.prof 2>&1 | FileChec…
8 ; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/bad_mangle.prof 2>&1 >/dev/null
10 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/syntax.prof 2>&1 | FileCheck …
11 ; RUN: not opt < %s -passes=sample-profile -sample-profile-file=missing.prof 2>&1 | FileCheck -chec…
[all …]
/external/libyuv/files/source/
Dconvert_to_argb.cc32 int ConvertToARGB(const uint8* sample, in ConvertToARGB() argument
58 (rotation && format != FOURCC_ARGB) || crop_argb == sample; in ConvertToARGB()
64 if (crop_argb == NULL || sample == NULL || src_width <= 0 || in ConvertToARGB()
85 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
90 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB()
95 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
100 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB()
106 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
112 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
117 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB()
[all …]
Dconvert_to_i420.cc28 int ConvertToI420(const uint8* sample, in ConvertToI420() argument
55 y == sample; in ConvertToI420()
66 if (!y || !u || !v || !sample || src_width <= 0 || crop_width <= 0 || in ConvertToI420()
93 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
98 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420()
103 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
108 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
113 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420()
118 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
123 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420()
[all …]
/external/aac/libPCMutils/src/
Dpcm_utils.cpp112 for (UINT sample = 0; sample < length; sample++) { in FDK_interleave() local
113 const FIXP_DBL *In = &pIn[sample]; in FDK_interleave()
124 for (UINT sample = 0; sample < length; sample++) { in FDK_interleave() local
125 const FIXP_DBL *In = &pIn[sample]; in FDK_interleave()
136 for (UINT sample = 0; sample < length; sample++) { in FDK_interleave() local
137 const FIXP_SGL *In = &pIn[sample]; in FDK_interleave()
151 for (UINT sample = 0; sample < frameSize; sample++) { in FDK_deinterleave() local
164 for (UINT sample = 0; sample < frameSize; sample++) { in FDK_deinterleave() local
177 for (UINT sample = 0; sample < frameSize; sample++) { in FDK_deinterleave() local
190 for (UINT sample = 0; sample < frameSize; sample++) { in FDK_deinterleave() local
/external/guava/guava-tests/test/com/google/common/base/
DThrowablesTest.java38 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_NoneThrown() local
50 sample.noneDeclared(); in testPropagateIfPossible_NoneDeclared_NoneThrown()
54 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_UncheckedThrown() local
67 sample.noneDeclared(); in testPropagateIfPossible_NoneDeclared_UncheckedThrown()
74 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_UndeclaredThrown() local
87 sample.noneDeclared(); in testPropagateIfPossible_NoneDeclared_UndeclaredThrown()
95 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_NoneThrown() local
109 sample.oneDeclared(); in testPropagateIfPossible_OneDeclared_NoneThrown()
114 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_UncheckedThrown() local
127 sample.oneDeclared(); in testPropagateIfPossible_OneDeclared_UncheckedThrown()
[all …]
/external/llvm/test/tools/llvm-profdata/
Dweight-sample.test1 Tests for weighted merge of sample profiles.
4 … llvm-profdata merge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext -weighte…
5 RUN: llvm-profdata merge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext %p/In…
24 … llvm-profdata merge -sample -text -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighte…
43 …not llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-i…
44 …t llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-inp…
45 …ot llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-in…
46 …not llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-i…
47 … not llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-…
51 RUN: not llvm-profdata merge -sample -weighted-input=3,%p/Inputs/does-not-exist.proftext -weighted-…
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-profdata/
Dweight-sample.test1 Tests for weighted merge of sample profiles.
4 … llvm-profdata merge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext -weighte…
5 RUN: llvm-profdata merge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext %p/In…
24 … llvm-profdata merge -sample -text -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighte…
43 …not llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-i…
44 …t llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-inp…
45 …ot llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-in…
46 …not llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-i…
47 … not llvm-profdata merge -sample -weighted-input=3,%p/Inputs/weight-sample-bar.proftext -weighted-…
51 RUN: not llvm-profdata merge -sample -weighted-input=3,%p/Inputs/does-not-exist.proftext -weighted-…
[all …]

12345678910>>...75