/ohos5.0/foundation/ability/idl_tool/idl_tool_2/metadata/ |
H A D | metadata_serializer.cpp | 100 SerializeMetaMethod(mm); in SerializeMetaInterface() 108 if (mm == nullptr) { in SerializeMetaMethod() 111 mm->name_ = reinterpret_cast<char*>(SerializeAdjust(mm->name_)); in SerializeMetaMethod() 112 mm->signature_ = reinterpret_cast<char*>(SerializeAdjust(mm->signature_)); in SerializeMetaMethod() 119 mm->parameters_ = reinterpret_cast<MetaParameter**>(SerializeAdjust(mm->parameters_)); in SerializeMetaMethod() 225 DeserializeMetaMethod(mm); in DeserializeMetaInterface() 231 if (mm == nullptr) { in DeserializeMetaMethod() 234 mm->name_ = reinterpret_cast<char*>(DeserializeAdjust(mm->name_)); in DeserializeMetaMethod() 235 mm->signature_ = reinterpret_cast<char*>(DeserializeAdjust(mm->signature_)); in DeserializeMetaMethod() 237 mm->parameters_ = reinterpret_cast<MetaParameter**>(DeserializeAdjust(mm->parameters_)); in DeserializeMetaMethod() [all …]
|
H A D | metadata_dumper.cpp | 191 void MetadataDumper::DumpMetaMethod(StringBuilder& sb, MetaMethod* mm, const std::string& prefix) in DumpMetaMethod() argument 194 sb.Append(prefix + tab_).AppendFormat("\"name_\" : \"%s\",\n", mm->name_); in DumpMetaMethod() 195 sb.Append(prefix + tab_).AppendFormat("\"signature_\" : \"%s\",\n", mm->signature_); in DumpMetaMethod() 197 (mm->properties_ & METHOD_PROPERTY_ONEWAY) != 0 ? "oneway" : ""); in DumpMetaMethod() 198 MetaType* type = metaComponent_->types_[mm->returnTypeIndex_]; in DumpMetaMethod() 200 sb.Append(prefix + tab_).AppendFormat("\"parameterNumber_\" : \"%d\",\n", mm->parameterNumber_); in DumpMetaMethod() 202 if (mm->parameterNumber_ == 0) { in DumpMetaMethod() 206 for (int i = 0; i < mm->parameterNumber_; i++) { in DumpMetaMethod() 207 DumpMetaParameter(sb, mm->parameters_[i], prefix + tab_ + tab_); in DumpMetaMethod() 208 if (i != mm->parameterNumber_ - 1) { in DumpMetaMethod()
|
H A D | metadata_reader.cpp | 132 void MetadataReader::ReadMetaMethod(AutoPtr<ASTInterfaceType>& interface, MetaMethod* mm) in ReadMetaMethod() argument 136 if (mm->properties_ == METHOD_PROPERTY_ONEWAY) { in ReadMetaMethod() 141 MetaType* type = metaComponent_->types_[mm->returnTypeIndex_]; in ReadMetaMethod() 143 method->SetName(std::string(reinterpret_cast<char*>((mm->name_)))); in ReadMetaMethod() 144 for (int i = 0; i < mm->parameterNumber_; i++) { in ReadMetaMethod() 145 ReadMetaParam(method, mm->parameters_[i]); in ReadMetaMethod()
|
H A D | metadata_builder.cpp | 359 MetaMethod* mm = reinterpret_cast<MetaMethod*>(baseAddr_); in WriteMetaMethod() local 360 mm->name_ = WriteString(method->GetName()); in WriteMetaMethod() 361 mm->signature_ = WriteString(method->GetSignature()); in WriteMetaMethod() 362 …mm->properties_ = method->GetAttribute()->GetValue() == ASTAttr::ONEWAY ? METHOD_PROPERTY_ONEWAY :… in WriteMetaMethod() 363 mm->returnTypeIndex_ = module_->IndexOf(method->GetReturnType()); in WriteMetaMethod() 364 mm->parameterNumber_ = static_cast<int>(parameterNumber); in WriteMetaMethod() 367 mm->parameters_ = reinterpret_cast<MetaParameter**>(baseAddr_); in WriteMetaMethod() 372 mm->parameters_[i] = WriteMetaParameter(method->GetParameter(i)); in WriteMetaMethod() 375 return mm; in WriteMetaMethod()
|
H A D | metadata_serializer.h | 70 void SerializeMetaMethod(MetaMethod* mm); 86 void DeserializeMetaMethod(MetaMethod* mm);
|
/ohos5.0/foundation/ability/idl_tool/metadata/ |
H A D | metadata_serializer.cpp | 103 SerializeMetaMethod(mm); in SerializeMetaInterface() 111 if (mm == nullptr) { in SerializeMetaMethod() 114 mm->name_ = reinterpret_cast<char*>(SerializeAdjust(mm->name_)); in SerializeMetaMethod() 115 mm->signature_ = reinterpret_cast<char*>(SerializeAdjust(mm->signature_)); in SerializeMetaMethod() 122 mm->parameters_ = reinterpret_cast<MetaParameter**>(SerializeAdjust(mm->parameters_)); in SerializeMetaMethod() 234 DeserializeMetaMethod(mm); in DeserializeMetaInterface() 240 if (mm == nullptr) { in DeserializeMetaMethod() 243 mm->name_ = reinterpret_cast<char*>(DeserializeAdjust(mm->name_)); in DeserializeMetaMethod() 244 mm->signature_ = reinterpret_cast<char*>(DeserializeAdjust(mm->signature_)); in DeserializeMetaMethod() 246 mm->parameters_ = reinterpret_cast<MetaParameter**>(DeserializeAdjust(mm->parameters_)); in DeserializeMetaMethod() [all …]
|
H A D | metadata_dumper.cpp | 178 void MetadataDumper::DumpMetaMethod(StringBuilder& sb, MetaMethod* mm, const String& prefix) in DumpMetaMethod() argument 181 sb.Append(prefix + tab).AppendFormat("\"name_\" : \"%s\",\n", mm->name_); in DumpMetaMethod() 182 sb.Append(prefix + tab).AppendFormat("\"signature_\" : \"%s\",\n", mm->signature_); in DumpMetaMethod() 184 (mm->properties_ & METHOD_PROPERTY_ONEWAY) != 0 ? "oneway" : ""); in DumpMetaMethod() 185 MetaType* type = metaComponent_->types_[mm->returnTypeIndex_]; in DumpMetaMethod() 187 sb.Append(prefix + tab).AppendFormat("\"parameterNumber_\" : \"%d\",\n", mm->parameterNumber_); in DumpMetaMethod() 189 if (mm->parameterNumber_ == 0) { in DumpMetaMethod() 193 for (int i = 0; i < mm->parameterNumber_; i++) { in DumpMetaMethod() 194 DumpMetaParameter(sb, mm->parameters_[i], prefix + tab + tab); in DumpMetaMethod() 195 if (i != mm->parameterNumber_ - 1) { in DumpMetaMethod()
|
H A D | metadata_builder.cpp | 362 MetaMethod* mm = reinterpret_cast<MetaMethod*>(baseAddr_); in WriteMetaMethod() local 363 mm->name_ = WriteString(method->GetName()); in WriteMetaMethod() 364 mm->signature_ = WriteString(method->GetSignature()); in WriteMetaMethod() 365 mm->properties_ = method->IsOneway() ? METHOD_PROPERTY_ONEWAY : 0; in WriteMetaMethod() 366 mm->returnTypeIndex_ = module_->IndexOf(method->GetReturnType()); in WriteMetaMethod() 368 mm->cacheable_ = method->GetCacheable(); in WriteMetaMethod() 369 if (mm->cacheable_ == true) { in WriteMetaMethod() 370 mm->cacheabletime_ = method->GetCacheableTime(); in WriteMetaMethod() 372 mm->parameterNumber_ = static_cast<int>(parameterNumber); in WriteMetaMethod() 375 mm->parameters_ = reinterpret_cast<MetaParameter**>(baseAddr_); in WriteMetaMethod() [all …]
|
H A D | metadata_serializer.h | 70 void SerializeMetaMethod(MetaMethod* mm); 86 void DeserializeMetaMethod(MetaMethod* mm);
|
/ohos5.0/foundation/ability/idl_tool/codegen/ |
H A D | rust_code_emitter.cpp | 223 MetaMethod* mm = metaInterface_->methods_[i]; in AppendCommandEnums() local 314 MetaMethod* mm = metaInterface_->methods_[i]; in AppendBrokerMethods() local 315 sb.AppendFormat(" fn %s(&self", mm->name_); in AppendBrokerMethods() 385 for (int i = 0; i < mm->parameterNumber_; i++) { in AddRemoteRequestParameters() 386 MetaParameter* mp = mm->parameters_[i]; in AddRemoteRequestParameters() 388 if (i + 1 != mm->parameterNumber_) { in AddRemoteRequestParameters() 464 MetaMethod* mm = metaInterface_->methods_[i]; in AddRemoteRequestMethods() local 476 AddRemoteRequestParameters(sb, mm); in AddRemoteRequestMethods() 495 for (int i = 0; i < mm->parameterNumber_; i++) { in AppendStubParameters() 497 if (i + 1 != mm->parameterNumber_) { in AppendStubParameters() [all …]
|
H A D | cpp_code_emitter.cpp | 222 EmitInterfaceMethod(mm, sb, prefix); in EmitInterfaceMethods() 360 if (mm->cacheable_ == false) { in EmitInterfaceProxyAddCacheAbleAPI() 363 if (mm->cacheabletime_ != 0) { in EmitInterfaceProxyAddCacheAbleAPI() 366 ConstantName(mm->name_).string(), mm->cacheabletime_); in EmitInterfaceProxyAddCacheAbleAPI() 391 if (mm->cacheable_) { in EmitInterfaceProxyUnRegisterDeathRecipient() 551 if ((mm->cacheable_ == true) && ((mm->properties_ & METHOD_PROPERTY_ONEWAY) == 0)) { in EmitInterfaceProxyMethodPreSendRequest() 555 ConstantName(mm->name_).string()); in EmitInterfaceProxyMethodPreSendRequest() 569 ConstantName(mm->name_).string()); in EmitInterfaceProxyMethodPostSendRequest() 607 ConstantName(mm->name_).string()); in EmitInterfaceProxyMethodBody() 648 if (mm->cacheable_ == true) { in EmitInterfaceProxyMethodRetValue() [all …]
|
H A D | cpp_code_emitter.h | 61 void EmitInterfaceMethod(MetaMethod* mm, StringBuilder& sb, const String& prefix); 83 void EmitInterfaceProxyMethodDecl(MetaMethod* mm, StringBuilder& sb, const String& prefix); 91 …void EmitInterfaceProxyMethodPreSendRequest(MetaMethod* mm, StringBuilder& sb, const String& prefi… 93 …void EmitInterfaceProxyMethodPostSendRequest(MetaMethod* mm, StringBuilder& sb, const String& pref… 95 void EmitInterfaceProxyMethodImpl(MetaMethod* mm, StringBuilder& sb, const String& prefix); 97 void EmitInterfaceProxyMethodBody(MetaMethod* mm, StringBuilder& sb, const String& prefix); 101 void EmitInterfaceProxyMethodReply(MetaMethod* mm, StringBuilder& sb, const String& prefix); 103 void EmitInterfaceProxyMethodRetValue(MetaMethod* mm, StringBuilder& sb, const String& prefix); 122 void EmitInterfaceStubMethodImplReturn(MetaMethod* mm, StringBuilder& sb, const String& prefix, 125 void EmitInterfaceStubMethodImpl(MetaMethod* mm, StringBuilder& sb, const String& prefix);
|
H A D | rust_code_emitter.h | 103 void AddRemoteRequestParameters(StringBuilder& sb, MetaMethod* mm); 109 void AppendStubParameters(StringBuilder& sb, MetaMethod* mm);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | multimesh_impl.cpp | 48 CORE_NS::Entity mm; in __anonac8615180202() local 49 mm.id = self->handle_; in __anonac8615180202() 50 … sceneHolder->SetInstanceCountMultimeshArray(mm, count); in __anonac8615180202() 110 CORE_NS::Entity mm; in Build() local 111 mm.id = self->handle_; in Build() 133 CORE_NS::Entity mm; in Build() local 134 mm.id = self->handle_; in Build() 140 mm, self->overridenMaterials_); in Build() 144 mm, material->EcsObject()->GetEntity()); in Build() 171 CORE_NS::Entity mm; in Build() local [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-textclock.md | 53 非卡片中默认值:12小时制:aa hh:mm:ss,24小时制:HH:mm:ss。<br />卡片中默认值:12小时制:hh:mm,24小时制:HH:mm 。<br />卡片中使用时,最小时间单位为… 89 | HH:mm:ss(时:分:秒) | 17:00:04 | 90 | aa hh:mm:ss(时:分:秒) | 上午 5:00:04 | 93 | aa hh:mm(时:分) | 上午 5:00 | 96 | mm:ss.SS(分:秒.厘秒) | 00:04.91 | 97 | mm:ss.SSS(分:秒.毫秒) | 00:04.536 | 386 .format('aa hh:mm:ss') 504 .format('aa hh:mm:ss') 511 .format('aa hh:mm:ss') 550 .format("HH:mm:ss") [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_sampling_options.cpp | 29 …mplingOptions* OH_Drawing_SamplingOptionsCreate(OH_Drawing_FilterMode fm, OH_Drawing_MipmapMode mm) in OH_Drawing_SamplingOptionsCreate() argument 31 if (mm < MIPMAP_MODE_NONE || mm > MIPMAP_MODE_LINEAR) { in OH_Drawing_SamplingOptionsCreate() 35 …ing_SamplingOptions*)new SamplingOptions(static_cast<FilterMode>(fm), static_cast<MipmapMode>(mm)); in OH_Drawing_SamplingOptionsCreate()
|
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | neon-guide.md | 66 int mm, sum = 0; 68 for(mm = 0; mm < kernelSize/4; mm++) 70 int16x4_t kernel_vec = vld1_s16(kernel + mm*4); 71 int16x4_t input_vec = vld1_s16(input + (nn+offset+mm*4));
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | neon-guide.md | 66 int mm, sum = 0; 68 for(mm = 0; mm < kernelSize/4; mm++) 70 int16x4_t kernel_vec = vld1_s16(kernel + mm*4); 71 int16x4_t input_vec = vld1_s16(input + (nn+offset+mm*4));
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-textclock.md | 101 | HH:mm:ss | 17:00:04 | 102 | aa hh:mm:ss| 5:00:04 AM | 103 | hh:mm:ss | 5:00:04 | 105 | aa hh:mm | 5:00 AM | 108 | mm:ss.SS | 00:04.91 | 109 | mm:ss.SSS| 00:04.536 | 390 .format('aa hh:mm:ss') 479 .format('aa hh:mm:ss') 486 .format('aa hh:mm:ss') 525 .format("HH:mm:ss") [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | sampling_options.h | 52 inline SamplingOptions(FilterMode fm, MipmapMode mm) noexcept; 80 …ptions::SamplingOptions(FilterMode fm, MipmapMode mm) noexcept : useCubic(false), filter(fm), mipm… in SamplingOptions() argument
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/samplingoptions_fuzzer/ |
H A D | sampling_options_fuzzer.cpp | 40 uint32_t mm = GetObject<uint32_t>(); in SamplingOptionsFuzzTest000() local 46 static_cast<MipmapMode>(mm % MATH_THREE)); in SamplingOptionsFuzzTest000()
|
/ohos5.0/docs/zh-cn/device-dev/quick-start/ |
H A D | quickstart-appendix-rk3568.md | 40 | 底板尺寸 | 180mm×130mm |
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.31/ |
H A D | changelogs-arkui.md | 328 …随format属性的自定义时间格式变化。format为mm:ss.S时,100ms回调一次onTimer事件,回调参数的单位为100ms。format为mm:ss.SS时,10ms回调一次onTi… 354 .format('mm:ss.SS') 362 .format('mm:ss.S')
|
/ohos5.0/docs/zh-cn/application-dev/media/audio/ |
H A D | audio-output-device-change.md | 19 普通蓝牙设备(耳机、眼镜、音箱、车机等)连接、支持佩戴检测的蓝牙设备(耳机、眼镜等)佩戴、有线设备(3.5mm耳机、Type-C耳机、USB耳机、USB音箱等)插入、分布式设备上线等。 27 普通蓝牙设备(耳机、眼镜、音箱、车机等)断开、支持佩戴检测的蓝牙耳机双耳摘下、支持佩戴检测的蓝牙眼镜摘下、有线设备(3.5mm耳机、Type-C耳机、USB耳机、音箱等)拔出、分布式设备下线等。
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-picker-view.md | 36 … 当前时间 | 否 | 设置时间选择器的默认取值,格式为 HH:mm;<br/>当包含秒时,格式为HH:mm:ss。 | 53 … | 否 | 设置日期时间选择器的默认取值,格式有两种,为月日时分MM-DD-HH-mm或者年月日时分YYYY-MM-DD-HH-mm,不设置年时,默认…
|