/external/chromium_org/gpu/command_buffer/common/ |
command_buffer_shared.h | 50 int toread = !!base::subtle::Acquire_Load(&latest_); local 51 base::subtle::Release_Store(&reading_, toread); 53 int index = !!base::subtle::Acquire_Load(&slots_[toread]); 54 if (states_[toread][index].generation - state->generation < 0x80000000U) 55 *state = states_[toread][index];
|
/external/grub/stage2/ |
fsys_xfs.c | 336 int toread; local 388 toread = roundup8 (le16(dau->unused.length)) - 4; 389 xfs.blkoff += toread; 390 filepos += toread; 399 toread = roundup8 (namelen + 11) - 9; 400 xfs_read (dirbuf, toread); 402 xfs.blkoff += toread + 5; 492 int toread, startpos, endpos; local 509 toread = (endofcur >= endpos) 514 filepos - (offset << xfs.blklog), toread, buf) [all...] |
fsys_jfs.c | 233 int toread, startpos, endpos; local 244 toread = (endofcur >= endpos) 249 filepos - (offset << jfs.l2bsize), toread, buf); 252 buf += toread; 253 len -= toread; 254 filepos += toread; 256 toread = ((offset << jfs.l2bsize) >= endpos) 258 len -= toread; 259 filepos += toread; 260 for (; toread; toread--) [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...] |
/packages/inputmethods/PinyinIME/jni/share/ |
userdict.cpp | 1097 size_t readed, toread; 1158 toread = (dict_info.lemma_count << 2); 1160 while (readed < toread && !ferror(fp) && !feof(fp)) { 1161 readed += fread((((uint8*)offsets) + readed), 1, toread - readed, fp); 1163 if (readed < toread) 1167 toread = (dict_info.lemma_count << 2); 1169 while (readed < toread && !ferror(fp) && !feof(fp)) { 1170 readed += fread((((uint8*)predicts) + readed), 1, toread - readed, fp); 1172 if (readed < toread) 1177 while (readed < toread && !ferror(fp) && !feof(fp)) [all...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
server.c | 565 char toread[len]; local 590 len_read = VG_(read) (fd, toread, len); 591 *new_packet_len_p = write_qxfer_response (arg_own_buf, toread, [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
opensslstreamadapter.cc | 504 int toread = (sizeof(buf) < left) ? sizeof(buf) : left; local 505 int code = SSL_read(ssl_, buf, toread);
|
/bionic/libc/tzcode/ |
localtime.c | 372 int toread; local 373 fid = __bionic_open_tzdata(name, &toread); 377 nread = read(fid, up->buf, toread); [all...] |