Searched refs:bufcnt (Results 1 - 4 of 4) sorted by relevance

/external/elfutils/0.153/libcpu/
H A Di386_disasm.c289 if (unlikely (bufcnt == bufsize)) \
291 buf[bufcnt++] = (ch); \
305 if (unlikely (bufcnt + _len > bufsize)) \
307 memcpy (buf + bufcnt, _str, _len); \
308 bufcnt += _len; \
322 size_t bufcnt; local
332 .bufcntp = &bufcnt,
366 bufcnt = 0;
430 bufcnt = 0;
469 bufcnt
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dremote-utils.c891 static int bufcnt = 0; local
895 if (bufcnt-- > 0)
914 bufcnt = VG_(read) (remote_desc, buf, 1);
916 bufcnt = VG_(read) (remote_desc, buf, sizeof (buf));
918 if (bufcnt <= 0) {
919 if (bufcnt == 0)
927 shared->seen_by_valgrind += bufcnt;
938 bufcnt--;
/external/valgrind/main/coregrind/
H A Dvgdb.c562 static int bufcnt = 0; local
566 if (bufcnt-- > 0)
569 bufcnt = read_buf (fd, buf, "static buf readchar");
571 if (bufcnt <= 0) {
572 if (bufcnt == 0) {
582 bufcnt--;
/external/qemu/
H A Dqemu-char.c1870 int bufcnt; member in struct:__anon30081
1892 while (s->max_size > 0 && s->bufptr < s->bufcnt) {
1907 s->bufcnt = socket_recv(s->fd, (void *)s->buf, sizeof(s->buf));
1908 s->bufptr = s->bufcnt;
1909 if (s->bufcnt <= 0)
1913 while (s->max_size > 0 && s->bufptr < s->bufcnt) {
1956 s->bufcnt = 0;

Completed in 663 milliseconds