Lines Matching defs:input
970 temp += !temp; /* 0 is not valid; input is corrupted; force offset to 1 */
1211 temp += !temp; /* 0 is not valid; input is corrupted; force offset to 1 */
1702 return ERROR(srcSize_wrong); /* input not entirely consumed */
2298 size_t ZSTD_decompressStream(ZSTD_DStream *zds, ZSTD_outBuffer *output, ZSTD_inBuffer *input)
2300 const char *const istart = (const char *)(input->src) + input->pos;
2301 const char *const iend = (const char *)(input->src) + input->size;
2318 if (hSize != 0) { /* need more input */
2320 if (toLoad > (size_t)(iend - ip)) { /* not enough input to load full header */
2323 input->pos = input->size;
2404 } /* no more input */
2422 } /* not enough input, wait for more */
2424 /* decode loaded input */
2431 zds->inPos = 0; /* input is consumed */
2464 input->pos += (size_t)(ip - istart);
2471 if (input->pos >= input->size) {
2475 input->pos++; /* release hostage */
2480 input->pos--; /* note : pos > 0, otherwise, impossible to finish reading last block */