Changeset 740 for vendor/current/lib/zlib
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- Location:
- vendor/current/lib/zlib
- Files:
-
- 1 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/lib/zlib/contrib/ada/zlib-streams.ads
r414 r740 32 32 -- Flush the written data to the back stream, 33 33 -- all data placed to the compressor is flushing to the Back stream. 34 -- Should not be used untill necessary, bec ouse it is decreasing34 -- Should not be used untill necessary, because it is decreasing 35 35 -- compression. 36 36 … … 98 98 -- Buffer for Read operation. 99 99 -- We need to have this buffer in the record 100 -- bec ouse not all read data from back stream100 -- because not all read data from back stream 101 101 -- could be processed during the read operation. 102 102 … … 104 104 -- Buffer size for write operation. 105 105 -- We do not need to have this buffer 106 -- in the record bec ouse all data could be106 -- in the record because all data could be 107 107 -- processed in the write operation. 108 108 -
vendor/current/lib/zlib/contrib/ada/zlib-thin.ads
r414 r740 437 437 pragma Import (C, inflateBackInit, "inflateBackInit_"); 438 438 439 -- I stopped binding the inflateBack routines, bec ouse realize that439 -- I stopped binding the inflateBack routines, because realize that 440 440 -- it does not support zlib and gzip headers for now, and have no 441 441 -- symmetric deflateBack routines. -
vendor/current/lib/zlib/contrib/minizip/miniunz.c
r414 r740 537 537 538 538 strncpy(filename_try, zipfilename,MAXFILENAME-1); 539 /* strncpy doesn t append the trailing NULL, of the string is too long. */539 /* strncpy doesn't append the trailing NULL, if the string is too long. */ 540 540 filename_try[ MAXFILENAME ] = '\0'; 541 541 -
vendor/current/lib/zlib/contrib/minizip/minizip.c
r414 r740 78 78 79 79 strncpy(name, f,MAXFILENAME-1); 80 /* strncpy doesn t append the trailing NULL, of the string is too long. */80 /* strncpy doesn't append the trailing NULL, if the string is too long. */ 81 81 name[ MAXFILENAME ] = '\0'; 82 82 … … 254 254 zipok = 1 ; 255 255 strncpy(filename_try, argv[zipfilenamearg],MAXFILENAME-1); 256 /* strncpy doesn t append the trailing NULL, of the string is too long. */256 /* strncpy doesn't append the trailing NULL, if the string is too long. */ 257 257 filename_try[ MAXFILENAME ] = '\0'; 258 258 -
vendor/current/lib/zlib/contrib/minizip/unzip.c
r414 r740 160 160 Read a byte from a gz_stream; update next_in and avail_in. Return EOF 161 161 for end of file. 162 IN assertion: the stream s has been suc essfully opened for reading.162 IN assertion: the stream s has been successfully opened for reading. 163 163 */ 164 164 … … 296 296 /* 297 297 Compare two filename (fileName1,fileName2). 298 If iCaseSen isivity = 1, comparision is case sensitivity(like strcmp)299 If iCaseSen isivity = 2, comparision is not case sensitivity(like strcmpi298 If iCaseSensitivity = 1, comparison is case sensitive (like strcmp) 299 If iCaseSensitivity = 2, comparison is not case sensitive (like strcmpi 300 300 or strcasecmp) 301 If iCaseSen isivity = 0, case sensitivity is defaut of your operating system301 If iCaseSensitivity = 0, case sensitivity is default of your operating system 302 302 (like 1 on Unix, 2 on Windows) 303 303 -
vendor/current/lib/zlib/contrib/minizip/unzip.h
r414 r740 125 125 /* 126 126 Compare two filename (fileName1,fileName2). 127 If iCaseSen isivity = 1, comparision is case sensitivity(like strcmp)128 If iCaseSen isivity = 2, comparision is not case sensitivity(like strcmpi127 If iCaseSensitivity = 1, comparison is case sensitive (like strcmp) 128 If iCaseSensitivity = 2, comparison is not case sensitive (like strcmpi 129 129 or strcasecmp) 130 If iCaseSen isivity = 0, case sensitivity is defaut of your operating system130 If iCaseSensitivity = 0, case sensitivity is default of your operating system 131 131 (like 1 on Unix, 2 on Windows) 132 132 */ -
vendor/current/lib/zlib/contrib/minizip/zip.c
r414 r740 100 100 uLong avail_in_this_block; 101 101 uLong filled_in_this_block; 102 uLong unused; /* for future use and align ement */102 uLong unused; /* for future use and alignment */ 103 103 unsigned char data[SIZEDATA_INDATABLOCK]; 104 104 } linkedlist_datablock_internal; … … 118 118 119 119 uLong pos_local_header; /* offset of the local header of the file 120 current y writing */120 currently writing */ 121 121 char* central_header; /* central header data for the current file */ 122 122 uLong size_centralheader; /* size of the central header for cur file */ 123 123 uLong flag; /* flag of the file currently writing */ 124 124 125 int method; /* compression method of file current y wr.*/125 int method; /* compression method of file currently wr.*/ 126 126 int raw; /* 1 for directly writing raw data */ 127 127 Byte buffered_data[Z_BUFSIZE];/* buffer contain compressed data to be writ*/ -
vendor/current/lib/zlib/contrib/puff/puff.c
r414 r740 586 586 * the list of code lengths, a 0 symbol means no code, a 1..15 symbol means 587 587 * that length, and the symbols 16, 17, and 18 are run-length instructions. 588 * Each of 16, 17, and 18 are foll wed by extra bits to define the length of588 * Each of 16, 17, and 18 are followed by extra bits to define the length of 589 589 * the run. 16 copies the last length 3 to 6 times. 17 represents 3 to 10 590 590 * zero lengths, and 18 represents 11 to 138 zero lengths. Unused symbols -
vendor/current/lib/zlib/deflate.h
r414 r740 189 189 190 190 /* used by trees.c: */ 191 /* Didn't use ct_data typedef below to sup ress compiler warning */191 /* Didn't use ct_data typedef below to suppress compiler warning */ 192 192 struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */ 193 193 struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */ -
vendor/current/lib/zlib/examples/fitblk.c
r414 r740 18 18 nearly the requested output block size. The first pass generates 19 19 enough deflate blocks to produce output to fill the requested 20 output size plus a spec fied excess amount (see the EXCESS define20 output size plus a specified excess amount (see the EXCESS define 21 21 below). The last deflate block may go quite a bit past that, but 22 22 is discarded. The second pass decompresses and recompresses just -
vendor/current/lib/zlib/examples/gun.c
r414 r740 43 43 encountered in an input file, it is the last stream in that file. 44 44 45 Like gunzip and uncompress, the file attributes of the orig nal compressed45 Like gunzip and uncompress, the file attributes of the original compressed 46 46 file are maintained in the final uncompressed file, to the extent that the 47 47 user permissions allow it. -
vendor/current/lib/zlib/gzio.c
r414 r740 255 255 Read a byte from a gz_stream; update next_in and avail_in. Return EOF 256 256 for end of file. 257 IN assertion: the stream s has been suc essfully opened for reading.257 IN assertion: the stream s has been successfully opened for reading. 258 258 */ 259 259 local int get_byte(s) … … 280 280 to Z_DATA_ERROR if the magic header is present but the rest of the header 281 281 is incorrect. 282 IN assertion: the stream s has already been created suc essfully;282 IN assertion: the stream s has already been created successfully; 283 283 s->stream.avail_in is zero for the first time, but may be non-zero 284 284 for concatenated .gz files. -
vendor/current/lib/zlib/zlib.h
r414 r740 886 886 887 887 inflateBackInit will return Z_OK on success, Z_STREAM_ERROR if any of 888 the param aters are invalid, Z_MEM_ERROR if the internal state could not888 the parameters are invalid, Z_MEM_ERROR if the internal state could not 889 889 be allocated, or Z_VERSION_ERROR if the version of the library does not 890 890 match the version of the header file.
Note:
See TracChangeset
for help on using the changeset viewer.