/external/mesa3d/src/pixelflinger2/ |
D | texture.cpp | 80 static void PointSample(unsigned sample[4], const unsigned * data, const unsigned index) in PointSample() 83 *sample = *(data + index); in PointSample() 86 *sample = *(data + index); in PointSample() 87 *sample |= 0xff000000; in PointSample() 91 sample[0] = *((const unsigned short *)data + index); in PointSample() 92 sample[1] = (sample[0] & 0x7e0) << 5; in PointSample() 93 sample[2] = (sample[0] & 0xf800) << 8; in PointSample() 94 sample[0] = (sample[0] & 0x1f) << 3; in PointSample() 96 sample[0] |= sample[0] >> 5; in PointSample() 97 sample[1] = (sample[1] | (sample[1] >> 6)) & 0xff00; in PointSample() [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/chromium/base/metrics/ |
D | histogram.h | 63 #define HISTOGRAM_TIMES(name, sample) HISTOGRAM_CUSTOM_TIMES( \ argument 64 name, sample, base::TimeDelta::FromMilliseconds(1), \ 67 #define HISTOGRAM_COUNTS(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ argument 68 name, sample, 1, 1000000, 50) 70 #define HISTOGRAM_COUNTS_100(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ argument 71 name, sample, 1, 100, 50) 73 #define HISTOGRAM_COUNTS_10000(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ argument 74 name, sample, 1, 10000, 50) 76 #define HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) do { \ argument 82 counter->Add(sample); \ [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | extension_metrics_module.cc | 65 int* sample) { in GetNameAndSample() argument 67 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(1, sample)); in GetNameAndSample() 76 int sample) { in RecordValue() argument 93 counter->Add(sample); in RecordValue() 98 int sample; in RunImpl() local 99 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(1, &sample)); in RunImpl() 118 return RecordValue(name, histogram_type, min, max, buckets, sample); in RunImpl() 123 int sample; in RunImpl() local 124 EXTENSION_FUNCTION_VALIDATE(GetNameAndSample(&name, &sample)); in RunImpl() 125 return RecordValue(name, Histogram::LINEAR_HISTOGRAM, 1, 101, 102, sample); in RunImpl() [all …]
|
/external/chromium/net/disk_cache/ |
D | histogram_macros.h | 23 #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ argument 30 counter->Add(sample); \ 33 #define CACHE_HISTOGRAM_COUNTS(name, sample) CACHE_HISTOGRAM_CUSTOM_COUNTS( \ argument 34 name, sample, 1, 1000000, 50) 36 #define CACHE_HISTOGRAM_COUNTS_10000(name, sample) \ argument 37 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50) 39 #define CACHE_HISTOGRAM_COUNTS_50000(name, sample) \ argument 40 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 50000000, 50) 42 #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ argument 49 counter->AddTime(sample); \ [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/audio/sun/ |
D | SDL_sunaudio.c | 57 static Uint8 snd2au(int sample); 400 static Uint8 snd2au(int sample) in snd2au() argument 405 if (sample < 0) { in snd2au() 406 sample = -sample; in snd2au() 412 if (sample < 32) { in snd2au() 413 sample = 0xF0 | (15 - sample / 2); in snd2au() 414 } else if (sample < 96) { in snd2au() 415 sample = 0xE0 | (15 - (sample - 32) / 4); in snd2au() 416 } else if (sample < 224) { in snd2au() 417 sample = 0xD0 | (15 - (sample - 96) / 8); in snd2au() [all …]
|
/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 | 39 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_NoneThrown() local 51 sample.noneDeclared(); in testPropagateIfPossible_NoneDeclared_NoneThrown() 55 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_UncheckedThrown() local 68 sample.noneDeclared(); in testPropagateIfPossible_NoneDeclared_UncheckedThrown() 75 Sample sample = new Sample() { in testPropagateIfPossible_NoneDeclared_UndeclaredThrown() local 88 sample.noneDeclared(); in testPropagateIfPossible_NoneDeclared_UndeclaredThrown() 96 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_NoneThrown() local 110 sample.oneDeclared(); in testPropagateIfPossible_OneDeclared_NoneThrown() 115 Sample sample = new Sample() { in testPropagateIfPossible_OneDeclared_UncheckedThrown() local 128 sample.oneDeclared(); in testPropagateIfPossible_OneDeclared_UncheckedThrown() [all …]
|
/external/chromium/net/socket_stream/ |
D | socket_stream_metrics_unittest.cc | 50 Histogram::SampleSet sample; in TEST() local 51 histogram->SnapshotSample(&sample); in TEST() 53 sample.Subtract(original); // Cancel the original values. in TEST() 54 EXPECT_EQ(1, sample.counts(SocketStreamMetrics::PROTOCOL_UNKNOWN)); in TEST() 55 EXPECT_EQ(2, sample.counts(SocketStreamMetrics::PROTOCOL_WEBSOCKET)); in TEST() 56 EXPECT_EQ(3, sample.counts(SocketStreamMetrics::PROTOCOL_WEBSOCKET_SECURE)); in TEST() 83 Histogram::SampleSet sample; in TEST() local 84 histogram->SnapshotSample(&sample); in TEST() 86 sample.Subtract(original); in TEST() 87 EXPECT_EQ(1, sample.counts(SocketStreamMetrics::ALL_CONNECTIONS)); in TEST() [all …]
|
/external/flac/libFLAC/ |
D | md5.c | 279 unsigned channel, sample; in format_input_() local 288 for(sample = 0; sample < samples; sample++, buf1_+=2) in format_input_() 289 *buf1_ = (FLAC__int16)signal[1][sample]; in format_input_() 293 for(sample = 0; sample < samples; sample++) in format_input_() 294 *buf1_++ = (FLAC__int16)signal[0][sample]; in format_input_() 300 for(sample = 0; sample < samples; sample++) { in format_input_() 301 a_word = signal[0][sample]; in format_input_() 304 a_word = signal[1][sample]; in format_input_() 310 for(sample = 0; sample < samples; sample++) { in format_input_() 311 a_word = signal[0][sample]; in format_input_() [all …]
|
/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/oprofile/daemon/liblegacy/ |
D | opd_proc.c | 165 struct op_sample const * sample) in opd_lookup_maps() argument 174 if (opd_is_in_map(map, sample->eip)) { in opd_lookup_maps() 175 unsigned long offset = opd_map_offset(map, sample->eip); in opd_lookup_maps() 178 opd_put_image_sample(map->image, offset, sample->counter); in opd_lookup_maps() 190 void opd_put_sample(struct op_sample const * sample) in opd_put_sample() argument 193 int in_kernel_eip = opd_eip_is_kernel(sample->eip); in opd_put_sample() 198 sample->counter, sample->eip, sample->tgid, sample->pid); in opd_put_sample() 201 opd_handle_kernel_sample(sample->eip, sample->counter); in opd_put_sample() 205 if (!(proc = opd_get_proc(sample->pid, sample->tgid))) { in opd_put_sample() 213 opd_handle_kernel_sample(sample->eip, sample->counter); in opd_put_sample() [all …]
|
/external/linux-tools-perf/ |
D | builtin-timechart.c | 243 struct cpu_sample *sample; in pid_put_sample() local 256 sample = malloc(sizeof(struct cpu_sample)); in pid_put_sample() 257 assert(sample != NULL); in pid_put_sample() 258 memset(sample, 0, sizeof(struct cpu_sample)); in pid_put_sample() 259 sample->start_time = start; in pid_put_sample() 260 sample->end_time = end; in pid_put_sample() 261 sample->type = type; in pid_put_sample() 262 sample->next = c->samples; in pid_put_sample() 263 sample->cpu = cpu; in pid_put_sample() 264 c->samples = sample; in pid_put_sample() [all …]
|
D | builtin-inject.c | 40 struct perf_sample *sample __used, in perf_event__repipe() 47 struct perf_sample *sample __used, in perf_event__repipe_sample() 55 struct perf_sample *sample, in perf_event__repipe_mmap() argument 60 err = perf_event__process_mmap(event, sample, session); in perf_event__repipe_mmap() 61 perf_event__repipe(event, sample, session); in perf_event__repipe_mmap() 67 struct perf_sample *sample, in perf_event__repipe_task() argument 72 err = perf_event__process_task(event, sample, session); in perf_event__repipe_task() 73 perf_event__repipe(event, sample, session); in perf_event__repipe_task() 134 struct perf_sample *sample, in perf_event__inject_buildid() argument 171 perf_event__repipe(event, sample, session); in perf_event__inject_buildid() [all …]
|
/external/v8/test/cctest/ |
D | test-log-stack-tracer.cc | 62 TickSample* sample; member 66 static void InitTraceEnv(TickSample* sample) { in InitTraceEnv() argument 67 trace_env.sample = sample; in InitTraceEnv() 72 trace_env.sample->fp = fp; in DoTrace() 74 trace_env.sample->sp = in DoTrace() 75 reinterpret_cast<Address>(trace_env.sample) - 10240; in DoTrace() 76 StackTracer::Trace(Isolate::Current(), trace_env.sample); in DoTrace() 281 TickSample sample; in TEST() local 282 InitTraceEnv(&sample); in TEST() 304 CHECK(sample.has_external_callback); in TEST() [all …]
|
/external/linux-tools-perf/util/ |
D | session.c | 301 struct perf_sample *sample __used, in process_event_sample_stub() 310 struct perf_sample *sample __used, in process_event_stub() 331 if (handler->sample == NULL) in perf_event_ops__fill_defaults() 332 handler->sample = process_event_sample_stub; in perf_event_ops__fill_defaults() 492 struct perf_sample *sample, 502 struct perf_sample sample; in flush_sample_queue() local 514 ret = perf_session__parse_sample(s, iter->event, &sample); in flush_sample_queue() 518 perf_session_deliver_event(s, iter->event, &sample, ops, in flush_sample_queue() 587 struct sample_queue *sample = os->last_sample; in __queue_event() local 593 if (!sample) { in __queue_event() [all …]
|
D | event.h | 141 struct sample_event sample; member 156 struct perf_sample *sample, 173 int perf_event__process_comm(union perf_event *event, struct perf_sample *sample, 175 int perf_event__process_lost(union perf_event *event, struct perf_sample *sample, 177 int perf_event__process_mmap(union perf_event *event, struct perf_sample *sample, 179 int perf_event__process_task(union perf_event *event, struct perf_sample *sample, 181 int perf_event__process(union perf_event *event, struct perf_sample *sample, 188 struct perf_sample *sample, 195 struct perf_sample *sample);
|
/external/oprofile/libpp/ |
D | symbol_sort.cpp | 47 case sort_options::sample: in compare_by() 48 if (lhs.sample.counts[0] < rhs.sample.counts[0]) in compare_by() 50 if (lhs.sample.counts[0] > rhs.sample.counts[0]) in compare_by() 65 if (lhs.sample.vma < rhs.sample.vma) in compare_by() 67 if (lhs.sample.vma > rhs.sample.vma) in compare_by() 72 file_location const & f1 = lhs.sample.file_loc; in compare_by() 73 file_location const & f2 = rhs.sample.file_loc; in compare_by() 170 options.push_back(sample); in add_sort_option()
|
D | symbol_container.cpp | 33 symbol->sample.counts += symb.sample.counts; in insert() 46 symbol.sample.file_loc.filename = filename; in find() 47 symbol.sample.file_loc.linenr = linenr; in find() 66 symbol.sample.file_loc.filename = filename; in find() 67 symbol.sample.file_loc.linenr = 0; in find() 71 symbol.sample.file_loc.linenr = (unsigned int)size_t(-1); in find() 100 if (it->sample.vma == vma && in find_by_vma()
|
D | sample_container.cpp | 67 sample_entry const & sample) in insert() argument 69 samples_storage::key_type key(symbol, sample.vma); in insert() 73 it->second.counts += sample.counts; in insert() 75 samples[key] = sample; in insert() 118 sample_entry sample; in accumulate_samples() local 120 sample.file_loc.filename = filename; in accumulate_samples() 121 sample.file_loc.linenr = linenr; in accumulate_samples() 126 it_pair itp = samples_by_loc.equal_range(&sample); in accumulate_samples()
|
/external/aac/libPCMutils/src/ |
D | pcmutils_lib.cpp | 829 UINT sample; in pcmDmx_ApplyFrame() local 892 for (sample = 0; sample < frameSize; sample++) { in pcmDmx_ApplyFrame() 902 for (sample = 0; sample < frameSize; sample++) { in pcmDmx_ApplyFrame() 911 for (sample = 0; sample < frameSize; sample++) { in pcmDmx_ApplyFrame() 927 for (sample = 0; sample < frameSize; sample++) in pcmDmx_ApplyFrame() 954 for (sample = 0; sample < frameSize; sample++) in pcmDmx_ApplyFrame() 974 for (sample = 0; sample < frameSize; sample++) in pcmDmx_ApplyFrame() 1002 for (sample = 0; sample < frameSize; sample++) in pcmDmx_ApplyFrame() 1030 for (sample = 0; sample < frameSize; sample++) in pcmDmx_ApplyFrame() 1056 for (sample = 0; sample < frameSize; sample++) in pcmDmx_ApplyFrame() [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/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() 65 @Override public E intern(E sample) { 68 ReferenceEntry<E, Dummy> entry = map.getEntry(sample); 77 Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE); 79 return sample;
|
/external/chromium/chrome/browser/ |
D | memory_details.cc | 276 int sample = static_cast<int>(browser.processes[index].working_set.priv); in UpdateHistograms() local 277 aggregate_memory += sample; in UpdateHistograms() 280 UMA_HISTOGRAM_MEMORY_KB("Memory.Browser", sample); in UpdateHistograms() 287 UMA_HISTOGRAM_MEMORY_KB("Memory.Extension", sample); in UpdateHistograms() 291 UMA_HISTOGRAM_MEMORY_KB("Memory.Chrome", sample); in UpdateHistograms() 300 UMA_HISTOGRAM_MEMORY_KB("Memory.Renderer", sample); in UpdateHistograms() 307 UMA_HISTOGRAM_MEMORY_KB("Memory.Plugin", sample); in UpdateHistograms() 311 UMA_HISTOGRAM_MEMORY_KB("Memory.Worker", sample); in UpdateHistograms() 315 UMA_HISTOGRAM_MEMORY_KB("Memory.Utility", sample); in UpdateHistograms() 319 UMA_HISTOGRAM_MEMORY_KB("Memory.Zygote", sample); in UpdateHistograms() [all …]
|