HomeSort by relevance Sort by last modified time
    Searched refs:RSInfo (Results 1 - 12 of 12) sorted by null

  /frameworks/compile/libbcc/lib/Renderscript/
RSInfoWriter.cpp 18 // This file implements RSInfo::write()
21 #include "bcc/Renderscript/RSInfo.h"
31 helper_adapt_list_item(ItemType &pResult, const RSInfo &pInfo,
36 helper_adapt_list_item<rsinfo::PragmaItem, RSInfo::PragmaListTy>(
37 rsinfo::PragmaItem &pResult,
38 const RSInfo &pInfo,
39 const RSInfo::PragmaListTy::const_iterator &pItem) {
43 if (pResult.key == rsinfo::gInvalidStringIndex) {
48 if (pResult.value == rsinfo::gInvalidStringIndex)
    [all...]
RSInfoReader.cpp 18 // This file implements RSInfo::ReadFromFile()
21 #include "bcc/Renderscript/RSInfo.h"
36 const RSInfo &pInfo,
41 helper_read_list_item<rsinfo::PragmaItem, RSInfo::PragmaListTy>(
42 const rsinfo::PragmaItem &pItem,
43 const RSInfo &pInfo,
44 RSInfo::PragmaListTy &pResult)
65 helper_read_list_item<rsinfo::ObjectSlotItem, RSInfo::ObjectSlotListTy>
    [all...]
RSExecutable.cpp 38 RSExecutable *RSExecutable::Create(RSInfo &pInfo,
63 const RSInfo::ExportVarNameListTy &export_var_names =
65 for (RSInfo::ExportVarNameListTy::const_iterator
80 const RSInfo::ExportFuncNameListTy &export_func_names =
82 for (RSInfo::ExportFuncNameListTy::const_iterator
97 const RSInfo::ExportForeachFuncListTy &export_foreach_funcs =
99 for (RSInfo::ExportForeachFuncListTy::const_iterator
114 // Copy pragma key/value pairs from RSInfo::getPragmas() into mPragmaKeys and
116 const RSInfo::PragmaListTy &pragmas = pInfo.getPragmas();
117 for (RSInfo::PragmaListTy::const_iterator pragma_iter = pragmas.begin()
    [all...]
RSInfo.cpp 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)
    [all...]
RSCompilerDriver.cpp 29 #include "bcc/Renderscript/RSInfo.h"
116 android::String8 info_path = RSInfo::GetPath(output_path.c_str());
130 RSInfo *info = RSInfo::ReadFromFile(info_file);
208 RSInfo::FP_Full);
221 const RSInfo::DependencyHashTy& pSourceHash,
225 RSInfo *info = NULL;
232 info = RSInfo::ExtractFromSource(pScript.getSource(), pSourceHash, compileCommandLineToEmbed,
323 android::String8 info_path = RSInfo::GetPath(pOutputPath);
432 RSInfo* info = RSInfo::ExtractFromSource(pScript.getSource(), bitcode_sha1
    [all...]
Android.mk 30 RSInfo.cpp \
RSInfoExtractor.cpp 18 // This file implements RSInfo::ExtractFromSource()
20 #include "bcc/Renderscript/RSInfo.h"
111 RSInfo* RSInfo::ExtractFromSource(const Source& pSource, const DependencyHashTy& sourceHashToEmbed,
134 RSInfo *result = NULL;
155 result = new (std::nothrow) RSInfo(string_pool_size);
157 ALOGE("Out of memory when create RSInfo object for %s!", module_name);
163 ALOGE("Out of memory when allocate string pool in RSInfo object for %s!",
  /frameworks/compile/libbcc/include/bcc/Renderscript/
RSScript.h 21 #include "bcc/Renderscript/RSInfo.h"
42 const RSInfo *mInfo;
65 // Set the associated RSInfo of the script.
66 void setInfo(const RSInfo *pInfo) {
70 const RSInfo *getInfo() const {
RSExecutable.h 24 #include "bcc/Renderscript/RSInfo.h"
40 RSInfo *mInfo;
53 // RSExecutable::Create(). Both of them come from RSInfo::getPragmas().
54 // If possible, read the pragma key/value pairs directly from RSInfo.
58 RSExecutable(RSInfo &pInfo, FileBase &pObjFile, ObjectLoader &pLoader)
69 static RSExecutable *Create(RSInfo &pInfo,
73 inline const RSInfo &getInfo() const
76 // Interfaces to RSInfo
RSInfo.h 46 namespace rsinfo { namespace in namespace:bcc
49 #define RSINFO_MAGIC "\0rsinfo\n"
120 // Return the human-readable name of the given rsinfo::*Item in the template
145 } // end namespace rsinfo
147 class RSInfo {
169 rsinfo::Header mHeader;
187 // Initialize an empty RSInfo with its size of string pool is pStringPoolSize.
188 RSInfo(size_t pStringPoolSize);
192 // reflect the current RSInfo object states to mHeader.
196 ~RSInfo();
    [all...]
RSCompilerDriver.h 23 #include "bcc/Renderscript/RSInfo.h"
62 // - If saveInfoFile is true, it also stores the RSInfo data in a file with a path derived from
64 // - pSourceHash and commandLineToEmbed are values to embed in the RSInfo for future cache
69 const RSInfo::DependencyHashTy& pSourceHash,
  /frameworks/rs/cpu_ref/
rsCpuScript.cpp 34 #include <bcc/Renderscript/RSInfo.h>
519 const char *rsInfo = (const char *) dlsym(mScriptSO, ".rs.info");
520 if (rsInfo) {
521 //ALOGE("Found .rs.info(): %p - %s", rsInfo, rsInfo);
525 if (strgets(line, MAXLINE, &rsInfo) == NULL) {
548 if (strgets(line, MAXLINE, &rsInfo) == NULL) {
569 if (strgets(line, MAXLINE, &rsInfo) == NULL) {
586 if (strgets(line, MAXLINE, &rsInfo) == NULL) {
607 if (strgets(line, MAXLINE, &rsInfo) == NULL)
    [all...]

Completed in 1021 milliseconds