Home
last modified time | relevance | path

Searched refs:typeName_ (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/SA/type/
H A Dsa_seq_type_emitter.cpp30 return StringHelper::Format("const %s&", typeName_.c_str()); in EmitCppType()
32 return StringHelper::Format("%s*", typeName_.c_str()); in EmitCppType()
34 return StringHelper::Format("%s&", typeName_.c_str()); in EmitCppType()
36 return StringHelper::Format("%s", typeName_.c_str()); in EmitCppType()
44 return typeName_; in EmitRustType()
49 return typeName_; in EmitTsType()
68 typeName_.c_str(), name.c_str(), parcelName.c_str(), typeName_.c_str()); in EmitCppReadVar()
72 "HiLog::Error(LABEL, \"Read [%s] failed!\");\n", typeName_.c_str()); in EmitCppReadVar()
78 parcelName.c_str(), typeName_.c_str()); in EmitCppReadVar()
88 if (typeName_ == "IRemoteObject") { in EmitTsWriteVar()
[all …]
H A Dsa_interface_type_emitter.cpp30 return StringHelper::Format("sptr<%s>", typeName_.c_str()); in EmitCppType()
33 return StringHelper::Format("const sptr<%s>&", typeName_.c_str()); in EmitCppType()
35 return StringHelper::Format("sptr<%s>&", typeName_.c_str()); in EmitCppType()
43 return typeName_; in EmitRustType()
48 return typeName_; in EmitTsType()
75 … EmitCppType(TypeMode::NO_MODE).c_str(), name.c_str(), typeName_.c_str(), parcelName.c_str()); in EmitCppReadVar()
84 name.c_str(), typeName_.c_str(), parcelName.c_str()); in EmitCppReadVar()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/
H A Dhdi_interface_type_emitter.cpp49 return StringHelper::Format("%s<%s>", pointerName.c_str(), typeName_.c_str()); in EmitCppType()
53 "const %s<%s>&", pointerName.c_str(), typeName_.c_str()); in EmitCppType()
56 "%s<%s>&", pointerName.c_str(), typeName_.c_str()); in EmitCppType()
58 return StringHelper::Format("%s<%s>", pointerName.c_str(), typeName_.c_str()); in EmitCppType()
119 name.c_str(), typeName_.c_str()); in EmitCppWriteVar()
127 if (typeName_.empty()) { in GetNamespaceWithColon()
130 size_t index = typeName_.rfind(':'); in GetNamespaceWithColon()
131 return (index == std::string::npos) ? typeName_.substr(0) : typeName_.substr(0, index + 1); in GetNamespaceWithColon()
140 sb.Append(prefix).AppendFormat("sptr<%s> %s;\n", typeName_.c_str(), name.c_str()); in EmitCppReadVar()
H A Dhdi_seq_type_emitter.cpp35 return StringHelper::Format("sptr<%s>", typeName_.c_str()); in EmitCppType()
37 return StringHelper::Format("const sptr<%s>&", typeName_.c_str()); in EmitCppType()
39 return StringHelper::Format("sptr<%s>&", typeName_.c_str()); in EmitCppType()
41 return StringHelper::Format("sptr<%s>", typeName_.c_str()); in EmitCppType()
H A Dhdi_struct_type_emitter.cpp45 return StringHelper::Format("%s", typeName_.c_str()); in EmitCppType()
47 return StringHelper::Format("const %s&", typeName_.c_str()); in EmitCppType()
49 return StringHelper::Format("%s&", typeName_.c_str()); in EmitCppType()
51 return StringHelper::Format("%s", typeName_.c_str()); in EmitCppType()
H A Dhdi_union_type_emitter.cpp45 return StringHelper::Format("%s", typeName_.c_str()); in EmitCppType()
47 return StringHelper::Format("const %s&", typeName_.c_str()); in EmitCppType()
49 return StringHelper::Format("%s&", typeName_.c_str()); in EmitCppType()
51 return StringHelper::Format("%s", typeName_.c_str()); in EmitCppType()
H A Dhdi_fd_type_emitter.cpp186 …std::string methodName = StringHelper::Format("%sWrite%s", methodPrefix.c_str(), typeName_.c_str()… in EmitCWriteMethods()
211 …std::string methodName = StringHelper::Format("%sRead%s", methodPrefix.c_str(), typeName_.c_str()); in EmitCReadMethods()
261 …std::string methodName = StringHelper::Format("%sWrite%s", methodPrefix.c_str(), typeName_.c_str()… in EmitCppWriteMethods()
292 …std::string methodName = StringHelper::Format("%sRead%s", methodPrefix.c_str(), typeName_.c_str()); in EmitCppReadMethods()
H A Dhdi_enum_type_emitter.cpp52 return StringHelper::Format("%s", typeName_.c_str()); in EmitCppType()
54 return StringHelper::Format("%s&", typeName_.c_str()); in EmitCppType()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/SA/
H A Dsa_type_emitter.cpp28 typeName_ = name; in SetTypeName()
33 return typeName_; in GetTypeName()
H A Dsa_type_emitter.h58 std::string typeName_;
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/
H A Dhdi_type_emitter.cpp40 typeName_ = name; in SetTypeName()
45 return typeName_; in GetTypeName()
H A Dhdi_type_emitter.h126 std::string typeName_; variable
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/include/
H A Djs_input_monitor.h73 std::string typeName_; variable
146 std::string typeName_; variable
/ohos5.0/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor.cpp154 return typeName_; in GetTypeName()
159 typeName_ = typeName; in SetTypeName()
292 … : monitor_(std::make_shared<InputMonitor>()), jsEnv_(jsEnv), typeName_(typeName), monitorId_(id), in JsInputMonitor()
300 monitor_->SetTypeName(typeName_); in JsInputMonitor()
311 … : monitor_(std::make_shared<InputMonitor>()), jsEnv_(jsEnv), typeName_(typeName), monitorId_(id), in JsInputMonitor()
319 monitor_->SetTypeName(typeName_); in JsInputMonitor()
1130 return typeName_; in GetTypeName()