/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); 525 ALOGE("unsupported bits per sample %u", getBitsPerSample()); 528 // check sample rate 542 ALOGE("unsupported sample rate %u", getSampleRate()); 570 // sample rate is non-zero, so division by zero not possible 599 MediaBuffer *FLACParser::readBuffer(bool doSeek, FLAC__uint64 sample) 605 if (!FLAC__stream_decoder_seek_absolute(mDecoder, sample)) { 606 ALOGE("FLACParser::readBuffer seek to sample %llu failed", sample) 711 FLAC__uint64 sample; local [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 93 float[] sample = new float[bitmapSize * bitmapSize]; local 94 Arrays.fill(sample, 0); 159 plot(segmentStartX, segmentStartY, sample, bitmapSize); 168 plot(xpos, ypos, sample, bitmapSize); 177 plot(xpos, ypos, sample, bitmapSize); 188 plot(xpos, ypos, sample, bitmapSize); 197 plot(xpos, ypos, sample, bitmapSize); 206 return sample; 209 private static void plot(float x, float y, float[] sample, int sampleSize) { 220 if (sample[index] < 1) [all...] |
/packages/apps/Settings/src/com/android/settings/tts/ |
TextToSpeechSettings.java | 196 * Ask the current default engine to return a string of sample text to be 220 if (DBG) Log.d(TAG, "Getting sample text: " + intent.toUri(0)); 223 Log.e(TAG, "Failed to get sample text, no activity found for " + intent + ")"); 270 String sample = getDefaultSampleString(); local 274 sample = data.getStringExtra("sampleText"); 276 if (DBG) Log.d(TAG, "Got sample text: " + sample); 278 if (DBG) Log.d(TAG, "Using default sample text :" + sample); 281 if (sample != null && mTts != null) [all...] |
/external/aac/libPCMutils/src/ |
pcmutils_lib.cpp | 832 UINT sample; local 895 for (sample = 0; sample < frameSize; sample++) { 905 for (sample = 0; sample < frameSize; sample++) { 914 for (sample = 0; sample < frameSize; sample++) 1152 UINT sample; local [all...] |
/external/chromium/base/metrics/ |
histogram.cc | 77 Sample minimum, 78 Sample maximum, 131 void Histogram::AddSampleSet(const SampleSet& sample) { 132 sample_.Add(sample); 244 SampleSet sample; local 254 !sample.Histogram::SampleSet::Deserialize(&iter, pickle)) { 298 render_histogram->AddSampleSet(sample); 305 // Methods for the validating a sample and a related histogram. 311 Sample previous_range = -1; // Bottom range is always 0. 331 // we'll catch a redundant count that doesn't match the sample count. W [all...] |
/external/icu4c/test/intltest/ |
tmsgfmt.cpp | 41 TESTCASE_AUTO(sample); 369 void TestMessageFormat::sample() function in class:TestMessageFormat 377 logln("Sample message format creation failed."); [all...] |
/external/linux-tools-perf/ |
builtin-timechart.c | 243 struct cpu_sample *sample; local 256 sample = malloc(sizeof(struct cpu_sample)); 257 assert(sample != NULL); 258 memset(sample, 0, sizeof(struct cpu_sample)); 259 sample->start_time = start; 260 sample->end_time = end; 261 sample->type = type; 262 sample->next = c->samples; 263 sample->cpu = cpu; 264 c->samples = sample; 767 struct cpu_sample *sample; local 789 struct cpu_sample *sample; local [all...] |
/external/linux-tools-perf/util/ |
python.c | 32 offsetof(struct pyrf_event, sample) + offsetof(struct perf_sample, member), \ 37 struct perf_sample sample; member in struct:pyrf_event 696 sample_id_all, &pevent->sample); 699 "perf: can't parse sample, err=%d", err);
|
session.c | 301 struct perf_sample *sample __used, 310 struct perf_sample *sample __used, 331 if (handler->sample == NULL) 332 handler->sample = process_event_sample_stub; 492 struct perf_sample *sample, 502 struct perf_sample sample; local 514 ret = perf_session__parse_sample(s, iter->event, &sample); 516 pr_err("Can't parse sample, err = %d\n", ret); 518 perf_session_deliver_event(s, iter->event, &sample, ops, 587 struct sample_queue *sample = os->last_sample local 817 struct perf_sample sample; local [all...] |
/external/opencv/cvaux/src/ |
cvlmeds.cpp | 50 int sample, j, amount_samples, done; local 102 for( sample = 0; sample < amount_samples; sample++ ) [all...] |
/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...] |
mlsvm.cpp | 238 const float* sample = vecs[j]; local 241 s += sample[k]*another[k] + sample[k+1]*another[k+1] + 242 sample[k+2]*another[k+2] + sample[k+3]*another[k+3]; 244 s += sample[k]*another[k]; 294 const float* sample = vecs[j]; local 299 double t0 = sample[k] - another[k]; 300 double t1 = sample[k+1] - another[k+1]; 304 t0 = sample[k+2] - another[k+2] [all...] |
/external/v8/src/ |
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...] |
platform-freebsd.cc | 695 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); local 696 if (sample == NULL) sample = &sample_obj; 698 // Extracting the sample from the context is extremely machine dependent. 701 sample->state = isolate->current_vm_state(); 703 sample->pc = reinterpret_cast<Address>(mcontext.mc_eip); 704 sample->sp = reinterpret_cast<Address>(mcontext.mc_esp); 705 sample->fp = reinterpret_cast<Address>(mcontext.mc_ebp); 707 sample->pc = reinterpret_cast<Address>(mcontext.mc_rip); 708 sample->sp = reinterpret_cast<Address>(mcontext.mc_rsp) [all...] |
platform-macos.cc | 820 TickSample* sample = CpuProfiler::TickSampleEvent(sampler->isolate()); local 821 if (sample == NULL) sample = &sample_obj; 851 sample->state = sampler->isolate()->current_vm_state(); 852 sample->pc = reinterpret_cast<Address>(state.REGISTER_FIELD(ip)); 853 sample->sp = reinterpret_cast<Address>(state.REGISTER_FIELD(sp)); 854 sample->fp = reinterpret_cast<Address>(state.REGISTER_FIELD(bp)); 855 sampler->SampleStack(sample); 856 sampler->Tick(sample);
|
platform-solaris.cc | 687 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); local 688 if (sample == NULL) sample = &sample_obj; 690 // Extracting the sample from the context is extremely machine dependent. 693 sample->state = isolate->current_vm_state(); 695 sample->pc = reinterpret_cast<Address>(mcontext.gregs[REG_PC]); 696 sample->sp = reinterpret_cast<Address>(mcontext.gregs[REG_SP]); 697 sample->fp = reinterpret_cast<Address>(mcontext.gregs[REG_FP]); 699 sampler->SampleStack(sample); 700 sampler->Tick(sample); [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-linux.cc | 1045 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); local 1046 if (sample == NULL) sample = &sample_obj; 1048 // Extracting the sample from the context is extremely machine dependent. 1051 sample->state = isolate->current_vm_state(); 1053 sample->pc = reinterpret_cast<Address>(mcontext.gregs[REG_EIP]); 1054 sample->sp = reinterpret_cast<Address>(mcontext.gregs[REG_ESP]); 1055 sample->fp = reinterpret_cast<Address>(mcontext.gregs[REG_EBP]); 1057 sample->pc = reinterpret_cast<Address>(mcontext.gregs[REG_RIP]); 1058 sample->sp = reinterpret_cast<Address>(mcontext.gregs[REG_RSP]) [all...] |
platform-openbsd.cc | 748 TickSample* sample = CpuProfiler::TickSampleEvent(isolate); local 749 if (sample == NULL) sample = &sample_obj; 751 // Extracting the sample from the context is extremely machine dependent. 752 sample->state = isolate->current_vm_state(); 757 sample->pc = reinterpret_cast<Address>(mcontext.__gregs[_REG_EIP]); 758 sample->sp = reinterpret_cast<Address>(mcontext.__gregs[_REG_ESP]); 759 sample->fp = reinterpret_cast<Address>(mcontext.__gregs[_REG_EBP]); 761 sample->pc = reinterpret_cast<Address>(mcontext.__gregs[_REG_RIP]); 762 sample->sp = reinterpret_cast<Address>(mcontext.__gregs[_REG_RSP]) [all...] |
/frameworks/base/voip/jni/rtp/ |
AudioGroup.cpp | 320 int32_t sample = buffer[i]; local 321 if (sample < -32768) { 322 sample = -32768; 324 if (sample > 32767) { 325 sample = 32767; 327 samples[i] = sample;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
sfnt_info.h | 56 #define SNDRV_SFNT_PROBE_DATA 8 /* optarg=sample */ 72 unsigned short type; /* sample type */ 77 #define SNDRV_SFNT_PAT_SHARED 0x200 /* sample is shared */ 117 unsigned short sample; /* sample id */ member in struct:soundfont_voice_info 118 int start, end; /* sample offset correction */ 120 short rate_offset; /* sample rate pitch offset */ 121 unsigned short mode; /* sample mode */ 135 unsigned char amplitude; /* sample volume (127 max) */ 139 unsigned short sample_mode; /* sample mode_flag (set by driver) * 162 unsigned short sample; \/* sample id *\/ member in struct:soundfont_sample_info [all...] |
/external/flac/libFLAC/ |
stream_decoder.c | 166 /* for use when the signal is <= 16 bits-per-sample, or <= 15 bits-per-sample on a side channel (which requires 1 extra bit): */ 168 /* for use when the signal is <= 16 bits-per-sample, or <= 15 bits-per-sample on a side channel (which requires 1 extra bit), AND order <= 8: */ 2724 unsigned partition, sample, u; local [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractMultimapTest.java | 53 Multimap<String, Integer> sample = create(); local 54 sample.putAll("foo", asList(3, -1, 2, 4, 1)); 55 sample.putAll("bar", asList(1, 2, 3, 1)); 56 return sample; [all...] |
/external/quake/quake/src/QW/server/ |
pr_cmds.c | 477 char *sample; local 485 sample = G_STRING(OFS_PARM2); 489 SV_StartSound (entity, channel, sample, volume, attenuation);
|
/external/quake/quake/src/WinQuake/ |
pr_cmds.cpp | 560 char *sample; local 568 sample = G_STRING(OFS_PARM2); 581 SV_StartSound (entity, channel, sample, volume, attenuation); [all...] |