/external/linux-kselftest/tools/testing/selftests/tc-testing/tc-tests/actions/ |
D | sample.json | 4 "name": "Add valid sample action with mandatory arguments", 7 "sample" 11 "$TC actions flush action sample", 17 "cmdUnderTest": "$TC actions add action sample rate 10 group 1 index 2", 19 "verifyCmd": "$TC actions get action sample index 2", 20 "matchPattern": "action order [0-9]+: sample rate 1/10 group 1.*index 2 ref", 23 "$TC actions flush action sample" 28 "name": "Add valid sample action with mandatory arguments and continue control action", 31 "sample" 35 "$TC actions flush action sample", [all …]
|
/external/autotest/client/deps/libnet/ |
D | libnet.tar.gz | ... c
libnet/sample/arp.c
libnet/sample/bgp4_hdr.c
libnet/sample/bgp4_notification. ... |
/external/perf_data_converter/src/quipper/ |
D | perf_serializer.cc | 348 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 …]
|
D | sample_info_reader.cc | 41 // Read read info from perf data. Corresponds to sample format type 44 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() 53 // Read read info from perf data. Corresponds to sample format type 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() [all …]
|
D | sample_info_reader_test.cc | 67 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 …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | ThrowablesTest.java | 38 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/flac/libFLAC/ |
D | md5.c | 280 unsigned channel, sample; in format_input_() local 288 /* One byte per sample. */ in format_input_() 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_() [all …]
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | metrics.h | 24 // RTC_HISTOGRAM_COUNTS(name, sample, min, max, bucket_count); 27 // The boundary should be above the max enumerator sample. 28 // RTC_HISTOGRAM_ENUMERATION(name, sample, boundary); 38 // const std::string& name, int sample, int min, int max, 41 // const std::string& name, int sample, int boundary); 43 // Histogram* histogram_pointer, const std::string& name, int sample); 65 #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) [all …]
|
/external/libchrome/base/metrics/ |
D | histogram_samples_unittest.cc | 18 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 …]
|
D | histogram_functions.cc | 14 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 …]
|
D | histogram_macros.h | 35 // You should be defining an associated Enum, and the input sample should be 40 // histogram name and the enum sample. It deduces the correct boundary value to 45 // Sample usage: 61 // Sample usage: 89 #define UMA_HISTOGRAM_SCALED_ENUMERATION(name, sample, count, scale) \ argument 91 name, sample, count, scale, \ 96 // Sample usage: 98 #define UMA_HISTOGRAM_BOOLEAN(name, sample) \ argument 99 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddBoolean(sample), \ 113 // Sample usage: [all …]
|
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/ |
D | blocking_observable.cpp | 6 SCENARIO("blocking first sample"){ 7 printf("//! [blocking first sample]\n"); 11 printf("//! [blocking first sample]\n"); 14 SCENARIO("blocking first empty sample"){ 15 printf("//! [blocking first empty sample]\n"); 23 printf("//! [blocking first empty sample]\n"); 26 SCENARIO("blocking first error sample"){ 27 printf("//! [blocking first error sample]\n"); 36 printf("//! [blocking first error sample]\n"); 39 SCENARIO("blocking last sample"){ [all …]
|
D | math.cpp | 6 SCENARIO("first sample"){ 7 printf("//! [first sample]\n"); 13 printf("//! [first sample]\n"); 17 SCENARIO("first empty sample"){ 18 printf("//! [first empty sample]\n"); 30 printf("//! [first empty sample]\n"); 34 SCENARIO("last sample"){ 35 printf("//! [last sample]\n"); 41 printf("//! [last sample]\n"); 45 SCENARIO("last empty sample"){ [all …]
|
/external/perf_data_converter/src/ |
D | perf_data_converter.cc | 59 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() 106 // required to uniquely identify a Sample: if two Samples you consider different 115 // The index of the sample's command in the profile's string table. 144 // can be thread-specific. If the requested sample labels include PID and 145 // TID, we'll need to maintain separate profile sample objects for samples 146 // that are identical except for TID. Likewise, if the requested sample 149 typedef std::unordered_map<SampleKey, perftools::profiles::Sample*, 160 // object is created per, say, each sample), so using the pointers is OK. [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SampleProfile/ |
D | syntax.ll | 1 ; 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/ |
D | syntax.ll | 1 ; 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/libevent/sample/ |
D | include.am | 1 # 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/flatbuffers/samples/ |
D | sample_binary.py | 26 import MyGame.Sample.Color 27 import MyGame.Sample.Equipment 28 import MyGame.Sample.Monster 29 import MyGame.Sample.Vec3 30 import MyGame.Sample.Weapon 41 MyGame.Sample.Weapon.WeaponStart(builder) 42 MyGame.Sample.Weapon.WeaponAddName(builder, weapon_one) 43 MyGame.Sample.Weapon.WeaponAddDamage(builder, 3) 44 sword = MyGame.Sample.Weapon.WeaponEnd(builder) 46 MyGame.Sample.Weapon.WeaponStart(builder) [all …]
|
D | samplebinary.js | 31 MyGame.Sample.Weapon.startWeapon(builder); 32 MyGame.Sample.Weapon.addName(builder, weaponOne); 33 MyGame.Sample.Weapon.addDamage(builder, 3); 34 var sword = MyGame.Sample.Weapon.endWeapon(builder); 36 MyGame.Sample.Weapon.startWeapon(builder); 37 MyGame.Sample.Weapon.addName(builder, weaponTwo); 38 MyGame.Sample.Weapon.addDamage(builder, 5); 39 var axe = MyGame.Sample.Weapon.endWeapon(builder); 45 var inv = MyGame.Sample.Monster.createInventoryVector(builder, treasure); 48 var weapons = MyGame.Sample.Monster.createWeaponsVector(builder, weaps); [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/ |
D | TTestImpl.java | 65 * Computes a paired, 2-sample t-statistic based on the data in the input 67 * computing the one-sample t-statistic {@link #t(double, double[])}, with 68 * <code>mu = 0</code> and the sample array consisting of the (signed) 77 * @param sample1 array of sample data values 78 * @param sample2 array of sample data values 96 * <i> p-value</i>, associated with a paired, two-sample, two-tailed t-test 105 * This test is equivalent to a one-sample t-test computed using 106 * {@link #tTest(double, double[])} with <code>mu = 0</code> and the sample 121 * @param sample1 array of sample data values 122 * @param sample2 array of sample data values [all …]
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_to_argb.cc | 26 // Convert camera sample to ARGB with cropping, rotation and vertical flip. 42 int ConvertToARGB(const uint8_t* sample, in ConvertToARGB() argument 65 // For in-place conversion, if destination dst_argb is same as source sample, in ConvertToARGB() 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() [all …]
|
/external/libaom/libaom/third_party/libyuv/source/ |
D | convert_to_argb.cc | 26 // Convert camera sample to I420 with cropping, rotation and vertical flip. 32 int ConvertToARGB(const uint8* sample, size_t sample_size, in ConvertToARGB() argument 50 // For in-place conversion, if destination crop_argb is same as source sample, in ConvertToARGB() 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() [all …]
|
/external/libyuv/files/source/ |
D | convert_to_argb.cc | 26 // Convert camera sample to ARGB with cropping, rotation and vertical flip. 32 int ConvertToARGB(const uint8* sample, in ConvertToARGB() argument 55 // For in-place conversion, if destination crop_argb is same as source sample, in ConvertToARGB() 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() [all …]
|
/external/skia/samplecode/ |
D | Sample.cpp | 8 #include "Sample.h" 20 Sample::Event::Event() : Event("") {} in Event() 22 Sample::Event::Event(const Event& that) { in Event() 26 Sample::Event::Event(const char type[]) : fType(type), f32(0) { in Event() 30 Sample::Event::~Event() {} in ~Event() 32 bool Sample::Event::isType(const char type[]) const { in isType() 36 const char* Sample::kCharEvtName = "SampleCode_Char_Event"; 37 const char* Sample::kTitleEvtName = "SampleCode_Title_Event"; 39 bool Sample::CharQ(const Event& evt, SkUnichar* outUni) { in CharQ() 49 bool Sample::TitleQ(const Event& evt) { in TitleQ() [all …]
|
/external/skqp/samplecode/ |
D | Sample.cpp | 8 #include "Sample.h" 20 Sample::Event::Event() : Event("") {} in Event() 22 Sample::Event::Event(const Event& that) { in Event() 26 Sample::Event::Event(const char type[]) : fType(type), f32(0) { in Event() 30 Sample::Event::~Event() {} in ~Event() 32 bool Sample::Event::isType(const char type[]) const { in isType() 36 const char* Sample::kCharEvtName = "SampleCode_Char_Event"; 37 const char* Sample::kTitleEvtName = "SampleCode_Title_Event"; 39 bool Sample::CharQ(const Event& evt, SkUnichar* outUni) { in CharQ() 49 bool Sample::TitleQ(const Event& evt) { in TitleQ() [all …]
|