/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
InflaterInputStreamTest.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 40 MyInflaterInputStream(InputStream in) { 41 super(in); 44 MyInflaterInputStream(InputStream in, Inflater infl) { 45 super(in, infl); 48 MyInflaterInputStream(InputStream in, Inflater infl, int size) { 49 super(in, infl, size); 61 //FIXME This test doesn't pass in Harmony classlib or Sun 5.0_7 RI 90 inflatIP.read(byteArray, 0, 5);// only suppose to read in 5 byte 231 InputStream in = new InflaterInputStream(new ByteArrayInputStream(deflated)); local 249 InputStream in = new InflaterInputStream(new ByteArrayInputStream(deflated)); local 258 InputStream in = new InflaterInputStream(new ByteArrayInputStream(deflated)); local [all...] |
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/main/java/java/lang/ |
ProcessManager.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 45 * descriptors (associated with stdin/stdout/stderr in this case) can be 85 // Wait for children in our process group. 138 // This wait will return because of the notifyAll call in exec. 149 * without doing anything special and land back in 157 * Executes a native process. Fills in in, out, and err and returns the 161 String workingDirectory, FileDescriptor in, FileDescriptor out, 196 FileDescriptor in = new FileDescriptor() local [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
CopyOnWriteArrayList.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 49 * underlying list. In particular, {@link Iterator#remove}, {@link 73 * Maintainers should be careful to read this field only once in 298 * Adds the elements of {@code collection} that are not already present in 367 * Removes or retains the elements in {@code collection}. Returns the number 378 * array and copy in the surviving elements one by one. 465 * more difficult than in the full list, because each read needs to examine 480 * of the sub list's fields in an immutable object, 664 * Throws if {@code index} doesn't identify an element in the array [all...] |
/libcore/luni/src/main/java/javax/security/auth/ |
Subject.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 159 * the specific context in which the {@code action} is invoked. 229 * the specific context in which the {@code action} is invoked. 449 private void readObject(ObjectInputStream in) throws IOException, 452 in.defaultReadObject(); 519 * this issue in other way 679 private void readObject(ObjectInputStream in) throws IOException, 681 in.defaultReadObject();
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BerInputStream.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 private final InputStream in; field in class:BerInputStream 42 * The position in the buffer. 88 this.in = null; 106 public BerInputStream(InputStream in) throws IOException { 107 this(in, BUF_INCREASE_SIZE); 115 public BerInputStream(InputStream in, int initialSize) throws IOException { 116 this.in = in; [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
StringTest.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 45 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 47 int inLength = in.remaining(); 49 in.put((byte) 'X'); 67 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 68 int inLength = in.remaining(); 70 in.put('x'); 303 fail("Expected " + a + " to equal " + b + " in " + locale); 327 fail("Expected " + a + " to equal " + b + " in " + locale) [all...] |
/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 660 fail("Should return a proxy class that implements the interfaces named in a proxy class descriptor"); 949 ObjectInputStream in = new ObjectInputStream(bin); local 950 in.readObject(); 1011 ObjectInputStream in = new ObjectInputStream(new FileInputStream(file)); local 1277 ObjectInputStream in = new ObjectIutputStreamWithReadDesc2(pin, A.class); local 1416 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
ios.cpp | 119 const ios_base::openmode ios_base::in; member in class:ios_base
|
/ndk/sources/host-tools/make-3.81/ |
misc.c | 11 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY 78 register char *in, *out, *p; 82 in = strchr (line, '\n'); 83 if (in == 0) 86 out = in; 90 while (*in != '\0') 93 the end just before IN, and BACKSLASH gets nonzero 97 for (p = in - 1; p >= line && *p == '\\'; --p) 105 if (in == out - 1) 114 ++in; 77 register char *in, *out, *p; local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
fstream_test.cpp | 20 //size in Go 152 ifstream in("/tmp"); 153 if (in.good()) { 155 getline(in, s); 156 CPPUNIT_ASSERT( in.fail() ); 175 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 210 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 244 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 263 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 279 ifstream is("test_file.txt", ios_base::in | ios_base::binary) 652 result in (state_type&, function in class:std::codecvt [all...] |
/ndk/tests/device/test-stlport/unit/ |
fstream_test.cpp | 20 //size in Go 152 ifstream in("/tmp"); 153 if (in.good()) { 155 getline(in, s); 156 CPPUNIT_ASSERT( in.fail() ); 175 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 210 basic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::trunc ); 244 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 263 ifstream is("test_file.txt", ios_base::in | ios_base::binary); 279 ifstream is("test_file.txt", ios_base::in | ios_base::binary) 652 result in (state_type&, function in class:std::codecvt [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppLauncherActivity.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 61 * via BT from other APPs. and also make "Bluetooth" available in sharing method 69 // Regex that matches characters that have special meaning in HTML. '<', '>', '&' and 81 //Check if Bluetooth is available in the beginning instead of at the end 83 Intent in = new Intent(this, BluetoothOppBtErrorActivity.class) local 200 Intent in = new Intent(this, BluetoothOppBtEnableActivity.class); local [all...] |
BluetoothOppUtility.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 132 * Organize Array list for transfers in one batch 157 if (V) Log.d(TAG, "Uri in this batch: " + path.toString()); 176 Intent in = new Intent(context, BluetoothOppBtErrorActivity.class); local 177 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK) 207 Intent in = new Intent(context, BluetoothOppBtErrorActivity.class); local [all...] |
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapResponseParser.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 41 * Literal larger than this will be stored in temp file. 64 * We store all {@link ImapResponse} in it. {@link #destroyResponses()} must be called from 71 * in the same way EOF does. 83 public ImapResponseParser(InputStream in, DiscourseLogger discourseLogger) { 84 this(in, discourseLogger, LITERAL_KEEP_IN_MEMORY_THRESHOLD); 90 /* package for test */ ImapResponseParser(InputStream in, DiscourseLogger discourseLogger, 93 in = new LoggingInputStream(in); 446 FixedLengthInputStream in = new FixedLengthInputStream(mIn, size); local [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
MailTransport.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 74 * and {@link #setHost(String)} were invoked), but not opened or connected in any way. 176 * service but is not in the public API. 203 // we should be reporting the bad name in the certificate. Unfortunately this is buried 204 // in the verifier code and is not available in the verifier API, and extracting the 214 * @return the read timeout value in milliseconds 288 * delimiter char(s) are not included in the result. 292 InputStream in = getInputStream() local [all...] |
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasLoadAttachment.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 49 * device in a local file. 66 // These members are set in a future point in time outside of the constructor. 72 * @param accountId The id of the account in question (i.e. its id in the database). 73 * @param attachmentId The local id of the attachment (i.e. its id in the database). 95 LogUtils.e(LOG_TAG, "RemoteException in loadAttachment: %s", e.getMessage()); 126 // These four characters are commonly received in EAS 2.5 attachment names and ar 256 final InputStream in; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterRS.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 45 float scaleFactor, int quality, Allocation in) {} 46 protected void bindScriptValues(Allocation in) {} 70 public void apply(Allocation in, Allocation out) { 75 in.getType().getX(), in.getType().getY()); 86 getEnvironment().getQuality(), in); local 90 bindScriptValues(in); 91 run(in, out) [all...] |
/packages/apps/OMA-DM/engine/dmlib/tool-src/db_wizard_tool/com/mot/dm/dbtool/ |
Generator.java | 170 FileInputStream in; local 172 // Choose between wbxml or zip (the smallest one) to be used in case if USE_ZIP 173 // has not been set to false in function main(). 183 in = (usedZip) ? inz : inw; 187 in = new FileInputStream(w); 190 byte[] appWbxmlSettings = new byte[in.available()]; 191 in.read(appWbxmlSettings); 192 in.close();
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcStatsEntry.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 74 public ProcStatsEntry(Parcel in) { 75 mPackage = in.readString(); 76 mUid = in.readInt(); 77 mName = in.readString(); 78 in.readStringList(mPackages); 79 mDuration = in.readLong(); 80 mAvgPss = in.readLong(); 81 mMaxPss = in.readLong() [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
DrawableLoader.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 184 private Drawable decodeBitmap(InputStream in, BitmapWorkerOptions options) 189 bufferedStream = new CachedInputStream(in); 283 InputStream in = connection.getInputStream(); local 284 return decodeBitmap(in, options); 319 * caching Bitmap in Resources. So that caller can maintain a different caching 333 Log.e(TAG, "Couldn't get resource " + r.resourceName + " in resources of "
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
Address.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 43 * Name and comment part should be MIME/base64 encoded in header if necessary. 49 * Address part, in the form local_part@domain_part. No surrounding angle brackets. 88 // delimiters are chars that do not appear in an email address, used by fromHeader 198 * entered in a list (e.g. To:) are valid, so that none is dropped. 218 * Parse a comma-delimited list of addresses in RFC822 format and return an 221 * @param addressList Address list in comma-delimited string. 259 // while the domain part in case-insesitive. 297 * not modified in any way except to add the double quote character to start and end if it's no [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/netfilter_bridge/ |
ebtables.h | 47 /* nr of rules in the table */ 64 /* nr of rules in the table */ 169 /* the physical in-dev */ 170 char in[IFNAMSIZ]; member in struct:ebt_entry 171 /* the logical in-dev */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/netfilter_bridge/ |
ebtables.h | 47 /* nr of rules in the table */ 64 /* nr of rules in the table */ 169 /* the physical in-dev */ 170 char in[IFNAMSIZ]; member in struct:ebt_entry 171 /* the logical in-dev */
|
/prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/linux/netfilter_bridge/ |
ebtables.h | 137 char in[IFNAMSIZ]; member in struct:ebt_entry
|