Home
last modified time | relevance | path

Searched refs:file_buf_sz (Results 1 – 3 of 3) sorted by last modified time

/dports/biology/sra-tools/sra-tools-2.11.0/tools/sra-load/
H A Dsrf-fmt.c91 … = SRALoaderFileRead(ctx->file, *skipover, bsize, (const void**)&ctx->file_buf, &ctx->file_buf_sz); in SRF_parse_prepdata()
92 if( rc != 0 || ctx->file_buf == NULL || ctx->file_buf_sz == 0 || ctx->file_buf_sz > bsize ) { in SRF_parse_prepdata()
94 …rc = rc ? rc : RC(rcSRA, rcFormatter, rcParsing, rcData, ctx->file_buf_sz > bsize ? rcExcessive : … in SRF_parse_prepdata()
100 if( ctx->file_buf_sz == bsize ) { in SRF_parse_prepdata()
120 size_t x = to_read > ctx->file_buf_sz ? ctx->file_buf_sz : to_read; in SRF_parse_prepdata()
124 … rc = SRALoaderFileRead(ctx->file, x, to_read, (const void**)&ctx->file_buf, &ctx->file_buf_sz); in SRF_parse_prepdata()
125 if( rc != 0 || ((ctx->file_buf == NULL || ctx->file_buf_sz == 0) && to_read > 0) ) { in SRF_parse_prepdata()
156 …ALoaderFileRead(ctx->file, skipover, 16, (const void**)&ctx->file_buf, &ctx->file_buf_sz)) != 0 ) { in SRF_parse()
164 rc = SRF_ParseChunk(ctx->file_buf, ctx->file_buf_sz, &bsize, &type, &dataOffset); in SRF_parse()
184 if( ctx->file_buf_sz < 16 ) { in SRF_parse()
H A Dsrf-fmt.h35 size_t file_buf_sz; member
/dports/graphics/tgif/tgif-QPL-4.2.5/
H A Deps.c628 FILE *GetTiffEPSIInfo(fp, pszEPS, file_buf_sz, pnPreviewOK) in GetTiffEPSIInfo() argument
631 int file_buf_sz, *pnPreviewOK;
690 if (MkTempFile(pszEPS, file_buf_sz, tmpDir, TOOL_NAME) == NULL) {
767 int ConvertPsToXbm(pszPsPath, pszXbmPath, file_buf_sz) in ConvertPsToXbm() argument
769 int file_buf_sz;
775 if (MkTempFile(pszXbmPath, file_buf_sz, tmpDir, TOOL_NAME) == NULL) {
1214 FILE *JustGetTiffEPSIInfo(fp, pszEPS, file_buf_sz) in JustGetTiffEPSIInfo() argument
1217 int file_buf_sz;
1233 if (MkTempFile(pszEPS, file_buf_sz, tmpDir, TOOL_NAME) == NULL) {