Lines Matching refs:Field
209 NaClBitcodeHeaderField *Field = new NaClBitcodeHeaderField(); in ReadFields() local
210 Fields.push_back(Field); in ReadFields()
211 if (!Field->Read(BufPtr, BufEnd - BufPtr)) in ReadFields()
213 size_t FieldSize = Field->GetTotalSize(); in ReadFields()
301 auto ReportProblemWithContents = [&](NaClBitcodeHeaderField *Field, in InstallFields()
304 UnsupportedMessage.append(Field->Contents()); in InstallFields()
310 NaClBitcodeHeaderField *Field = GetField(i); in InstallFields() local
311 if (!FieldIDs.insert(Field->GetID()).second) { in InstallFields()
313 UnsupportedMessage.append(Field->IDName()); in InstallFields()
317 NaClBitcodeHeaderField::FieldType ExpectedTy = ExpectedType[Field->GetID()]; in InstallFields()
318 if (Field->GetType() != ExpectedTy) { in InstallFields()
321 ReportProblemWithContents(Field, false); in InstallFields()
324 if (Field->GetType() == NaClBitcodeHeaderField::kUnknownType) { in InstallFields()
326 ReportProblemWithContents(Field, false); in InstallFields()
331 switch (Field->GetID()) { in InstallFields()
334 ReportProblemWithContents(Field, false); in InstallFields()
337 PNaClVersion = Field->GetUInt32Value(); in InstallFields()
340 ReportProblemWithContents(Field, false); in InstallFields()
347 ReportProblemWithContents(Field, true); in InstallFields()