Searched refs:ConvertTo (Results 1 – 3 of 3) sorted by relevance
51 T ConvertTo(StringPiece value, StatusOr<T> (DataPiece::*converter_fn)() const, in ConvertTo() function417 return DataPiece(ConvertTo<double>( in CreateDefaultDataPieceForField()421 return DataPiece(ConvertTo<float>( in CreateDefaultDataPieceForField()427 return DataPiece(ConvertTo<int64>( in CreateDefaultDataPieceForField()432 return DataPiece(ConvertTo<uint64>( in CreateDefaultDataPieceForField()438 return DataPiece(ConvertTo<int32>( in CreateDefaultDataPieceForField()443 ConvertTo<bool>(field.default_value(), &DataPiece::ToBool, false)); in CreateDefaultDataPieceForField()453 return DataPiece(ConvertTo<uint32>( in CreateDefaultDataPieceForField()
128 const ResTable_header* table_header = ConvertTo<ResTable_header>(chunk); in ParseTable()179 const ResTable_package* package_header = ConvertTo<ResTable_package, kMinPackageSize>(chunk); in ParsePackage()285 const ResTable_typeSpec* type_spec = ConvertTo<ResTable_typeSpec>(chunk); in ParseTypeSpec()340 const ResTable_type* type = ConvertTo<ResTable_type, kResTableTypeMinSize>(chunk); in ParseType()439 const ResTable_overlayable_header* header = ConvertTo<ResTable_overlayable_header>(chunk); in ParseOverlayable()456 ConvertTo<ResTable_overlayable_policy_header>(parser.chunk()); in ParseOverlayable()
71 inline static const T* ConvertTo(const android::ResChunk_header* chunk) { in ConvertTo() function