/external/vulkan-validation-layers/tests/ |
vktestframework.cpp | 8 * deal in the Materials without restriction, including without limitation the 13 * The above copyright notice(s) and this permission notice shall be included in 20 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 21 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 22 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE 23 * USE OR OTHER DEALINGS IN THE MATERIALS. 171 "\t\tDisplay test images in viewer after tests complete.\n"); 173 "\t\tSave tests images as ppm files in current working " 178 "\t\tCompare test images to 'golden' image in golden folder.\n" 179 "\t\tAlso saves the generated test image in current working\n 599 FILE *in; local [all...] |
/external/webp/src/demux/ |
anim_decode.c | 4 // that can be found in the COPYING file in the root of the source 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 232 // Blend 'num_pixels' in 'src' over 'dst' assuming they are NOT pre-multiplied 245 // Individually multiply each channel in 'pix' by 'scale'. 259 // Blend 'num_pixels' in 'src' over 'dst' assuming they are pre-multiplied by 338 const uint8_t* in = iter.fragment.bytes; local 348 if (WebPDecode(in, in_size, config) != VP8_STATUS_OK) [all...] |
/external/webp/src/dsp/ |
lossless_enc_sse2.c | 4 // that can be found in the COPYING file in the root of the source 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 30 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); // argb local 31 const __m128i A = _mm_srli_epi16(in, 8); // 0 a 0 g 34 const __m128i out = _mm_sub_epi8(in, C); 58 const __m128i in = _mm_loadu_si128((__m128i*)&argb_data[i]); // argb local 59 const __m128i A = _mm_and_si128(in, mask_ag); // a 0 g [all...] |
/external/webp/src/utils/ |
quant_levels_dec.c | 4 // that can be found in the COPYING file in the root of the source 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 35 { 0, 8, 2, 10 }, // coefficients are in DFIX fixed-point precision 52 int scale_; // normalization factor, in FIX bits precision 109 const uint16_t* const in = p->end_; local 117 const uint16_t delta = in[x + r - 1] + in[r - x] [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerDyn.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 123 // copy in the input data into the head (impulse+halfNumCoefs) of the buffer. 127 const TI* const in, const size_t inputIndex) 131 head[i] = in[inputIndex*CHANNELS + i]; 135 // advance the impulse pointer, and load in data into the head (impulse+halfNumCoefs) 139 const TI* const in, const size_t inputIndex) 148 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex); 355 // determine the number of polyphases in the filterbank. 394 mPhaseFraction %= phaseWrapLimit; // should not do anything, but just in case 554 const TI* const in = reinterpret_cast<const TI*>(mBuffer.raw); local [all...] |
test-resample.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 60 fprintf(stderr," -O # frames output per call to resample() in CSV format\n"); 61 fprintf(stderr," -P # frames provided per call to resample() in CSV format\n"); 65 // Convert a list of integers in CSV format to a Vector of those values. 66 // Returns the number of elements in the list, or -1 on error. 232 int16_t* in = (int16_t*)input_vaddr; local 238 in[i*channels + j] = yi / (1 + j); 263 const size_t mFrameSize; // size of each frame in bytes 267 size_t mNextPidx; // index of next entry in mPvalues to us [all...] |
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
RgbPlayerActivity.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 185 FileInputStream in = new FileInputStream(filename); local 187 in.read(mImageBytes);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 76 * List of settings that are backed up are stored in the Settings.java file 98 // Slots in the checksum array. Never insert new items in the middle 112 // Number of entries in the checksum array at various version numbers 156 // stored in the full-backup tarfile as well, so should not be changed. 159 // Delay in milliseconds between the restore operation and when we will bounce 160 // wifi in order to rewrite the supplicant config etc. 181 public static Network readFromStream(BufferedReader in) { 712 DataInputStream in = new DataInputStream(instream); local 1008 DataInputStream in = new DataInputStream(bais); local 1207 BufferedReader in = new BufferedReader(new FileReader(FILE_WIFI_SUPPLICANT)); local 1218 BufferedReader in = new BufferedReader(new CharArrayReader(restoredAsBytes)); local 1307 DataInputStream in = new DataInputStream(new ByteArrayInputStream(data)); local [all...] |
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
FingerprintsUserState.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 117 // Not the most efficient algorithm in the world, but there shouldn't be more than 10 206 FileInputStream in; local 211 in = new FileInputStream(mFile); 218 parser.setInput(in, null); 225 IoUtils.closeQuietly(in);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
AbstractClassAdapter.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 72 String in = type.getInternalName(); local 73 return "L" + renameInternalType(in) + ";"; 97 String in = type.getInternalName(); local 98 String newIn = renameInternalType(in); 99 if (!newIn.equals(in)) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
MIMEContainer.java | 36 * @param in A reader to read MIME data from; Note that the charset should be ISO-8859-1 to 39 * @param boundary A boundary string for the MIME section that this container is in. 43 public MIMEContainer(LineNumberReader in, String boundary) throws IOException { 44 Map<String,List<String>> headers = parseHeader(in); 48 throw new IOException("Missing " + Type + " @ " + in.getLineNumber()); 84 String line = in.readLine(); 87 in.getLineNumber()); 97 MIMEContainer container = new MIMEContainer(in, subBoundary); 130 mText = recode(getBody(in, boundary, quoted, eof), charset); 196 private static Map<String,List<String>> parseHeader(LineNumberReader in) throws IOException [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
PasspointManagementObjectManagerTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 67 InputStream in = getClass().getClassLoader().getResourceAsStream(configFile); local 70 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); 112 InputStream in = getClass().getClassLoader().getResourceAsStream(R2_TTLS_XML_FILE); local 113 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); 198 InputStream in = getClass().getClassLoader().getResourceAsStream(R2_TTLS_XML_FILE); local 199 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlend.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 93 extern "C" int rsdIntrinsicBlend_K(uchar4 *out, uchar4 const *in, int slot, 119 uchar4 *in = (uchar4 *)info->inPtr[0]; local 127 if (rsdIntrinsicBlend_K(out, in, info->slot, x1, x2) >= 0) 138 for (;x1 < x2; x1++, out++, in++) { 139 *out = *in; 150 rsdIntrinsicBlendSrcOver_K(out, in, len); 153 in += len << 3; 157 for (;x1 < x2; x1++, out++, in++) [all...] |
/frameworks/support/core-utils/java/android/support/v4/content/ |
FileProvider.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 53 * a content URI, in order to send the content URI 60 * In comparison, to control access to a <code>file:///</code> {@link Uri} you have to modify the 62 * <em>any</em> app, and remain in effect until you change them. This level of access is 80 * don't need to define a subclass in code. Instead, you can include a FileProvider in your app 81 * by specifying it entirely in XML. To specify the FileProvider component itself, add a 109 * the FileProvider class and use the fully-qualified class name in the <code>android:name</code> 112 * A FileProvider can only generate a content URI for files in directories that you specif 583 final XmlResourceParser in = info.loadXmlMetaData( local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
convolve_test.cc | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 215 /* Set up guard blocks for an inner block centered in the outer block */ 259 uint8_t* const in = input(); local 264 UUT_->h8_(in, kInputStride, out, kOutputStride, filter8, 16, filter8, 16, 271 ASSERT_EQ(out[y * kOutputStride + x], in[y * kInputStride + x]) 276 uint8_t* const in = input() local 293 uint8_t* const in = input(); local 342 uint8_t* const in = input(); local 387 uint8_t* const in = input(); local 466 uint8_t* const in = input(); local 554 uint8_t* const in = input(); local [all...] |
/hardware/libhardware/modules/audio/ |
audio_hw.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 141 // in the buffer, but by the end of the sleep the buffer is considered 144 // On the subsequent out_write(), we measure the elapsed time spent in 146 // thereby accounting for drain in the alsa buffer during mixing. 216 struct stub_stream_in *in = (struct stub_stream_in *)stream; local 217 in->last_read_time_us = 0; 248 struct stub_stream_in *in = (struct stub_stream_in *)stream; local 254 const bool standby = in->last_read_time_us == 0; 256 0 : now - in->last_read_time_us 428 struct stub_stream_in *in; local [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioHardwareALSA.cpp | 7 ** you may not use this file except in compliance with the License. 12 ** Unless required by applicable law or agreed to in writing, software 274 // So adjust the volume to get the correct volume index in driver 393 ALOGV("Enabling Incall Music setting in the setparameter\n"); 400 ALOGV("Disabling Incall Music setting in the setparameter\n"); 414 ALOGV("Enabling ANC setting in the setparameter\n"); 417 ALOGV("Disabling ANC setting in the setparameter\n"); 803 ALOGD("Routing to proxy for normal voip call in openOutputStream"); 807 ALOGD("enabling VOIP in openoutputstream, musbPlaybackState: %d", musbPlaybackState); 810 ALOGD("Starting recording in openoutputstream, musbRecordingState: %d", musbRecordingState) 1105 AudioStreamInALSA *in = 0; local [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
ParseBenchmark.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 105 InputStream in = ParseBenchmark.class.getResourceAsStream(path); local 106 if (in == null) { 110 Reader reader = new InputStreamReader(in, "UTF-8");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
SystemTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 38 InputStream orgIn = System.in; 39 InputStream in = new ByteArrayInputStream(new byte[0]); local 40 System.setIn(in); 41 assertTrue("in not set", System.in == in); 119 // Tested in destructive test: Test_System_Exit ??? 185 * Tests that there are no extra path separator in boot class path [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
ZipInputStreamTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 35 // the file hyts_zipFile.zip used in setup needs to included as a resource 42 private byte[] dataBytes = "Some data in my file".getBytes(); 162 InputStream in = new FilterInputStream(Support_Resources.getStream("hyts_ZipFile.zip")) { local 174 zis = new ZipInputStream(in); 220 assertNotNull("No entry in the archive.", entry);
|
/libcore/luni/src/test/java/libcore/java/text/ |
DecimalFormatSymbolsTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 31 // returns "en_US.UTF-8". bionic before L returned NULL and in L returns "C.UTF-8", both 54 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local 55 DecimalFormatSymbols deserializedDfs = (DecimalFormatSymbols) in.readObject(); 56 assertEquals(-1, in.read()); 103 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local 104 DecimalFormatSymbols deserializedDfs = (DecimalFormatSymbols) in.readObject(); 105 assertEquals(-1, in.read());
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 657 fail("Should return a proxy class that implements the interfaces named in a proxy class descriptor"); 946 ObjectInputStream in = new ObjectInputStream(bin); local 947 in.readObject(); 1008 ObjectInputStream in = new ObjectInputStream(new FileInputStream(file)); local 1274 ObjectInputStream in = new ObjectIutputStreamWithReadDesc2(pin, A.class); local 1413 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); local [all...] |
/libcore/ojluni/src/main/java/java/io/ |
ObjectInputStream.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 57 * arguments and parameters in a remote communication system. 59 * <p>ObjectInputStream ensures that the types of all objects in the graph 60 * created from the stream match the classes present in the Java Virtual 67 * stream. Java's safe casting should be used to get the desired type. In 89 * <p>For example to read from a stream as written by the example in 137 * end of data in the same way that they would indicate the end of the stream: 144 * behave in the same manner--if the stream is already positioned at the end o 2283 private final InputStream in; field in class:ObjectInputStream.PeekInputStream 2398 private final PeekInputStream in; field in class:ObjectInputStream.BlockDataInputStream [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Properties.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 42 * or loaded from a stream. Each key and its corresponding value in 47 * the property key is not found in the original property list. 65 * in a simple line-oriented format specified below. 70 * the input/output stream is encoded in ISO 8859-1 character encoding. 71 * Characters that cannot be directly represented in this encoding can be written using 72 * Unicode escapes as defined in section 3.3 of 74 * only a single 'u' character is allowed in an escap [all...] |
/libcore/ojluni/src/main/java/java/util/jar/ |
Manifest.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 91 * Returns a Map of the entries contained in this Manifest. Each entry 97 * @return a Map of the entries contained in this Manifest 130 * Clears the main Attributes as well as the entries in this Manifest. 139 * Attributes.Name.MANIFEST_VERSION must be set in 187 * names and attributes read will be merged in with the current 256 // capacity of 0, which tickles a bug in HashMap. 326 FastInputStream(InputStream in) { [all...] |