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,
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) {
58 helper_adapt_list_item<rsinfo::ObjectSlotItem, RSInfo::ObjectSlotListTy>(
59 rsinfo::ObjectSlotItem &pResult,
60 const RSInfo &pInfo,
61 const RSInfo::ObjectSlotListTy::const_iterator &pItem) {
67 helper_adapt_list_item<rsinfo::ExportVarNameItem, RSInfo::ExportVarNameListTy>(
68 rsinfo::ExportVarNameItem &pResult,
69 const RSInfo &pInfo,
70 const RSInfo::ExportVarNameListTy::const_iterator &pItem) {
73 if (pResult.name == rsinfo::gInvalidStringIndex) {
82 helper_adapt_list_item<rsinfo::ExportFuncNameItem,
83 RSInfo::ExportFuncNameListTy>(
84 rsinfo::ExportFuncNameItem &pResult,
85 const RSInfo &pInfo,
86 const RSInfo::ExportFuncNameListTy::const_iterator &pItem) {
89 if (pResult.name == rsinfo::gInvalidStringIndex) {
98 helper_adapt_list_item<rsinfo::ExportForeachFuncItem,
99 RSInfo::ExportForeachFuncListTy>(
100 rsinfo::ExportForeachFuncItem &pResult,
101 const RSInfo &pInfo,
102 const RSInfo::ExportForeachFuncListTy::const_iterator &pItem) {
106 if (pResult.name == rsinfo::gInvalidStringIndex) {
117 const RSInfo &pInfo,
118 const rsinfo::ListHeader &pHeader,
132 ALOGE("Cannot write out item of %s for RSInfo file %s! (%s)",
133 rsinfo::GetItemTypeName<ItemType>(), pOutput.getName().c_str(),
144 bool RSInfo::write(OutputFile &pOutput) {
161 ALOGE("Cannot write out the header for RSInfo file %s! (%s)",
169 ALOGE("Cannot write out the string pool for RSInfo file %s! (%s)",
175 if (!helper_write_list<rsinfo::PragmaItem, PragmaListTy>
181 if (!helper_write_list<rsinfo::ObjectSlotItem, ObjectSlotListTy>
187 if (!helper_write_list<rsinfo::ExportVarNameItem, ExportVarNameListTy>
193 if (!helper_write_list<rsinfo::ExportFuncNameItem, ExportFuncNameListTy>
199 if (!helper_write_list<rsinfo::ExportForeachFuncItem, ExportForeachFuncListTy>