Home
last modified time | relevance | path

Searched refs:GZ_SUFFIX (Results 1 - 1 of 1) sorted by relevance

/third_party/zlib/test/
H A Dminigzip.c49 # define GZ_SUFFIX "-gz" macro
53 # define GZ_SUFFIX "-gz" macro
130 #ifndef GZ_SUFFIX
131 # define GZ_SUFFIX ".gz" macro
133 #define SUFFIX_LEN (sizeof(GZ_SUFFIX)-1)
448 if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) { in file_compress()
454 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX); in file_compress()
457 strcat(outfile, GZ_SUFFIX); in file_compress()
487 if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) { in file_uncompress()
498 if (len > SUFFIX_LEN && strcmp(file+len-SUFFIX_LEN, GZ_SUFFIX) in file_uncompress()
[all...]

Completed in 2 milliseconds