Searched refs:nread (Results 1 - 25 of 33) sorted by relevance

12

/haiku-buildtools/gcc/gmp/mpq/
H A Dinp_str.c29 size_t nread; local
38 nread = mpz_inp_str (mpq_numref(q), fp, base);
39 if (nread == 0)
43 nread++;
48 nread++;
50 nread = mpz_inp_str_nowhite (mpq_denref(q), fp, base, c, nread);
51 if (nread == 0)
61 nread--;
64 return nread;
[all...]
/haiku-buildtools/gcc/mpc/src/
H A Dinp_str.c47 size_t nread = 0; local
53 str [nread] = (char) c;
54 nread++;
55 if (nread == strsize) {
62 str = mpc_realloc_str (str, strsize, nread + 1);
63 strsize = nread + 1;
64 str [nread] = '\0';
80 size_t nread = 0; local
89 str [nread] = (char) c;
90 nread
164 size_t white, nread = 0; local
[all...]
/haiku-buildtools/gcc/gmp/mpz/
H A Dinp_str.c38 size_t nread; local
43 nread = 0;
49 nread++;
53 return mpz_inp_str_nowhite (x, stream, base, c, nread);
58 mpz_inp_str_nowhite (mpz_ptr x, FILE *stream, int base, int c, size_t nread) argument
85 nread++;
100 nread++;
105 nread++;
111 nread++;
120 nread
[all...]
/haiku-buildtools/gcc/mpfr/src/
H A Dinp_str.c38 size_t nread; local
46 nread = 0;
52 nread++;
56 /* number of characters read is nread */
74 /* number of characters read is nread + str_size - 1 */
88 return str_size + nread - 1;
/haiku-buildtools/gcc/gmp/mpf/
H A Dinp_str.c33 size_t nread; local
41 nread = 0;
47 nread++;
65 nread--;
81 return str_size + nread;
/haiku-buildtools/gcc/gmp/tests/mpz/
H A Dio.c52 size_t nread; local
96 nread = mpz_inp_str (op2, fp, base);
97 if (nread == 0)
106 if (nread != ftell(fp))
108 printf ("mpz_inp_str nread doesn't match ftell\n");
109 printf (" nread %lu\n", (unsigned long) nread);
/haiku-buildtools/binutils/bfd/
H A Dcache.c306 file_ptr nread; local
326 nread = read (fileno (f), buf, nbytes);
330 if (nread == (file_ptr)-1)
333 return nread;
336 nread = fread (buf, 1, nbytes, f);
340 if (nread < nbytes && ferror (f))
343 return nread;
346 if (nread < nbytes)
350 return nread;
356 file_ptr nread local
[all...]
H A Dcisco-core.c91 bfd_size_type nread;
103 nread = bfd_bread (buf, (bfd_size_type) 4, abfd);
104 if (nread != 4)
119 nread = bfd_bread (&crashinfo, (bfd_size_type) sizeof (crashinfo), abfd);
120 if (nread != sizeof (crashinfo))
276 nread = statbuf.st_size - asect->filepos;
277 asect->size = (nread < 1024) ? nread : 1024;
89 bfd_size_type nread; local
H A Dbfdio.c179 size_t nread; local
196 nread = abfd->iovec->bread (abfd, ptr, size);
198 nread = 0;
199 if (nread != (size_t) -1)
200 abfd->where += nread;
202 return nread;
/haiku-buildtools/binutils/binutils/
H A Drename.c45 int fromfd, tofd, nread; local
64 while ((nread = read (fromfd, buf, sizeof buf)) > 0)
66 if (write (tofd, buf, nread) != nread)
78 if (nread < 0)
H A Dar.c999 bfd_size_type nread;
1005 nread = bfd_bread (cbuf, tocopy, abfd);
1006 if (nread != tocopy)
1014 if ((bfd_size_type) fwrite (cbuf, 1, nread, stdout) != nread)
1036 bfd_size_type nread, tocopy;
1083 nread = bfd_bread (cbuf, tocopy, abfd);
1084 if (nread != tocopy)
1108 if ((bfd_size_type) fwrite (cbuf, 1, nread, ostream) != nread)
996 bfd_size_type nread; local
1033 bfd_size_type nread, tocopy; local
[all...]
/haiku-buildtools/binutils/gold/testsuite/
H A Dbinary_unittest.cc50 ssize_t nread = ::read(fd, buf, size); local
51 if (nread < 0)
52 return nread;
53 if (nread == 0)
55 buf += nread;
56 size -= nread;
57 total_read += nread;
/haiku-buildtools/legacy/gcc/libio/
H A Diovfscanf.c136 int nread; /* number of characters consumed from fp */ local
151 nread = 0;
167 nread++;
190 nread++;
295 *va_arg(ap, short *) = nread;
297 *va_arg(ap, long *) = nread;
299 *va_arg(ap, int *) = nread;
332 nread++;
372 nread += sum;
379 nread
[all...]
/haiku-buildtools/legacy/binutils/binutils/
H A Drename.c52 int fromfd, tofd, nread; local
71 while ((nread = read (fromfd, buf, sizeof buf)) > 0)
73 if (write (tofd, buf, nread) != nread)
85 if (nread < 0)
H A Dar.c816 int nread; local
821 nread = bfd_bread (cbuf, (bfd_size_type) tocopy, abfd);
822 if (nread != tocopy)
826 fwrite (cbuf, 1, nread, stdout);
847 int nread, tocopy; local
888 nread = bfd_bread (cbuf, (bfd_size_type) tocopy, abfd);
889 if (nread != tocopy)
909 fwrite (cbuf, 1, nread, ostream);
/haiku-buildtools/legacy/gcc/libchill/
H A Dreadrecord.c46 size_t nread; local
48 nread = read( the_access->association->handle, buf, nbyte );
49 if( nread == nbyte )
54 if( nread == 0 )
/haiku-buildtools/legacy/binutils/bfd/
H A Dcisco-core.c93 int nread;
104 nread = bfd_bread (buf, (bfd_size_type) 4, abfd);
105 if (nread != 4)
120 nread = bfd_bread (&crashinfo, (bfd_size_type) sizeof (crashinfo), abfd);
121 if (nread != sizeof (crashinfo))
278 nread = statbuf.st_size - asect->filepos;
279 asect->size = (nread < 1024) ? nread : 1024;
91 int nread; local
H A Dbfdio.c117 size_t nread; local
140 nread = abfd->iovec->bread (abfd, ptr, size);
142 nread = 0;
143 if (nread != (size_t) -1)
144 abfd->where += nread;
146 return nread;
H A Dcache.c278 file_ptr nread; local
298 nread = read (fileno (f), buf, nbytes);
302 if (nread == (file_ptr)-1)
308 nread = fread (buf, 1, nbytes, f);
312 if (nread < nbytes && ferror (f))
318 return nread;
H A Dopncls.c429 file_ptr nread = (vec->pread) (abfd, vec->stream, buf, nbytes, vec->where); local
430 if (nread < 0)
431 return nread;
432 vec->where += nread;
433 return nread;
/haiku-buildtools/gcc/gcc/ada/
H A Dsysdep.c345 int nread;
381 nread = read (fd, &c, 1);
382 if (nread > 0)
463 int nread;
497 nread = read (fd, &c, 1);
498 if (nread > 0)
501 else if (nread == 0)
522 nread = read (fd, &c, 1);
523 if (nread > 0)
526 else if (nread
344 int nread; local
[all...]
/haiku-buildtools/legacy/binutils/gprof/
H A Dsource.c98 int i, line_num, nread;
245 while ((nread = fread (buf, 1, sizeof (buf), ifp)) > 0)
247 for (i = 0; i < nread; ++i)
97 int i, line_num, nread; local
/haiku-buildtools/binutils/gprof/
H A Dsource.c98 int i, line_num, nread;
245 while ((nread = fread (buf, 1, sizeof (buf), ifp)) > 0)
247 for (i = 0; i < nread; ++i)
97 int i, line_num, nread; local
/haiku-buildtools/gcc/gmp/tests/rand/
H A Dfindlc.c76 int nread; local
78 nread = fread (c, 1, 1, fs);
80 if (nread != 0)
/haiku-buildtools/legacy/gcc/texinfo/util/
H A Dinstall-info.c980 int nread = 0;
1014 nread = gzread (zdesc, data + filled, data_size - filled);
1017 nread = read (desc, data + filled, data_size - filled);
1019 if (nread < 0)
1021 if (nread == 0)
1024 filled += nread;
971 int nread = 0; local

Completed in 303 milliseconds

12