/drivers/hdf_core/framework/tools/hdi-gen/ast/ |
D | ast_attribute.cpp | 14 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()
|
D | ast_expr.cpp | 28 return sb.ToString(); in Dump() 59 return sb.ToString(); in Dump() 104 return sb.ToString(); in Dump()
|
D | ast_parameter.cpp | 29 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()
|
D | ast_attribute.h | 28 std::string ToString() const override; 57 std::string ToString() const override;
|
D | ast_node.cpp | 15 std::string ASTNode::ToString() const in ToString() function in OHOS::HDI::ASTNode
|
D | ast_type.cpp | 173 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()
|
D | ast_node.h | 24 virtual std::string ToString() const;
|
D | ast_pointer_type.h | 22 std::string ToString() const override;
|
D | ast_pointer_type.cpp | 18 std::string ASTPointerType::ToString() const in ToString() function in OHOS::HDI::ASTPointerType
|
D | ast_smq_type.h | 29 std::string ToString() const override; 57 std::string ToString() const override;
|
D | ast_sequenceable_type.cpp | 38 sb.Append(namespace_->ToString()); in Dump() 43 return sb.ToString(); in Dump() 48 return namespace_->ToString() + name_; in GetFullName()
|
D | ast_struct_type.cpp | 41 … 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()
|
D | ast_fd_type.cpp | 18 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()
|
D | ast_method.cpp | 49 return sb.ToString(); in Dump()
|
D | ast_enum_type.cpp | 37 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/ |
D | code_emitter.cpp | 41 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()
|
D | cpp_code_emitter.cpp | 159 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()
|
D | cpp_service_impl_code_emitter.cpp | 61 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()
|
D | cpp_custom_types_code_emitter.cpp | 68 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()
|
D | c_service_impl_code_emitter.cpp | 79 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/ |
D | lexer.cpp | 249 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()
|
D | token.cpp | 25 return sb.ToString(); in Dump()
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | string_builder.h | 28 std::string ToString() const;
|
/drivers/external_device_manager/services/native/driver_extension_manager/include/bus_extension/usb/ |
D | usb_dev_subscriber.h | 31 string ToString(void);
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/ |
D | usb_dev_subscriber.cpp | 134 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
|