/external/openssh/openbsd-compat/ |
md5.c | 6 * written by Colin Plumb in 1993, no copyright is claimed. 7 * This code is in the public domain; do with it what you wish. 89 /* Process data in MD5_BLOCK_LENGTH-byte chunks. */ 112 /* Convert count to 8 bytes in little endian order. */ 125 * Final wrapup--call MD5Pad, fill in digest and zero out ctx. 147 /* This is the central step in the MD5 algorithm. */ 159 u_int32_t a, b, c, d, in[MD5_BLOCK_LENGTH / 4]; local 162 memcpy(in, block, sizeof(in)); 165 in[a] = (u_int32_t) [all...] |
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
fx_zlib_inffast.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 38 inflate execution time is spent in this routine. 52 BAD -- error in block data 72 z_const unsigned char FAR *in; /* local strm->next_in */ local 73 z_const unsigned char FAR *last; /* have enough input while in < last */ 81 unsigned whave; /* valid bytes in the window */ 99 in = strm->next_in - OFF; 100 last = in + (strm->avail_in - 5); 122 hold += (unsigned long)(PUP(in)) << bits; 124 hold += (unsigned long)(PUP(in)) << bits [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftgloadr.c | 50 /* several glyphs (those `in the stack'). */ 62 /* re-implement it in one way or the other, which wasted code and */ 353 /* adjust contours count in newest outline */ 376 FT_Outline* in = &source->base.outline; local 379 FT_ARRAY_COPY( out->points, in->points, 381 FT_ARRAY_COPY( out->tags, in->tags, 383 FT_ARRAY_COPY( out->contours, in->contours,
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
LiteTest.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 22 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 56 // We put this in setUp() rather than in its own test method because we 67 // time, leaving not much to do in this method. Let's just do some random 138 ObjectInputStream in = new ObjectInputStream(bais) local [all...] |
/external/selinux/policycoreutils/restorecond/ |
user.c | 12 * This program is distributed in the hope that it will be useful, 62 /* User data is the event loop we are running in */ 222 GIOChannel *in = g_io_channel_unix_new(0); local 223 g_io_add_watch_full( in,
|
/external/sfntly/cpp/src/sample/chromium/ |
chrome_subsetter.cc | 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 29 explicit HexTo(const char* in) { 31 ss << std::hex << in; local
|
/external/toybox/toys/lsb/ |
md5sum.c | 55 // that involves not just floating point but pulling in -lm (and arguing with 89 unsigned int in, temp, swap; local 91 in = i; 95 in = (1+(5*i))&15; 99 in = (3*i+5)&15; 102 in = (7*i)&15; 105 temp += x[0] + b[in] + md5table[i]; 215 // message size (in bits, big endian), and adding enough zero bits in 218 // Since our input up to now has been in whole bytes, we can deal wit [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
filterbanks.c | 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. 59 WebRtc_Word32 a1 = 0, b1 = 0, c = 0, in = 0; local 65 in = (WebRtc_Word32)io[k]; 101 c = ((WebRtc_Word32)in) + WEBRTC_SPL_RSHIFT_W32(a1+b1, 7); // Q0 104 c = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)in, 2) - a2 - b2; // In Q2 268 WebRtc_Word16 in[FRAMESAMPLES]; local 325 WebRtc_Word16 in[FRAMESAMPLES]; local [all...] |
/external/zlib/src/contrib/masmx64/ |
inffas8664.c | 5 * For conditions of distribution and use, see copyright notice in zlib.h
12 * inffas8664.c call function inffas8664fnc in inffasx64.asm
17 * data, it uses rep movsw, which moves data in 2-byte chunks instead of single
25 * the gcc -S output of zlib-1.2.0/inffast.c. Zlib-1.2.0 is in beta release at
49 inflate execution time is spent in this routine.
63 BAD -- error in block data
86 /* 16 8 */ unsigned char FAR *in; /* esi rsi local strm->next_in */
member in struct:inffast_ar 87 /* 24 12 */ unsigned char FAR *last; /* r9 while in < last */
127 ar.in = strm->next_in;
128 ar.last = ar.in + (strm->avail_in - PAD_AVAIL_IN); [all...] |
/external/zlib/src/contrib/puff/ |
pufftest.c | 4 * For conditions of distribution and use, see copyright notice in puff.h 55 Reallocate to larger buffers until the entire file is read in. Return a 64 FILE *in; local 70 in = name == NULL ? stdin : fopen(name, "rb"); 71 if (in != NULL) { 73 *len += fread((char *)buf + *len, 1, size - *len, in); 83 fclose(in);
|
/external/zlib/src/ |
inffast.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 38 inflate execution time is spent in this routine. 52 BAD -- error in block data 72 z_const unsigned char FAR *in; /* local strm->next_in */ local 73 z_const unsigned char FAR *last; /* have enough input while in < last */ 81 unsigned whave; /* valid bytes in the window */ 99 in = strm->next_in - OFF; 100 last = in + (strm->avail_in - 5); 122 hold += (unsigned long)(PUP(in)) << bits; 124 hold += (unsigned long)(PUP(in)) << bits [all...] |
/external/zopfli/src/zopfli/ |
zopfli_bin.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 72 const unsigned char* in, size_t insize) { 75 fwrite((char*)in, 1, insize, file); 86 unsigned char* in; local 90 LoadFile(infilename, &in, &insize); 96 ZopfliCompress(options, output_type, in, insize, &out, &outsize); 109 free(in);
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleThread.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 * Register for the messages we're interested in. 88 ByteBuffer in = wrapChunk(request); local 90 boolean enable = (in.get() != 0); 101 ByteBuffer in = wrapChunk(request); local 102 // currently nothing to read from "in" 119 * However, we're using the short threadId in THST messages, so we 121 * thread ID in the low 16 bits and somehow serialize the top 16 bits.) 124 ByteBuffer in = wrapChunk(request) local [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureLibraries.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 83 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); 85 Log.d(LOG_TAG, "Could not save the gesture library in " + mPath, e); 131 final InputStream in = context.getResources().openRawResource(mResourceId); local 133 mStore.load(in, true);
|
/frameworks/base/core/java/android/util/ |
Base64InputStream.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 * @param in the InputStream to read the source data from 44 * constants in {@link Base64} 46 public Base64InputStream(InputStream in, int flags) { 47 this(in, flags, false); 54 * @param in the InputStream to read the source data from 56 * constants in {@link Base64} 61 public Base64InputStream(InputStream in, int flags, boolean encode) { 62 super(in); [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
SSLTest.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 InputStream in = ssl.getInputStream(); local 38 assertNotNull(in); 47 int ret = in.read(b);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
DurableUtils.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 40 final ByteArrayInputStream in = new ByteArrayInputStream(data); local 43 d.read(new DataInputStream(in)); 94 public static String readNullableString(DataInputStream in) throws IOException { 95 if (in.read() != 0) { 96 return in.readUTF();
|
/frameworks/base/telecomm/java/android/telecom/ |
PhoneAccountHandle.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 141 public PhoneAccountHandle createFromParcel(Parcel in) { 142 return new PhoneAccountHandle(in); 151 private PhoneAccountHandle(Parcel in) { 152 this(ComponentName.CREATOR.createFromParcel(in), 153 in.readString(), 154 UserHandle.CREATOR.createFromParcel(in));
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicLUT.cpp | 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 62 const uchar *in = (uchar *)info->inPtr[0]; local 72 out[0] = tr[in[0]]; 73 out[1] = tg[in[1]]; 74 out[2] = tb[in[2]]; 75 out[3] = ta[in[3]]; 76 in += 4;
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
ImageRequestTest.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 // "file:fake" is ASCII encodable and thus the name in Robolectric's fake 44 // "file:" + name in its lookaside map. I write all this because it will 101 // Scale in X and Y independently, so that src matches dst exactly. This 152 private static byte[] readInputStream(InputStream in) throws IOException { 156 while ((count = in.read(buffer)) != -1) { 159 in.close();
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.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 73 AudioStreamInStub* in = new AudioStreamInStub(); local 74 status_t lStatus = in->set(format, channels, sampleRate, acoustics); 79 return in; 80 delete in; 84 void AudioHardwareStub::closeInputStream(AudioStreamIn* in) 86 delete in;
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
ChunkHandler.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 53 * Returns a response in a Chunk. 78 ByteBuffer in; local 80 in = ByteBuffer.wrap(request.data, request.offset, request.length); 81 in.order(CHUNK_ORDER); 82 return in;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
HostnameVerifierTest.java | 6 * "License"); you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 46 InputStream in; local 48 in = new ByteArrayInputStream(X509_FOO); 49 x509 = (X509Certificate) cf.generateCertificate(in); 57 in = new ByteArrayInputStream(X509_HANAKO); 58 x509 = (X509Certificate) cf.generateCertificate(in); 63 in = new ByteArrayInputStream(X509_FOO_BAR); 64 x509 = (X509Certificate) cf.generateCertificate(in); 71 in = new ByteArrayInputStream(X509_FOO_BAR_HANAKO) 142 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); local 156 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); local 179 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local 207 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local 240 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local 277 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); local [all...] |
/libcore/luni/src/main/java/java/io/ |
FileDescriptor.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 35 public static final FileDescriptor in = new FileDescriptor(); field in class:FileDescriptor 54 in.descriptor = STDIN_FILENO;
|
PipedInputStream.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 40 * range {@code [out, in)} and written to the range {@code [in, out)}. 41 * Data in the buffer is either sequential: <pre> 45 * out in</pre> 50 * in out</pre> 51 * When the buffer is empty, {@code in == -1}. Reading when the buffer is 53 * {@code in == out}. Writing when the buffer is full will block until free 59 * The index in {@code buffer} where the next byte will be written 61 protected int in = -1; field in class:PipedInputStream [all...] |