/external/v8/src/ |
cpu-profiler.cc | 174 TickSample* sample = &record.sample; local 176 sample->state = isolate->current_vm_state(); 177 sample->pc = reinterpret_cast<Address>(sample); // Not NULL. 179 !it.done() && sample->frames_count < TickSample::kMaxFramesCount; 181 sample->stack[sample->frames_count++] = it.frame()->pc(); 215 generator_->RecordTickSample(record.sample); 221 // Make a local copy of tick sample record to ensure that it won' [all...] |
log.cc | 79 // Each sample is appended to a circular buffer. 90 void Insert(TickSample* sample) { 97 buffer_[head_] = *sample; 104 bool Remove(TickSample* sample) { 106 *sample = buffer_[tail_]; 148 void StackTracer::Trace(Isolate* isolate, TickSample* sample) { 152 if (sample->state == GC) return; 163 sample->external_callback = callback; 164 sample->has_external_callback = true; 166 // Sample potential return address value for frameless invocation o 227 StackTracer::Trace(isolate(), sample); local 313 TickSample sample; local 324 TickSample sample; local [all...] |
platform-cygwin.cc | 707 TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); local 708 if (sample == NULL) sample = &sample_obj; 712 sample->state = sampler->isolate()->current_vm_state(); 717 sample->pc = reinterpret_cast<Address>(context.Rip); 718 sample->sp = reinterpret_cast<Address>(context.Rsp); 719 sample->fp = reinterpret_cast<Address>(context.Rbp); 721 sample->pc = reinterpret_cast<Address>(context.Eip); 722 sample->sp = reinterpret_cast<Address>(context.Esp); 723 sample->fp = reinterpret_cast<Address>(context.Ebp) [all...] |
/frameworks/av/media/libstagefright/ |
FLACExtractor.cpp | 109 MediaBuffer *readBuffer(FLAC__uint64 sample) { 110 return readBuffer(true, sample); 148 MediaBuffer *readBuffer(bool doSeek, FLAC__uint64 sample); 548 ALOGE("unsupported bits per sample %u", getBitsPerSample()); 551 // check sample rate 566 ALOGE("unsupported sample rate %u", getSampleRate()); 597 // sample rate is non-zero, so division by zero not possible 626 MediaBuffer *FLACParser::readBuffer(bool doSeek, FLAC__uint64 sample) 632 if (!FLAC__stream_decoder_seek_absolute(mDecoder, sample)) { 633 ALOGE("FLACParser::readBuffer seek to sample %llu failed", sample) 738 FLAC__uint64 sample; local [all...] |
/external/chromium/base/metrics/ |
histogram_unittest.cc | 283 Histogram::SampleSet sample; local 284 histogram->SnapshotSample(&sample); 285 EXPECT_EQ(2, sample.counts(0)); 286 EXPECT_EQ(0, sample.counts(1)); 289 EXPECT_EQ(0, sample.counts(array_size - 2)); 290 EXPECT_EQ(2, sample.counts(array_size - 1)); 318 Histogram::SampleSet sample; local 319 histogram->SnapshotSample(&sample); 322 EXPECT_EQ(i + 1, sample.counts(i)); 346 snapshot.counts_[3] += 100; // Sample count won't match redundant count [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
memory_region_map.cc | 301 Region sample; local 302 sample.SetRegionSetKey(addr); 303 RegionSet::iterator region = regions_->lower_bound(sample); 366 Region sample; local 367 sample.SetRegionSetKey(region.start_addr); 368 i = regions_->lower_bound(sample); 519 Region sample; 520 sample.SetRegionSetKey(start_addr); 522 for (RegionSet::iterator region = regions_->lower_bound(sample);
|
/external/linux-tools-perf/util/ |
evsel.c | 301 struct perf_sample *sample) 303 const u64 *array = event->sample.array; 310 sample->cpu = *p; 315 sample->stream_id = *array; 320 sample->id = *array; 325 sample->time = *array; 331 sample->pid = p[0]; 332 sample->tid = p[1]; 364 array = event->sample.array;
|
/external/opencv/ml/src/ |
ml_inner_functions.cpp | 156 /* Generates <sample> from multivariate normal distribution, where <mean> - is an 158 CV_IMPL void cvRandMVNormal( CvMat* mean, CvMat* cov, CvMat* sample, CvRNG* rng ) 160 int dim = sample->cols; 161 int amount = sample->rows; 164 cvRandArr(&state, sample, CV_RAND_NORMAL, cvScalarAll(0), cvScalarAll(1) ); 166 CvMat* utmat = cvCreateMat(dim, dim, sample->type); 167 CvMat* vect = cvCreateMatHeader(1, dim, sample->type); 174 cvGetRow(sample, vect, i); 183 /* Generates <sample> of <amount> points from a discrete variate xi, 185 CV_IMPL void cvRandSeries( float probs[], int len, int sample[], int amount 332 CvMat *cov, sample; local 1076 const float* sample; member in struct:CvSampleResponsePair 1160 const CvMat* sample = (const CvMat*)_sample; local [all...] |
/external/chromium_org/chrome/browser/chromeos/login/enrollment/ |
enrollment_screen.cc | 32 void UMA(int sample) { 34 sample, 288 void EnrollmentScreen::UMAFailure(int sample) { 290 sample = policy::kMetricEnrollmentAutoFailed; 291 UMA(sample);
|
/external/linux-tools-perf/ |
builtin-diff.c | 34 struct perf_sample *sample, 40 if (perf_event__preprocess_sample(event, session, &al, sample, NULL) < 0) { 49 if (hists__add_entry(&session->hists, &al, sample->period)) { 54 session->hists.stats.total_period += sample->period; 59 .sample = diff__process_sample_event,
|
/external/pixman/pixman/ |
pixman-filter.c | 192 #define SAMPLE(a1, a2) \ 199 s = SAMPLE (x1, x2); 206 s += 2 * SAMPLE (a1, a2); 209 s += 4 * SAMPLE (a1, a2); 212 s += SAMPLE (x1 + width, x2 + width); 221 pixman_kernel_t sample, 230 size = scale * filters[sample].width + filters[reconstruct].width; 246 /* Sample convolution of reconstruction and sampling 248 * and sample positions. 260 double slow = pos - scale * filters[sample].width / 2.0 [all...] |
/external/chromium_org/media/base/simd/ |
vector_math_sse.cc | 108 const float sample = src[i]; local 109 const float sample_squared = sample * sample;
|
/external/chromium_org/media/video/capture/win/ |
sink_input_pin_win.cc | 129 HRESULT SinkInputPin::Receive(IMediaSample* sample) { 130 const int length = sample->GetActualDataLength(); 132 if (FAILED(sample->GetPointer(&buffer)))
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8InspectorFrontendHostCustom.cpp | 131 int sample = info[0]->ToInt32()->Value(); local 132 if (sample < boundaryValue) 133 blink::Platform::current()->histogramEnumeration(name, sample, boundaryValue);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_double_list.h | 112 * 'sample' MUST be initialized, or else the result is undefined! 115 #define container_of(ptr, sample, member) \ 117 - ((char *)&(sample)->member - (char *)(sample)))
|
/external/chromium_org/v8/src/ |
counters.h | 55 // Register an application-defined function to add a sample 79 // sample values. buckets is the maximum number of buckets 89 // Add a sample to a histogram created with the CreateHistogram 91 void AddHistogramSample(void* histogram, int sample) { 93 return add_histogram_sample_function_(histogram, sample); 202 // Add a single sample to this histogram. 203 void AddSample(int sample);
|
/external/chromium_org/v8/test/webkit/fast/js/ |
regexp-unicode-handling.js | 60 var sample="sample bm\u2820p cm\\u2820p"; 90 shouldBe("inlineRe.exec(sample)[0]", "'bm\u2820p'") 91 shouldBe("evalInlineRe.exec(sample)[0]", "'bm\u2820p'") 92 shouldBe("explicitRe.exec(sample)[0]", "'bm\u2820p'") 96 var bsample="sample bm\u007cp cm\\u007cp";
|
/external/chromium_org/webkit/child/ |
webkitplatformsupport_impl.h | 74 const char* name, int sample, int min, int max, int bucket_count); 76 const char* name, int sample, int boundary_value); 77 virtual void histogramSparse(const char* name, int sample);
|
/external/libyuv/files/source/ |
convert.cc | [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_double_list.h | 112 * 'sample' MUST be initialized, or else the result is undefined! 115 #define container_of(ptr, sample, member) \ 117 - ((char *)&(sample)->member - (char *)(sample)))
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_wave.c | 215 Sint32 sample; member in struct:IMA_ADPCM_decodestate 267 /* Compute difference and new sample value */ 274 state->sample += delta; 285 /* Clamp output sample */ 286 if ( state->sample > max_audioval ) { 287 state->sample = max_audioval; 289 if ( state->sample < min_audioval ) { 290 state->sample = min_audioval; 292 return(state->sample); 358 state[c].sample = ((encoded[1]<<8)|encoded[0]) [all...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
stochastic_linear_ranker.h | 176 double ScoreSample(const SparseWeightVector<Key, Hash> &sample) { 177 const double dot = weight_.DotProduct(sample); 187 s_square = sample.L2Norm();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidDeflateTest.java | 93 * Create a large data sample. 98 private void createSample(byte[] sample, int stepStep) { 102 assertTrue(sample.length >= 128 * 1024); 109 sample[offset++] = val;
|
OldAndroidZipFileTest.java | 58 byte[] sample = new byte[SAMPLE_SIZE]; 67 sample[offset++] = val; 74 return sample;
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
AppNavHomeActivity.java | 69 SampleInfo sample = new SampleInfo(label, target); local 70 samples.add(sample);
|