/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicLUT.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 62 const uchar *in = (uchar *)p->in; local 72 out[0] = tr[in[0]]; 73 out[1] = tg[in[1]]; 74 out[2] = tb[in[2]]; 75 out[3] = ta[in[3]]; 76 in += 4;
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
HelloComputeNDK.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 34 native void nativeMono(String cacheDir, int X, int Y, Bitmap in, Bitmap out); 45 ImageView in = (ImageView) findViewById(R.id.displayin); local 46 in.setImageBitmap(mBitmapIn);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
ClassNotFoundExceptionTest.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 26 * Thrown when an application tries to load in a class through its string 27 * name using the forName method in class Class. 53 IOException in = new IOException(); local 54 ClassNotFoundException e = new ClassNotFoundException("SomeMessage", in); 55 assertEquals("Wrong Exception", in, e.getException()); 57 assertEquals("Wrong cause", in, e.getCause());
|
/libcore/luni/src/main/java/java/io/ |
LineNumberInputStream.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 45 * {@code in}. Line numbers are counted for all data read from this stream. 50 * @param in 53 public LineNumberInputStream(InputStream in) { 54 super(in); 62 * {@code available} returns only {@code in.available() / 2} bytes as 67 return in.available() / 2 + (lastChar == -1 ? 0 : 1); 80 * Sets a mark position in this stream. The parameter {@code readlimit} 87 * This implementation sets a mark in the filtered stream [all...] |
/libcore/luni/src/main/java/javax/xml/parsers/ |
DocumentBuilder.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 106 InputSource in = new InputSource(is); local 107 return parse(in); 130 InputSource in = new InputSource(is); local 131 in.setSystemId(systemId); 132 return parse(in); 154 InputSource in = new InputSource(uri); local 155 return parse(in); 182 InputSource in = new InputSource(escapedURI) local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Explicit.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 62 public Object decode(BerInputStream in) throws IOException { 63 if (constrId != in.tag) { 65 in.tagOffset + "]. Expected tag: " + Integer.toHexString(constrId) + ", " + 66 "but encountered tag " + Integer.toHexString(in.tag)); 68 in.next(); 70 in.content = type.decode(in); 72 if (in.isVerify) [all...] |
ASN1GeneralizedTime.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 65 public Object decode(BerInputStream in) throws IOException { 66 in.readGeneralizedTime(); 68 if (in.isVerify) { 71 return getDecodedObject(in);
|
/libcore/luni/src/test/native/ |
test_openssl_engine.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 53 BIO* in = BIO_new_mem_buf(data, strlen(key_id)); local 54 if (!in) { 57 key = read_func(in, NULL, 0, NULL); 58 BIO_free(in);
|
/ndk/tests/device/issue61659-neon-assignment/jni/ |
issue61659-neon-assignment.c | 45 uint8x8_t in = vorr_u8(vand_u8 (va, mask_low), vand_u8 (vb, mask_high)); local 46 dump_and_check(*(unsigned long long *)&in, 0x6262626261616161ULL);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBtEnableActivity.java | 6 * Redistribution and use in source and binary forms, with or without 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 88 Intent in = new Intent(this, BluetoothOppBtEnablingActivity.class); local 89 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 90 this.startActivity(in);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedReaderTest.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 78 // Avoid IOException in tearDown(). 111 Reader in = new BufferedReader(new Support_StringReader(new String( local 114 in.skip(6); 115 in.mark(14); 116 in.read(new char[14], 0, 14); 117 in.reset(); 118 assertTrue("Wrong chars", in.read() == (char) 6 119 && in.read() == (char) 7) 159 Reader in = new BufferedReader(new Support_StringReader(new String( local [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterOutputStreamTest.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 42 InputStream in = createInflaterStream(DeflaterOutputStream.class, true); local 43 assertEquals(1, in.read()); 44 assertEquals(2, in.read()); 45 assertEquals(3, in.read()); 46 in.close(); 50 InputStream in = createInflaterStream(DeflaterOutputStream.class, false); local 52 in.read(); 56 in.close() [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.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 FileInputStream in = null; local 119 in = new FileInputStream(file); 120 while (in.available() > 0) { 121 out.write(in.read()); 123 in.close(); 134 if (in != null) { 135 in.close();
|
/external/emma/lib/internal/ |
stamptool.jar | |
/external/emma/core/java12/com/vladium/util/ |
IPathEnumerator.java | 52 void handleArchiveEntry (JarInputStream in, ZipEntry entry); 206 JarInputStream in = null; local 210 // crash the JVM in some builds; however, it uses random file 212 // entries in their archives (which JarInputStream can't do); 219 in = new JarInputStream (new BufferedInputStream (new FileInputStream (fullArchive), 32 * 1024)); 223 Manifest manifest = in.getManifest (); // can be null 230 for (ZipEntry entry; (entry = in.getNextEntry ()) != null; ) 235 handler.handleArchiveEntry (in, entry); 236 in.closeEntry (); 245 if (manifest == null) manifest = in.getManifest () [all...] |
/external/javassist/src/main/javassist/tools/web/ |
Webserver.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 31 * <p><b>Note:</b> although this class is included in the Javassist API, 33 * Javassist. Especially, there might be security flaws in this server. 189 InputStream in = new BufferedInputStream(clnt.getInputStream()); local 190 String cmd = readLine(in); 193 while (skipLine(in) > 0){ 198 doReply(in, out, cmd); 205 in.close(); 210 private String readLine(InputStream in) throws IOException { 213 while ((c = in.read()) >= 0 && c != 0x0d [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
SerializationBenchmark.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 98 ObjectInputStream in = new ObjectInputStream(bais); local 99 in.readObject(); 100 in.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
BufferedReaderTest.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 61 private void assertLines(String in, String... lines) throws IOException { 63 = new BufferedReader(new Support_StringReader(in)); 75 assertTrue("Used in tests", true); 83 assertTrue("Used in tests", true); 131 Reader in = new BufferedReader(new Support_StringReader(new String( local 134 in.skip(6); 135 in.mark(14); 136 in.read(new char[14], 0, 14) 205 Reader in = new BufferedReader(new Support_StringReader(new String( local [all...] |
FileInputStreamTest.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 246 FileInputStream in = new FileInputStream(tmpFile); local 248 in.read(null, 0, 0); 253 in.close();
|
/bionic/tests/ |
fcntl_test.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 161 int in = open("/proc/cpuinfo", O_RDONLY); local 162 ASSERT_NE(in, -1); 166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); 174 close(in); 211 int in = open("/proc/version", O_RDONLY); local 212 ASSERT_NE(in, -1); 215 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE);
|
/bootable/recovery/mtdutils/ |
flash_image.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 78 MtdReadContext *in = mtd_read_partition(partition); local 79 if (in == NULL) { 84 int checklen = mtd_read_data(in, check, sizeof(check)); 92 mtd_read_close(in);
|
/build/tools/ |
java-layers.py | 12 sys.stderr.write("the rules defined in the DEPENDENCY_FILE.\n") 22 sys.stderr.write(" to any classes present in the second package, or any\n") 30 sys.stderr.write(" listed in the dependency file.\n") 49 for d in self.transitive: 58 if dep in visited: 61 for v in visited: 67 for upper in dep.uppers: 69 if upper in deps: 72 self.parts = [(dep.lower.split('.'),dep) for dep in deps.itervalues()] 74 for dep in deps.itervalues() 231 sys.stderr.write("%s: Illegal import in package '%s' of '%s'\\n" namespace [all...] |
/build/tools/rgb2565/ |
to565.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 31 unsigned char in[3]; local 34 while(read(0, in, 3) == 3) { 35 out = to565(in[0],in[1],in[2]); 43 unsigned char in[3]; local 55 while(read(0, in, 3) == 3) { 56 int r = in[0] + error[i*3+0] 103 unsigned char in[3]; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
DexJarMaker.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 66 // Ignoring deliberately in order to keep the original exception clear. 84 BufferedInputStream in = new BufferedInputStream(new FileInputStream(source)); local 90 while ((curr = in.read()) != -1) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TextSwitcher1.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 51 Animation in = AnimationUtils.loadAnimation(this, local 55 mSwitcher.setInAnimation(in);
|