/libcore/luni/src/main/java/libcore/io/ |
StrictLineReader.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 * cache entries or cache journal. Unlike the {@link BufferedReader} which in conjunction with 42 * We currently check in constructor that the charset is one of US-ASCII, UTF-8 and ISO-8859-1. 49 private final InputStream in; field in class:StrictLineReader 53 * Buffered data is stored in {@code buf}. As long as no exception occurs, 0 <= pos <= end 54 * and the data in the range [pos, end) is buffered for reading. At end of input, if there is 65 * @param in the {@code InputStream} to read data from. 66 * @throws NullPointerException if {@code in} is null. 68 public StrictLineReader(InputStream in) { [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidGZIPStreamTest.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 95 GZIPInputStream in = new GZIPInputStream(bytesIn); local 101 while ((len = in.read(buf)) > 0) { 108 in.close();
|
/libcore/luni/src/test/java/tests/support/ |
Support_SQL.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 InputStream in = Class.forName("tests.support.Support_SQL") local 53 loadProperties(in); 54 in.close();
|
/libcore/support/src/test/java/tests/support/ |
Support_GetLocal.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 42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); local 48 while ((result = in.read(buf)) != -1) { 51 in.close(); 62 InputStream in = new URL(url).openStream(); local 68 while ((result = in.read(buf)) != -1) { 71 in.close(); 80 InputStream in = new URL(url).openStream(); local 84 while ((result = in.read(buf)) != -1) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractHtmlTemplates.java | 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 67 InputStreamReader in = null; local 70 in = new InputStreamReader( 75 while ((chars=in.read(buf)) > 0) { 82 if (in != null) { 83 in.close();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
EOLConvertingInputStream.java | 7 * "License"); you may not use this file except in compliance * 12 * Unless required by applicable law or agreed to in writing, * 42 private PushbackInputStream in = null; field in class:EOLConvertingInputStream 57 * instance converting bytes in the given <code>InputStream</code>. 60 * @param in the <code>InputStream</code> to read from. 64 in = new PushbackInputStream(_in, 2); 69 * instance converting bytes in the given <code>InputStream</code>. 89 in.close(); 93 int b = in.read(); 106 in.unread(c) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/ |
SimpleFile.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 104 TemplatedInputStream in = new TemplatedInputStream(sourceURL.openStream(), local 106 destFile.create(in, true, monitor); 107 in.close();
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ProfilesLoader.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 39 BufferedReader in = null; local 48 in = new BufferedReader(new InputStreamReader(socket.getInputStream())); 54 String response = in.readLine(); 69 if (in != null) { 70 in.close();
|
VersionLoader.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 BufferedReader in = null; local 51 in = new BufferedReader(new InputStreamReader(socket.getInputStream())); 57 return Integer.parseInt(in.readLine()); 65 if (in != null) { 66 in.close();
|
/build/core/tasks/tools/ |
package-modules.mk | 18 # Calculate the dest files in the output zip file. 40 define copy-tests-in-batch 53 $(call copy-tests-in-batch,$(wordlist 1,200,$(PRIVATE_COPY_PAIRS))) 54 $(call copy-tests-in-batch,$(wordlist 201,400,$(PRIVATE_COPY_PAIRS))) 55 $(call copy-tests-in-batch,$(wordlist 401,600,$(PRIVATE_COPY_PAIRS))) 56 $(call copy-tests-in-batch,$(wordlist 601,800,$(PRIVATE_COPY_PAIRS))) 57 $(call copy-tests-in-batch,$(wordlist 801,1000,$(PRIVATE_COPY_PAIRS))) 58 $(call copy-tests-in-batch,$(wordlist 1001,1200,$(PRIVATE_COPY_PAIRS))) 59 $(call copy-tests-in-batch,$(wordlist 1201,9999,$(PRIVATE_COPY_PAIRS)))
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
InMatcher.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 28 * A {@link Matcher} class for checking if value contained in a {@link Collection} or array. 58 description.appendText("in(").appendValue(mValues).appendText(")"); 62 public static <T> Matcher<T> in(T... operand) { method in class:InMatcher 67 public static <T> Matcher<T> in(Collection<T> operand) { method in class:InMatcher
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
InitTest.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 float[] in = new float[INPUTSIZE]; local 42 in[i] = 0; 45 mIn.copy1DRangeFrom(0, INPUTSIZE, in);
|
/developers/build/prebuilts/gradle/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/ |
MainActivity.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 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 56 Animation in = AnimationUtils.loadAnimation(this, local 60 mSwitcher.setInAnimation(in); 66 * the new value is displayed in the TextSwitcher. The change of text is 67 * automatically animated using the in/out animations set above.
|
/developers/samples/android/ui/views/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/ |
MainActivity.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 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 56 Animation in = AnimationUtils.loadAnimation(this, local 60 mSwitcher.setInAnimation(in); 66 * the new value is displayed in the TextSwitcher. The change of text is 67 * automatically animated using the in/out animations set above.
|
/development/samples/browseable/TextSwitcher/src/com.example.android.textswitcher/ |
MainActivity.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 * the current text out and new text in when 53 * Set the in and out animations. Using the fade_in/out animations 56 Animation in = AnimationUtils.loadAnimation(this, local 60 mSwitcher.setInAnimation(in); 66 * the new value is displayed in the TextSwitcher. The change of text is 67 * automatically animated using the in/out animations set above.
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.h | 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 uint8_t in; member in class:AndroidAccessory
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
AnyTest.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 DerInputStream in = new DerInputStream(encoded); local 47 .decode(in)));
|
BooleanTest.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 DerInputStream in = new DerInputStream(eFalse); local 53 assertEquals("Decoding false value", Boolean.FALSE, asn1.decode(in)); 56 in = new DerInputStream(eTrue); 57 assertEquals("Decoding true value", Boolean.TRUE, asn1.decode(in)); 80 DerInputStream in = new DerInputStream(invalid[i]); local 81 ASN1Boolean.getInstance().decode(in);
|
OidTest.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 155 // wrong content: is not encoded in fewest number of bytes 161 DerInputStream in = new DerInputStream(invalid[i]); local 162 ASN1Oid.getInstance().decode(in);
|
/external/apache-http/src/org/apache/http/impl/io/ |
IdentityInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 50 private final SessionInputBuffer in; field in class:IdentityInputStream 54 public IdentityInputStream(final SessionInputBuffer in) { 56 if (in == null) { 59 this.in = in; 63 if (!this.closed && this.in.isDataAvailable(10)) { 78 return this.in.read(); 86 return this.in.read(b, off, len) [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
realpath.c | 3 * found in the LICENSE file. */ 35 const char* in = path; local 42 if (*in == '/') { 45 in++; 59 const char* next_slash = strchr(in, '/'); 63 namelen = next_slash - in; 66 namelen = strlen(in); 67 next_in = in + namelen; // Move to the '\0' 73 } else if (namelen == 1 && strncmp(in, ".", 1) == 0) { 75 } else if (namelen == 2 && strncmp(in, "..", 2) == 0) [all...] |
/external/chromium_org/remoting/codec/ |
video_encoder_verbatim.cc | 3 // found in the LICENSE file. 46 // Store all changed rectangles in the packet. 51 const uint8_t* in = frame.data() + rect.top() * in_stride + local 54 memcpy(out, in, row_size); 56 in += in_stride;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FEMerge.cpp | 12 * This library is distributed in the hope that it will be useful, 55 FilterEffect* in = inputEffect(i); local 56 filterContext->drawImageBuffer(in->asImageBuffer(), drawingRegionOfInputImage(in->absolutePaintRect()));
|
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
streams.c | 4 you may not use this file except in compliance with the License. 9 Unless required by applicable law or agreed to in writing, software 82 BrotliInput in; local 83 in.cb_ = BrotliStdinInputFunction; 84 in.data_ = NULL; 85 return in;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv20_state_frag.c | 7 * "Software"), to deal in the Software without restriction, including 14 * next paragraph) shall be included in all copies or substantial 20 * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE 21 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 22 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 23 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 60 uint64_t in; local 63 nv10_get_final_combiner(ctx, &in, &n); 66 PUSH_DATA (push, in); 67 PUSH_DATA (push, in >> 32) [all...] |