/external/valgrind/none/tests/solaris/ |
proc_auxv_multiple.c | 17 size_t toread = sizeof(*out); local 20 while (toread) { 23 r = read(fi, ptr, toread); 34 toread -= r; 36 assert(toread >= 0);
|
/external/syslinux/gpxe/src/arch/i386/core/ |
aout_loader.c | 19 unsigned long toread; /* remaining data to be read in the segment */ member in struct:aout_state 50 astate.toread = 0; 82 if (astate.toread) { 83 if (astate.toread >= len - offset) { 87 astate.toread -= len - offset; 90 memcpy(phys_to_virt(astate.curaddr), data+offset, astate.toread); 91 offset += astate.toread; 92 astate.toread = 0; 104 astate.toread = astate.head.a_text; 113 astate.toread = astate.head.a_data [all...] |
freebsd_loader.c | 137 estate.toread = estate.e.elf32.e_shnum * estate.e.elf32.e_shentsize; 139 if (estate.toread) 143 estate.toread, estate.curaddr); 210 estate.toread = shdr[symtabindex].sh_size; 212 if (estate.toread) 216 estate.toread, estate.curaddr); 221 *((long *)phys_to_virt(estate.curaddr)) = estate.toread; 238 estate.toread = shdr[symstrindex].sh_size; 240 if (estate.toread) 244 estate.toread, estate.curaddr) [all...] |
/external/libmtp/src/ |
libusb-glue.c | 815 unsigned long toread = 0; local 833 toread = size - curread; 835 if (readzero && FLAG_NO_ZERO_READS(ptp_usb) && toread % 64 == 0) { 836 toread += 1; 842 toread = CONTEXT_BLOCK_SIZE_1; 843 else if (toread == CONTEXT_BLOCK_SIZE_1) 844 toread = CONTEXT_BLOCK_SIZE_2; 845 else if (toread == CONTEXT_BLOCK_SIZE_2) 846 toread = CONTEXT_BLOCK_SIZE_1; 848 printf("unexpected toread size 0x%04x, 0x%04x remaining bytes\n", [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
mpu_iio.c | 567 int ret, c, i, j, toread; local 903 toread = 1; 909 toread = 1; 911 read_size = read(fp, data, toread * scan_size);
|
/external/valgrind/coregrind/m_gdbserver/ |
server.c | 846 char toread[len]; local 871 len_read = VG_(read) (fd, toread, len); 873 (unsigned char *)toread, [all...] |
/prebuilts/go/darwin-x86/src/os/ |
os_windows_test.go | 667 *os.ReadConsoleFunc = func(h syscall.Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) error { 671 n := int(toread) 678 t.Logf("read %d -> %d", toread, *read)
|
/prebuilts/go/linux-x86/src/os/ |
os_windows_test.go | 667 *os.ReadConsoleFunc = func(h syscall.Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) error { 671 n := int(toread) 678 t.Logf("read %d -> %d", toread, *read)
|
/external/webrtc/webrtc/base/ |
opensslstreamadapter.cc | 639 int toread = (sizeof(buf) < left) ? sizeof(buf) : left; local 640 int code = SSL_read(ssl_, buf, toread); [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
zsyscall_windows.go | [all...] |
syscall_windows.go | 228 //sys ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) = kernel32.ReadConsoleW [all...] |
/prebuilts/go/linux-x86/src/syscall/ |
zsyscall_windows.go | [all...] |
syscall_windows.go | 228 //sys ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) = kernel32.ReadConsoleW [all...] |