Lines Matching defs:RSInfo
18 #include "bcc/Renderscript/RSInfo.h"
37 android::String8 RSInfo::GetPath(const char *pFilename) {
43 static std::string stringFromSourceHash(const RSInfo::DependencyHashTy& hash) {
65 bool RSInfo::IsConsistent(const char* pInputFilename, const DependencyHashTy& expectedSourceHash,
91 RSInfo::RSInfo(size_t pStringPoolSize) : mStringPool(NULL) {
99 mHeader.pragmaList.itemSize = sizeof(rsinfo::PragmaItem);
100 mHeader.objectSlotList.itemSize = sizeof(rsinfo::ObjectSlotItem);
101 mHeader.exportVarNameList.itemSize = sizeof(rsinfo::ExportVarNameItem);
102 mHeader.exportFuncNameList.itemSize = sizeof(rsinfo::ExportFuncNameItem);
103 mHeader.exportForeachFuncList.itemSize = sizeof(rsinfo::ExportForeachFuncItem);
109 ALOGE("Out of memory when allocate memory for string pool in RSInfo "
119 RSInfo::~RSInfo() {
123 bool RSInfo::layout(off_t initial_offset) {
146 void RSInfo::dump() const {
151 ALOGV("RSInfo Header:");
210 const char *RSInfo::getStringFromPool(rsinfo::StringIndexTy pStrIdx) const {
221 rsinfo::StringIndexTy RSInfo::getStringIdxInPool(const char *pStr) const {
226 return rsinfo::gInvalidStringIndex;
231 RSInfo::FloatPrecision RSInfo::getFloatPrecisionRequirement() const {
256 RSInfo::FloatPrecision result = relaxed_pragma_seen ? FP_Relaxed : FP_Full;