/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | event.h | 180 struct sample_event sample; member in union:perf_event 194 struct perf_sample *sample, 215 struct perf_sample *sample, 219 struct perf_sample *sample, 223 struct perf_sample *sample, 227 struct perf_sample *sample, 231 struct perf_sample *sample, 235 struct perf_sample *sample, 239 struct perf_sample *sample, 246 struct perf_sample *sample); [all...] |
H A D | unwind.c | 76 struct perf_sample *sample; member in struct:unwind_info 389 struct stack_dump *stack = &ui->sample->user_stack; 395 if (__write || !stack || !ui->sample->user_regs.regs) { 400 ret = reg_value(&start, &ui->sample->user_regs, PERF_REG_SP, 442 if (!ui->sample->user_regs.regs) { 451 ret = reg_value(valp, &ui->sample->user_regs, id, ui->sample_uregs); 552 .sample = data,
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_blit.c | 138 unsigned layer, level, sample, checked_last_layer, max_layer, max_sample; local 182 for (sample = first_sample; sample <= last_sample; sample++) { 185 if (sample != rctx->db_misc_state.copy_sample) { 186 rctx->db_misc_state.copy_sample = sample; 207 util_blitter_custom_depth_stencil(rctx->blitter, zsurf, cbsurf, 1 << sample, 347 /* Decompress the first sample only. */ 374 /* Copy the first sample into dst. */ 768 * copy only the first sample (whic [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_triangle.c | 273 GLchan sample[4]; /* the filtered texture sample */ local 283 sample[RCOMP] = tex00[2]; \ 284 sample[GCOMP] = tex00[1]; \ 285 sample[BCOMP] = tex00[0]; \ 286 sample[ACOMP] = CHAN_MAX; 289 sample[RCOMP] = ilerp_2d(sf, tf, tex00[2], tex01[2], tex10[2], tex11[2]);\ 290 sample[GCOMP] = ilerp_2d(sf, tf, tex00[1], tex01[1], tex10[1], tex11[1]);\ 291 sample[BCOMP] = ilerp_2d(sf, tf, tex00[0], tex01[0], tex10[0], tex11[0]);\ 292 sample[ACOM 610 GLchan sample[4]; /* the filtered texture sample */ local [all...] |
/external/opencv/ml/src/ |
H A D | 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, 535 predict( const CvMat* sample, const CvMat* missing ) const argument [all...] |
/external/oprofile/pp/ |
H A D | 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 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
H A D | SDL_fbevents.c | 748 struct ts_sample sample; local 751 while (ts_read(ts_dev, &sample, 1) > 0) { 752 button = (sample.pressure > 0) ? 1 : 0; 754 FB_vgamousecallback(button, 0, sample.x, sample.y);
|
/external/qemu/hw/android/goldfish/ |
H A D | audio.c | 376 int sample = (sample1 + sample2) >> 1; local 377 dst[0] = (uint8_t) sample; 378 dst[1] = (uint8_t)(sample >> 8);
|
/external/srec/srec/EventLog/src/ |
H A D | 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 [all...] |
/external/webrtc/src/modules/audio_processing/agc/ |
H A D | 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 < [all...] |
/external/chromium_org/chrome/browser/net/ |
H A D | network_stats.cc | 92 uint32 sample, 100 histogram_pointer->Add(sample); 104 const base::TimeDelta& sample) { 111 histogram_pointer->AddTime(sample); 115 uint32 sample, 122 histogram_pointer->Add(sample); 91 DynamicHistogramEnumeration(const std::string& name, uint32 sample, uint32 boundary_value) argument 103 DynamicHistogramTimes(const std::string& name, const base::TimeDelta& sample) argument 114 DynamicHistogramCounts(const std::string& name, uint32 sample, uint32 min, uint32 max, uint32 bucket_count) argument
|
/external/chromium_org/content/common/gpu/media/ |
H A D | dxva_video_decode_accelerator.cc | 72 base::win::ScopedComPtr<IMFSample> sample; local 73 HRESULT hr = MFCreateSample(sample.Receive()); 75 return sample.Detach(); 78 // Creates a Media Foundation sample with one buffer of length |buffer_length| 83 base::win::ScopedComPtr<IMFSample> sample; local 84 sample.Attach(CreateEmptySample()); 97 RETURN_ON_HR_FAILURE(hr, "Failed to create memory buffer for sample", NULL); 99 hr = sample->AddBuffer(buffer); 100 RETURN_ON_HR_FAILURE(hr, "Failed to add buffer to sample", NULL); 102 return sample 114 base::win::ScopedComPtr<IMFSample> sample; local 370 PendingSampleInfo( int32 buffer_id, IMFSample* sample) argument 512 base::win::ScopedComPtr<IMFSample> sample; local 876 ProcessOutputSample(IMFSample* sample) argument 1101 DecodeInternal( const base::win::ScopedComPtr<IMFSample>& sample) argument [all...] |
/external/chromium_org/net/quic/ |
H A D | quic_connection_logger.cc | 34 // Hence the largest sample is bounded by the sum of those numbers. 272 int sample = GetAddressMismatch(server_hello_address, public_reset_address); local 275 if (sample < 0) { 279 sample, QUIC_ADDRESS_MISMATCH_MAX); 759 // received. As a result, there are 64 possible sample-patterns. 770 // broken into 21 distinct ranges, and one sample is added into each of those
|
/external/chromium_org/sql/ |
H A D | connection.cc | 233 size_t sample = static_cast<size_t>(size_64 / 1024); local 240 histogram->Add(sample); 1034 size_t sample) const { 1048 histogram->Add(sample);
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
H A D | jitter_buffer.cc | 1206 void VCMJitterBuffer::UpdateJitterEstimate(const VCMJitterSample& sample, argument 1208 if (sample.latest_packet_time == -1) { 1211 UpdateJitterEstimate(sample.latest_packet_time, sample.timestamp, 1212 sample.frame_size, incomplete_frame);
|
/external/chromium_org/v8/src/ |
H A D | profile-generator.cc | 469 // ... though return true to force it collect a sample. 575 void ProfileGenerator::RecordTickSample(const TickSample& sample) { argument 577 ScopedVector<CodeEntry*> entries(sample.frames_count + 3); 582 if (sample.pc != NULL) { 583 if (sample.has_external_callback && sample.state == EXTERNAL && 584 sample.top_frame_type == StackFrame::EXIT) { 588 *entry++ = code_map_.FindEntry(sample.external_callback); 591 CodeEntry* pc_entry = code_map_.FindEntry(sample.pc, &start); 601 sample [all...] |
H A D | profile-generator.h | 185 ProfileNode* sample(int index) const { return samples_.at(index); } function in class:v8::internal::CpuProfile 311 void RecordTickSample(const TickSample& sample);
|
/external/chromium_org/v8/test/cctest/ |
H A D | test-cpu-profiler.cc | 67 i::TickSample* sample = proc->StartTickSample(); local 68 sample->pc = frame1; 69 sample->tos = frame1; 70 sample->frames_count = 0; 72 sample->stack[0] = frame2; 73 sample->frames_count = 1; 76 sample->stack[1] = frame3; 77 sample->frames_count = 2; 281 i::TickSample* sample = processor->StartTickSample(); local 282 sample [all...] |
/external/deqp/framework/referencerenderer/ |
H A D | rrFragmentOperations.cpp | 413 SampleData& sample = m_sampleRegister[regSampleNdx]; \ 414 const Vec4& srcColor = sample.clampedBlendSrcColor; \ 415 const Vec4& dstColor = sample.clampedBlendDstColor; \ 417 sample.COLOR_NAME = (COLOR_EXPRESSION); \ 423 case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB + dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB) break; 424 case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB - dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB) break; 425 case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB - srcColor.swizzle(0,1,2)*sample 598 SampleData& sample = m_sampleRegister[regSampleNdx]; local [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureMultisampleTests.cpp | 92 * \brief Creates sample mask with all less significant bits than nthBit set 109 * \brief Creates sample mask with nthBit set 201 throw tcu::NotSupportedError("Requested sample count is greater than GL_MAX_COLOR_TEXTURE_SAMPLES"); 265 // generate multisample texture (and query the sample positions in it) 274 m_testCtx.getLog() << tcu::TestLog::Message << "// ERROR: Sample position of sample " << sampleNdx << " should be in range ([0, 1], [0, 1]). Got " << m_samplePositions[sampleNdx] << tcu::TestLog::EndMessage; 275 throw tcu::TestError("invalid sample position"); 359 // Setup fbo for drawing and for sample position query 368 // Query sample positions of the multisample texture by querying the sample positions 379 throw tcu::TestError("Error while querying sample position 829 updateTexture(int sample) argument 931 verifyTexture(int sample) argument 984 drawSample(tcu::Surface& dst, int sample) argument [all...] |
/external/flac/libFLAC/ |
H A D | metadata_object.c | 1118 FLAC__uint64 num, sample; local 1120 num = 1 + total_samples / samples; /* 1+ for the first sample at 0 */ 1130 sample = 0; 1131 for(j = 0; j < num; i++, j++, sample += samples) { 1132 seek_table->points[i].sample_number = sample;
|
/external/kernel-headers/original/uapi/sound/ |
H A D | 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_fla 162 unsigned short sample; /* sample id */ member in struct:soundfont_sample_info [all...] |
/external/libyuv/files/source/ |
H A D | convert.cc | 1617 int MJPGToI420(const uint8* sample, argument 1631 bool ret = mjpeg_decoder.LoadFrame(sample, sample_size); 1692 // TODO(fbarchard): Implement conversion for any other colorspace/sample 1703 // Convert camera sample to I420 with cropping, rotation and vertical flip. 1709 int ConvertToI420(const uint8* sample, argument 1723 if (!y || !u || !v || !sample || 1741 // For in-place conversion, if destination y is same as source sample, 1745 format != FOURCC_YU12 && format != FOURCC_YV12) || y == sample; 1771 src = sample + (aligned_src_width * crop_y + crop_x) * 2; 1779 src = sample [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-diff.c | 316 struct perf_sample *sample, 322 if (perf_event__preprocess_sample(event, machine, &al, sample) < 0) { 331 if (hists__add_entry(&evsel->hists, &al, sample->period, sample->weight)) { 336 evsel->hists.stats.total_period += sample->period; 341 .sample = diff__process_sample_event, 314 diff__process_sample_event(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine) argument
|
H A D | builtin-kmem.c | 213 struct perf_sample *sample) 215 unsigned long ptr = perf_evsel__intval(evsel, sample, "ptr"), 216 call_site = perf_evsel__intval(evsel, sample, "call_site"); 217 int bytes_req = perf_evsel__intval(evsel, sample, "bytes_req"), 218 bytes_alloc = perf_evsel__intval(evsel, sample, "bytes_alloc"); 220 if (insert_alloc_stat(call_site, ptr, bytes_req, bytes_alloc, sample->cpu) || 232 struct perf_sample *sample) 234 int ret = perf_evsel__process_alloc_event(evsel, sample); 237 int node1 = cpunode_map[sample->cpu], 238 node2 = perf_evsel__intval(evsel, sample, "nod 212 perf_evsel__process_alloc_event(struct perf_evsel *evsel, struct perf_sample *sample) argument 231 perf_evsel__process_alloc_node_event(struct perf_evsel *evsel, struct perf_sample *sample) argument 275 perf_evsel__process_free_event(struct perf_evsel *evsel, struct perf_sample *sample) argument 302 process_sample_event(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct perf_evsel *evsel, struct machine *machine) argument [all...] |