/cts/suite/cts/deviceTests/opengl/test/ |
MatrixTest.cpp | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 138 // Position the eye in front of the origin. 231 float in[] = {2, 4, 6, 8}; local 240 Matrix::multiplyVector(out, m, in);
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.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 InputStream in = mMemoryFile.getInputStream(); local 73 assertEquals(1, in.read()); 74 assertEquals(2, in.read()); 75 assertEquals(3, in.read()); 76 assertEquals(4, in.read());
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestNan.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 int in; field in class:TestNan.ArgumentsUintFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.UNSIGNED_32, 1, 0x757e939c0e627774l, false); local 46 script.forEach_testNanUintFloat(in, out); 47 verifyResultsNanUintFloat(in, out, false); 53 scriptRelaxed.forEach_testNanUintFloat(in, out); 54 verifyResultsNanUintFloat(in, out, true); 60 private void verifyResultsNanUintFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) [all...] |
/dalvik/hit/src/com/android/hit/ |
HprofParser.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 61 * When a sub-tag of this type appears in a HPROF_HEAP_DUMP or 65 * may appear in a single HEAP_DUMP[_SEGMENT]. 95 public HprofParser(DataInputStream in) { 96 mInput = in; 105 DataInputStream in = mInput; local 107 mIdSize = in.readInt(); 110 in.readLong(); // Timestamp, ignored for now 113 int tag = in.readUnsignedByte() 162 DataInputStream in = mInput; local 198 DataInputStream in = mInput; local 238 DataInputStream in = mInput; local 435 DataInputStream in = mInput; local [all...] |
/development/apps/Development/src/com/android/development/ |
LogViewer.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 78 final DataInputStream in; field in class:LogViewer.LogReader 86 this.in = new DataInputStream(this.socket.getInputStream()); 95 while (in.available() > 0) { 98 int length = in.readInt(); 100 in.readFully(bytes);
|
/development/ndk/platforms/android-L/include/linux/ |
netfilter.h | 71 struct in_addr in; member in union:nf_inet_addr
|
/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
ExampleAgent.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 89 // may throw an IOException, but in that case something has gone 112 // If we decided that we do in fact need to write our dataset, go 134 // Finally, in all cases, we need to write the new state blob 147 DataInputStream in = new DataInputStream(instream); local 150 int stateVersion = in.readInt(); 155 // In this implementation, we recover by simply rewriting 163 int lastFilling = in.readInt(); 164 boolean lastMayo = in.readBoolean() 223 DataInputStream in = new DataInputStream(baStream); local [all...] |
MultiRecordExampleAgent.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 36 * stores each distinct piece of application data in a separate record within 42 // Key strings for each record in the backup set 65 // may throw an IOException, but in that case something has gone 88 DataInputStream in = new DataInputStream(instream); local 92 lastFilling = in.readInt(); 93 lastMayo = in.readBoolean(); 94 lastTomato = in.readBoolean(); 169 // In this implementation, we trust that we won't see any record key 176 DataInputStream in = new DataInputStream(instream); local [all...] |
/development/samples/training/network-usage/src/com/example/android/networkusage/ |
StackOverflowXmlParser.java | 5 * in compliance with the License. You may obtain a copy of the License at 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 30 * where each list element represents a single entry (post) in the XML feed. 37 public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException { 41 parser.setInput(in, null); 45 in.close(); 68 // This class represents a single entry (post) in the XML feed. 108 // Processes title tags in the feed. 116 // Processes link tags in the feed. 132 // Processes summary tags in the feed [all...] |
/device/asus/fugu/libaudio/ |
AudioHardwareInput.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 109 AudioStreamIn* in; local 111 in = new AudioStreamIn(*this); 112 if (in == NULL) { 117 *status = in->set(format, channelMask, sampleRate); 120 delete in; 124 mInputStreams.add(in); 126 return in; 129 void AudioHardwareInput::closeInputStream(AudioStreamIn* in) 146 AudioStreamIn* in = mInputStreams[0]; local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
ClassUnloadDebuggee.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 196 private int loadClassData(InputStream in, byte[] raw, int size) throws IOException { 197 int len = in.read(raw); 200 in.close(); 212 * Internal class used in ClassUnloadTest
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
ConstantPoolTest.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 104 BufferedInputStream in = new BufferedInputStream(new FileInputStream(debuggeeClass)); local 108 count = in.read(bytes,index,length); 113 printErrorAndFail(thisCommandName + "has error in reading target class file!"); 116 // Entry count is placed in byte 8 and byte 9 of class file
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
ChoiceTest.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 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local 107 assertEquals("Test case: " + i, testcases[i][0], choice.decode(in)); 206 public Object getDecodedObject(BerInputStream in) 209 assertEquals("choice1", 1, in.choiceIndex); 211 return in.content; 227 public Object getDecodedObject(BerInputStream in) 230 assertEquals("choice2", 0, in.choiceIndex); 232 return in.content [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 79 private SessionInputBuffer in; field in class:ChunkedInputStream 100 public ChunkedInputStream(final SessionInputBuffer in) { 102 if (in == null) { 105 this.in = in; 111 * <p> Returns all the data in a chunked stream in coalesced form. A chunk 136 return in.read() [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
BCDHPublicKey.java | 75 throw new IllegalArgumentException("invalid info structure in DH public key"); 185 ObjectInputStream in) 188 in.defaultReadObject(); 190 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
BCDSAPrivateKey.java | 77 * return the encoding format we produce in getEncoded(). 148 ObjectInputStream in) 151 in.defaultReadObject(); 153 this.dsaSpec = new DSAParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), (BigInteger)in.readObject());
|
BCDSAPublicKey.java | 71 throw new IllegalArgumentException("invalid info structure in DSA public key"); 153 ObjectInputStream in) 156 in.defaultReadObject(); 158 this.dsaSpec = new DSAParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), (BigInteger)in.readObject());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
BCRSAPrivateKey.java | 125 ObjectInputStream in) 128 in.defaultReadObject();
|
BCRSAPublicKey.java | 71 throw new IllegalArgumentException("invalid info structure in RSA public key"); 146 ObjectInputStream in) 149 in.defaultReadObject(); 153 algorithmIdentifier = AlgorithmIdentifier.getInstance(in.readObject());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseCipherSpi.java | 171 PrivateKeyInfo in = PrivateKeyInfo.getInstance(encoded); local 173 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); 181 throw new InvalidKeyException("algorithm " + in.getPrivateKeyAlgorithm().getAlgorithm() + " not supported");
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwContentsClientGetDefaultVideoPosterTest.java | 3 // found in the LICENSE file. 100 InputStream in = requestData.getData(); local 101 assertEquals("Should get -1", in.read(), -1);
|
/external/chromium_org/base/ |
md5.cc | 3 // found in the LICENSE file. 5 // The original file was copied from sqlite, and was in the public domain. 10 * written by Colin Plumb in 1993, no copyright is claimed. 11 * This code is in the public domain; do with it what you wish. 33 unsigned char in[64]; member in struct:__anon6952::Context 57 /* This is the central step in the MD5 algorithm. */ 66 void MD5Transform(uint32 buf[4], const uint32 in[16]) { 74 MD5STEP(F1, a, b, c, d, in[ 0]+0xd76aa478, 7); 75 MD5STEP(F1, d, a, b, c, in[ 1]+0xe8c7b756, 12); 76 MD5STEP(F1, c, d, a, b, in[ 2]+0x242070db, 17) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/ |
IRCProxyWebSocket.java | 61 InputStreamReader in = new InputStreamReader( local 63 in_ = new BufferedReader(in);
|
/external/chromium_org/courgette/ |
streams_unittest.cc | 3 // found in the LICENSE file. 63 courgette::SourceStreamSet in; local 64 bool can_init = in.Init(collected_buffer, collected_length); 68 bool can_read = in.stream(3)->ReadVarint32(&value); 71 EXPECT_EQ(0U, in.stream(3)->Remaining()); 72 EXPECT_EQ(0U, in.stream(2)->Remaining()); 100 courgette::SourceStreamSet in; local 101 bool can_init = in.Init(collected.Buffer(), collected.Length()); 108 bool can_read = in.stream(id)->ReadVarint32(&value); 114 EXPECT_EQ(0U, in.stream(i)->Remaining()) 139 courgette::SourceStream in; local 170 courgette::SourceStreamSet in; local [all...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
host_resolver_test.cc | 3 // found in the LICENSE file. 6 #include <netinet/in.h> 89 struct sockaddr_in* in; local 103 in = (struct sockaddr_in*)ai->ai_addr; 104 ASSERT_EQ(expected_addr, in->sin_addr.s_addr); 112 struct sockaddr_in* in; local 122 in = (struct sockaddr_in*)ai->ai_addr; 124 ASSERT_EQ(expected_port, in->sin_port); 131 in = (struct sockaddr_in*)ai->ai_addr; 133 ASSERT_EQ(expected_port, in->sin_port) 146 struct sockaddr_in* in; local 192 struct sockaddr_in* in; local 245 struct sockaddr_in* in; local 295 sockaddr_in* in = (sockaddr_in*)current->ai_addr; local 315 sockaddr_in6* in = (sockaddr_in6*)current->ai_addr; local [all...] |