Lines Matching refs:rsinfo
18 // This file implements RSInfo::write()
21 #include "bcc/Renderscript/RSInfo.h"
31 helper_adapt_list_item(ItemType &pResult, const RSInfo &pInfo,
35 helper_adapt_list_item<rsinfo::DependencyTableItem, RSInfo::DependencyTableTy>(
36 rsinfo::DependencyTableItem &pResult,
37 const RSInfo &pInfo,
38 const RSInfo::DependencyTableTy::const_iterator &pItem) {
43 if (pResult.id == rsinfo::gInvalidStringIndex) {
49 if (pResult.sha1 == rsinfo::gInvalidStringIndex) {
59 helper_adapt_list_item<rsinfo::PragmaItem, RSInfo::PragmaListTy>(
60 rsinfo::PragmaItem &pResult,
61 const RSInfo &pInfo,
62 const RSInfo::PragmaListTy::const_iterator &pItem) {
66 if (pResult.key == rsinfo::gInvalidStringIndex) {
71 if (pResult.value == rsinfo::gInvalidStringIndex) {
81 helper_adapt_list_item<rsinfo::ObjectSlotItem, RSInfo::ObjectSlotListTy>(
82 rsinfo::ObjectSlotItem &pResult,
83 const RSInfo &pInfo,
84 const RSInfo::ObjectSlotListTy::const_iterator &pItem) {
90 helper_adapt_list_item<rsinfo::ExportVarNameItem, RSInfo::ExportVarNameListTy>(
91 rsinfo::ExportVarNameItem &pResult,
92 const RSInfo &pInfo,
93 const RSInfo::ExportVarNameListTy::const_iterator &pItem) {
96 if (pResult.name == rsinfo::gInvalidStringIndex) {
105 helper_adapt_list_item<rsinfo::ExportFuncNameItem,
106 RSInfo::ExportFuncNameListTy>(
107 rsinfo::ExportFuncNameItem &pResult,
108 const RSInfo &pInfo,
109 const RSInfo::ExportFuncNameListTy::const_iterator &pItem) {
112 if (pResult.name == rsinfo::gInvalidStringIndex) {
121 helper_adapt_list_item<rsinfo::ExportForeachFuncItem,
122 RSInfo::ExportForeachFuncListTy>(
123 rsinfo::ExportForeachFuncItem &pResult,
124 const RSInfo &pInfo,
125 const RSInfo::ExportForeachFuncListTy::const_iterator &pItem) {
129 if (pResult.name == rsinfo::gInvalidStringIndex) {
140 const RSInfo &pInfo,
141 const rsinfo::ListHeader &pHeader,
155 ALOGE("Cannot write out item of %s for RSInfo file %s! (%s)",
156 rsinfo::GetItemTypeName<ItemType>(), pOutput.getName().c_str(),
167 bool RSInfo::write(OutputFile &pOutput) {
184 ALOGE("Cannot write out the header for RSInfo file %s! (%s)",
192 ALOGE("Cannot write out the string pool for RSInfo file %s! (%s)",
198 if (!helper_write_list<rsinfo::DependencyTableItem, DependencyTableTy>
204 if (!helper_write_list<rsinfo::PragmaItem, PragmaListTy>
210 if (!helper_write_list<rsinfo::ObjectSlotItem, ObjectSlotListTy>
216 if (!helper_write_list<rsinfo::ExportVarNameItem, ExportVarNameListTy>
222 if (!helper_write_list<rsinfo::ExportFuncNameItem, ExportFuncNameListTy>
228 if (!helper_write_list<rsinfo::ExportForeachFuncItem, ExportForeachFuncListTy>