Lines Matching refs:nread
101 size_t nread = fread(buffer, 1, sizeof(buffer), file); in file2string() local
108 while(nread) { in file2string()
109 size_t nlen = memcrlf(ptr, FALSE, nread); in file2string()
112 nread -= nlen; in file2string()
114 if(nread) { in file2string()
116 nlen = memcrlf(ptr, TRUE, nread); in file2string()
118 nread -= nlen; in file2string()
130 size_t nread; in file2memory() local
136 nread = fread(buffer, 1, sizeof(buffer), file); in file2memory()
143 if(nread) in file2memory()
144 if(curlx_dyn_addn(&dyn, buffer, nread)) in file2memory()