Home
last modified time | relevance | path

Searched refs:ToString (Results 1 – 25 of 81) sorted by relevance

1234

/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_attribute.cpp14 std::string ASTAttr::ToString() const in ToString() function in OHOS::HDI::ASTAttr
46 return sb.ToString(); in ToString()
51 return prefix + ToString(); in Dump()
68 std::string ASTParamAttr::ToString() const in ToString() function in OHOS::HDI::ASTParamAttr
75 return prefix + ToString(); in Dump()
Dast_expr.cpp28 return sb.ToString(); in Dump()
59 return sb.ToString(); in Dump()
104 return sb.ToString(); in Dump()
Dast_parameter.cpp29 sb.Append(type_->ToString()).Append(' '); in Dump()
32 return sb.ToString(); in Dump()
67 return paramStr.ToString(); in EmitCParameter()
79 return paramStr.ToString(); in EmitCParameter()
84 return sb.ToString(); in EmitCParameter()
128 return sb.ToString(); in EmitJavaParameter()
167 return sb.ToString(); in EmitCLocalVar()
200 return sb.ToString(); in EmitCppLocalVar()
Dast_attribute.h28 std::string ToString() const override;
57 std::string ToString() const override;
Dast_node.cpp15 std::string ASTNode::ToString() const in ToString() function in OHOS::HDI::ASTNode
Dast_type.cpp173 std::string ASTType::ToString() const in ToString() function in OHOS::HDI::ASTType
175 return (namespace_ == nullptr) ? name_ : (namespace_->ToString() + name_); in ToString()
317 std::vector<std::string> namespaceVec = StringHelper::Split(space->ToString(), "."); in GetNameWithNamespace()
322 std::string rootPackage = Options::GetInstance().GetRootPackage(space->ToString()); in GetNameWithNamespace()
347 return sb.ToString(); in GetNameWithNamespace()
376 return sb.ToString(); in PascalName()
Dast_node.h24 virtual std::string ToString() const;
Dast_pointer_type.h22 std::string ToString() const override;
Dast_pointer_type.cpp18 std::string ASTPointerType::ToString() const in ToString() function in OHOS::HDI::ASTPointerType
Dast_smq_type.h29 std::string ToString() const override;
57 std::string ToString() const override;
Dast_sequenceable_type.cpp38 sb.Append(namespace_->ToString()); in Dump()
43 return sb.ToString(); in Dump()
48 return namespace_->ToString() + name_; in GetFullName()
Dast_struct_type.cpp41 … sb.AppendFormat("%s %s;\n", std::get<1>(it)->ToString().c_str(), std::get<0>(it).c_str()); in Dump()
45 return sb.ToString(); in Dump()
111 return sb.ToString(); in EmitCTypeDecl()
130 return sb.ToString(); in EmitCppTypeDecl()
137 return sb.ToString(); in EmitJavaTypeDecl()
Dast_fd_type.cpp18 std::string ASTFdType::ToString() const in ToString() function in OHOS::HDI::ASTFdType
186 std::string methodName = StringHelper::Format("Write%s", ToString().c_str()); in RegisterWriteMethod()
202 std::string methodName = StringHelper::Format("Read%s", ToString().c_str()); in RegisterReadMethod()
218 …std::string methodName = StringHelper::Format("%sWrite%s", methodPrefix.c_str(), ToString().c_str(… in EmitCWriteMethods()
240 …std::string methodName = StringHelper::Format("%sRead%s", methodPrefix.c_str(), ToString().c_str()… in EmitCReadMethods()
281 …std::string methodName = StringHelper::Format("%sWrite%s", methodPrefix.c_str(), ToString().c_str(… in EmitCppWriteMethods()
309 …std::string methodName = StringHelper::Format("%sRead%s", methodPrefix.c_str(), ToString().c_str()… in EmitCppReadMethods()
Dast_method.cpp49 return sb.ToString(); in Dump()
Dast_enum_type.cpp37 sb.AppendFormat("enum %s : %s {\n", name_.c_str(), baseType_->ToString().c_str()); in Dump()
55 return sb.ToString(); in Dump()
115 return sb.ToString(); in EmitCTypeDecl()
136 return sb.ToString(); in EmitCppTypeDecl()
143 return sb.ToString(); in EmitJavaTypeDecl()
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Dcode_emitter.cpp41 interfaceFullName_ = interface_->GetNamespace()->ToString() + interfaceName_; in Reset()
44 proxyFullName_ = interface_->GetNamespace()->ToString() + proxyName_; in Reset()
47 stubFullName_ = interface_->GetNamespace()->ToString() + stubName_; in Reset()
50 implFullName_ = interface_->GetNamespace()->ToString() + implName_; in Reset()
138 return filePath.ToString(); in PackageToFilePath()
188 return sb.ToString(); in ConstantName()
217 return sb.ToString(); in PascalName()
240 return sb.ToString(); in FileName()
Dcpp_code_emitter.cpp159 return nameSpaceStr.ToString(); in EmitPackageToNameSpace()
164 …:vector<std::string> cppNamespaceVec = EmitCppNameSpaceVec(interface_->GetNamespace()->ToString()); in EmitBeginNamespace()
172 …:vector<std::string> cppNamespaceVec = EmitCppNameSpaceVec(interface_->GetNamespace()->ToString()); in EmitEndNamespace()
255 std::string paramStr = paramSb.ToString(); in SpecificationParam()
283 …::vector<std::string> cppNamespaceVec = EmitCppNameSpaceVec(interface->GetNamespace()->ToString()); in EmitDefinitionByInterface()
289 return sb.ToString(); in EmitDefinitionByInterface()
Dcpp_service_impl_code_emitter.cpp61 std::string data = sb.ToString(); in EmitImplHeaderFile()
73 sb.AppendFormat("%s\n", file.ToString().c_str()); in EmitServiceImplInclusions()
154 std::string data = sb.ToString(); in EmitImplSourceFile()
167 sb.AppendFormat("%s\n", file.ToString().c_str()); in EmitImplSourceInclusions()
Dcpp_custom_types_code_emitter.cpp68 std::string data = sb.ToString(); in EmitPassthroughCustomTypesHeaderFile()
83 sb.AppendFormat("%s\n", file.ToString().c_str()); in EmitPassthroughHeaderFileInclusions()
116 std::string data = sb.ToString(); in EmitCustomTypesHeaderFile()
131 sb.AppendFormat("%s\n", file.ToString().c_str()); in EmitHeaderFileInclusions()
236 std::string data = sb.ToString(); in EmitCustomTypesSourceFile()
250 sb.AppendFormat("%s\n", file.ToString().c_str()); in EmitSourceFileInclusions()
Dc_service_impl_code_emitter.cpp79 std::string data = sb.ToString(); in EmitLowServiceImplHeaderFile()
90 sb.AppendFormat("%s\n", file.ToString().c_str()); in EmitLowServiceImplInclusions()
120 std::string data = sb.ToString(); in EmitLowServiceImplSourceFile()
177 std::string data = sb.ToString(); in EmitServiceImplHeaderFile()
194 sb.AppendFormat("%s\n", file.ToString().c_str()); in EmitServiceImplHeaderInclusions()
240 std::string data = sb.ToString(); in EmitServiceImplSourceFile()
258 sb.AppendFormat("%s\n", file.ToString().c_str()); in EmitServiceImplSourceInclusions()
/drivers/hdf_core/framework/tools/hdi-gen/lexer/
Dlexer.cpp249 std::string key = sb.ToString(); in ReadId()
252 token.value = sb.ToString(); in ReadId()
300 token.value = sb.ToString(); in ReadBinaryNum()
323 token.value = sb.ToString(); in ReadOctNum()
345 token.value = sb.ToString(); in ReadHexNum()
365 token.value = sb.ToString(); in ReadDecNum()
482 token.value = sb.ToString(); in ReadLineComment()
503 token.value = sb.ToString(); in ReadBlockComment()
Dtoken.cpp25 return sb.ToString(); in Dump()
/drivers/hdf_core/framework/tools/hdi-gen/util/
Dstring_builder.h28 std::string ToString() const;
/drivers/external_device_manager/services/native/driver_extension_manager/include/bus_extension/usb/
Dusb_dev_subscriber.h31 string ToString(void);
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/
Dusb_dev_subscriber.cpp134 EDM_LOGD(MODULE_BUS_USB, "ret = %{public}d, %{public}s", ret, this->ToString().c_str()); in DeviceEvent()
143 string UsbDevSubscriber::ToString(void) in ToString() function in OHOS::ExternalDeviceManager::UsbDevSubscriber

1234