/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
HprofData.java | 202 public static final class Sample { 207 private Sample(StackTrace stackTrace, int count) { 226 if (!(o instanceof Sample)) { 229 Sample s = (Sample) o; 234 return "Sample[count=" + count + " " + stackTrace + "]"; 266 * Map of stack traces to a mutable sample count. The map is 268 * mutable access to the int[] cells that contain the sample 331 * Return a new set containing the current sample data. 333 public Set<Sample> getSamples() 339 Sample sample = new Sample(stackTrace, count); local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
soundfont.h | 40 struct snd_sf_sample *sample; /* Link to sample */ member in struct:snd_sf_zone 64 struct snd_sf_sample *samples; /* The sample headers */ 68 * Type of the sample access callback 91 int sample_counter; /* last allocated time for sample */ 93 int sample_locked; /* locked time for sample */
|
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
SamplingProfilerTest.java | 22 import dalvik.system.profiler.HprofData.Sample; 181 Set<Sample> samples = hprofData.getSamples(); 185 Sample sample = samples.iterator().next(); local 186 assertNotNull(sample); 187 assertEquals(stackTrace, sample.stackTrace); 188 assertEquals(sampleCount, sample.count); 191 // confirm we can mutate the sample count, but that its not 192 // visible in the current sample, but it will be visible in a 195 assertEquals(sampleCount, sample.count) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 90 int sample = hi * 256 + lo; local 91 masterBuffer[i] = (short) sample; 168 short sample = buf.getShort(i); local 172 int d = sample - mastersample;
|
SoundPoolTest.java | 234 * Load a sample and wait until it is ready to be played. 235 * @return The sample ID. 239 int sample = mSoundPool.load(mContext, sampleId, prio); local 240 waitUntilLoaded(sample); 241 return sample; 245 * Wait until the specified sample is loaded. 246 * @param sampleId The sample ID.
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractImmutableSetTest.java | 446 List<String> sample = Lists.newArrayList("a", "b", "c"); local 448 for (int i = 0; i < sample.size(); i++) { 450 List<String> expected = sample.subList(0, i); 452 assertEquals("delta: " + delta + " sample size: " + i,
|
ImmutableListTest.java | 349 List<String> sample = Lists.newArrayList("a", "b", "c"); local 351 for (int i = 0; i < sample.size(); i++) { 354 List<String> expected = sample.subList(0, i);
|
/external/iproute2/misc/ |
ifstat.c | 450 double sample; local 454 sample = (double)(incr*1000)/interval; 456 n->rate[i] += W*(sample-n->rate[i]); 459 n->rate[i] = sample; 462 n->rate[i] += w*(sample-n->rate[i]); 558 " -d, --scan=SECS sample every statistics every SECS\n"
|
nstat.c | 336 double sample; local 340 sample = (double)(incr*1000)/interval; 342 n->rate += W*(sample-n->rate); 345 n->rate = sample; 348 n->rate += w*(sample-n->rate);
|
rtacct.c | 311 double sample; local 320 sample = (double)(incr*1000)/interval; 322 kern_db->rate[i] += W*(sample-kern_db->rate[i]); 325 kern_db->rate[i] = sample; 328 kern_db->rate[i] += w*(sample-kern_db->rate[i]);
|
/external/linux-tools-perf/util/ |
event.h | 141 struct sample_event sample; member in union:perf_event 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/opencv/ml/src/ |
mlrtrees.cpp | 312 // oob_predictions_sum[i] = sum of predicted values for the i-th sample 314 // (number of predictions for the i-th sample) 333 // = sum of predicted values for the i-th sample 335 // = number of summands (number of predictions for the i-th sample) 361 CvMat sample, missing; local 365 for( i = 0; i < nsamples; i++ ) //form sample for creation one tree 377 sample = cvMat( 1, dims, CV_32FC1, samples_ptr ); 382 sample.data.fl += dims, missing.data.ptr += dims ) 385 // check if the sample is OOB 391 CV_CALL(predicted_node = tree->predict(&sample, &missing, true)) [all...] |
mlem.cpp | 368 CvMat sample = cvMat( 1, dims, CV_32F ); local 375 sample.data.ptr = _samples->data.ptr + _samples->step*idx; 378 labels->data.i[i*lstep] = cvRound(predict(&sample, &prob)); 929 const double* sample = (double*)(samples->data.ptr + samples->step*i); local 932 csample[j] = sample[j] - mean[j]; [all...] |
/external/webkit/Source/JavaScriptCore/bytecode/ |
SamplingTool.h | 64 static void sample(); 114 void sample(CodeBlock*, Instruction*); 219 void sample(CodeBlock* codeBlock, Instruction* vPC) function in class:JSC::SamplingTool 235 static void sample(); 238 class Sample { 240 Sample(volatile intptr_t sample, CodeBlock* volatile codeBlock) 241 : m_sample(sample) 266 // Gathered sample data.
|
/external/webrtc/src/modules/audio_processing/agc/ |
analog_agc.c | 116 WebRtc_Word32 nrg, max_nrg, sample, tmp32; local 172 /* SWB is processed as 160 sample for L and H bands */ 182 "AGC->add_mic, frame %d: Invalid sample rate\n\n", 232 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); 233 if (sample > 32767) 236 } else if (sample < -32768) 241 in_mic[i] = (WebRtc_Word16)sample; 248 sample = WEBRTC_SPL_RSHIFT_W32(tmp32, 12); 249 if (sample > 32767) 252 } else if (sample < -32768 [all...] |
/frameworks/av/media/libmedia/ |
SoundPool.cpp | 210 sp<Sample> sample = new Sample(++mNextSampleID, path); local 211 mSamples.add(sample->sampleID(), sample); 212 doLoad(sample); 213 return sample->sampleID(); 221 sp<Sample> sample = new Sample(++mNextSampleID, fd, offset, length) local 246 sp<Sample> sample; local 656 sp<Sample> sample; local 711 sp<Sample> sample = mSample; local [all...] |
/external/chromium/base/metrics/ |
histogram.h | 63 #define HISTOGRAM_TIMES(name, sample) HISTOGRAM_CUSTOM_TIMES( \ 64 name, sample, base::TimeDelta::FromMilliseconds(1), \ 67 #define HISTOGRAM_COUNTS(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ 68 name, sample, 1, 1000000, 50) 70 #define HISTOGRAM_COUNTS_100(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ 71 name, sample, 1, 100, 50) 73 #define HISTOGRAM_COUNTS_10000(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ 74 name, sample, 1, 10000, 50) 76 #define HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) do { \ 82 counter->Add(sample); \ 318 Sample sample; member in struct:base::Histogram::DescriptionPair [all...] |
/external/flac/libFLAC/ |
metadata_object.c | 1118 FLAC__uint64 num, sample; local [all...] |
/external/linux-tools-perf/ |
builtin-top.c | 472 fprintf(stdout, "\t[z] toggle sample zeroing. \t(%d)\n", top.zero ? 1 : 0); 714 struct perf_sample *sample, 762 if (perf_event__preprocess_sample(event, session, &al, sample, 834 evsel = perf_evlist__id2evsel(top.evlist, sample->id); 853 struct perf_sample sample; local 858 ret = perf_session__parse_sample(self, event, &sample); 860 pr_err("Can't parse sample, err = %d\n", ret); 865 perf_event__process_sample(event, &sample, self); 867 perf_event__process(event, &sample, self); 1025 "event period to sample"), [all...] |
/external/oprofile/pp/ |
opannotate.cpp | 56 /// field width for the sample count 153 /// from the beginning to the end, and compare sample address 157 /// 1. If sample address matches current line address, annotate the current line. 158 /// 2. If (previous line address < sample address < current line address), 159 /// then we annotate previous line. This case happens when sample address 171 sample_entry const * sample = NULL; local 174 sample = &samp_it->second; 184 if (sample 185 && ((sample->vma < last_symbol_vma) || (sample->vma > vma))) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fbevents.c | 743 struct ts_sample sample; local 746 while (ts_read(ts_dev, &sample, 1) > 0) { 747 button = (sample.pressure > 0) ? 1 : 0; 749 FB_vgamousecallback(button, 0, sample.x, sample.y);
|
/external/qemu/hw/ |
goldfish_audio.c | 348 int sample = (sample1 + sample2) >> 1; local 349 dst[0] = (uint8_t) sample; 350 dst[1] = (uint8_t)(sample >> 8);
|
/external/srec/srec/EventLog/src/ |
riff.c | 182 int sign, exponent, mantissa, sample; local 188 sample = exp_lut[exponent] + (mantissa << (exponent + 3)); 189 if (sign != 0) sample = -sample; 190 return sample; 196 int sign, achord, astep, delta, sample; local 207 sample = ((2 * astep + 33) * exp_lut[achord]) - 32 * delta; 208 if (sign != 0) sample = -sample; 209 sample = sample * 8 [all...] |
/external/webp/src/dec/ |
io.c | 8 // functions for sample output. 46 uint32_t tl_uv = LOAD_UV(top_u[0], top_v[0]); /* top-left sample */ \ 47 uint32_t l_uv = LOAD_UV(cur_u[0], cur_v[0]); /* left-sample */ \ 57 const uint32_t t_uv = LOAD_UV(top_u[x], top_v[x]); /* top sample */ \ 58 const uint32_t uv = LOAD_UV(cur_u[x], cur_v[x]); /* sample */ \ 263 const SampleLinePairFunc sample = kSamplers[output->colorspace]; local 268 sample(y_src, y_src + io->y_stride, u_src, v_src, 276 sample(y_src, y_src, u_src, v_src, dst, dst, mb_w); [all...] |
/frameworks/av/include/media/ |
SoundPool.h | 50 class Sample : public RefBase { 53 Sample(int sampleID, const char* url); 54 Sample(int sampleID, int fd, int64_t offset, int64_t length); 55 ~Sample(); 94 void set(const sp<Sample>& sample, int channelID, float leftVolume, 96 sp<Sample> sample() { return mSample; } function in class:android::SoundEvent 106 sp<Sample> mSample; 123 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume [all...] |