Lines Matching refs:size
36 FILE *stream, const unsigned char *ptr, size_t size,
91 char *data, size_t size, in tool_debug_cb() argument
159 if(size > 0) { in tool_debug_cb()
162 for(i = 0; i < size - 1; i++) { in tool_debug_cb()
176 newl = (size && (data[size - 1] != '\n')); in tool_debug_cb()
183 (void)fwrite(data, size, 1, output); in tool_debug_cb()
184 newl = (size && (data[size - 1] != '\n')); in tool_debug_cb()
200 fprintf(output, "[%zu bytes data]\n", size); in tool_debug_cb()
217 fprintf(output, "%s%s== Info: %.*s", timebuf, idsbuf, (int)size, data); in tool_debug_cb()
242 dump(timebuf, idsbuf, text, output, (unsigned char *) data, size, in tool_debug_cb()
248 FILE *stream, const unsigned char *ptr, size_t size, in dump() argument
261 text, size, size); in dump()
263 for(i = 0; i < size; i += width) { in dump()
270 if(i + c < size) in dump()
276 for(c = 0; (c < width) && (i + c < size); c++) { in dump()
279 (i + c + 1 < size) && (ptr[i + c] == 0x0D) && in dump()
289 (i + c + 2 < size) && (ptr[i + c + 1] == 0x0D) && in dump()