/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, 55 private final SessionInputBuffer in; field in class:IdentityInputStream 59 public IdentityInputStream(final SessionInputBuffer in) { 61 if (in == null) { 64 this.in = in; 68 if (!this.closed && this.in.isDataAvailable(10)) { 83 return this.in.read(); 91 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. 53 const uint8_t* in = frame.data() + rect.top() * in_stride + local 56 memcpy(out, in, row_size); 58 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/boringssl/src/crypto/x509/ |
by_file.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 128 BIO *in=NULL; local 194 BIO *in=NULL; local 261 BIO *in; local [all...] |
/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/cython/src/Cython/Utility/ |
Embed.c | 14 /* 754 requires that FP exceptions run in "no stop" mode by default, 69 unsigned char *in; local 95 /* Overallocate; as multi-byte characters are in the argument, the 100 in = (unsigned char*)arg; 104 size_t converted = mbrtowc(out, (char*)in, argsize, &mbs); 111 unless there is a bug in the C library, or I 118 in the initial shift state. */ 119 *out++ = 0xdc00 + *in++; 129 *out++ = 0xdc00 + *in++; 133 in += converted [all...] |
/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...] |
/external/chromium_org/third_party/opus/src/tests/ |
test_opus_padding.c | 4 Redistribution and use in source and binary forms, with or without 11 - Redistributions in binary form must reproduce the above copyright 12 notice, this list of conditions and the following disclaimer in the 18 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 23 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 /* Check for overflow in reading the padding length. 48 unsigned char *in = malloc(PACKETSIZE); local 52 if (!in || !out) { 56 in[0] = 0xff [all...] |