Home
last modified time | relevance | path

Searched refs:realsize (Results 1 – 11 of 11) sorted by relevance

/external/curl/docs/examples/
Dgetinmemory.c42 size_t realsize = size * nmemb; in WriteMemoryCallback() local
45 mem->memory = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
52 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
53 mem->size += realsize; in WriteMemoryCallback()
56 return realsize; in WriteMemoryCallback()
Dpostinmemory.c39 size_t realsize = size * nmemb; in WriteMemoryCallback() local
42 mem->memory = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
49 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
50 mem->size += realsize; in WriteMemoryCallback()
53 return realsize; in WriteMemoryCallback()
Dhref_extractor.c40 size_t realsize = size * nmemb, p; in write_callback() local
41 for(p = 0; p < realsize; p++) { in write_callback()
50 return realsize; in write_callback()
Dhiperfifo.c294 size_t realsize = size * nmemb; in write_cb() local
298 return realsize; in write_cb()
Dghiper.c267 size_t realsize = size * nmemb; in write_cb() local
271 return realsize; in write_cb()
Devhiperfifo.c311 size_t realsize = size * nmemb; in write_cb() local
315 return realsize; in write_cb()
/external/ltp/utils/ffsb-6.0-rc2/
Dfh.c139 ssize_t realsize; in fhread() local
147 realsize = read(fd, buf, size); in fhread()
154 if (realsize != size) { in fhread()
156 (unsigned long long)realsize, (unsigned long long)size); in fhread()
165 ssize_t realsize; in fhwrite() local
174 realsize = write(fd, buf, size); in fhwrite()
181 if (realsize != size) { in fhwrite()
183 "Probably out of disk space\n", realsize, size); in fhwrite()
/external/libmicrohttpd/src/spdy2http/
Dproxy.c530 size_t realsize = size * nmemb; in curl_header_cb() local
594 return realsize; in curl_header_cb()
602 for(i=pos; i<realsize && ' '!=line[i]; ++i); in curl_header_cb()
603 if(i == realsize) in curl_header_cb()
610 for(i=pos; i<realsize && ' '!=line[i] && '\r'!=line[i] && '\n'!=line[i]; ++i); in curl_header_cb()
615 if(i<realsize && '\r'!=line[i] && '\n'!=line[i]) in curl_header_cb()
619 for(i=pos; i<realsize && '\r'!=line[i] && '\n'!=line[i]; ++i); in curl_header_cb()
624 return realsize; in curl_header_cb()
629 for(i=pos; i<realsize && ':'!=line[i] && '\r'!=line[i] && '\n'!=line[i]; ++i) in curl_header_cb()
640 return realsize; in curl_header_cb()
[all …]
/external/curl/tests/libtest/
Dlib1900.c44 size_t realsize = size * nmemb; in write_callback() local
48 return realsize; in write_callback()
/external/libcups/cups/
Dtestppd.c966 ssize_t realsize; /* Size of real file path */ in main() local
969 if ((realsize = readlink(filename, realfile, sizeof(realfile) - 1)) < 0) in main()
972 realfile[realsize] = '\0'; in main()
/external/curl/docs/
DFAQ1215 size_t realsize = size * nmemb;
1218 mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1);
1220 memcpy(&(mem->memory[mem->size]), ptr, realsize);
1221 mem->size += realsize;
1224 return realsize;