Lines Matching defs:len
43 bool ReadAtOffset(uint8_t* buf, size_t len, uint32_t offset) const {
55 size_t read = fread(buf, 1, len, mFp);
56 if (read != len) {
74 bool ReadAtOffset(uint8_t* buf, size_t len, uint32_t offset) const {
75 return android::base::ReadFullyAtOffset(mFd, buf, len, static_cast<off_t>(offset));
89 bool ReadAtOffset(uint8_t* buf, size_t len, uint32_t offset) const {
90 if (offset + len > mInputSize) {
94 memcpy(buf, mInput + offset, len);
197 int len;
199 len = getc(fp);
200 len |= getc(fp) << 8;
201 while (len-- && getc(fp) != EOF)