/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
ServerRunner.java | 25 System.in.read();
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/ |
EchoSocketSample.java | 14 System.in.read();
|
/external/oauth/core/src/main/java/net/oauth/http/ |
HttpMessageDecoder.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 private HttpMessageDecoder(HttpResponseMessage in, String encoding) 67 super(in.method, in.url); 68 this.headers.addAll(in.headers); 71 InputStream body = in.getBody(); 82 this.in = in; 85 private final HttpResponseMessage in; field in class:HttpMessageDecoder [all...] |
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
SynchronousHttpClient.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 44 static long readAllAndClose(InputStream in) throws IOException { 47 for (int count; (count = in.read(buffer)) != -1; ) { 50 in.close();
|
/external/openssh/openbsd-compat/ |
bindresvport.c | 10 * 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 the 22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 39 #include <netinet/in.h> 57 struct sockaddr_in *in; local 77 in = (struct sockaddr_in *)sa; 79 portp = &in->sin_port [all...] |
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
cmshalf.c | 8 // to deal in the Software without restriction, including without limitation 13 // The above copyright notice and this permission notice shall be included in 19 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 30 // This code is inspired in the paper "Fast Half Float Conversions" 523 } in; local [all...] |
/external/selinux/policycoreutils/hll/pp/ |
pp.c | 9 * This program is distributed in the hope that it will be useful, 71 FILE *in = NULL; local 92 in = fopen(argv[1], "rb"); 93 if (in == NULL) { 99 in = stdin; 118 rc = sepol_ppfile_to_module_package(in, &mod_pkg); 122 fclose(in); 123 in = NULL; 131 if (in != NULL) { 132 fclose(in); [all...] |
/external/selinux/policycoreutils/semodule_package/ |
semodule_unpackage.c | 44 struct sepol_policy_file *in, *out; local 61 if (file_to_policy_file(ppfile, &in, "r")) 69 if (sepol_module_package_read(pkg, in, 0) == -1) { 83 sepol_policy_file_free(in);
|
/external/toybox/toys/other/ |
dos2unix.c | 42 int len, in, out; local 48 for (in = out = 0; in < len; in++) { 49 char x = toybuf[in+sizeof(toybuf)/2]; 51 // Drop \r only if followed by \n in dos2unix mode 55 // Add \r only if \n not after \r in unix2dos mode
|
/external/toybox/toys/posix/ |
uudecode.c | 17 -o write to OUTFILE instead of filename in header 48 char *in, *out; local 59 in = out = line; 60 if (!m) olen = (*(in++) - 32) & 0x3f; 72 if (!(c = *(in++))) goto line_done;
|
uuencode.c | 15 Uuencode stdin (or file) to stdout, with encode-filename in the output. 35 char *in; local 40 in = buf; 42 for (in = buf; in-buf < i; ) { 43 int j, x, bytes = i - (in-buf); 50 if (j < bytes) x |= (*(in++) & 0x0ff) << (8*(2-j));
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
isacfix_unittest.cc | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 74 int16_t in[kSamples]; local 87 in[i] = WEBRTC_SPL_WORD32_MAX / (i + 1); 90 WebRtcIsacfix_HighpassFilterFixDec32(in, kSamples, 94 EXPECT_EQ(out[i], in[i]);
|
/external/wpa_supplicant_8/src/utils/ |
base64.c | 27 * not included in out_len. 33 const unsigned char *end, *in; local 47 in = src; 50 while (end - in >= 3) { 51 *pos++ = base64_table[(in[0] >> 2) & 0x3f]; 52 *pos++ = base64_table[(((in[0] & 0x03) << 4) | 53 (in[1] >> 4)) & 0x3f]; 54 *pos++ = base64_table[(((in[1] & 0x0f) << 2) | 55 (in[2] >> 6)) & 0x3f]; 56 *pos++ = base64_table[in[2] & 0x3f] [all...] |
/external/zlib/src/examples/ |
zpipe.c | 10 1.3 6 Apr 2005 Remove incorrect assertion in inf() 41 unsigned char in[CHUNK]; local 54 strm.avail_in = fread(in, 1, CHUNK, source); 60 strm.next_in = in; 63 compression if all of source has been read in */ 77 /* done when last data in file processed */ 97 unsigned char in[CHUNK]; local 112 strm.avail_in = fread(in, 1, CHUNK, source); 119 strm.next_in = in;
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleExit.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 * Register for the messages we're interested in. 67 ByteBuffer in = wrapChunk(request); local 69 int statusCode = in.getInt();
|
/frameworks/base/media/jni/ |
android_media_ResampleInputStream.cpp | 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 89 short in[BUF_SIZE]; local 90 env->GetByteArrayRegion(jIn, jInOffset, (jNpoints * 2 + nFir21 - 1) * 2, (jbyte*)in); 97 const short* inp = &in[i * 2];
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
ReceiverActivity.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 37 Intent in = getIntent(); local 41 body = in.getByteArrayExtra("data"); 42 header = in.getByteArrayExtra("header");
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Boolean.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 62 public Object decode(BerInputStream in) throws IOException { 63 in.readBoolean(); 65 if (in.isVerify) { 68 return getDecodedObject(in); 74 * @param in - BER input stream 77 @Override public Object getDecodedObject(BerInputStream in) throws IOException { 78 if (in.buffer[in.contentOffset] == 0) [all...] |
ASN1Enumerated.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 63 public Object decode(BerInputStream in) throws IOException { 64 in.readEnumerated(); 66 if (in.isVerify) { 69 return getDecodedObject(in); 77 public Object getDecodedObject(BerInputStream in) throws IOException { 78 return Arrays.copyOfRange(in.buffer, in.contentOffset, in.contentOffset + in.length) [all...] |
ASN1OctetString.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 61 @Override public Object decode(BerInputStream in) throws IOException { 62 in.readOctetString(); 64 if (in.isVerify) { 67 return getDecodedObject(in); 75 @Override public Object getDecodedObject(BerInputStream in) throws IOException { 76 return Arrays.copyOfRange(in.buffer, in.contentOffset, in.contentOffset + in.length) [all...] |
ASN1Sequence.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 39 public Object decode(BerInputStream in) throws IOException { 40 in.readSequence(this); 42 if (in.isVerify) { 45 return getDecodedObject(in);
|
ASN1SequenceOf.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 39 public Object decode(BerInputStream in) throws IOException { 40 in.readSequenceOf(this); 42 if (in.isVerify) { 45 return getDecodedObject(in);
|
ASN1Set.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 39 public Object decode(BerInputStream in) throws IOException { 40 in.readSet(this); 42 if(in.isVerify){ 45 return getDecodedObject(in);
|
ASN1SetOf.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 39 public Object decode(BerInputStream in) throws IOException { 40 in.readSetOf(this); 42 if (in.isVerify) { 45 return getDecodedObject(in);
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
ServerNameHelloExtension.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 DataInputStream in = new DataInputStream(serverNameListIn); local 42 int type = in.readUnsignedByte(); 46 byte[] hostnameBytes = IoUtils.readTlsVariableLengthByteVector(in, 0xffff);
|