/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
HttpResponseCache.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 * logic as well as storage. In OkHttp the {@link HttpResponseCache} only 80 * Sometimes a request will result in a conditional cache hit. If the cache 92 * In some situations, such as after a user clicks a 'refresh' button, it may be 116 * This technique works even better in situations where a stale response is 118 * max-stale} directive with the maximum staleness in seconds: <pre> {@code 267 * all files in the cache directory including files that weren't created by 443 public Entry(InputStream in) throws IOException { 445 BufferedSource source = Okio.buffer(Okio.source(in)); [all...] |
/external/opencv/cv/src/ |
cvinpaint.cpp | 16 // Redistribution and use in source and binary forms, with or without modification, 22 // * Redistribution's in binary form must reproduce the above copyright notice, 23 // this list of conditions and the following disclaimer in the documentation 32 // In no event shall the Intel Corporation or contributors be liable for any direct, 36 // and on any theory of liability, whether in contract, strict liability, 37 // or tort (including negligence or otherwise) arising in any way out of 82 int num,in; member in class:CvPriorityQueueFloat 147 in++; 148 // printf("push i %3d j %3d T %12.4e in %4d\n",i,j,T,in); [all...] |
/external/openssl/apps/ |
cms.c | 8 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 23 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 31 * nor may "OpenSSL" appear in their names without prior written 37 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 42 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 49 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 120 BIO *in = NULL, *out = NULL, *indata = NULL, *rctin = NULL local [all...] |
/external/openssl/crypto/des/ |
des.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 133 char *in=NULL,*out=NULL; local [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
OpenSSLHeartbleedTest.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 65 // Man-in-The-Middle (MiTM). The client connects to the MiTM which then connects to the server 66 // and starts forwarding all TLS records between the client and the server. In tests that check 144 "SSLSocket is vulnerable to Heartbleed in " + ((client) ? "client" : "server") 166 "SSLSocket is vulnerable to Heartbleed in " + ((client) ? "client" : "server") 190 // Start the MiTM daemon in the background 201 // Start the server in the background 209 // Start the client in the background 381 InputStream in, 755 private final InputStream in; field in class:OpenSSLHeartbleedTest.TlsRecordReader 906 InputStream in = null; local [all...] |
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
LogManagerTest.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 803 InputStream in = EnvironmentHelper.PropertiesToInputStream(props); local 804 man.readConfiguration(in); 973 InputStream in = null; local [all...] |
/external/emma/core/java12/com/vladium/emma/report/html/ |
ReportGenerator.java | 63 // TODO: make sure relative file names are converted to relative URLs in all anchors/hrefs 120 m_log.trace1 ("process", "[" + getType () + "] report generated in " + (end - start) + " ms"); 439 // this visit only takes place in src views 614 // this visit only takes place in class views 774 // TODO: merge header and footer in the same method 1142 BufferedReader in = null; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/ |
jdimodel.jar | |
/bionic/libc/kernel/uapi/rdma/ |
rdma_user_cm.h | 62 __u16 in; member in struct:rdma_ucm_cmd_hdr
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
eventlib_p.h | 9 * copyright notice and this permission notice appear in all copies. 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 17 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 33 #include <netinet/in.h> 95 struct sockaddr_in in; member in union:evAccept::__anon1027 103 struct sockaddr_in in; member in union:evAccept::__anon1028 236 int maxnfds; /* # elements in above */
|
/cts/tests/app/src/android/app/cts/ |
LaunchpadActivity.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 public MyBadParcelable createFromParcel(Parcel in) { 55 return new MyBadParcelable(in); 63 public MyBadParcelable(Parcel in) { 64 in.readString(); 81 // Also used as the Binder interface descriptor string in these tests 219 * @param debugName for the lifecycle shown in the logs
|
/cts/tests/tests/content/src/android/content/cts/ |
IntentFilterTest.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 591 final InputStream in = new ByteArrayInputStream(out.toByteArray()); local 592 parser.setInput(in, "utf-8"); [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
CodecTest.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 67 InputStream in = p.getInputStream(); local 69 while ( ( ch = in.read() ) != -1 ) { 171 //in here
|
/cts/tests/tests/os/src/android/os/cts/ |
LaunchpadActivity.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 public MyBadParcelable createFromParcel(Parcel in) { 55 return new MyBadParcelable(in); 63 public MyBadParcelable(Parcel in) { 64 in.readString(); 81 // Also used as the Binder interface descriptor string in these tests 219 * @param debugName for the lifecycle shown in the logs
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ComputeTest.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 749 Allocation in = Allocation.createTyped(mRS, t); local 753 setUpAllocation(in, val); 754 s.forEach_root(in, out); 760 s.forEach_root(in, badOut); 788 // (depending on the order in which the invokes complete).
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
InstructionCodec.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 CodeInput in) throws EOFException { 46 CodeInput in) throws EOFException { 61 CodeInput in) throws EOFException { 80 CodeInput in) throws EOFException { 99 CodeInput in) throws EOFException { 115 CodeInput in) throws EOFException { 116 int baseAddress = in.cursor() - 1; 132 CodeInput in) throws EOFException [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.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 52 * Taken from the JB source code, can be found in: 61 * 0} and {@code Integer.MAX_VALUE} bytes in length. 63 * <p>The cache stores its data in a directory on the filesystem. This 70 * remove entries in the background until the limit is satisfied. The limit is 135 * Each of the subsequent lines in the file is a record of the state of a 215 public static String readAsciiLine(InputStream in) throws IOException { 220 int c = in.read(); 251 * Recursively delete everything in {@code dir} 340 InputStream in = new BufferedInputStream(new FileInputStream(journalFile), IO_BUFFER_SIZE); local 803 InputStream in = newInputStream(index); local [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
DiskLruCache.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 52 * Taken from the JB source code, can be found in: 61 * 0} and {@code Integer.MAX_VALUE} bytes in length. 63 * <p>The cache stores its data in a directory on the filesystem. This 70 * remove entries in the background until the limit is satisfied. The limit is 135 * Each of the subsequent lines in the file is a record of the state of a 215 public static String readAsciiLine(InputStream in) throws IOException { 220 int c = in.read(); 251 * Recursively delete everything in {@code dir} 340 InputStream in = new BufferedInputStream(new FileInputStream(journalFile), IO_BUFFER_SIZE); local 803 InputStream in = newInputStream(index); local [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
DiskLruCache.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 52 * Taken from the JB source code, can be found in: 61 * 0} and {@code Integer.MAX_VALUE} bytes in length. 63 * <p>The cache stores its data in a directory on the filesystem. This 70 * remove entries in the background until the limit is satisfied. The limit is 135 * Each of the subsequent lines in the file is a record of the state of a 215 public static String readAsciiLine(InputStream in) throws IOException { 220 int c = in.read(); 251 * Recursively delete everything in {@code dir} 340 InputStream in = new BufferedInputStream(new FileInputStream(journalFile), IO_BUFFER_SIZE); local 803 InputStream in = newInputStream(index); local [all...] |
/device/asus/grouper/audio/ |
audio_hw.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 60 /* minimum sleep time in out_write() when write threshold is not reached */ 246 static void do_in_standby(struct stream_in *in) 248 struct audio_device *adev = in->dev; 250 if (!in->standby) { 251 pcm_close(in->pcm); 252 in->pcm = NULL; 254 if (in->resampler) { 255 release_resampler(in->resampler) 296 struct stream_in *in = adev->active_in; local 410 struct stream_in *in; local 456 struct stream_in *in; local 828 struct stream_in *in = (struct stream_in *)stream; local 840 struct stream_in *in = (struct stream_in *)stream; local 872 struct stream_in *in = (struct stream_in *)stream; local 890 struct stream_in *in = (struct stream_in *)stream; local 941 struct stream_in *in = (struct stream_in *)stream; local 1201 struct stream_in *in; local 1247 struct stream_in *in = (struct stream_in *)stream; local [all...] |
/device/generic/goldfish/gps/ |
gps_qemu.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 21 * it will be loaded by the code in hardware/libhardware/hardware.c 190 char in[ NMEA_MAX_SIZE+1 ]; member in struct:__anon3037 412 // Possibly parse it from the NMEA sentence in the future. 428 D("Received: '%.*s'", r->pos, r->in); 434 nmea_tokenizer_init(tzer, r->in, r->in + r->pos); 484 D("in RMC, fixStatus=%c", tok_fixStatus.p[0]); 551 if (r->pos >= (int) sizeof(r->in)-1 ) [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
BaseTest.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 81 lastTestFailed = false; // hope for the best, but set to true in asserts that fail 500 BufferedReader in; field in class:BaseTest.StreamVacuum 503 public StreamVacuum(InputStream in, String inputFile) { 504 this.in = new BufferedReader( new InputStreamReader(in) ) [all...] |
/external/bluetooth/bluedroid/audio_a2dp_hw/ |
audio_a2dp_hw.c | 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 155 pprev is optional in case a dedicated diff is required */ 557 /* only allow autostarting if we are in stopped or standby */ 581 ERROR("stream not in stopped or standby"); 775 /* volume controlled in audioflinger mixer (digital) */ 816 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local 819 return in->common.cfg.rate; 824 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local 828 if (in->common.cfg.rate > 0 && in->common.cfg.rate == rate 844 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local 918 struct a2dp_stream_in *in = (struct a2dp_stream_in *)stream; local 1209 struct a2dp_stream_in *in; local 1273 struct a2dp_stream_in* in = (struct a2dp_stream_in *)stream; local [all...] |
/external/chromium_org/chrome/browser/sync/sessions/ |
sessions_sync_manager_unittest.cc | 3 // found in the LICENSE file. 322 // Test that the SyncSessionManager can properly fill in a SessionHeader. 479 // A file:// entry isn't valid, even in addition to another entry. 760 // Tests that the local session header objects is created properly in 792 // Now take that header node and feed it in as input. 799 syncer::SyncDataList in(&d, &d + 1); 803 syncer::SESSIONS, in, 826 syncer::SyncDataList in; local 828 InitWithSyncDataTakeOutput(in, &out); 857 in.push_back(t0) [all...] |
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
CoreImplTest.java | 3 // found in the LICENSE file. 92 private static void checkSendingMessage(MessagePipeHandle in, MessagePipeHandle out) { 100 in.writeMessage(buffer, null, MessagePipeHandle.WriteFlags.NONE); 124 private static void checkSendingData(DataPipe.ProducerHandle in, DataPipe.ConsumerHandle out) { 132 int result = in.writeData(buffer, DataPipe.WriteFlags.NONE); 150 private static void checkSharing(SharedBufferHandle in, SharedBufferHandle out) { 153 ByteBuffer buffer1 = in.map(0, 8, SharedBufferHandle.MapFlags.NONE); 167 in.unmap(buffer1);
|