/external/python/cpython2/Modules/ |
sunaudiodev.c | 28 int x_icount; /* # samples read */ 29 int x_ocount; /* # samples written */ 231 return PyInt_FromLong(ai.record.samples - self->x_icount); 243 /* x_ocount is in bytes, whereas play.samples is in frames */ 247 ai.play.samples); 354 { "i_samples", T_UINT, OFF(record.samples) }, 373 { "o_samples", T_UINT, OFF(play.samples) },
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
Framebuffer.h | 80 GLenum completeness(int &width, int &height, int &samples);
|
/external/swiftshader/src/Vulkan/ |
VkImage.hpp | 87 VkSampleCountFlagBits samples = VK_SAMPLE_COUNT_1_BIT; member in class:vk::Image
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
monte_carlo_test.py | 176 samples = p.sample(int(1e5), seed=1) 177 efx_reparam = mc.expectation(f, samples, p.log_prob) 178 efx_score = mc.expectation(f, samples, p.log_prob, 225 samples=p.sample(num_draws, seed=42),
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
dirichlet_test.py | 79 with self.assertRaisesOpError("samples must be positive"): 81 with self.assertRaisesOpError("samples must be positive"): 252 samples = dirichlet.sample(n) 253 sample_values = self.evaluate(samples) 270 samples = dirichlet.sample(100) 271 grad_alpha = tape.gradient(samples, alpha)
|
/external/v8/tools/heap-stats/ |
model.js | 12 this.samples = Object.create(null); 16 this.samples = {zone: {}};
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
DPFrequency.h | 125 virtual size_t processSamples(const float *in, float *out, size_t samples);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
FragmentedMp4Builder.java | 82 * @param intersectionMap a map from tracks to their fragments' first samples. 199 final List<ByteBuffer> samples = ByteBufferHelper.mergeAdjacentBuffers(bbs); 211 for (int i = 0; i < Math.ceil((double) samples.size() / STEPSIZE); i++) { 212 List<ByteBuffer> sublist = samples.subList( 214 (i + 1) * STEPSIZE < samples.size() ? (i + 1) * STEPSIZE : samples.size()); // end 222 for (ByteBuffer sample : samples) { 266 * Gets the all samples starting with <code>startSample</code> (one based -> one is the first) and 271 * @param track source of the samples 272 * @param sequenceNumber the fragment index of the requested list of samples [all...] |
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
cauchy_test.py | 357 samples = cauchy.sample(n) 358 sample_values = samples.eval() 366 self.assertAllEqual(expected_shape, samples.shape) 372 self.assertAllEqual(expected_shape, samples.shape) 383 samples = cauchy.sample(n) 384 sample_values = samples.eval() 385 self.assertEqual(samples.shape, (100000, batch_size, 2)) 393 self.assertAllEqual(expected_shape, samples.shape) 398 self.assertAllEqual(expected_shape, samples.shape)
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
st_lsm6dsm.c | 100 #define LSM6DSM_MAX_WATERMARK_VALUE 600 /* 4096byte = 682 samples, use 600 to avoid overflow */ 4200 struct TripleAxisDataPoint *samples; local [all...] |
/external/mesa3d/src/intel/blorp/ |
blorp_blit.c | 482 unreachable("Invalid number of samples for IMS layout"); 584 unreachable("Invalid number of samples for IMS layout"); 627 /* We add together samples using a binary tree structure, e.g. for 4x MSAA: 631 * This ensures that when all samples have the same value, no numerical 650 * works provided the total number of samples is a power of two, which it 675 * all samples are on sample slice 0), and sample only from 680 * ld2dms are equivalent (since all samples are on sample slice 0). 756 /* Translate coordinates to lay out the samples in a rectangular grid 798 * grid of samples with in a pixel. Sample number layout shows the 799 * rectangular grid of samples roughly corresponding to the real sampl [all...] |
/external/mesa3d/src/intel/vulkan/ |
anv_image.c | 332 .samples = vk_info->samples, 361 .samples = vk_info->samples, 395 } else if (dev->info.gen == 8 && vk_info->samples > 1) { 406 } else if ((aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) && vk_info->samples == 1) { 463 } else if ((aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) && vk_info->samples > 1) { 532 anv_assert(pCreateInfo->samples > 0); 549 image->samples = pCreateInfo->samples; [all...] |
/external/flac/libFLAC/ |
stream_encoder.c | 86 unsigned size; /* of each data[] in samples */ 137 static FLAC__bool write_bitbuffer_(FLAC__StreamEncoder *encoder, unsigned samples, FLAC__bool is_last_block); 138 static FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, FLAC__bool is_last_block); 279 static unsigned get_wasted_bits_(FLAC__int32 signal[], unsigned samples); 306 static FLAC__StreamEncoderWriteStatus file_write_callback_(const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_data); 317 unsigned input_capacity; /* current size (in samples) of the signal and residual buffers */ 486 /* Number of samples that will be overread to watch for end of stream. By 488 * always try to read blocksize+1 samples before encoding a block, so that 2707 const FLAC__uint64 samples = metadata->data.stream_info.total_samples; local 2872 const FLAC__uint64 samples = metadata->data.stream_info.total_samples; local [all...] |
/build/make/tools/droiddoc/templates-ndk/ |
docpage.cs | 8 if:samples ?> samples<?cs /if ?><?cs 83 | <a href="<?cs var:toroot ?>samples/<?cs var:projectDir ?>/project.html">Project</a> 84 | <a href="<?cs var:toroot ?>downloads/samples/<?cs var:projectDir ?>.zip">Download</a>
|
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/ |
ApplyTemplates.groovy | 16 package com.example.android.samples.build
|
/development/tools/findunused/ |
findunusedresources | 49 if [ -d $app/samples ] 51 sources="$sources $app/samples"
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
invensense_icm40600.c | 436 /* skip first some samples */ 709 #define DEC_INFO(name, type, axis, inter, samples) \ 714 .minSamples = samples 716 #define DEC_INFO_RATE(name, rates, type, axis, inter, samples) \ 717 DEC_INFO(name, type, axis, inter, samples), \ 720 #define DEC_INFO_RATE_RAW(name, rates, type, axis, inter, samples, raw, scale) \ 721 DEC_INFO(name, type, axis, inter, samples), \ 727 #define DEC_INFO_RATE_BIAS(name, rates, type, axis, inter, samples, bias) \ 728 DEC_INFO(name, type, axis, inter, samples), \ 733 #define DEC_INFO_RATE_RAW_BIAS(name, rates, type, axis, inter, samples, raw, scale, bias) [all...] |
/device/google/contexthub/firmware/os/drivers/tilt_detection/ |
tilt_detection.c | 84 uint32_t numSamples = ev->samples[0].firstSample.numSamples; 90 sample = &ev->samples[i];
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_sys.py | 550 samples = ['', 'u'*100000]
551 for sample in samples:
660 samples = [[], [1,2,3], ['1', '2', '3']]
661 for sample in samples:
702 samples = [[], range(10), range(50)]
704 for sample in samples:
747 samples = [u'', u'1'*100]
750 for s in samples:
|
/device/sample/products/ |
sample_addon.mk | 23 # emulator skin (or for samples)
|
/external/adhd/cras/src/server/ |
test_iodev.c | 241 uint8_t *samples, 249 memcpy(write_ptr, samples, count * testio->fmt_bytes);
|
/external/bcc/examples/lua/ |
sock-proto.lua | 19 -- Rewrite of https://github.com/torvalds/linux/blob/master/samples/bpf/sock_example.c
|
sock-protolen.lua | 20 -- Rewrite of https://github.com/torvalds/linux/blob/master/samples/bpf/sock_example.c
|
/external/deqp/framework/egl/ |
egluConfigInfo.cpp | 64 case EGL_SAMPLES: return samples; 113 egl.getConfigAttrib(display, config, EGL_SAMPLES, &dst->samples);
|
/external/deqp/modules/gles2/performance/ |
es2pDrawCallBatchingTests.cpp | 793 Statistics calculateStats (const vector<deUint64>& samples) 797 for (int i = 0; i < (int)samples.size(); i++) 798 mean += (double)samples[i]; 800 mean /= (double)samples.size(); 804 for (int i = 0; i < (int)samples.size(); i++) 806 double x = (double)samples[i]; 810 standardDeviation /= (double)samples.size(); 813 double standardErrorOfMean = standardDeviation / std::sqrt((double)samples.size()); 880 log << TestLog::Message << "Batched samples; Count: " << m_batchedSamplesUs.size() << ", Mean: " << batchedStats.mean << "us, Standard deviation: " << batchedStats.standardDeviation << "us, Standard error of mean: " << batchedStats.standardErrorOfMean << "us(" << (batchedStats.standardErrorOfMean/batchedStats.mean) << ")" << TestLog::EndMessage; 881 log << TestLog::Message << "Unbatched samples; Count: " << m_unbatchedSamplesUs.size() << ", Mean: " << unbatchedStats.mean << "us, Standard dev (…) [all...] |