Searched defs:in (Results 1 - 25 of 1566) sorted by last modified time

1234567891011>>

/external/yaffs2/yaffs2/
H A Dyaffs_guts.c65 static int yaffs_PutChunkIntoFile(yaffs_Object * in, int chunkInInode,
72 static int yaffs_UpdateObjectHeader(yaffs_Object * in, const YCHAR * name,
76 static int yaffs_DeleteWorker(yaffs_Object * in, yaffs_Tnode * tn, __u32 level,
78 static int yaffs_DoGenericObjectDeletion(yaffs_Object * in);
102 static int yaffs_CheckFileSanity(yaffs_Object * in);
104 #define yaffs_CheckFileSanity(in)
107 static void yaffs_InvalidateWholeChunkCache(yaffs_Object * in);
160 /* Function to return the number of shifts to get a 1 in bit 0
234 (TSTR("Releasing unmanaged temp buffer in line %d" TENDSTR),
410 * Check the first page we try to write in
1013 yaffs_DeleteWorker(yaffs_Object * in, yaffs_Tnode * tn, __u32 level, int chunkOffset, int *limit) argument
1124 yaffs_SoftDeleteWorker(yaffs_Object * in, yaffs_Tnode * tn, __u32 level, int chunkOffset) argument
1554 yaffs_HashObject(yaffs_Object * in) argument
1568 yaffs_Object *in; local
1695 yaffs_Object *in; local
2608 yaffs_FindChunkInFile(yaffs_Object * in, int chunkInInode, yaffs_ExtendedTags * tags) argument
2636 yaffs_FindAndDeleteChunkInFile(yaffs_Object * in, int chunkInInode, yaffs_ExtendedTags * tags) argument
2678 yaffs_CheckFileSanity(yaffs_Object * in) argument
2736 yaffs_PutChunkIntoFile(yaffs_Object * in, int chunkInInode, int chunkInNAND, int inScan) argument
2859 yaffs_ReadChunkDataFromObject(yaffs_Object * in, int chunkInInode, __u8 * buffer) argument
2936 yaffs_WriteChunkDataToObject(yaffs_Object * in, int chunkInInode, const __u8 * buffer, int nBytes, int useReserve) argument
2988 yaffs_UpdateObjectHeader(yaffs_Object * in, const YCHAR * name, int force, int isShrink, int shadows) argument
3408 yaffs_InvalidateWholeChunkCache(yaffs_Object * in) argument
3608 yaffs_CheckpointTnodeWorker(yaffs_Object * in, yaffs_Tnode * tn, __u32 level, int chunkOffset) argument
3880 yaffs_ReadDataFromFile(yaffs_Object * in, __u8 * buffer, loff_t offset, int nBytes) argument
4000 yaffs_WriteDataToFile(yaffs_Object * in, const __u8 * buffer, loff_t offset, int nBytes, int writeThrough) argument
4194 yaffs_PruneResizedChunks(yaffs_Object * in, int newSize) argument
4235 yaffs_ResizeFile(yaffs_Object * in, loff_t newSize) argument
4314 yaffs_FlushFile(yaffs_Object * in, int updateTime) argument
4340 yaffs_DoGenericObjectDeletion(yaffs_Object * in) argument
4365 yaffs_UnlinkFile(yaffs_Object * in) argument
4406 yaffs_DeleteFile(yaffs_Object * in) argument
4431 yaffs_DeleteDirectory(yaffs_Object * in) argument
4442 yaffs_DeleteSymLink(yaffs_Object * in) argument
4449 yaffs_DeleteHardLink(yaffs_Object * in) argument
4602 yaffs_Object *in; local
4664 yaffs_Object *in; local
5136 yaffs_CheckObjectDetailsLoaded(yaffs_Object *in) argument
5196 yaffs_Object *in; local
[all...]
/external/zlib/src/contrib/blast/
H A Dblast.c3 * For conditions of distribution and use, see copyright notice in blast.h
11 * Ben Rudiak-Gould in comp.compression on August 13, 2001. Interestingly, the
12 * example Ben provided in the post is incorrect. The distance 110001 should
25 * 1.2 24 Oct 2012 - Add note about using binary mode in stdio
41 unsigned char *in; /* next input location */ member in struct:state
42 unsigned left; /* available input at in */
44 int bitcnt; /* number of bits in bit buffer */
52 unsigned next; /* index of next write location in out[] */
59 * eight bits in the buffer. bits() works properly for need == 0.
63 * - Bits are stored in byte
[all...]
/external/zlib/src/contrib/inflate86/
H A Dinffas86.c5 * 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 o
[all...]
H A Dinffast.S6 * 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
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.h
150 * struct inflate_state offsets, in inflat
177 #define in 44 /* unsigned char* */ define
[all...]
/external/zlib/src/contrib/masmx64/
H A Dinffas8664.c5 * 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
[all...]
/external/zlib/src/contrib/puff/
H A Dpuff.c4 * 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
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; /* inpu member in struct:state
[all...]
H A Dpufftest.c4 * 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/contrib/untgz/
H A Duntgz.c40 /* values used in typeflag field */
386 int tar (gzFile in,int action,int arg,int argc,char **argv) argument
404 len = gzread(in, &buffer, BLOCKSIZE);
406 error(gzerror(in, &err));
511 len = gzread(in, fname, BLOCKSIZE);
513 error(gzerror(in, &err));
572 if (gzclose(in) != Z_OK)
603 int _CRT_glob = 0; /* disable argument globbing in MinGW */
/external/zlib/src/examples/
H A Dfitblk.c17 data in order to determine how much of that input will compress to
23 the compressed data that fit in the requested plus excess sized
28 the compression ratio for that block will be about the same as in
32 complete (see the MARGIN define below). That will result in a
42 EXCESS is chosen to be just greater than the shortfall seen in a
48 block of the second pass will be close in size to the final deflate
51 to complete in all cases.
73 local int partcompress(FILE *in, z_streamp def) argument
80 def->avail_in = fread(raw, 1, RAWLEN, in);
81 if (ferror(in))
[all...]
H A Dgun.c3 * 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()
89 local unsigned in(void *in_desc, z_const unsigned char **buf) function
[all...]
H A Dgzappend.c16 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 work
62 bit and the number of unused bits in th
180 readin(file *in) argument
192 readmore(file *in) argument
202 skip(file *in, unsigned n) argument
223 read4(file *in) argument
235 gzheader(file *in) argument
392 unsigned char *in, *out; local
[all...]
H A Dgzjoin.c16 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) argument
89 if (in != NULL) {
90 if (in
102 bin *in; local
121 bload(bin *in) argument
145 bget4(bin *in) argument
157 bskip(bin *in, unsigned skip) argument
204 gzhead(bin *in) argument
254 zpull(z_streamp strm, bin *in) argument
285 bin *in; /* buffered input file */ local
[all...]
H A Dzpipe.c10 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;
H A Dzran.c3 * 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
51 use of pointers in th
69 off_t in; /* offset in input file of first full byte */ member in struct:point
92 addpoint(struct access *index, int bits, off_t in, off_t out, unsigned left, unsigned char *window) argument
144 build_index(FILE *in, off_t span, struct access **built) argument
249 extract(FILE *in, struct access *index, off_t offset, unsigned char *buf, int len) argument
358 FILE *in; local
[all...]
/external/zlib/src/
H A Dgzguts.h3 * For conditions of distribution and use, see copyright notice in zlib.h
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:__anon34354
191 z_stream strm; /* stream structure in-place (not a pointer) */
H A Dinffast.c3 * 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)) << bit
[all...]
H A Dinflate.c3 * 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 inftree
615 unsigned in, out; /* save starting available input and output */ local
[all...]
/external/zlib/src/test/
H A Dinfcover.c3 * 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[] t
247 unsigned char *in; local
289 unsigned char *in, *out; local
511 unsigned char *in, *out, *win; local
[all...]
H A Dminigzip.c3 * 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, FIL
462 FILE *in; local
502 gzFile in; local
633 FILE * in = fopen(*argv, "rb"); local
[all...]
/external/zopfli/src/zopfli/
H A Dblocksplitter.c5 you may not use this file except in compliance with the License.
10 Unless required by applicable law or agreed to in writing, software
41 double, i is in range start-end (excluding end).
97 Returns estimated cost of a block in bits. It includes the size to encode the
148 Prints the block split points as decimal and hex values in the terminal.
285 const unsigned char* in, size_t instart, size_t inend,
307 results in better blocks. */
308 ZopfliLZ77Greedy(&s, in, instart, inend, &store);
314 /* Convert LZ77 positions to positions in the uncompressed input. */
332 void ZopfliBlockSplitSimple(const unsigned char* in, argument
284 ZopfliBlockSplit(const ZopfliOptions* options, const unsigned char* in, size_t instart, size_t inend, size_t maxblocks, size_t** splitpoints, size_t* npoints) argument
[all...]
H A Ddeflate.c5 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 bp = bitpointer, always in range [0, 7].
59 uses both orders in one standard.
81 References to this bug can be found in the changelog of
124 /* The order in which code length code lengths are encoded as per deflate. */
244 /* Note: in case of "size_only" these are null pointers so no effect. */
275 Gives the exact size of the tree, in bits, as it will be encoded in DEFLATE.
346 Calculates size of the part after the header and tree of an LZ77 block, in bit
586 DeflateDynamicBlock(const ZopfliOptions* options, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument
639 DeflateFixedBlock(const ZopfliOptions* options, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument
670 DeflateNonCompressedBlock(const ZopfliOptions* options, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument
700 DeflateBlock(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument
721 DeflateSplittingFirst(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument
755 DeflateSplittingLast(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument
827 ZopfliDeflatePart(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument
844 ZopfliDeflate(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t insize, unsigned char* bp, unsigned char** out, size_t* outsize) argument
[all...]
H A Dgzip_container.c5 you may not use this file except in compliance with the License.
10 Unless required by applicable law or agreed to in writing, software
78 const unsigned char* in, size_t insize,
80 unsigned long crcvalue = CRC(in, insize);
97 in, insize, &bp, out, outsize);
77 ZopfliGzipCompress(const ZopfliOptions* options, const unsigned char* in, size_t insize, unsigned char** out, size_t* outsize) argument
H A Dlz77.c5 you may not use this file except in compliance with the License.
10 Unless required by applicable law or agreed to in writing, software
77 -avoid using a length of 3 in combination with a long distance. This only has
82 -the block split points if the default of block splitting first is used, in a
98 /* TODO(lode): make this only run in a debug compile, it's for assert only. */
170 that this cache value is not filled in yet. */
203 Stores the found sublen, distance and length in the longest match cache, if
215 that this cache value is not filled in yet. */
366 void ZopfliLZ77Greedy(ZopfliBlockState* s, const unsigned char* in, argument
391 ZopfliWarmupHash(in, windowstar
[all...]
H A Dsqueeze.c5 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 double ll_symbols[288]; /* Length of each lit/len symbol in bits. */
38 double d_symbols[32]; /* Length of each dist symbol in bits. */
160 int bestlength = 0; /* length that has lowest cost in the cost model */
161 int bestdist = 0; /* distance that has lowest cost in the cost model */
164 Table of distances that have a different distance symbol in the deflate
199 in: the input data array
209 const unsigned char* in,
233 ZopfliWarmupHash(in, windowstar
208 GetBestLengths(ZopfliBlockState *s, const unsigned char* in, size_t instart, size_t inend, CostModelFun* costmodel, void* costcontext, unsigned short* length_array) argument
334 FollowPath(ZopfliBlockState* s, const unsigned char* in, size_t instart, size_t inend, unsigned short* path, size_t pathsize, ZopfliLZ77Store* store) argument
431 LZ77OptimalRun(ZopfliBlockState* s, const unsigned char* in, size_t instart, size_t inend, unsigned short** path, size_t* pathsize, unsigned short* length_array, CostModelFun* costmodel, void* costcontext, ZopfliLZ77Store* store) argument
447 ZopfliLZ77Optimal(ZopfliBlockState *s, const unsigned char* in, size_t instart, size_t inend, ZopfliLZ77Store* store) argument
522 ZopfliLZ77OptimalFixed(ZopfliBlockState *s, const unsigned char* in, size_t instart, size_t inend, ZopfliLZ77Store* store) argument
[all...]
H A Dzlib_container.c5 you may not use this file except in compliance with the License.
10 Unless required by applicable law or agreed to in writing, software
51 const unsigned char* in, size_t insize,
54 unsigned checksum = adler32(in, (unsigned)insize);
66 in, insize, &bitpointer, out, outsize);
50 ZopfliZlibCompress(const ZopfliOptions* options, const unsigned char* in, size_t insize, unsigned char** out, size_t* outsize) argument

Completed in 1473 milliseconds

1234567891011>>