Home
last modified time | relevance | path

Searched refs:SIZEOF_BUFFER (Results 1 – 5 of 5) sorted by relevance

/dports/sysutils/testdisk/testdisk-7.1/src/
H A Dntfsp.c58 #define SIZEOF_BUFFER ((const unsigned int)512) macro
84 long long int bmplcn = - (SIZEOF_BUFFER << 3); in ntfs_remove_used_space()
86 buffer=(unsigned char *)MALLOC(SIZEOF_BUFFER); in ntfs_remove_used_space()
108 …if ((bmplcn < 0) || (lcn < (unsigned)bmplcn) || (lcn >= ((unsigned)bmplcn + (SIZEOF_BUFFER << 3)))) in ntfs_remove_used_space()
112 memset(buffer, 0x00, SIZEOF_BUFFER); in ntfs_remove_used_space()
113 bmplcn = lcn & (~((SIZEOF_BUFFER << 3) - 1)); in ntfs_remove_used_space()
122 if (ntfs_attr_pread(attr, (bmplcn>>3), SIZEOF_BUFFER, buffer) < 0) in ntfs_remove_used_space()
134 byte = (lcn >> 3) & (SIZEOF_BUFFER - 1); in ntfs_remove_used_space()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/grib/degrib/degrib/
H A Dclock.c490 #define SIZEOF_BUFFER 100 macro
521 snprintf(buffer, SIZEOF_BUFFER, "%2d", month); in Clock_FormatParse()
524 snprintf(buffer, SIZEOF_BUFFER, "%04d", year); in Clock_FormatParse()
542 snprintf(buffer, SIZEOF_BUFFER, "\n"); in Clock_FormatParse()
545 snprintf(buffer, SIZEOF_BUFFER, "%%"); in Clock_FormatParse()
548 snprintf(buffer, SIZEOF_BUFFER, "\t"); in Clock_FormatParse()
556 snprintf(buffer, SIZEOF_BUFFER, "12"); in Clock_FormatParse()
563 snprintf(buffer, SIZEOF_BUFFER, "PM"); in Clock_FormatParse()
565 snprintf(buffer, SIZEOF_BUFFER, "AM"); in Clock_FormatParse()
596 snprintf(buffer, SIZEOF_BUFFER, "00"); in Clock_FormatParse()
[all …]
/dports/graphics/gdal/gdal-3.3.3/frmts/grib/degrib/degrib/
H A Dclock.c490 #define SIZEOF_BUFFER 100 macro
521 snprintf(buffer, SIZEOF_BUFFER, "%2d", month); in Clock_FormatParse()
524 snprintf(buffer, SIZEOF_BUFFER, "%04d", year); in Clock_FormatParse()
542 snprintf(buffer, SIZEOF_BUFFER, "\n"); in Clock_FormatParse()
545 snprintf(buffer, SIZEOF_BUFFER, "%%"); in Clock_FormatParse()
548 snprintf(buffer, SIZEOF_BUFFER, "\t"); in Clock_FormatParse()
556 snprintf(buffer, SIZEOF_BUFFER, "12"); in Clock_FormatParse()
563 snprintf(buffer, SIZEOF_BUFFER, "PM"); in Clock_FormatParse()
565 snprintf(buffer, SIZEOF_BUFFER, "AM"); in Clock_FormatParse()
596 snprintf(buffer, SIZEOF_BUFFER, "00"); in Clock_FormatParse()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/frmts/grib/degrib/degrib/
H A Dclock.c490 #define SIZEOF_BUFFER 100 macro
521 snprintf(buffer, SIZEOF_BUFFER, "%2d", month); in Clock_FormatParse()
524 snprintf(buffer, SIZEOF_BUFFER, "%04d", year); in Clock_FormatParse()
542 snprintf(buffer, SIZEOF_BUFFER, "\n"); in Clock_FormatParse()
545 snprintf(buffer, SIZEOF_BUFFER, "%%"); in Clock_FormatParse()
548 snprintf(buffer, SIZEOF_BUFFER, "\t"); in Clock_FormatParse()
556 snprintf(buffer, SIZEOF_BUFFER, "12"); in Clock_FormatParse()
563 snprintf(buffer, SIZEOF_BUFFER, "PM"); in Clock_FormatParse()
565 snprintf(buffer, SIZEOF_BUFFER, "AM"); in Clock_FormatParse()
596 snprintf(buffer, SIZEOF_BUFFER, "00"); in Clock_FormatParse()
[all …]
/dports/sysutils/sg3_utils/sg3_utils-1.42/src/
H A Dsginfo.c163 #define SIZEOF_BUFFER (16*1024) macro
165 static unsigned char cbuffer[SIZEOF_BUFFER];