/external/ceres-solver/internal/ceres/ |
D | polynomial_test.cc | 315 FunctionSample sample; in TEST() local 316 sample.x = 1.0; in TEST() 317 sample.value = 1.0; in TEST() 318 sample.value_is_valid = true; in TEST() 319 samples.push_back(sample); in TEST() 331 FunctionSample sample; in TEST() local 332 sample.x = 1.0; in TEST() 333 sample.value = 1.0; in TEST() 334 sample.value_is_valid = true; in TEST() 335 sample.gradient = 2.0; in TEST() [all …]
|
/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/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/ |
D | ssaoBlur.frag | 41 vec2 sample; 48 sample = texCoord + vec2(i,j) / g_Resolution; 49 float zTmp =readDepth(sample); 53 color += coefZ * texture2D(m_SSAOMap,sample); 75 vec2 sample = vec2(x - 2.0 * xScale, y - 2.0 * yScale); 76 float zTmp =readDepth(sample); 79 sum += coefZ* texture2D( m_SSAOMap, sample); 81 sample = vec2(x - 0.0 * xScale, y - 2.0 * yScale); 82 zTmp =readDepth(sample); 85 sum += coefZ* texture2D( m_SSAOMap, sample); [all …]
|
D | ssaoBlur15.frag | 42 vec2 sample; 49 sample = texCoord + vec2(i,j) / g_Resolution; 50 float zTmp =readDepth(sample); 54 color += coefZ * texture2D(m_SSAOMap,sample); 76 vec2 sample = vec2(x - 2.0 * xScale, y - 2.0 * yScale); 77 float zTmp =readDepth(sample); 80 sum += coefZ* texture2D( m_SSAOMap, sample); 82 sample = vec2(x - 0.0 * xScale, y - 2.0 * yScale); 83 zTmp =readDepth(sample); 86 sum += coefZ* texture2D( m_SSAOMap, sample); [all …]
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_to_argb.cc | 33 int ConvertToARGB(const uint8* sample, size_t sample_size, in ConvertToARGB() argument 54 crop_argb == sample; in ConvertToARGB() 60 if (crop_argb == NULL || sample == NULL || in ConvertToARGB() 82 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB() 88 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB() 94 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() 118 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB() [all …]
|
D | convert_to_i420.cc | 29 int ConvertToI420(const uint8* sample, in ConvertToI420() argument 48 format != FOURCC_YU12 && format != FOURCC_YV12) || y == sample; in ConvertToI420() 58 if (!y || !u || !v || !sample || in ConvertToI420() 89 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420() 97 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToI420() 105 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 113 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 121 src = sample + (src_width * crop_y + crop_x) * 2; in ConvertToI420() 129 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420() 137 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToI420() [all …]
|
D | mjpeg_validate.cc | 20 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { in ValidateJpeg() argument 26 if (sample[0] != 0xff || sample[1] != 0xd8) { // Start Of Image in ValidateJpeg() 31 if (sample[i] != 0xd9) { in ValidateJpeg() 32 if (sample[i] == 0xff && sample[i + 1] == 0xd9) { // End Of Image in ValidateJpeg()
|
/external/flac/libFLAC/ia32/ |
D | lpc_asm.nasm | 54 ; unsigned sample, coeff; 62 ; for(sample = 0; sample <= limit; sample++) { 63 ; d = data[sample]; 65 ; autoc[coeff] += d * data[sample+coeff]; 67 ; for(; sample < data_len; sample++) { 68 ; d = data[sample]; 69 ; for(coeff = 0; coeff < data_len - sample; coeff++) 70 ; autoc[coeff] += d * data[sample+coeff]; 106 ; for(sample = 0; sample <= limit; sample++) { 107 ; d = data[sample]; [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/linux-tools-perf/src/tools/perf/ |
D | builtin-timechart.c | 235 struct cpu_sample *sample; in pid_put_sample() local 247 sample = zalloc(sizeof(*sample)); in pid_put_sample() 248 assert(sample != NULL); in pid_put_sample() 249 sample->start_time = start; in pid_put_sample() 250 sample->end_time = end; in pid_put_sample() 251 sample->type = type; in pid_put_sample() 252 sample->next = c->samples; in pid_put_sample() 253 sample->cpu = cpu; in pid_put_sample() 254 c->samples = sample; in pid_put_sample() 256 if (sample->type == TYPE_RUNNING && end > start && start > 0) { in pid_put_sample() [all …]
|
D | builtin-inject.c | 85 struct perf_sample *sample __maybe_unused, in perf_event__repipe() 93 struct perf_sample *sample, 99 struct perf_sample *sample, in perf_event__repipe_sample() argument 105 return f(tool, event, sample, evsel, machine); in perf_event__repipe_sample() 108 build_id__mark_dso_hit(tool, event, sample, evsel, machine); in perf_event__repipe_sample() 115 struct perf_sample *sample, in perf_event__repipe_mmap() argument 120 err = perf_event__process_mmap(tool, event, sample, machine); in perf_event__repipe_mmap() 121 perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_mmap() 128 struct perf_sample *sample, in perf_event__repipe_mmap2() argument 133 err = perf_event__process_mmap2(tool, event, sample, machine); in perf_event__repipe_mmap2() [all …]
|
D | builtin-lock.c | 340 struct perf_sample *sample); 343 struct perf_sample *sample); 346 struct perf_sample *sample); 349 struct perf_sample *sample); 389 struct perf_sample *sample) in report_lock_acquire_event() argument 395 const char *name = perf_evsel__strval(evsel, sample, "name"); in report_lock_acquire_event() 396 u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_acquire_event() 397 int flag = perf_evsel__intval(evsel, sample, "flag"); in report_lock_acquire_event() 407 ts = thread_stat_findnew(sample->tid); in report_lock_acquire_event() 456 seq->prev_event_time = sample->time; in report_lock_acquire_event() [all …]
|
D | builtin-kvm.c | 70 struct perf_sample *sample, 73 struct perf_sample *sample, struct event_key *key); 123 struct perf_sample *sample, in exit_event_get_key() argument 127 key->key = perf_evsel__intval(evsel, sample, "exit_reason"); in exit_event_get_key() 136 struct perf_sample *sample, struct event_key *key) in exit_event_begin() argument 139 exit_event_get_key(evsel, sample, key); in exit_event_begin() 152 struct perf_sample *sample __maybe_unused, in exit_event_end() 203 static void mmio_event_get_key(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() argument 206 key->key = perf_evsel__intval(evsel, sample, "gpa"); in mmio_event_get_key() 207 key->info = perf_evsel__intval(evsel, sample, "type"); in mmio_event_get_key() [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
|
/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 …]
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | session.c | 223 struct perf_sample *sample __maybe_unused, in process_event_sample_stub() 233 struct perf_sample *sample __maybe_unused, in process_event_stub() 255 if (tool->sample == NULL) in perf_tool__fill_defaults() 256 tool->sample = process_event_sample_stub; in perf_tool__fill_defaults() 515 struct perf_sample *sample, 525 struct perf_sample sample; in flush_sample_queue() local 542 ret = perf_evlist__parse_sample(s->evlist, iter->event, &sample); in flush_sample_queue() 546 ret = perf_session_deliver_event(s, iter->event, &sample, tool, in flush_sample_queue() 628 struct sample_queue *sample = os->last_sample; in __queue_event() local 635 if (!sample) { in __queue_event() [all …]
|
/external/llvm/test/tools/llvm-profdata/ |
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…
|
/external/strace/tests/ |
D | stat.test | 12 sample=stat_sample 14 rm -f $sample 18 dd seek=$size bs=1 count=0 if=/dev/null of=$sample 33 find -L $sample -quit 37 r_stat="stat(64)?\\(\"$sample\", $stat\\) += 0" 38 r_fstatat="(new)?fstatat(64)?\\(AT_FDCWD, \"$sample\", $stat, 0\\) += 0" 47 find $sample -quit 50 r_lstat="lstat(64)?\\(\"$sample\", $stat\\) += 0" 51 r_lfstatat="(new)?fstatat(64)?\\(AT_FDCWD, \"$sample\", $stat, AT_SYMLINK_NOFOLLOW\\) += 0" 59 rm -f "$EXPECTED" $sample
|
/external/v8/test/cctest/ |
D | test-log-stack-tracer.cc | 146 TickSample sample; in TEST() local 147 i::TraceExtension::InitTraceEnv(&sample); in TEST() 171 CHECK(sample.has_external_callback); in TEST() 172 CHECK_EQ(FUNCTION_ADDR(i::TraceExtension::Trace), sample.external_callback); in TEST() 176 CHECK_GT(sample.frames_count, base + 1); in TEST() 179 context, "JSFuncDoTrace", sample.stack[base + 0])); in TEST() 180 CHECK(IsAddressWithinFuncCode(context, "JSTrace", sample.stack[base + 1])); in TEST() 194 TickSample sample; in TEST() local 195 i::TraceExtension::InitTraceEnv(&sample); in TEST() 224 CHECK(sample.has_external_callback); in TEST() [all …]
|
/external/linux-tools-perf/src/tools/perf/tests/ |
D | perf-record.c | 50 struct perf_sample sample; in test__PERF_RECORD() local 174 err = perf_evlist__parse_sample(evlist, event, &sample); in test__PERF_RECORD() 183 pr_info("%" PRIu64" %d ", sample.time, sample.cpu); in test__PERF_RECORD() 187 if (prev_time > sample.time) { in test__PERF_RECORD() 189 name, prev_time, sample.time); in test__PERF_RECORD() 193 prev_time = sample.time; in test__PERF_RECORD() 195 if (sample.cpu != cpu) { in test__PERF_RECORD() 197 name, cpu, sample.cpu); in test__PERF_RECORD() 201 if ((pid_t)sample.pid != evlist->workload.pid) { in test__PERF_RECORD() 203 name, evlist->workload.pid, sample.pid); in test__PERF_RECORD() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
D | Dome.java | 284 for (int sample = 0; sample < radialSamples; sample++, index += 6) { in updateGeometry() 286 ib.put((short) (bottomPlaneStart + sample)); in updateGeometry() 287 ib.put((short) (bottomPlaneStart + sample + 1)); in updateGeometry() 288 ib.put((short) (topPlaneStart + sample)); in updateGeometry() 289 ib.put((short) (bottomPlaneStart + sample + 1)); in updateGeometry() 290 ib.put((short) (topPlaneStart + sample + 1)); in updateGeometry() 291 ib.put((short) (topPlaneStart + sample)); in updateGeometry() 293 ib.put((short) (bottomPlaneStart + sample)); in updateGeometry() 294 ib.put((short) (topPlaneStart + sample)); in updateGeometry() 295 ib.put((short) (bottomPlaneStart + sample + 1)); in updateGeometry() [all …]
|
/external/sfntly/cpp/ |
D | CMakeLists.txt | 20 ${CMAKE_CURRENT_SOURCE_DIR}/src/sample ${CMAKE_CURRENT_SOURCE_DIR}/src/sample/subtly) 68 file(GLOB_RECURSE SIMPLE_SUBSETTER src/sample/subsetter/*.h src/sample/subsetter/*.cc 80 src/sample/chromium/subsetter_impl.h 81 src/sample/chromium/subsetter_impl.cc 82 src/sample/chromium/font_subsetter.cc 83 src/sample/chromium/font_subsetter.h) 93 file(GLOB SUBTLY_FILES src/sample/subtly/*.h src/sample/subtly/*.cc) 94 file(GLOB SUBTLY_MAINS src/sample/subtly/*main.cc) 99 src/sample/subtly/subsetter_main.cc) 105 src/sample/subtly/merger_main.cc) [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_triangle.c | 273 GLchan sample[4]; /* the filtered texture sample */ in affine_span() local 283 sample[RCOMP] = tex00[2]; \ in affine_span() 284 sample[GCOMP] = tex00[1]; \ in affine_span() 285 sample[BCOMP] = tex00[0]; \ in affine_span() 286 sample[ACOMP] = CHAN_MAX; in affine_span() 289 sample[RCOMP] = ilerp_2d(sf, tf, tex00[2], tex01[2], tex10[2], tex11[2]);\ in affine_span() 290 sample[GCOMP] = ilerp_2d(sf, tf, tex00[1], tex01[1], tex10[1], tex11[1]);\ in affine_span() 291 sample[BCOMP] = ilerp_2d(sf, tf, tex00[0], tex01[0], tex10[0], tex11[0]);\ in affine_span() 292 sample[ACOMP] = CHAN_MAX; in affine_span() 295 sample[RCOMP] = tex00[3]; \ in affine_span() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | Interners.java | 47 @Override public E intern(E sample) { in newStrongInterner() 48 E canonical = map.putIfAbsent(checkNotNull(sample), sample); in newStrongInterner() 49 return (canonical == null) ? sample : canonical; in newStrongInterner() 73 @Override public E intern(E sample) { 76 ReferenceEntry<E, Dummy> entry = map.getEntry(sample); 85 Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE); 87 return sample;
|
/external/libyuv/files/source/ |
D | convert_argb.cc | 911 int MJPGToARGB(const uint8* sample, in MJPGToARGB() argument 923 bool ret = mjpeg_decoder.LoadFrame(sample, sample_size); in MJPGToARGB() 1001 int ConvertToARGB(const uint8* sample, size_t sample_size, in ConvertToARGB() argument 1008 if (dst_argb == NULL || sample == NULL || in ConvertToARGB() 1028 bool need_buf = (rotation && format != FOURCC_ARGB) || dst_argb == sample; in ConvertToARGB() 1046 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB() 1052 src = sample + (aligned_src_width * crop_y + crop_x) * 2; in ConvertToARGB() 1067 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB() 1073 src = sample + (src_width * crop_y + crop_x) * 3; in ConvertToARGB() 1079 src = sample + (src_width * crop_y + crop_x) * 4; in ConvertToARGB() [all …]
|