/frameworks/base/media/tests/audiotests/ |
shared_mem_test.cpp | 152 long sample; local 155 sample = (amplitude*sin1024[(phi>>22) & 0x3ff]) >> 15; 161 sample = sample + l0; 163 return (short)sample;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
AudioTrackDecoder.java | 91 // Just drop the audio sample. 102 * Fills the argument {@link FrameValue} with an audio sample containing the audio that was 108 AudioSample sample = new AudioSample( local 110 audioFrame.setValue(sample);
|
/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/ |
AppNavHomeActivity.java | 69 SampleInfo sample = new SampleInfo(label, target); local 70 samples.add(sample);
|
/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/ |
SupportCarDemoActivity.java | 73 SampleInfo sample = new SampleInfo(label, target); local 74 samples.add(sample);
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
CardPanel.java | 17 package com.android.car.cluster.sample;
|
ClusterInCallService.java | 17 package com.android.car.cluster.sample; 19 import static com.android.car.cluster.sample.DebugUtil.DEBUG;
|
MediaStateMonitor.java | 16 package com.android.car.cluster.sample; 18 import static com.android.car.cluster.sample.DebugUtil.DEBUG;
|
/dalvik/dx/tests/135-invoke-custom/src/invokecustom/ |
InvokeCustom.java | 197 String sample = strings.stream().filter(x -> "One".equals(x.trim())) local
|
/device/google/contexthub/firmware/os/drivers/hall_twopole/ |
hall_twopole.c | 76 union EmbeddedDataPoint sample; local 79 sample.idata = pinState; 80 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL); 199 union EmbeddedDataPoint sample; local 203 sample.idata = mTask.prevReportedState; 204 result = osEnqueuePrivateEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL, tid);
|
/device/google/contexthub/firmware/os/drivers/tilt_detection/ |
tilt_detection.c | 86 struct TripleAxisDataPoint *sample; local 90 sample = &ev->samples[i]; 92 sample_ts += sample->deltaTime; 98 state->this_batch_sample_sum[0] += sample->x; 99 state->this_batch_sample_sum[1] += sample->y; 100 state->this_batch_sample_sum[2] += sample->z; 261 union EmbeddedDataPoint sample; local 262 sample.idata = 1; 263 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_TILT), sample.vptr, NULL);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
random.py | 10 pick random sample
51 __all__ = ["Random","seed","random","uniform","randint","choice","sample",
293 def sample(self, population, k):
member in class:Random 299 samples. This allows raffle winners (the sample) to be partitioned
304 selection in the sample.
306 To choose a sample in a range of integers, use xrange as an argument.
308 large population: sample(xrange(10000000), 60)
323 raise ValueError("sample larger than population")
351 return self.sample(tuple(population), k)
893 sample = _inst.sample variable [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
random.py | 10 pick random sample
51 __all__ = ["Random","seed","random","uniform","randint","choice","sample",
290 def sample(self, population, k):
member in class:Random 296 samples. This allows raffle winners (the sample) to be partitioned
301 selection in the sample.
303 To choose a sample in a range of integers, use xrange as an argument.
305 large population: sample(xrange(10000000), 60)
320 raise ValueError("sample larger than population")
348 return self.sample(tuple(population), k)
891 sample = _inst.sample variable [all...] |
/external/ImageMagick/coders/ |
cut.c | 571 sample; 572 sample=ScaleCharToQuantum((unsigned char) i); 573 if(image->colormap[i].red!=sample) goto Finish; 574 if(image->colormap[i].green!=sample) goto Finish; 575 if(image->colormap[i].blue!=sample) goto Finish; 567 sample; local
|
/external/clang/test/SemaCXX/ |
cxx1y-generic-lambdas-capturing.cpp | 26 namespace sample { namespace 176 sample::X cx{5};
|
/external/deqp/executor/ |
xeTestLogWriter.cpp | 471 const ri::Sample& sample = static_cast<const ri::Sample&>(item); local 472 dst << Writer::BeginElement("Sample"); 473 for (int ndx = 0; ndx < sample.values.getNumItems(); ndx++) 474 writeResultItem(sample.values.getItem(ndx), dst);
|
/external/eigen/Eigen/src/Geometry/ |
AlignedBox.h | 164 EIGEN_DEVICE_FUNC inline VectorType sample() const function in class:Eigen::AlignedBox
|
/external/flac/libFLAC/ |
lpc.c | 102 unsigned sample, coeff; local 110 for(sample = 0; sample <= limit; sample++) { 111 d = data[sample]; 113 autoc[coeff] += d * data[sample+coeff]; 115 for(; sample < data_len; sample++) { 116 d = data[sample]; 117 for(coeff = 0; coeff < data_len - sample; coeff++ [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
AnyScriptTest.java | 35 String sample = "abd abc b"; local 36 assertEquals("context works", "aBd abc b", t.transform(sample));
|
/external/icu/icu4c/source/test/cintltst/ |
cucdapi.c | 645 UChar sample[8]; local 647 if(uscript_getSampleString(USCRIPT_LATIN, sample, UPRV_LENGTHOF(sample), &errorCode)!=1 || 649 uscript_getScript(sample[0], &errorCode)!=USCRIPT_LATIN || 650 sample[1]!=0) { 653 sample[0]=0xfffe; 654 if(uscript_getSampleString(USCRIPT_LATIN, sample, 0, &errorCode)!=1 || 656 sample[0]!=0xfffe) { 660 if(uscript_getSampleString(USCRIPT_INVALID_CODE, sample, UPRV_LENGTHOF(sample), &errorCode)!=0 | [all...] |
/external/icu/icu4c/source/test/intltest/ |
ucdtest.cpp | 445 // So far, sample characters are uppercase. 454 UnicodeString sample = uscript_getSampleUnicodeString(sc); local 458 assertTrue("not encoded, no sample", sample.isEmpty()); 464 assertFalse("encoded, has a sample character", sample.isEmpty()); 465 UChar32 firstChar = sample.char32At(0); 467 assertEquals("script(sample(script))",
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
TestUScript.java | 145 String sample = UScript.getSampleString(UScript.LATIN); local 146 if(sample.length()!=1 || UScript.getScript(sample.charAt(0))!=UScript.LATIN) { 149 sample = UScript.getSampleString(UScript.INVALID_CODE); 150 if(sample.length()!=0) { 211 // So far, sample characters are uppercase. 217 String sample = UScript.getSampleString(sc); local 221 assertTrue(sn + " not encoded, no sample", sample.length() == 0); // Java 6: sample.isEmpty( [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
AnyScriptTest.java | 32 String sample = "abd abc b"; local 33 assertEquals("context works", "aBd abc b", t.transform(sample));
|
/external/javassist/sample/evolve/ |
Evolution.java | 1 package sample.evolve;
40 // Get the definition of Sample.make() and store it into trapMethod
42 trapMethod = _pool.getMethod("sample.evolve.Sample", "make");
118 .get("sample.evolve.VersionManager"), versionManagerMethod,
|
/external/javassist/sample/preproc/ |
Compiler.java | 16 package sample.preproc; 39 * java sample.preproc.Compiler sample.j 42 * <p>This command produces <code>sample.java</code>, which only includes 47 * <code>sample.preproc.Assistant</code>. 49 * @see sample.preproc.Assistant
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
freq-step.c | 40 struct sample { struct 56 static double get_sample(struct sample *sample) 78 sample->offset = diff_timespec(&ts2, &ts1); 79 sample->offset -= delay / 2.0; 80 sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9; 119 static void regress(struct sample *samples, int n, double *intercept, 156 struct sample samples[SAMPLES]; 214 struct sample sample; local [all...] |