Home | History | Annotate | Download | only in pnacl-llvm

Lines Matching defs:Read

115 bool NaClBitcodeHeaderField::Read(const uint8_t *Buf, size_t BufLen) {
191 // Read #Fields and number of bytes needed for the header.
193 return UnsupportedError("Bitcode read failure");
207 // Read in each field.
211 if (!Field->Read(BufPtr, BufEnd - BufPtr))
212 return UnsupportedError("Bitcode read failure");
219 bool NaClBitcodeHeader::Read(const unsigned char *BufPtr,
234 bool NaClBitcodeHeader::Read(MemoryObject *Bytes) {
237 // First, read the prefix, which is 2 * WordSize, to determine the
242 return UnsupportedError("Bitcode read failure");
246 // Then read the rest, starting after the 2 * WordSize of the prefix.
253 return UnsupportedError("Bitcode read failure");