Searched refs:GZ_SUFFIX (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/zlib/ |
D | minigzip.c | 49 # 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) 465 if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) { 471 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX); 474 strcat(outfile, GZ_SUFFIX); 505 if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) { 516 if (len > SUFFIX_LEN && strcmp(file+len-SUFFIX_LEN, GZ_SUFFIX) == 0) { [all …]
|
/external/zlib/src/test/ |
D | minigzip.c | 49 # 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) 465 if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) { 471 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX); 474 strcat(outfile, GZ_SUFFIX); 505 if (len + strlen(GZ_SUFFIX) >= sizeof(buf)) { 516 if (len > SUFFIX_LEN && strcmp(file+len-SUFFIX_LEN, GZ_SUFFIX) == 0) { [all …]
|