/external/zlib/src/contrib/inflate86/ |
inffast.S | 6 * For conditions of distribution and use, see copyright notice in zlib.h 16 * (8K-32K worked best for my 256K cpu cache) and how much overhead there is in 17 * stream processing I/O and crc32/addler32. In my case, this routine used 20 * I am confident that this version will work in the general case, but I have 30 * ID bit on eflags and then use the cpuid instruction) is used in many 41 * MMX mode because many of it's x86 ALU instructions execute in .5 cycles and 43 * the input stream since the MMX code grabs bits in chunks of 32, which 51 * structure offsets which are hard coded in this file. This was last tested 52 * with zlib-1.2.0 which is currently in beta testing, newer versions of this 140 * struct z_stream offsets, in zlib. 177 #define in 44 \/* unsigned char* *\/ define [all...] |
/external/zlib/src/contrib/puff/ |
puff.c | 4 * For conditions of distribution and use, see copyright notice in puff.h 20 * assumed to be 16 bits, for arrays in order to to conserve memory. The code 23 * In the comments below are "Format notes" that describe the inflate process 39 * - Simplify offs[] index in construct() 54 * - Add braces in puff() for else do [Gailly] 67 * - Add option in TEST code for puff to write the data 68 * - Add option in TEST code to skip input bytes 72 * 2.2 25 Apr 2010 - Fix bug in variable initializations [Oberhumer] 79 * 2.3 21 Jan 2013 - Check for invalid code length codes in dynamic blocks 91 #define MAXBITS 15 /* maximum bits in a code * 105 const unsigned char *in; \/* input buffer *\/ member in struct:state [all...] |
/external/zlib/src/examples/ |
gun.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 10 Fix return value for in() 19 1.5 9 Feb 2008 Avoid warning in latest version of gcc 21 1.7 12 Aug 2012 Update for z_const usage in zlib 1.2.8 27 decompresses the data in the named gzip files. If no arguments are given, 28 gun will decompress from stdin to stdout. The names must end in .gz, -gz, 47 encountered in an input file, it is the last stream in that file. 50 file are maintained in the final uncompressed file, to the extent that the 79 /* structure for infback() to pass to input function in() -- it maintains th 89 local unsigned in(void *in_desc, z_const unsigned char **buf) function [all...] |
gzappend.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 33 * - Add L to constants in lseek() calls 34 * - Remove some debugging information in error messages 37 * - Finish off gzip file in gztack() 40 * - Use in-place rotate instead of auxiliary buffer 49 avoid copying that file, in case it's large. Note that this results in the 57 number of unusued bits in the last input byte used. gzappend will not wor 392 unsigned char *in, *out; local [all...] |
/external/zlib/src/ |
gzguts.h | 3 * For conditions of distribution and use, see copyright notice in zlib.h 77 /* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */ 98 /* unlike snprintf (which is required in C99, yet still not supported by 100 termination of the result -- however this is only used in gzlib.c where 101 the result is assured to fit in the space provided */ 146 twice this must be able to fit in an unsigned type) */ 166 /* x.pos: current position in uncompressed data */ 173 unsigned char *in; /* input buffer */ member in struct:__anon27703 191 z_stream strm; /* stream structure in-place (not a pointer) */
|
inflate.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 16 * - Use pointers for available input and output checking in inffast.c 17 * - Remove input and output counters in inffast.c 19 * - Remove unnecessary second byte pull from length extra in inffast.c 20 * - Unroll direct copy to three copies per loop in inffast.c 24 * - Correct filename to inffixed.h for fixed tables in inflate.c 25 * - Make hbuf[] unsigned char to match parameter type in inflate.c 27 * to avoid negation problem on Alphas (64 bit) in inflate.c 30 * - Add comments on state->bits assertion in inffast.c 31 * - Add comments on op field in inftrees. 615 unsigned in, out; \/* save starting available input and output *\/ local [all...] |
/external/zlib/src/test/ |
infcover.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 37 request that exceeds this limit will result in an 55 /* these items are strung together in a linked list, one for each allocation */ 59 struct mem_item *next; /* pointer to next item in list, or NULL */ 64 struct mem_item *first; /* pointer to first item in list, or NULL */ 152 /* in any case, do the requested free with the standard library function */ 183 /* show the current total requested allocations in bytes */ 191 /* show the high water allocation in bytes */ 221 fprintf(stderr, "** %s: %lu bytes in %d blocks not freed\n", 238 /* Decode a hexadecimal string, set *len to length, in[] to the bytes. Thi 247 unsigned char *in; local 289 unsigned char *in, *out; local 511 unsigned char *in, *out, *win; local [all...] |
minigzip.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h 13 * or in pipe mode. 61 #ifndef WIN32 /* unlink already in stdio.h for WIN32 */ 70 /* Map the Windows error number in ERROR to a locale-dependent error 267 unsigned char in[1]; local 278 got = fread(in, 1, 1, gz->file); 281 strm->next_in = in; 339 void gz_compress OF((FILE *in, gzFile out)); 341 int gz_compress_mmap OF((FILE *in, gzFile out)); 343 void gz_uncompress OF((gzFile in, FILE *out)) 462 FILE *in; local 502 gzFile in; local 633 FILE * in = fopen(*argv, "rb"); local [all...] |
/frameworks/base/cmds/media/src/com/android/commands/media/ |
Media.java | 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 250 InputStreamReader converter = new InputStreamReader(System.in); 251 BufferedReader in = new BufferedReader(converter); local 254 while ((line = in.readLine()) != null) {
|
/frameworks/base/core/java/android/gesture/ |
GestureStore.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 122 * Get all the gesture entry names in the library 279 DataInputStream in = null; local 281 in = new DataInputStream((stream instanceof BufferedInputStream) ? stream : 290 final short versionNumber = in.readShort(); 293 readFormatV1(in); 302 if (closeStream) GestureUtils.closeStream(in); 306 private void readFormatV1(DataInputStream in) throws IOException { 311 // Number of entries in the librar [all...] |
/frameworks/base/core/java/android/security/keymaster/ |
KeymasterArguments.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 30 * Serialization code for this and subclasses must be kept in sync with system/security/keystore 46 public KeymasterArguments createFromParcel(Parcel in) { 47 return new KeymasterArguments(in); 60 private KeymasterArguments(Parcel in) { 61 mArguments = in.createTypedArrayList(KeymasterArgument.CREATOR); 361 public void readFromParcel(Parcel in) { 362 in.readTypedList(mArguments, KeymasterArgument.CREATOR);
|
/frameworks/base/core/java/android/util/ |
Rational.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 69 * <p>Increment each time the fields change in any way.</p> 142 * <p>The denominator may return {@code 0}, in which case the rational may represent 179 * <p>A finite value occurs when the denominator is not {@code 0}; in other words 219 * <li>Both have the same numerator and denominator in their reduced form</li> 280 // TODO: remove this duplicate function (used in CTS and the shim) 300 * @param numerator the numerator in a fraction 301 * @param denominator the denominator in a fraction 366 * identically to casting a floating point value to an {@code int}, in particular [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
Base64Test.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 32 private String decodeString(String in) throws Exception { 33 byte[] out = Base64.decode(in, 0); 38 * Encodes the string 'in' using 'flags'. Asserts that decoding 41 private String encodeToString(String in, int flags) throws Exception { 42 String b64 = Base64.encodeToString(in.getBytes(), flags); 44 assertEquals(in, dec); 48 /** Assert that decoding 'in' throws IllegalArgumentException. */ 49 private void assertBad(String in) throws Exception 412 InputStream in = new Base64InputStream( local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
FontListParser.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 91 public static Config parse(InputStream in) throws XmlPullParserException, IOException { 94 parser.setInput(in, null); 98 in.close();
|
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioMixingRule.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 352 * No rule-to-parameter type check, all done in {@link #checkAddRuleObjInternal(int, Object)}. 440 throw new IllegalStateException("Unreachable code in addRuleInternal()"); 446 Builder addRuleFromParcel(Parcel in) throws IllegalArgumentException { 447 final int rule = in.readInt(); 453 int usage = in.readInt(); 458 int preset = in.readInt(); 463 intProp = new Integer(in.readInt()); 466 // assume there was in int value to read as for now they come in pai [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaTestUtil.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 94 InputStream in = p.getInputStream(); local 96 while ((ch = in.read()) != -1) {
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.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 124 * @return returns status code according to those in 382 InputStream in = null; local 385 in = new FileInputStream(sourcePath); 388 Streams.copy(in, out); 391 IoUtils.closeQuietly(in);
|
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
Bpf2Apf.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 248 // comparison instruction, so in this case we'll jump 268 // comparison instruction, so in this case we'll jump 316 * Convert the output of "tcpdump -d" (human readable BPF program dump) piped in stdin into an 320 BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); local 324 while ((line = in.readLine()) != null) convertLine(line, gen);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.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 155 // assert that we report boundary in atomic buckets 176 // Record one entry for another UID in this user. 186 // Record one entry for a UID in a different user. 200 // Verify security check in getHistory. 211 // Verify appropriate aggregation in getSummary. 226 InputStream in = null; local 229 in = getContext().getResources().openRawResource(rawId); 231 Streams.copy(in, out) [all...] |
/frameworks/base/tools/aapt2/test/ |
Builders.h | 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 238 std::stringstream in; local 239 in << "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" << str; 241 std::unique_ptr<xml::XmlResource> doc = xml::inflate(&in, &diag, Source("test.xml"));
|
/frameworks/compile/libbcc/bcinfo/tools/ |
main.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 269 FILE *in = fopen(inFile.c_str(), "r"); local 270 if (!in) { 278 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); 283 fclose(in);
|
/frameworks/native/libs/binder/ |
Binder.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 64 status_t IBinder::shellCommand(const sp<IBinder>& target, int in, int out, int err, 69 send.writeFileDescriptor(in); 169 e = expected; // Filled in by CAS 227 int in = data.readFileDescriptor(); local 239 //return shellCommand(in, out, err, args, resultReceiver);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic3DLUT.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 55 extern "C" void rsdIntrinsic3DLUT_K(void *dst, void const *in, size_t count, 67 uchar4 *in = (uchar4 *)info->inPtr[0]; local 90 rsdIntrinsic3DLUT_K(out, in, len, 95 in += len; 101 int4 baseCoord = convert_int4(*in) * coordMul; 136 ret.w = in->w; 140 ALOGE("in %08x %08x %08x %08x", in->r, in->g, in->b, in->a) [all...] |
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
BasicNetwork.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 71 // If a pool isn't passed in, then build a small default pool that will give us a lot of 78 * @param pool a buffer pool that improves GC performance in copy operations 186 * Attempts to prepare the request for a retry. If there are no more attempts remaining in the 232 InputStream in = entity.getContent(); local 233 if (in == null) { 238 while ((count = in.read(buffer)) != -1) { 247 // This can happen if there was an exception above that left the entity in
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_resize.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. 467 const uint8_t *const in = (s == 0 ? input : out); local 473 down2_symodd(in, filteredlength, out); 475 down2_symeven(in, filteredlength, out);
|