/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestRsqrt.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 38 public float in; field in class:TestRsqrt.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x736e0d9786ef9c2bl, false); local 46 script.forEach_testRsqrtFloatFloat(in, out); 47 verifyResultsRsqrtFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testRsqrtFloatFloat(in, out); 54 verifyResultsRsqrtFloatFloat(in, out, true); 60 private void verifyResultsRsqrtFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xb5df4d6949d76dafl, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xb5df580aa8de0349l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0xb5df62ac07e498e3l, false); local [all...] |
TestSin.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 38 public float in; field in class:TestSin.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xd3e99dcfa01359f9l, false); local 46 script.forEach_testSinFloatFloat(in, out); 47 verifyResultsSinFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testSinFloatFloat(in, out); 54 verifyResultsSinFloatFloat(in, out, true); 60 private void verifyResultsSinFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x9253f296dcfd528dl, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x9253fd383c03e827l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x925407d99b0a7dc1l, false); local [all...] |
TestSinh.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 38 public float in; field in class:TestSinh.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x541c2eef0a5d2ff1l, false); local 46 script.forEach_testSinhFloatFloat(in, out); 47 verifyResultsSinhFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testSinhFloatFloat(in, out); 54 verifyResultsSinhFloatFloat(in, out, true); 60 private void verifyResultsSinhFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x7f8e1e7d8c47bec5l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x7f8e291eeb4e545fl, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x7f8e33c04a54e9f9l, false); local [all...] |
TestSinpi.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 38 public float in; field in class:TestSinpi.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x34cb59f49416da82l, false); local 46 script.forEach_testSinpiFloatFloat(in, out); 47 verifyResultsSinpiFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testSinpiFloatFloat(in, out); 54 verifyResultsSinpiFloatFloat(in, out, true); 60 private void verifyResultsSinpiFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x50bbd97d4a48b00el, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x50bbe41ea94f45a8l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x50bbeec00855db42l, false); local [all...] |
TestSqrt.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 38 public float in; field in class:TestSqrt.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x940922bedb2c9271l, false); local 46 script.forEach_testSqrtFloatFloat(in, out); 47 verifyResultsSqrtFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testSqrtFloatFloat(in, out); 54 verifyResultsSqrtFloatFloat(in, out, true); 60 private void verifyResultsSqrtFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x35fb1678b6262d45l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x35fb211a152cc2dfl, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x35fb2bbb74335879l, false); local [all...] |
TestTan.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 38 public float in; field in class:TestTan.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xfb95a6a791c2b8eal, false); local 46 script.forEach_testTanFloatFloat(in, out); 47 verifyResultsTanFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testTanFloatFloat(in, out); 54 verifyResultsTanFloatFloat(in, out, true); 60 private void verifyResultsTanFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x1bdfd24778a20d36l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x1bdfdce8d7a8a2d0l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x1bdfe78a36af386al, false); local [all...] |
TestTanh.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 38 public float in; field in class:TestTanh.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xfe01ab34a2d2226cl, false); local 46 script.forEach_testTanhFloatFloat(in, out); 47 verifyResultsTanhFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testTanhFloatFloat(in, out); 54 verifyResultsTanhFloatFloat(in, out, true); 60 private void verifyResultsTanhFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x9a0cb127b0f31928l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x9a0cbbc90ff9aec2l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x9a0cc66a6f00445cl, false); local [all...] |
TestTanpi.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 38 public float in; field in class:TestTanpi.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xbe5739a52fbb952bl, false); local 46 script.forEach_testTanpiFloatFloat(in, out); 47 verifyResultsTanpiFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testTanpiFloatFloat(in, out); 54 verifyResultsTanpiFloatFloat(in, out, true); 60 private void verifyResultsTanpiFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xc3fe7c117310deafl, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xc3fe86b2d2177449l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0xc3fe9154311e09e3l, false); local [all...] |
TestTgamma.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 38 public float in; field in class:TestTgamma.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe45f5203be15b490l, false); local 46 script.forEach_testTgammaFloatFloat(in, out); 47 verifyResultsTgammaFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testTgammaFloatFloat(in, out); 54 verifyResultsTgammaFloatFloat(in, out, true); 60 private void verifyResultsTgammaFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x74767f039bfd9f2cl, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x747689a4fb0434c6l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x747694465a0aca60l, false); local [all...] |
TestTrunc.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 38 public float in; field in class:TestTrunc.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6361d71a4dcff881l, false); local 46 script.forEach_testTruncFloatFloat(in, out); 47 verifyResultsTruncFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testTruncFloatFloat(in, out); 54 verifyResultsTruncFloatFloat(in, out, true); 60 private void verifyResultsTruncFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xcda9bef7b45256d5l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xcda9c9991358ec6fl, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0xcda9d43a725f8209l, false); local [all...] |
/dalvik/dx/src/com/android/dx/io/instructions/ |
DecodedInstruction.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 33 * match the names given in the Dalvik instruction format 35 * arbitrarily alphabetically from A. In this class, non-register 55 * though it is stored in an {@code int}. 69 public static DecodedInstruction decode(CodeInput in) throws EOFException { 70 int opcodeUnit = in.read(); 74 return format.decode(opcodeUnit, in); 85 ShortArrayCodeInput in = new ShortArrayCodeInput(encodedInstructions); local 88 while (in.hasMore()) [all...] |
/dalvik/dx/tests/098-dex-jsr-ret-throw/ |
ViewDebug$ViewServer.class | |
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
DexMergeTest.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 128 * Merging dex files uses pessimistic sizes that naturally leave gaps in the 186 private void copy(InputStream in, OutputStream out) throws IOException { 189 while ((count = in.read(buffer)) != -1) { 192 in.close();
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/net/ |
FeedParser.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 35 * where each list element represents a single entry (post) in the XML feed. 42 // Constants indicting XML element names that we're interested in 53 * @param in Atom feed, as a stream. 58 public List<Entry> parse(InputStream in) 63 parser.setInput(in, null); 67 in.close(); 97 // article in the feed. 208 * Processes link tags in the feed [all...] |
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/net/ |
FeedParser.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 35 * where each list element represents a single entry (post) in the XML feed. 42 // Constants indicting XML element names that we're interested in 53 * @param in Atom feed, as a stream. 58 public List<Entry> parse(InputStream in) 63 parser.setInput(in, null); 67 in.close(); 97 // article in the feed. 208 * Processes link tags in the feed [all...] |
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.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 96 // In this demo, all we need to know is the server address. 158 // Packets to be sent are queued in this input stream. 159 FileInputStream in = new FileInputStream(mInterface.getFileDescriptor()); local 174 // Assume that we did not make any progress in this iteration. 178 int length = in.read(packet.array()); 219 // since everything is operated in non-blocking mode. 258 // and exchange session keys for encryption. To keep things simple in 259 // this demo, we just send the shared secret in plaintext and wai [all...] |
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/net/ |
FeedParser.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 35 * where each list element represents a single entry (post) in the XML feed. 42 // Constants indicting XML element names that we're interested in 53 * @param in Atom feed, as a stream. 58 public List<Entry> parse(InputStream in) 63 parser.setInput(in, null); 67 in.close(); 97 // article in the feed. 208 * Processes link tags in the feed [all...] |
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 54 int size, /* buffer size in bytes */ 199 void *in, *out; local 240 in = mmap(0, width * height * 3 / 2, PROT_READ, MAP_PRIVATE, ifd, 0); 241 FAILIF(in == MAP_FAILED, "could not mmap input file: %s (%d)\n", 260 color_convert_common(in, in + width * height,
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuiteFactory.java | 6 Redistribution and use in source and binary forms, with or without 11 2. Redistributions in binary form must reproduce the above copyright 12 notice, this list of conditions and the following disclaimer in the 20 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 53 InputStream in = loader.getResourceAsStream(TEMPLATE_FILE); typedefs 54 if ( in == null ) { 57 Reader rd = new InputStreamReader(in); 63 * suite file in the same directory of the grammar file [all...] |
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.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 49 * returns array of objects to be de/serialized in tests, and the second 57 * should be set to value "serial.reference". In this mode, no testing 61 * The location of golden files (in both modes) is controlled via 121 * @return array of objects to be de/serialized in tests. 385 * The <code>comparator</code> is searched in the following order: <br>- 388 * has class in its classes hierarchy that overrides <code>equals(Object)</code> 499 * with corresponding object in provided array (i.e. <code>objects[N]</code>) 501 * in object's array. 603 InputStream in = SerializationTest.class.getResourceAsStream(path.toString()); local 661 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); local [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Configuration.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 105 InputStream in = null; local 114 in = new FileInputStream(iniName); 121 if (in == null) { 125 in = cl.getResourceAsStream(iniName); 130 if (in != null) { 131 load(in, props); 221 static void load(InputStream in, Hashtable<String, String> result) throws IOException { 227 while ((nextChar = in.read()) != -1) [all...] |
/external/bison/src/ |
output.c | 13 This program is distributed in the hope that it will be useful, 93 /* Build `NAME_min' and `NAME_max' in the obstack. */ \ 233 /* Index of rule R in RHS. */ 242 /* Separator in RHS. */ 465 YYPACT) so that in states with unresolved conflicts, the default 466 reduction is not used in the conflicted entries, so that there is 470 parser, so we could avoid accidents by not writing them out in 505 FILE *in; 548 /* Some future version of GNU M4 (most likely 1.6) may treat the -dV in a 603 in = fdopen (filter_fd[0], "r") 504 FILE *in; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
BCDHPrivateKey.java | 108 * return the encoding format we produce in getEncoded(). 193 ObjectInputStream in) 196 in.defaultReadObject(); 198 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
BCECPrivateKey.java | 268 * return the encoding format we produce in getEncoded(). 441 ObjectInputStream in) 444 in.defaultReadObject(); 446 byte[] enc = (byte[])in.readObject();
|
BCECPublicKey.java | 436 ObjectInputStream in) 439 in.defaultReadObject(); 441 byte[] enc = (byte[])in.readObject();
|