/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7StyleCharsetDecoder.java | 6 * "Software"), to deal in the Software without restriction, including
13 * included in all copies or substantial portions of the Software.
18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
65 while (in.hasRemaining()) {
66 byte b = in.get();
70 return malformed(in);
[all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapTestUtils.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 103 ByteArrayInputStream in = new ByteArrayInputStream(Utility.toAscii(content + "#trailing")); local 104 return new FixedLengthInputStream(in, content.length());
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
BinaryTempFileBody.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 = getInputStream(); local 75 IOUtils.copy(in, base64Out); 81 public BinaryTempFileBodyInputStream(InputStream in) { 82 super(in);
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
codecvt.h | 12 // This library is distributed in the hope that it will be useful, 18 // permissions described in the GCC Runtime Library Exception, version 88 * The characters in [from,from_end) are converted and written to 101 * the input ends early or there is insufficient space in the 130 * the state in initial conditions, rather than partial conversion 134 * character, and input to in() had 6 external characters with state 168 * The characters in [from,from_end) are converted and written to 181 * the input ends early or there is insufficient space in the 195 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
codecvt.h | 12 // This library is distributed in the hope that it will be useful, 18 // permissions described in the GCC Runtime Library Exception, version 88 * The characters in [from,from_end) are converted and written to 101 * the input ends early or there is insufficient space in the 130 * the state in initial conditions, rather than partial conversion 134 * character, and input to in() had 6 external characters with state 168 * The characters in [from,from_end) are converted and written to 181 * the input ends early or there is insufficient space in the 195 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/bits/ |
codecvt.h | 12 // This library is distributed in the hope that it will be useful, 18 // permissions described in the GCC Runtime Library Exception, version 88 * The characters in [from,from_end) are converted and written to 101 * the input ends early or there is insufficient space in the 130 * the state in initial conditions, rather than partial conversion 134 * character, and input to in() had 6 external characters with state 168 * The characters in [from,from_end) are converted and written to 181 * the input ends early or there is insufficient space in the 195 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
codecvt.h | 12 // This library is distributed in the hope that it will be useful, 18 // permissions described in the GCC Runtime Library Exception, version 88 * The characters in [from,from_end) are converted and written to 101 * the input ends early or there is insufficient space in the 130 * the state in initial conditions, rather than partial conversion 134 * character, and input to in() had 6 external characters with state 168 * The characters in [from,from_end) are converted and written to 181 * the input ends early or there is insufficient space in the 195 in(state_type& __state, const extern_type* __from, function in class:__codecvt_abstract_base
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/stl/ |
_codecvt.h | 84 result in(state_type& __state, function 202 result in(state_type& __state, 299 result in(state_type& __state,
|
/system/extras/ext4_utils/ |
ext2simg.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 120 const char *in = NULL; local 150 in = argv[optind++]; 166 infd = open(in, O_RDONLY); 175 build_sparse_ext(infd, in);
|
/system/extras/tests/bionic/libc/other/ |
test_zlib.c | 5 * Redistribution and use in source and binary forms, with or without 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in 18 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 23 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 50 unsigned char in[CHUNK]; local 63 strm.avail_in = fread(in, 1, CHUNK, source); 69 strm.next_in = in; 72 compression if all of source has been read in */ 98 static unsigned char in[CHUNK]; local [all...] |
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
SplitAppTest.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 75 fail("Unexpected drawable in base"); 98 // Receiver disabled by default in base 105 // We shouldn't have any native code in base 108 fail("Unexpected native code in base"); 243 // Receiver only enabled in feature 261 // And assert that we spun up the provider in this process 369 private static String getXmlTestValue(XmlPullParser in) throws XmlPullParserException, 372 while ((type = in.next()) != END_DOCUMENT) 385 BufferedReader in = null; local [all...] |
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/reference/ |
GLGameActivity.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 145 InputStream in = null; local 147 in = manager.open(path); 154 Bitmap bmp = BitmapFactory.decodeStream(in, null, op); 172 in.close();
|
/cts/suite/cts/hostTests/jank/src/com/android/cts/jank/ |
CtsHostJankTest.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 116 Scanner in = new Scanner(result); local 118 while (in.hasNextLine()) { 119 String[] parts = in.nextLine().split(":"); 124 in.close();
|
/cts/tests/tests/security/src/android/security/cts/ |
CertificateTest.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 54 * significant security impact. In the worst case, adding a rogue CA can permanently compromise 58 * adding a new certificate authority is in your users' best interests. 61 * so many people it is imperative that it be done transparently and in the open. Any request to 62 * modify the certificate list used by this test must have a corresponding change in AOSP 63 * (one certificate per change) authored by the OEM in question and including: 65 * - the certificate in question: 66 * - The certificate must be in a file under 67 * cts/tests/tests/security/assets/oem_cacerts, in PEM (Privacy-enhanced Electroni 143 InputStream in = null; local [all...] |
ClonedSecureRandomTest.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 87 * This test spawns a Service in a new process to check the initial state of 116 * number of times because of the pigeonhole principle. In an attempt to 165 * Make sure the AndroidManifest.xml wasn't altered in a way that 168 assertFalse("SecureRandomService must run in a different process. Check " 221 * another service spawned as we are doing in this test. 239 BufferedReader in = null; local 241 in = new BufferedReader(new FileReader(filename)); 242 final String line = in.readLine() [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
ClassPathOpener.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 * Opens all the class files found in a class path element. Path elements 45 * classes and "package-info" occurs before all other classes in that 110 * classes and "package-info" occurs before all other classes in that 123 * classes and "package-info" occurs before all other classes in that 182 * classes and "package-info" preceeds all other classes in its package. 269 InputStream in = zip.getInputStream(one); local 273 int amt = in.read(buf); 281 in.close() [all...] |
/dalvik/dx/src/com/android/dx/io/ |
DexIndexPrinter.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 Dex.Section in = dex.open(tableOfContents.typeLists.off); local 98 int size = in.readInt(); 101 System.out.print(" " + dex.typeNames().get((int) in.readShort())); 104 in.readShort(); // retain alignment
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
SerializedGrammar.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 44 public char type; // in {l, p, t, c} 93 DataInputStream in = new DataInputStream(bos); local 94 readFile(in); 95 in.close() [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
JPDADebuggeeSynchronizer.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 56 protected DataInputStream in; field in class:JPDADebuggeeSynchronizer 107 msg = in.readUTF(); 127 msg = in.readUTF(); 146 msg = in.readUTF(); 183 "[SYNC] Exception in binding for socket sync connection", e); 200 in = new DataInputStream(clientSocket.getInputStream()); 203 "[SYNC] Exception in accepting socket sync connection", e); 221 in = new DataInputStream(clientSocket.getInputStream()) [all...] |
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
UnixSocketTest.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 52 InputStream in = worker.getInputStream(); local 53 in.read(); 104 // Port 0 is not allowed to be used in connect() on some platforms,
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Exec.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 68 InputStream in = proc.getInputStream(); local 72 while ((result = in.read(bytes)) != -1) { 79 in.close(); 119 InputStream in = proc.getInputStream(); local 123 while ((result = in.read(bytes)) != -1) { 130 in.close();
|