/external/wpa_supplicant_8/src/crypto/ |
md4-internal.c | 51 * written by Colin Plumb in 1993, no copyright is claimed. 52 * This code is in the public domain; do with it what you wish. 131 /* Process data in MD4_BLOCK_LENGTH-byte chunks. */ 153 /* Convert count to 8 bytes in little endian order. */ 166 * Final wrapup--call MD4Pad, fill in digest and zero out ctx. 188 /* This is the central step in the MD4 algorithm. */ 200 u32 a, b, c, d, in[MD4_BLOCK_LENGTH / 4]; local 203 os_memcpy(in, block, sizeof(in)); 206 in[a] = (u32) [all...] |
/external/zlib/src/contrib/inflate86/ |
inffas86.c | 5 * For conditions of distribution and use, see copyright notice in zlib.h 12 * data, it uses rep movsw, which moves data in 2-byte chunks instead of single 20 * the gcc -S output of zlib-1.2.0/inffast.c. Zlib-1.2.0 is in beta release at 42 inflate execution time is spent in this routine. 56 BAD -- error in block data 81 /* 16 8 */ unsigned char FAR *in; /* esi rsi local strm->next_in */ member in struct:inffast_ar 82 /* 24 12 */ unsigned char FAR *last; /* r9 while in < last */ 110 ar.in = strm->next_in; 111 ar.last = ar.in + (strm->avail_in - PAD_AVAIL_IN); 128 /* align in on 1/2 hold size boundary * [all...] |
/external/zlib/src/examples/ |
gzjoin.c | 7 warranty. In no event will the author be held liable for any damages 16 in a product, an acknowledgment in the product documentation would be 39 decompress all of the input data in order to find the bits in the compressed 48 compressed data in order to connect the streams. The output gzip file 65 /* exit with an error (return a value to allow use in an expression) */ 75 #define CHUNK 32768 /* must be a power of two and fit in unsigned */ 87 local void bclose(bin *in) 89 if (in != NULL) 102 bin *in; local 285 bin *in; \/* buffered input file *\/ local [all...] |
zran.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 13 stream is provided on the command line. The compressed stream is decoded in 15 in the uncompressed output. The compressed file is left open, and can then 23 point in the uncompressed stream. build_index() works by decompressing the 26 a new access point. If so, that point is saved in a data structure that 29 To use the index, an offset in the uncompressed data is provided, for which 30 the latest accees point at or preceding that offset is located in the index. 31 The input file is positioned to the specified location in the index, and if 34 the decompression then proceeds until the desired offset in the file is 38 Another approach would be to generate the index on demand. In that case 69 off_t in; \/* offset in input file of first full byte *\/ member in struct:point 358 FILE *in; local [all...] |
/frameworks/av/services/audioflinger/ |
AudioResampler.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 48 // number of bits used in interpolation multiply - 15 bits avoids overflow 60 void AsmMono16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 63 void AsmStereo16Loop(int16_t *in, int32_t* maxOutPt, int32_t maxInIdx, 370 int16_t *in = mBuffer.i16; 375 out[outputIndex++] += vl * Interp(mX0L, in[0], phaseFraction); 376 out[outputIndex++] += vr * Interp(mX0R, in[1], phaseFraction); 393 AsmStereo16Loop(in, maxOutPt, maxInIdx, outputIndex, out, inputIndex, vl, vr, 399 out[outputIndex++] += vl * Interp(in[inputIndex*2-2] 465 int16_t *in = mBuffer.i16; member in namespace:android [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAvrcpPlayerSettings.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 121 public BluetoothAvrcpPlayerSettings createFromParcel(Parcel in) { 122 return new BluetoothAvrcpPlayerSettings(in); 130 private BluetoothAvrcpPlayerSettings(Parcel in) { 131 mSettings = in.readInt(); 132 int numSettings = in.readInt(); 134 mSettingsValue.put(in.readInt(), in.readInt()); 159 * The setting must be part of possible settings in {@link getSettings()} [all...] |
/frameworks/base/core/java/android/content/pm/ |
EphemeralResolveInfo.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 EphemeralResolveInfo(Parcel in) { 62 mDigest = in.readParcelable(null /*loader*/); 63 mPackageName = in.readString(); 64 in.readList(mFilters, null /*loader*/); 97 public EphemeralResolveInfo createFromParcel(Parcel in) { 98 return new EphemeralResolveInfo(in); 186 EphemeralDigest(Parcel in) { 187 final int digestCount = in.readInt() [all...] |
/frameworks/base/core/java/android/database/ |
BulkCursorNative.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 27 * Native implementation of the bulk cursor. This is only for use in implementing 48 IBulkCursor in = (IBulkCursor)obj.queryLocalInterface(descriptor); local 49 if (in != null) { 50 return in;
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleHeap.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 50 * Register for the messages we're interested in. 112 ByteBuffer in = wrapChunk(request); local 114 int when = in.get(); 130 ByteBuffer in = wrapChunk(request); local 132 int when = in.get(); 133 int what = in.get(); 156 ByteBuffer in = wrapChunk(request); local 160 int len = in.getInt() 190 ByteBuffer in = wrapChunk(request); local 231 ByteBuffer in = wrapChunk(request); local [all...] |
DdmHandleProfiling.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 47 * Register for the messages we're interested in. 103 ByteBuffer in = wrapChunk(request); local 105 int bufferSize = in.getInt(); 106 int flags = in.getInt(); 107 int len = in.getInt(); 108 String fileName = getString(in, len); 145 ByteBuffer in = wrapChunk(request); local 147 int bufferSize = in.getInt() 198 ByteBuffer in = wrapChunk(request); local [all...] |
/frameworks/base/core/java/android/os/ |
ServiceManagerNative.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 38 IServiceManager in = local 40 if (in != null) { 41 return in;
|
/frameworks/base/core/java/android/print/ |
PrintFileDocumentAdapter.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 117 InputStream in = null; local 121 in = new FileInputStream(mFile); 126 final int readByteCount = in.read(buffer); 137 IoUtils.closeQuietly(in);
|
/frameworks/base/core/java/android/security/net/config/ |
ResourceCertificateSource.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 34 * {@link CertificateSource} based on certificates contained in an application resource file. 57 InputStream in = null; local 60 in = mContext.getResources().openRawResource(mResourceId); 61 certs = factory.generateCertificates(in); 66 IoUtils.closeQuietly(in);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.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 135 InputStream in = null; local 138 in = getContext().getResources().openRawResource(rawId); 140 Streams.copy(in, out); 142 IoUtils.closeQuietly(in);
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
StackOverflowXmlParser.java | 5 * in compliance with the License. You may obtain a copy of the License at 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 30 * where each list element represents a single entry (post) in the XML feed. 37 public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException { 41 parser.setInput(in, null); 45 in.close(); 68 // This class represents a single entry (post) in the XML feed. 108 // Processes title tags in the feed. 116 // Processes link tags in the feed. 132 // Processes summary tags in the feed [all...] |
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
ExpatPerformanceTest.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 45 InputStream in = mContext.getResources().openRawResource(R.raw.youtube); local 49 while ((length = in.read(buffer)) != -1) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageUsage.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 95 BufferedInputStream in = null; local 97 in = new BufferedInputStream(file.openRead()); 100 String firstLine = readLine(in, sb); 104 readVersion1LP(packages, in, sb); 106 readVersion0LP(packages, in, sb, firstLine); 113 IoUtils.closeQuietly(in); 117 private void readVersion0LP(Map<String, PackageParser.Package> packages, InputStream in, 123 for (String line = firstLine; line != null; line = readLine(in, sb)) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
UserRestrictionsUtilsTest.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 45 Bundle in = new Bundle(); local 46 assertSame(in, UserRestrictionsUtils.nonNull(in)); 56 Bundle in = new Bundle(); local 57 Bundle out = UserRestrictionsUtils.clone(in); 58 assertNotSame(in, out);
|
/frameworks/base/telecomm/java/android/telecom/ |
TelecomAnalytics.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 35 public TelecomAnalytics createFromParcel(Parcel in) { 36 return new TelecomAnalytics(in); 50 public SessionTiming createFromParcel(Parcel in) { 51 return new SessionTiming(in); 87 private SessionTiming(Parcel in) { 88 mId = in.readInt(); 89 mTime = in.readLong(); 123 private TelecomAnalytics(Parcel in) { [all...] |
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
HugeAgent.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 90 // may throw an IOException, but in that case something has gone 113 // If we decided that we do in fact need to write our dataset, go 135 // Now, in order to incur deliberate too-much-data failures, 146 // Finally, in all cases, we need to write the new state blob 159 DataInputStream in = new DataInputStream(instream); local 162 int stateVersion = in.readInt(); 167 // In this implementation, we recover by simply rewriting 175 int lastFilling = in.readInt() 235 DataInputStream in = new DataInputStream(baStream); local [all...] |
/frameworks/compile/mclinker/lib/Object/ |
SectionMap.cpp | 162 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local 163 for (in = inBegin; in != inEnd; ++in) { 164 if (*in != NULL) 165 delete *in; 177 Output::const_iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local 178 for (in = inBegin; in != inEnd; ++in) { 190 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local 229 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local 264 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
GenerationalClassUtil.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 106 L.e(e, "Could not merge in Bindables from %s", file.getAbsolutePath()); 138 L.e(e, "Could not merge in Bindables from %s", file.getAbsolutePath()); 151 ObjectInputStream in = new ObjectInputStream(inputStream); local 152 return (Serializable) in.readObject();
|
/frameworks/multidex/library/test/src/android/support/multidex/ |
ZipEntryReader.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 17 /* Apache Harmony HEADER because the code in this class comes mostly from ZipFile, ZipEntry and 50 static ZipEntry readEntry(ByteBuffer in) throws IOException { 52 int sig = in.getInt(); 57 in.position(8); 58 int gpbf = in.getShort() & 0xffff; 64 int compressionMethod = in.getShort() & 0xffff; 65 int time = in.getShort() & 0xffff; 66 int modDate = in.getShort() & 0xffff [all...] |
/frameworks/rs/api/ |
Utilities.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 30 " * you may not use this file except in compliance with the License.\n" 35 " * Unless required by applicable law or agreed to in writing, software\n" 99 string in = stringReplace(html, "<li>", "- "); local 101 for (size_t start = 0; start < in.size(); start++) { 102 size_t lt = in.find('<', start); 104 out += in.substr(start); 107 out += in.substr(start, lt - start); 108 if (isalpha(in[lt + 1]) || in[lt + 1] == '/') [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicHistogram.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 174 uchar *in = (uchar *)info->inPtr[0]; local 178 sums[(in[0] << 2) ] ++; 179 sums[(in[1] << 2) + 1] ++; 180 sums[(in[2] << 2) + 2] ++; 181 sums[(in[3] << 2) + 3] ++; 182 in += info->inStride[0]; 191 uchar *in = (uchar *)info->inPtr[0]; local 195 sums[(in[0] << 2) ] ++ 207 uchar *in = (uchar *)info->inPtr[0]; local 222 uchar *in = (uchar *)info->inPtr[0]; local 240 uchar *in = (uchar *)info->inPtr[0]; local 257 uchar *in = (uchar *)info->inPtr[0]; local 273 uchar *in = (uchar *)info->inPtr[0]; local 288 uchar *in = (uchar *)info->inPtr[0]; local [all...] |