Lines Matching refs:variable
1105 string GetInitializer(const AidlTypenames& typenames, const AidlVariableDeclaration& variable) { in GetInitializer() argument
1106 string cppType = CppNameOf(variable.GetType(), typenames); in GetInitializer()
1107 return cppType + "(" + variable.ValueString(ConstantValueDecorator) + ")"; in GetInitializer()
1135 for (const auto& variable : parcel.GetFields()) { in BuildReadFromParcel() local
1137 string method = ParcelReadMethodOf(variable->GetType(), typenames); in BuildReadFromParcel()
1140 ParcelReadCastOf(variable->GetType(), typenames, in BuildReadFromParcel()
1141 "&" + variable->GetName())))); in BuildReadFromParcel()
1158 for (const auto& variable : parcel.GetFields()) { in BuildWriteToParcel() local
1159 string method = ParcelWriteMethodOf(variable->GetType(), typenames); in BuildWriteToParcel()
1163 ParcelWriteCastOf(variable->GetType(), typenames, variable->GetName())))); in BuildWriteToParcel()
1216 for (const auto& variable : decl.GetFields()) { in BuildParcelFields() local
1218 std::string cppType = CppNameOf(variable->GetType(), typenames); in BuildParcelFields()
1220 GenerateDeprecated(out, *variable); in BuildParcelFields()
1221 out << " " << variable->GetName().c_str(); in BuildParcelFields()
1222 if (variable->GetDefaultValue()) { in BuildParcelFields()
1223 out << " = " << GetInitializer(typenames, *variable); in BuildParcelFields()
1224 } else if (variable->GetType().GetName() == "ParcelableHolder") { in BuildParcelFields()
1260 for (const auto& variable : parcel.GetFields()) { in BuildParcelHeader() local
1261 AddHeaders(variable->GetType(), typenames, &includes); in BuildParcelHeader()