• Home
  • Raw
  • Download

Lines Matching refs:r

140     int   r;  in read_packet()  local
148 r = adb_read(fd, p, len); in read_packet()
149 if(r > 0) { in read_packet()
150 len -= r; in read_packet()
151 p += r; in read_packet()
153 … D("%s: read_packet (fd=%d), error ret=%d errno=%d: %s\n", name, fd, r, errno, strerror(errno)); in read_packet()
154 if((r < 0) && (errno == EINTR)) continue; in read_packet()
171 int r, len = sizeof(ppacket); in write_packet() local
185 r = adb_write(fd, p, len); in write_packet()
186 if(r > 0) { in write_packet()
187 len -= r; in write_packet()
188 p += r; in write_packet()
190 … D("%s: write_packet (fd=%d) error ret=%d errno=%d: %s\n", name, fd, r, errno, strerror(errno)); in write_packet()
191 if((r < 0) && (errno == EINTR)) continue; in write_packet()
383 int r; in transport_read_action() local
386 r = adb_read(fd, p, len); in transport_read_action()
387 if(r > 0) { in transport_read_action()
388 len -= r; in transport_read_action()
389 p += r; in transport_read_action()
391 if((r < 0) && (errno == EINTR)) continue; in transport_read_action()
405 int r; in transport_write_action() local
408 r = adb_write(fd, p, len); in transport_write_action()
409 if(r > 0) { in transport_write_action()
410 len -= r; in transport_write_action()
411 p += r; in transport_write_action()
413 if((r < 0) && (errno == EINTR)) continue; in transport_write_action()
735 int r; in readx() local
741 r = adb_read(fd, p, len); in readx()
742 if(r > 0) { in readx()
743 len -= r; in readx()
744 p += r; in readx()
746 if (r < 0) { in readx()
767 int r; in writex() local
774 r = adb_write(fd, p, len); in writex()
775 if(r > 0) { in writex()
776 len -= r; in writex()
777 p += r; in writex()
779 if (r < 0) { in writex()