/external/flac/libFLAC/ |
D | md5.c | 280 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/ |
D | histogram_macros.h | 122 #define LOCAL_HISTOGRAM_TIMES(name, sample) LOCAL_HISTOGRAM_CUSTOM_TIMES( \ argument 123 name, sample, base::TimeDelta::FromMilliseconds(1), \ 128 #define LOCAL_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ argument 129 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \ 133 #define LOCAL_HISTOGRAM_COUNTS(name, sample) LOCAL_HISTOGRAM_CUSTOM_COUNTS( \ argument 134 name, sample, 1, 1000000, 50) 136 #define LOCAL_HISTOGRAM_COUNTS_100(name, sample) \ argument 137 LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 100, 50) 139 #define LOCAL_HISTOGRAM_COUNTS_10000(name, sample) \ argument 140 LOCAL_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50) [all …]
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | metrics.h | 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) 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/ |
D | sample_binary.go | 22 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/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_to_argb.cc | 32 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 …]
|
D | convert_to_i420.cc | 28 int ConvertToI420(const uint8* sample, in ConvertToI420() argument 48 format != FOURCC_YV12) || y == sample; in ConvertToI420() 59 if (!y || !u || !v || !sample || in ConvertToI420() 87 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420() 95 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420() 103 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 111 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 119 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 127 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420() 135 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420() [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/libyuv/files/source/ |
D | convert_to_argb.cc | 32 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 …]
|
D | convert_to_i420.cc | 28 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/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/libmojo/base/android/java/src/org/chromium/base/metrics/ |
D | RecordHistogram.java | 56 public static void recordBooleanHistogram(String name, boolean sample) { in recordBooleanHistogram() argument 59 long result = nativeRecordBooleanHistogram(name, key, sample); in recordBooleanHistogram() 72 public static void recordEnumeratedHistogram(String name, int sample, int boundary) { in recordEnumeratedHistogram() argument 75 long result = nativeRecordEnumeratedHistogram(name, key, sample, boundary); in recordEnumeratedHistogram() 85 public static void recordCountHistogram(String name, int sample) { in recordCountHistogram() argument 86 recordCustomCountHistogram(name, sample, 1, 1000000, 50); in recordCountHistogram() 95 public static void recordCount100Histogram(String name, int sample) { in recordCount100Histogram() argument 96 recordCustomCountHistogram(name, sample, 1, 100, 50); in recordCount100Histogram() 105 public static void recordCount1000Histogram(String name, int sample) { in recordCount1000Histogram() argument 106 recordCustomCountHistogram(name, sample, 1, 1000, 50); in recordCount1000Histogram() [all …]
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | binding_unittest.cc | 37 class ServiceImpl : public sample::Service { 48 void Frobinate(sample::FooPtr foo, in Frobinate() 50 sample::PortPtr port, in Frobinate() 54 void GetPort(InterfaceRequest<sample::Port> port) override {} in GetPort() 82 sample::ServicePtr ptr; in TEST_F() 88 Binding<sample::Service> binding(&impl, std::move(request)); in TEST_F() 100 sample::ServicePtr ptr; in TEST_F() 108 Binding<sample::Service> binding(&impl, std::move(request)); in TEST_F() 109 ptr->Frobinate(nullptr, sample::Service::BazOptions::REGULAR, nullptr, in TEST_F() 123 ptr->Frobinate(nullptr, sample::Service::BazOptions::REGULAR, nullptr, in TEST_F() [all …]
|
/external/strace/tests-m32/ |
D | swap.c | 13 static const char sample[] = "swap.sample"; in main() local 16 rc = syscall(__NR_swapon, sample, 0); in main() 18 sample, "0", rc, errno2name()); in main() 20 rc = syscall(__NR_swapon, sample, 42); in main() 22 sample, "42", rc, errno2name()); in main() 24 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER); in main() 26 sample, "SWAP_FLAG_PREFER|0", rc, errno2name()); in main() 28 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER | 42); in main() 30 sample, "SWAP_FLAG_PREFER|42", rc, errno2name()); in main() 32 rc = syscall(__NR_swapon, sample, -1L); in main() [all …]
|
D | open.c | 40 static const char sample[] = "open.sample"; in main() local 42 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400); in main() 44 sample, sprintrc(fd)); in main() 48 if (unlink(sample)) in main() 51 fd = syscall(__NR_open, sample, O_RDONLY); in main() 52 printf("open(\"%s\", O_RDONLY) = %s\n", sample, sprintrc(fd)); in main() 54 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); in main() 56 sample, sprintrc(fd)); in main() 65 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); in main() 67 sample, STR_O_TMPFILE, sprintrc(fd)); in main()
|
D | mknod.c | 11 static const char *sample; variable 17 return syscall(__NR_mknod, sample, lmode, dev); in call_mknod() 24 sample = av[0]; in main() 28 sample, rc, errno2name()); in main() 32 sample, (unsigned short) -1, rc, errno2name()); in main() 36 sample, rc, errno2name()); in main() 40 sample, rc, errno2name()); in main() 44 sample, rc, errno2name()); in main() 48 sample, rc, errno2name()); in main() 54 sample, rc, errno2name()); in main() [all …]
|
/external/strace/tests/ |
D | swap.c | 13 static const char sample[] = "swap.sample"; in main() local 16 rc = syscall(__NR_swapon, sample, 0); in main() 18 sample, "0", rc, errno2name()); in main() 20 rc = syscall(__NR_swapon, sample, 42); in main() 22 sample, "42", rc, errno2name()); in main() 24 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER); in main() 26 sample, "SWAP_FLAG_PREFER|0", rc, errno2name()); in main() 28 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER | 42); in main() 30 sample, "SWAP_FLAG_PREFER|42", rc, errno2name()); in main() 32 rc = syscall(__NR_swapon, sample, -1L); in main() [all …]
|
D | open.c | 40 static const char sample[] = "open.sample"; in main() local 42 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400); in main() 44 sample, sprintrc(fd)); in main() 48 if (unlink(sample)) in main() 51 fd = syscall(__NR_open, sample, O_RDONLY); in main() 52 printf("open(\"%s\", O_RDONLY) = %s\n", sample, sprintrc(fd)); in main() 54 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); in main() 56 sample, sprintrc(fd)); in main() 65 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); in main() 67 sample, STR_O_TMPFILE, sprintrc(fd)); in main()
|
D | mknod.c | 11 static const char *sample; variable 17 return syscall(__NR_mknod, sample, lmode, dev); in call_mknod() 24 sample = av[0]; in main() 28 sample, rc, errno2name()); in main() 32 sample, (unsigned short) -1, rc, errno2name()); in main() 36 sample, rc, errno2name()); in main() 40 sample, rc, errno2name()); in main() 44 sample, rc, errno2name()); in main() 48 sample, rc, errno2name()); in main() 54 sample, rc, errno2name()); in main() [all …]
|
/external/strace/tests-mx32/ |
D | swap.c | 13 static const char sample[] = "swap.sample"; in main() local 16 rc = syscall(__NR_swapon, sample, 0); in main() 18 sample, "0", rc, errno2name()); in main() 20 rc = syscall(__NR_swapon, sample, 42); in main() 22 sample, "42", rc, errno2name()); in main() 24 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER); in main() 26 sample, "SWAP_FLAG_PREFER|0", rc, errno2name()); in main() 28 rc = syscall(__NR_swapon, sample, SWAP_FLAG_PREFER | 42); in main() 30 sample, "SWAP_FLAG_PREFER|42", rc, errno2name()); in main() 32 rc = syscall(__NR_swapon, sample, -1L); in main() [all …]
|
D | open.c | 40 static const char sample[] = "open.sample"; in main() local 42 long fd = syscall(__NR_open, sample, O_RDONLY|O_CREAT, 0400); in main() 44 sample, sprintrc(fd)); in main() 48 if (unlink(sample)) in main() 51 fd = syscall(__NR_open, sample, O_RDONLY); in main() 52 printf("open(\"%s\", O_RDONLY) = %s\n", sample, sprintrc(fd)); in main() 54 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); in main() 56 sample, sprintrc(fd)); in main() 65 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); in main() 67 sample, STR_O_TMPFILE, sprintrc(fd)); in main()
|
D | mknod.c | 11 static const char *sample; variable 17 return syscall(__NR_mknod, sample, lmode, dev); in call_mknod() 24 sample = av[0]; in main() 28 sample, rc, errno2name()); in main() 32 sample, (unsigned short) -1, rc, errno2name()); in main() 36 sample, rc, errno2name()); in main() 40 sample, rc, errno2name()); in main() 44 sample, rc, errno2name()); in main() 48 sample, rc, errno2name()); in main() 54 sample, rc, errno2name()); in main() [all …]
|
D | fchmodat.c | 43 static const char sample[] = "fchmodat_sample"; in main() local 45 if (open(sample, O_RDONLY | O_CREAT, 0400) < 0) in main() 48 long rc = syscall(__NR_fchmodat, -100, sample, 0600); in main() 50 sample, sprintrc(rc)); in main() 52 if (unlink(sample)) in main() 55 rc = syscall(__NR_fchmodat, -100, sample, 051); in main() 57 sample, sprintrc(rc)); in main() 59 rc = syscall(__NR_fchmodat, -100, sample, 004); in main() 61 sample, sprintrc(rc)); in main()
|
/external/llvm/test/tools/llvm-profdata/ |
D | weight-sample.test | 1 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 …]
|
D | sample-profile-basic.test | 1 Basic tests for sample profiles. 4 RUN: llvm-profdata show --sample %p/Inputs/sample-profile.proftext | FileCheck %s --check-prefix=SH… 12 RUN: llvm-profdata show --sample --function=_Z3bari %p/Inputs/sample-profile.proftext | FileCheck %… 20 RUN: llvm-profdata merge --sample %p/Inputs/sample-profile.proftext --binary -o - | llvm-profdata s… 21 RUN: llvm-profdata show --sample %p/Inputs/sample-profile.proftext -o %t-text 26 RUN: llvm-profdata merge --sample %p/Inputs/sample-profile.proftext -o %t-binprof 27 RUN: llvm-profdata merge --sample --text %p/Inputs/sample-profile.proftext %t-binprof -o - | FileCh… 33 RUN: not llvm-profdata show --sample %p/Inputs/foo3bar3-1.proftext 2>&1 | FileCheck %s --check-pref… 34 BADTEXT: error: {{.+}}: Unrecognized sample profile encoding format
|
/external/javassist/sample/vector/ |
D | Test.j | 2 A sample program using sample.vector.VectorAssistant 3 and the sample.preproc package. 10 % java sample.preproc.Compiler sample/vector/Test.j 11 % javac sample/vector/Test.java 12 % java sample.vector.Test 14 The first line produces one source file (sample/Test.java) and 15 two class files (sample/vector/intVector.class and 16 sample/vector/StringVector.class). 19 package sample.vector; 21 import java.util.Vector by sample.vector.VectorAssistant(java.lang.String); [all …]
|