/foundation/ability/idl_tool/ast/ |
H A D | ast_module.cpp | 34 types_["boolean"] = booleanType_.Get(); in ASTModule() 35 types_["byte"] = byteType_.Get(); in ASTModule() 36 types_["short"] = shortType_.Get(); in ASTModule() 37 types_["int"] = integerType_.Get(); in ASTModule() 38 types_["long"] = longType_.Get(); in ASTModule() 39 types_["float"] = floatType_.Get(); in ASTModule() 40 types_["double"] = doubleType_.Get(); in ASTModule() 41 types_["char"] = charType_.Get(); in ASTModule() 42 types_["String"] = stringType_.Get(); in ASTModule() 43 types_["voi in ASTModule() [all...] |
H A D | ast_module.h | 103 return types_; in GetTypes() 108 return types_.size(); in GetTypeNumber() 132 TypeStringMap types_; member in OHOS::Idl::ASTModule
|
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | skills.cpp | 51 // types_ in Skills() 52 types_ = skills.types_; in Skills() 64 types_.clear(); in ~Skills() 516 if (index < 0 || types_.empty() || std::size_t(index) >= types_.size()) { in GetType() 519 return types_.at(index).GetPattern(); in GetType() 560 auto it = std::find_if(types_.begin(), in AddType() 561 types_.end(), in AddType() 564 if (it == types_ in AddType() [all...] |
/foundation/ability/idl_tool/idl_tool_2/metadata/ |
H A D | metadata_reader.cpp | 141 MetaType* type = metaComponent_->types_[mm->returnTypeIndex_]; in ReadMetaMethod() 162 MetaType* type = metaComponent_->types_[mp->typeIndex_]; in ReadMetaParam() 175 MetaType* elementMt = metaComponent_->types_[type->nestedTypeIndexes_[0]]; in ReadMetaType() 183 MetaType* keyMt = metaComponent_->types_[type->nestedTypeIndexes_[0]]; in ReadMetaType() 184 MetaType* valueMt = metaComponent_->types_[type->nestedTypeIndexes_[1]]; in ReadMetaType() 193 MetaType* elementMt = metaComponent_->types_[type->nestedTypeIndexes_[0]]; in ReadMetaType() 238 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in MetaTypeName() 242 MetaType* keyMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in MetaTypeName() 243 MetaType* valueMt = metaComponent_->types_[mt->nestedTypeIndexes_[1]]; in MetaTypeName() 247 MetaType* elementMt = metaComponent_->types_[m in MetaTypeName() [all...] |
H A D | metadata_serializer.cpp | 54 MetaType* mt = mc->types_[i]; in SerializeMetaComponent() 56 mc->types_[i] = reinterpret_cast<MetaType*>(SerializeAdjust(mt)); in SerializeMetaComponent() 58 mc->types_ = reinterpret_cast<MetaType**>(SerializeAdjust(mc->types_)); in SerializeMetaComponent() 176 mc->types_ = reinterpret_cast<MetaType**>(DeserializeAdjust(mc->types_)); in DeserializeMetaComponent() 178 mc->types_[i] = reinterpret_cast<MetaType*>(DeserializeAdjust(mc->types_[i])); in DeserializeMetaComponent() 179 MetaType* mt = mc->types_[i]; in DeserializeMetaComponent()
|
H A D | metadata_dumper.cpp | 198 MetaType* type = metaComponent_->types_[mm->returnTypeIndex_]; in DumpMetaMethod() 232 MetaType* type = metaComponent_->types_[mp->typeIndex_]; in DumpMetaParameter() 270 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType() 274 MetaType* keyMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType() 275 MetaType* valueMt = metaComponent_->types_[mt->nestedTypeIndexes_[1]]; in DumpMetaType() 279 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType()
|
H A D | meta_component.h | 41 MetaType** types_; member
|
H A D | metadata_builder.cpp | 76 // types_'s address in CalculateMetaComponent() 240 // types_'s address in WriteMetaComponent() 242 mc->types_ = reinterpret_cast<MetaType**>(baseAddr_); in WriteMetaComponent() 267 mc->types_[i++] = WriteMetaType(pair.second); in WriteMetaComponent()
|
/foundation/ability/idl_tool/metadata/ |
H A D | metadata_serializer.cpp | 57 MetaType* mt = mc->types_[i]; in SerializeMetaComponent() 59 mc->types_[i] = reinterpret_cast<MetaType*>(SerializeAdjust(mt)); in SerializeMetaComponent() 61 mc->types_ = reinterpret_cast<MetaType**>(SerializeAdjust(mc->types_)); in SerializeMetaComponent() 183 mc->types_ = reinterpret_cast<MetaType**>(DeserializeAdjust(mc->types_)); in DeserializeMetaComponent() 185 mc->types_[i] = reinterpret_cast<MetaType*>(DeserializeAdjust(mc->types_[i])); in DeserializeMetaComponent() 186 MetaType* mt = mc->types_[i]; in DeserializeMetaComponent()
|
H A D | metadata_dumper.cpp | 185 MetaType* type = metaComponent_->types_[mm->returnTypeIndex_]; in DumpMetaMethod() 219 MetaType* type = metaComponent_->types_[mp->typeIndex_]; in DumpMetaParameter() 257 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType() 261 MetaType* keyMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType() 262 MetaType* valueMt = metaComponent_->types_[mt->nestedTypeIndexes_[1]]; in DumpMetaType() 266 MetaType* elementMt = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in DumpMetaType()
|
H A D | meta_component.h | 42 MetaType** types_; member
|
H A D | metadata_builder.cpp | 79 // types_'s address in CalculateMetaComponent() 243 // types_'s address in WriteMetaComponent() 245 mc->types_ = reinterpret_cast<MetaType**>(baseAddr_); in WriteMetaComponent() 270 mc->types_[i++] = WriteMetaType(pair.second); in WriteMetaComponent()
|
/foundation/ability/idl_tool/codegen/ |
H A D | rust_code_emitter.cpp | 110 MetaType* mt = metaComponent_->types_[i]; in EmitCommonHeaders() 320 sb.AppendFormat(") -> Result<%s>;\n", ConvertType(metaComponent_->types_[mm->returnTypeIndex_]).string()); in AppendBrokerMethods() 327 GetNameFromParameter(mp->name_).string(), ConvertType(metaComponent_->types_[mp->typeIndex_], true).string()); in AppendBrokerParameters() 360 ConvertType(metaComponent_->types_[mt->nestedTypeIndexes_[0]]).string(), in ConvertType() 361 ConvertType(metaComponent_->types_[mt->nestedTypeIndexes_[1]]).string()); in ConvertType() 365 ConvertType(metaComponent_->types_[mt->nestedTypeIndexes_[0]]).string()); in ConvertType() 411 ReadFromParcel(sb, metaComponent_->types_[mt->nestedTypeIndexes_[0]], in ReadMapFromParcel() 413 ReadFromParcel(sb, metaComponent_->types_[mt->nestedTypeIndexes_[1]], in ReadMapFromParcel() 444 WriteToParcel(sb, metaComponent_->types_[mt->nestedTypeIndexes_[0]], result, "key", prefix + " "); in WriteMapToParcel() 445 WriteToParcel(sb, metaComponent_->types_[m in WriteMapToParcel() [all...] |
H A D | ts_code_emitter.cpp | 124 MetaType* returnType = metaComponent_->types_[metaMethod->returnTypeIndex_]; in EmitInterfaceMethod() 143 MetaType* paraType = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceMethod() 208 MetaType* paraType = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceMethodParameter() 353 MetaType* returnType = metaComponent_->types_[metaMethod->returnTypeIndex_]; in EmitInterfaceMethodCallback() 451 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitWriteMethodParameter() 459 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitReadMethodParameter() 564 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceStubMethodImpl() 625 MetaType* returnType = metaComponent_->types_[metaMethod->returnTypeIndex_]; in EmitInterfaceStubMethodPromiseImpl() 710 MetaType* innerType = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in EmitWriteVariableObject() 719 MetaType* keyType = metaComponent_->types_[m in EmitWriteVariableObject() [all...] |
H A D | cpp_code_emitter.cpp | 70 MetaType* mt = metaComponent_->types_[i]; in EmitInterfaceStdlibInclusions() 232 MetaType* returnType = metaComponent_->types_[mm->returnTypeIndex_]; in EmitInterfaceMethod() 255 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceMethodParameter() 431 MetaType* returnType = metaComponent_->types_[mm->returnTypeIndex_]; in EmitInterfaceProxyMethodDecl() 529 MetaType* returnType = metaComponent_->types_[mm->returnTypeIndex_]; in EmitInterfaceProxyMethodImpl() 637 MetaType* returnType = metaComponent_->types_[mm->returnTypeIndex_]; in EmitInterfaceProxyMethodReply() 659 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitWriteMethodParameter() 667 MetaType* mt = metaComponent_->types_[mp->typeIndex_]; in EmitReadMethodParameter() 809 MetaType* mGetType = metaComponent_->types_[mp->typeIndex_]; in EmitInterfaceStubMethodImplReturn() 834 MetaType* mt = metaComponent_->types_[m in EmitInterfaceStubMethodImpl() [all...] |
/foundation/ability/idl_tool/test/unittest/cpp_code_emitter_test/ |
H A D | cpp_code_emitter_test.cpp | 71 mc.types_ = new MetaType *[1]; in HWTEST_F() 72 mc.types_[0] = mt; in HWTEST_F() 106 delete [] mc.types_; in HWTEST_F() 1140 codeEmitter.metaComponent_->types_ = new MetaType *[3]; in HWTEST_F() 1142 codeEmitter.metaComponent_->types_[i] = new MetaType(); in HWTEST_F() 1143 ASSERT_NE(codeEmitter.metaComponent_->types_[i], nullptr); in HWTEST_F() 1168 delete codeEmitter.metaComponent_->types_[j]; in HWTEST_F() 1170 delete[] codeEmitter.metaComponent_->types_; in HWTEST_F() 1273 codeEmitter.metaComponent_->types_ = new MetaType *[4]; in HWTEST_F() 1275 codeEmitter.metaComponent_->types_[ in HWTEST_F() [all...] |
/foundation/ability/idl_tool/idl_tool_2/ast/ |
H A D | ast.h | 158 return types_; in GetTypes() 163 return types_.size(); in GetTypeNumber() 266 TypeStringMap types_; member in OHOS::Idl::AST
|
H A D | ast.cpp | 210 for (auto it = types_.begin(); it != types_.end(); ++it, ++i) { in IndexOf() 224 types_[type->ToString()] = type; in AddType() 233 for (const auto &type : types_) { in FindType()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_statement.cpp | 92 types_ = std::vector<int32_t>(columnCount_, COLUMN_TYPE_INVALID); in Prepare() 470 if (types_[index] != COLUMN_TYPE_INVALID) { in GetColumnType() 471 return { E_OK, types_[index] }; in GetColumnType() 482 types_[index] = int32_t(ColumnType::TYPE_ASSET); in GetColumnType() 484 types_[index] = int32_t(ColumnType::TYPE_ASSETS); in GetColumnType() 486 types_[index] = int32_t(ColumnType::TYPE_FLOAT32_ARRAY); in GetColumnType() 488 types_[index] = int32_t(ColumnType::TYPE_BIGINT); in GetColumnType() 490 types_[index] = int32_t(ColumnType::TYPE_BLOB); in GetColumnType() 493 return { E_OK, types_[index] }; in GetColumnType() 735 types_ in InnerFinalize() [all...] |
/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_interface_test/ |
H A D | ts_code_emitter_interface_test.cpp | 1219 tsCodeGen_->metaComponent_->types_[mt.nestedTypeIndexes_[0]]->kind_ = TypeKind::Boolean; in HWTEST_F() 1246 tsCodeGen_->metaComponent_->types_[mt.nestedTypeIndexes_[0]]->kind_ = TypeKind::Char; in HWTEST_F() 1273 tsCodeGen_->metaComponent_->types_[mt.nestedTypeIndexes_[0]]->kind_ = TypeKind::Byte; in HWTEST_F() 1300 tsCodeGen_->metaComponent_->types_[mt.nestedTypeIndexes_[0]]->kind_ = TypeKind::Short; in HWTEST_F() 1327 tsCodeGen_->metaComponent_->types_[mt.nestedTypeIndexes_[0]]->kind_ = TypeKind::Integer; in HWTEST_F() 1354 tsCodeGen_->metaComponent_->types_[mt.nestedTypeIndexes_[0]]->kind_ = TypeKind::Long; in HWTEST_F() 1381 tsCodeGen_->metaComponent_->types_[mt.nestedTypeIndexes_[0]]->kind_ = TypeKind::Float; in HWTEST_F() 1408 tsCodeGen_->metaComponent_->types_[mt.nestedTypeIndexes_[0]]->kind_ = TypeKind::Double; in HWTEST_F() 1435 tsCodeGen_->metaComponent_->types_[mt.nestedTypeIndexes_[0]]->kind_ = TypeKind::String; in HWTEST_F() 1462 tsCodeGen_->metaComponent_->types_[m in HWTEST_F() [all...] |
/foundation/ability/ability_base/interfaces/kits/native/want/include/ |
H A D | skills.h | 456 std::vector<PatternsMatcher> types_; member in OHOS::AAFwk::final
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | sqlite_statement.h | 108 mutable std::vector<int32_t> types_;
member in OHOS::NativeRdb::SqliteStatement
|
/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_proxy_test/ |
H A D | ts_code_emitter_proxy_test.cpp | 66 MetaType* mt = tsCodeGen_->metaComponent_->types_[mp->typeIndex_];
in HWTEST_F() 68 MetaType* innerType = tsCodeGen_->metaComponent_->types_[mt->nestedTypeIndexes_[0]];
in HWTEST_F() 107 MetaType* mt = tsCodeGen_->metaComponent_->types_[mp->typeIndex_];
in HWTEST_F() 109 MetaType* innerType = tsCodeGen_->metaComponent_->types_[mt->nestedTypeIndexes_[0]];
in HWTEST_F() 148 MetaType* mt = tsCodeGen_->metaComponent_->types_[mp->typeIndex_];
in HWTEST_F() 150 MetaType* innerType = tsCodeGen_->metaComponent_->types_[mt->nestedTypeIndexes_[0]];
in HWTEST_F() 189 MetaType* mt = tsCodeGen_->metaComponent_->types_[mp->typeIndex_];
in HWTEST_F() 191 MetaType* innerType = tsCodeGen_->metaComponent_->types_[mt->nestedTypeIndexes_[0]];
in HWTEST_F() 232 MetaType* mt = tsCodeGen_->metaComponent_->types_[mp->typeIndex_];
in HWTEST_F() 235 MetaType* innerType = tsCodeGen_->metaComponent_->types_[m in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | ability.h | 1356 std::vector<std::string> types_; member in OHOS::AppExecFwk::Ability
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | ability.cpp | 752 return types_; in GetFileTypes()
|