Lines Matching refs:size
39 FILE *stream, unsigned char *ptr, size_t size, in dump() argument
51 fprintf(stream, "%s, %zu bytes (0x%zx)\n", text, size, size); in dump()
53 for(i = 0; i < size; i += width) { in dump()
60 if(i + c < size) in dump()
66 for(c = 0; (c < width) && (i + c < size); c++) { in dump()
68 if(nohex && (i + c + 1 < size) && ptr[i + c] == 0x0D && in dump()
76 if(nohex && (i + c + 2 < size) && ptr[i + c + 1] == 0x0D && in dump()
89 char *data, size_t size, in my_trace() argument
122 dump(text, stderr, (unsigned char *)data, size, config->trace_ascii); in my_trace()
131 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *stream) in read_callback() argument
133 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback()
144 static size_t write_callback(char *ptr, size_t size, size_t nmemb, in write_callback() argument
147 int amount = curlx_uztosi(size * nmemb); in write_callback()
150 return size * nmemb; in write_callback()