/external/libopus/tests/ |
H A D | 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 28 /* Check for overflow in reading the padding length. 48 unsigned char *in = malloc(PACKETSIZE); local 52 if (!in || !out) { 56 in[0] = 0xff; 57 in[1] = 0x41; 58 memset(in + 2, 0xff, PACKETSIZE - 3); 59 in[PACKETSIZ [all...] |
/external/libvncserver/examples/ |
H A D | pnmshow24.c | 24 FILE* in=stdin; local 30 in=fopen(argv[1],"rb"); 31 if(!in) { 37 fgets(buffer,1024,in); 45 fgets(buffer,1024,in); 51 fgets(buffer,1024,in); 77 fread(rfbScreen->frameBuffer,width*3,height,in); 78 fclose(in);
|
/external/libvncserver/libvncserver/ |
H A D | tableinitcmtemplate.c | 24 * This software is distributed in the hope that it will be useful, 46 rfbInitColourMapSingleTableOUT(char **table, rfbPixelFormat *in, argument 51 uint32_t nEntries = 1 << in->bitsPerPixel; 75 if (out->bigEndian != in->bigEndian) {
|
/external/linux-tools-perf/src/tools/perf/util/ |
H A D | intlist.h | 21 void intlist__remove(struct intlist *ilist, struct int_node *in); 48 static inline struct int_node *intlist__next(struct int_node *in) argument 51 if (!in) 53 rn = rb_next(&in->rb_node);
|
H A D | pager.c | 15 * Work around bug in "less" by not starting it until we 18 fd_set in; local 20 FD_ZERO(&in); 21 FD_SET(0, &in); 22 select(1, &in, NULL, &in, NULL); 78 pager_process.in = -1; 85 dup2(pager_process.in, 1); 87 dup2(pager_process.in, 2); 88 close(pager_process.in); [all...] |
/external/llvm/include/llvm/Support/ |
H A D | SwapByteOrder.h | 30 // The DLL version of the runtime lacks these functions (bug!?), but in a 101 } in, out; local 102 in.f = C; 103 out.i = SwapByteOrder_32(in.i); 111 } in, out; local 112 in.d = C; 113 out.i = SwapByteOrder_64(in.i);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | 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 60 uint64_t in; local 63 nv10_get_final_combiner(ctx, &in, &n); 66 PUSH_DATA (push, in); 67 PUSH_DATA (push, in >> 32);
|
/external/nanopb-c/examples/using_double_on_avr/ |
H A D | double_conversion.c | 18 conversion_t in; local 19 in.f = value; 25 sign = (in.i >> 31) & 1; 26 exponent = ((in.i >> 23) & 0xFF) - 127; 27 mantissa = in.i & 0x7FFFFF; 74 /* Figure if value is in range representable by floats. */
|
/external/oauth/core/src/main/java/net/oauth/http/ |
H A D | 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) argument 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/ |
H A D | 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 { argument 47 for (int count; (count = in.read(buffer)) != -1; ) { 50 in.close();
|
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | Okio.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 * source will perform bulk reads into its in-memory buffer. Use this wherever 119 /** Returns a source that reads from {@code in}. */ 120 public static Source source(final InputStream in) { argument 121 return source(in, new Timeout()); 124 private static Source source(final InputStream in, final Timeout timeout) { argument 125 if (in == null) throw new IllegalArgumentException("in == null"); 135 int bytesRead = in [all...] |
/external/okhttp/okio/okio/src/test/java/okio/ |
H A D | SocketTimeoutTest.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 128 private static byte[] readFully(InputStream in, int byteCount) throws IOException { argument 132 int read = in.read(result, count, result.length - count);
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
H A D | CustomTrust.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 63 * embeds the PEM files in Java strings; most applications will instead read this from a resource 145 * <p>This can be used to replace the host platform's built-in trusted certificates with a custom 146 * set. This is useful in development where certificate authority-trusted certificates aren't 147 * available. Or in production, to avoid reliance on third-party certificate authorities. 150 * the host platform's built-in trust store. 156 * not use custom trusted certificates in production without the blessing of your server's TLS 159 public SSLContext sslContextForTrustedCertificates(InputStream in) { argument 162 Collection<? extends Certificate> certificates = certificateFactory.generateCertificates(in); [all...] |
/external/openssh/ |
H A D | hash.c | 30 int crypto_hash_sha512(unsigned char *out,const unsigned char *in,unsigned long long inlen) argument 39 blocks(h,in,inlen); 40 in += inlen; 42 in -= inlen; 44 for (i = 0;i < inlen;++i) padded[i] = in[i];
|
H A D | rsa.c | 10 * incompatible with the protocol description in the RFC file, it must be 16 * Redistribution and use in source and binary forms, with or without 21 * 2. Redistributions in binary form must reproduce the above copyright 22 * notice, this list of conditions and the following disclaimer in the 57 * RSA in 3 lines of perl by Adam Back <aba@atlax.ex.ac.uk>, 1995, as 75 rsa_public_encrypt(BIGNUM *out, BIGNUM *in, RSA *key) argument 89 ilen = BN_num_bytes(in); 94 BN_bn2bin(in, inbuf); 121 rsa_private_decrypt(BIGNUM *out, BIGNUM *in, RSA *key) argument 132 ilen = BN_num_bytes(in); [all...] |
/external/openssh/openbsd-compat/ |
H A D | 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 39 #include <netinet/in.h> 57 struct sockaddr_in *in; local 77 in = (struct sockaddr_in *)sa; 79 portp = &in->sin_port; 106 /* Terminate on errors, except "address already in use" */
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
H A D | 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 30 // This code is inspired in the paper "Fast Half Float Conversions" 523 } in; local 527 in.flt = flt; 528 n = in.num;
|
/external/protobuf/java/src/device/main/java/com/google/protobuf/nano/android/ |
H A D | ParcelableMessageNanoCreator.java | 5 // Redistribution and use in source and binary forms, with or without 11 // * Redistributions in binary form must reproduce the above 13 // in the documentation and/or other materials provided with the 54 public T createFromParcel(Parcel in) { argument 55 String className = in.readString(); 56 byte[] data = in.createByteArray();
|
/external/selinux/policycoreutils/hll/pp/ |
H A D | 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/speex/libspeex/ |
H A D | vq_bfin.h | 8 Redistribution and use in source and binary forms, with or without 15 - Redistributions in binary form must reproduce the above copyright 16 notice, this list of conditions and the following disclaimer in the 37 void vq_nbest(spx_word16_t *in, const spx_word16_t *codebook, int len, int entries, spx_word32_t *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) argument 68 : "a" (len-1), "a" (in), "a" (2), "d" (entries), "d" (len<<1), "1" (codebook), "4" (E), "2" (best_dist[0]), "3" (nbest[0]) 91 : "a" (len-1), "a" (in), "a" (2), "1" (codebook), "0" (E[i])
|
/external/toybox/toys/other/ |
H A D | 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/pending/ |
H A D | iconv.c | 41 char *in = toybuf+inleft, *out = outstart; local 43 len = read(fd, in, 2048-inleft); 52 if (iconv(TT.ic, &in, &inleft, &out, &outleft) == -1 53 && (errno == EILSEQ || (in == toybuf+inleft-len && errno == EINVAL))) 57 *(out++) = *(in++); 63 memmove(in, toybuf, inleft);
|
/external/toybox/toys/posix/ |
H A D | split.c | 38 void do_split(int infd, char *in) argument
|
H A D | 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;
|
H A D | 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));
|