/foundation/ability/idl_tool/ast/ |
H A D | ast_array_type.h | 27 void SetElementType(ASTType* elementType) in SetElementType() argument 29 elementType_ = elementType; in SetElementType()
|
H A D | ast_list_type.h | 27 void SetElementType(ASTType* elementType) in SetElementType() argument 29 elementType_ = elementType; in SetElementType()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/ |
H A D | hdi_c_code_emitter.cpp | 109 auto rwNeedLoopVar = [needRW](const AutoPtr<ASTType> &elementType) -> bool {
in EmitNeedLoopVar() 114 if (elementType->IsPod()) {
in EmitNeedLoopVar() 115 return elementType->IsBooleanType() ? true : false;
in EmitNeedLoopVar() 118 return elementType->IsStringType() ? false : true;
in EmitNeedLoopVar() 121 auto freeNeedLoopVar = [needFree](const AutoPtr<ASTType> &elementType) -> bool {
in EmitNeedLoopVar() 125 return elementType->IsPod() ? false : true;
in EmitNeedLoopVar()
|
H A D | c_custom_types_code_emitter.cpp | 451 AutoPtr<ASTType> elementType = nullptr;
in EmitArrayMemberUnmarshalling() local 454 elementType = arrayType->GetElementType();
in EmitArrayMemberUnmarshalling() 457 elementType = listType->GetElementType();
in EmitArrayMemberUnmarshalling() 460 if (elementType->IsStringType()) {
in EmitArrayMemberUnmarshalling() 467 GetTypeEmitter(elementType)->EmitCType().c_str(), tmpName.c_str());
in EmitArrayMemberUnmarshalling()
|
/foundation/ability/idl_tool/idl_tool_2/ast/ |
H A D | ast_array_type.h | 28 inline void SetElementType(const AutoPtr<ASTType> &elementType) in SetElementType() argument 30 elementType_ = elementType; in SetElementType()
|
/foundation/ability/idl_tool/metadata/ |
H A D | metadata_builder.cpp | 424 AutoPtr<ASTType> elementType = (static_cast<ASTListType*>(type))->GetElementType(); in WriteMetaType() local 425 mt->nestedTypeIndexes_[0] = module_->IndexOf(elementType); in WriteMetaType() 445 AutoPtr<ASTType> elementType = (static_cast<ASTArrayType*>(type))->GetElementType(); in WriteMetaType() local 446 mt->nestedTypeIndexes_[0] = module_->IndexOf(elementType); in WriteMetaType()
|
/foundation/ability/idl_tool/idl_tool_2/metadata/ |
H A D | metadata_builder.cpp | 416 AutoPtr<ASTType> elementType = (static_cast<ASTListType*>(type))->GetElementType(); in WriteMetaType() local 417 mt->nestedTypeIndexes_[0] = module_->IndexOf(elementType); in WriteMetaType() 437 AutoPtr<ASTType> elementType = (static_cast<ASTArrayType*>(type))->GetElementType(); in WriteMetaType() local 438 mt->nestedTypeIndexes_[0] = module_->IndexOf(elementType); in WriteMetaType()
|
/foundation/communication/nfc/frameworks/js/napi/common/ |
H A D | nfc_napi_common_utils.cpp | 636 napi_valuetype elementType = napi_undefined; in IsNumberArray() local 637 napi_typeof(env, elementValue, &elementType); in IsNumberArray() 638 if (elementType != napi_number) { in IsNumberArray() 656 napi_valuetype elementType = napi_undefined; in IsObjectArray() local 657 napi_typeof(env, elementValue, &elementType); in IsObjectArray() 658 if (elementType != napi_object) { in IsObjectArray()
|
/foundation/ability/idl_tool/idl_tool_2/parser/ |
H A D | parser.h | 141 AutoPtr<ASTType> ParseArrayType(const AutoPtr<ASTType> &elementType);
|
H A D | parser.cpp | 1070 AutoPtr<ASTType> Parser::ParseArrayType(const AutoPtr<ASTType> &elementType)
in ParseArrayType() argument 1081 if (elementType == nullptr) {
in ParseArrayType() 1086 arrayType->SetElementType(elementType);
in ParseArrayType()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | flatbuffer_schema.cpp | 580 auto elementType = inType.element(); in CheckFieldTypeSupport() local 581 if (!IsIndexableType(elementType)) { in CheckFieldTypeSupport() 583 reflection::EnumNameBaseType(elementType)); in CheckFieldTypeSupport()
|
/foundation/ability/idl_tool/codegen/ |
H A D | cpp_code_emitter.cpp | 1444 MetaType* elementType = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in EmitListType() local 1447 EmitType(elementType, ATTR_IN, true).string()); in EmitListType() 1451 EmitType(elementType, ATTR_IN, true).string()); in EmitListType() 1454 EmitType(elementType, ATTR_IN, true).string()); in EmitListType()
|
H A D | ts_code_emitter.cpp | 1074 MetaType* elementType = metaComponent_->types_[mt->nestedTypeIndexes_[0]]; in EmitType() local 1075 if (EmitType(elementType).string() == UNKNOWN_TYPE) { in EmitType() 1078 return String::Format("%s[]", EmitType(elementType).string()); in EmitType()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_web.cpp | 3322 WebElementType elementType = static_cast<WebElementType>(info[0]->ToNumber<int32_t>()); in BindSelectionMenu() local 3362 elementType, responseType, menuBuilder, previewBuilder, menuParam); in BindSelectionMenu()
|