Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 700) sorted by relevance

12345678910>>...28

/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_array_type.h35 std::string ToString() const override;
39 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
41 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
43 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
45 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
46 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
48 …void EmitCProxyWriteOutVar(const std::string &parcelName, const std::string &name, const std::stri…
49 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
51 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
52 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
[all …]
Dast_string_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 …void EmitCProxyWriteOutVar(const std::string &parcelName, const std::string &name, const std::stri…
36 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
38 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
39 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
[all …]
Dast_boolean_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_float_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_byte_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_double_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_integer_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_short_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_long_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_fd_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_native_buffer_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
31 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
33 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
34 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
35 const std::string &prefix) const override;
37 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
38 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
[all …]
Dast_uchar_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_uint_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_ulong_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_ushort_type.h22 std::string ToString() const override;
26 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
28 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
30 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
32 …void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::string &ecNa…
33 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const override;
35 void EmitCProxyReadVar(const std::string &parcelName, const std::string &name, bool isInnerType,
36 const std::string &ecName, const std::string &gotoLabel, StringBuilder &sb,
37 const std::string &prefix) const override;
39 …void EmitCStubReadVar(const std::string &parcelName, const std::string &name, const std::string &e…
[all …]
Dast_struct_type.h25 inline void SetName(const std::string &name) override in SetName()
30 inline std::string GetName() override in GetName()
52 void AddMember(const AutoPtr<ASTType> &typeName, std::string name);
59 inline std::string GetMemberName(size_t index) in GetMemberName()
62 return std::string(""); in GetMemberName()
77 std::string Dump(const std::string &prefix) override;
81 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
83 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
85 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
87 std::string EmitCTypeDecl() const;
[all …]
Dast_union_type.h25 inline void SetName(const std::string &name) override in SetName()
30 inline std::string GetName() override in GetName()
52 void AddMember(const AutoPtr<ASTType> &typeName, std::string name);
59 inline std::string GetMemberName(size_t index) in GetMemberName()
62 return std::string(""); in GetMemberName()
77 std::string Dump(const std::string &prefix) override;
81 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
83 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
85 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
87 std::string EmitCTypeDecl() const;
[all …]
Dast_type.h66 using UtilMethod = std::function<void(StringBuilder &, const std::string &, const std::string &, bo…
67 using UtilMethodMap = std::unordered_map<std::string, UtilMethod>;
76 virtual void SetName(const std::string &name);
78 virtual std::string GetName();
138 virtual std::string ToShortString();
140 std::string ToString() const override;
144 virtual std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const;
146 virtual std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const;
148 virtual std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const;
150 …virtual void EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::stri…
[all …]
Dast_parameter.h21 ASTParameter(const std::string &name, ParamAttr attribute, const AutoPtr<ASTType> &type) in ASTParameter()
26 …ASTParameter(const std::string &name, const AutoPtr<ASTParamAttr> &attribute, const AutoPtr<ASTTyp… in ASTParameter()
31 inline std::string GetName() in GetName()
46 std::string Dump(const std::string &prefix) override;
48 std::string EmitCParameter();
50 std::string EmitCppParameter();
52 std::string EmitJavaParameter();
54 std::string EmitCLocalVar();
56 std::string EmitCppLocalVar();
58 std::string EmitJavaLocalVar() const;
[all …]
Dast_enum_type.h23 explicit ASTEnumValue(const std::string &name) : mName_(name), value_(nullptr) {} in ASTEnumValue()
27 inline std::string GetName() in GetName()
53 std::string mName_;
62 inline void SetName(const std::string &name) override in SetName()
67 inline std::string GetName() override in GetName()
113 std::string Dump(const std::string &prefix) override;
117 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
119 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
121 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
123 std::string EmitCTypeDecl() const;
[all …]
Dast_sequenceable_type.h24 std::string Dump(const std::string &prefix) override;
28 std::string GetFullName() const;
30 std::string EmitCType(TypeMode mode = TypeMode::NO_MODE) const override;
32 std::string EmitCppType(TypeMode mode = TypeMode::NO_MODE) const override;
34 std::string EmitJavaType(TypeMode mode, bool isInnerType = false) const override;
36 void EmitCppWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb,
37 const std::string &prefix, unsigned int innerLevel = 0) const override;
39 void EmitCppReadVar(const std::string &parcelName, const std::string &name, StringBuilder &sb,
40 const std::string &prefix, bool initVariable, unsigned int innerLevel = 0) const override;
42 … void EmitCppMarshalling(const std::string &parcelName, const std::string &name, StringBuilder &sb,
[all …]
Dast_type.cpp13 void ASTType::SetName(const std::string &name) in SetName()
18 std::string ASTType::GetName() in GetName()
168 std::string ASTType::ToShortString() in ToShortString()
173 std::string ASTType::ToString() const in ToString()
183 std::string ASTType::EmitCType(TypeMode mode) const in EmitCType()
188 std::string ASTType::EmitCppType(TypeMode mode) const in EmitCppType()
193 std::string ASTType::EmitJavaType(TypeMode mode, bool isInnerType) const in EmitJavaType()
198 void ASTType::EmitCWriteVar(const std::string &parcelName, const std::string &name, const std::stri… in EmitCWriteVar()
199 const std::string &gotoLabel, StringBuilder &sb, const std::string &prefix) const in EmitCWriteVar()
204 …id ASTType::EmitCProxyWriteOutVar(const std::string &parcelName, const std::string &name, const st… in EmitCProxyWriteOutVar()
[all …]
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Dc_client_proxy_code_emitter.h23 bool ResolveDirectory(const std::string &targetDirectory) override;
51 …void EmitProxyMethodBody(const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &p…
53 void EmitCreateBuf(const std::string &dataBufName,
54 const std::string &replyBufName, StringBuilder &sb, const std::string &prefix) const;
56 void EmitCheckThisPointer(StringBuilder &sb, const std::string &prefix) const;
58 …void EmitWriteInterfaceToken(const std::string &dataBufName, StringBuilder &sb, const std::string
61 const std::string &dataBufName, StringBuilder &sb, const std::string &prefix) const;
63 void EmitReleaseBuf(const std::string &dataBufName,
64 const std::string &replyBufName, StringBuilder &sb, const std::string &prefix) const;
66 …void EmitReadProxyMethodParameter(const AutoPtr<ASTParameter> &param, const std::string &parcelNam…
[all …]
Dcode_emitter.h30 HeaderFile(HeaderFileType type, std::string fileName) : type_(type), fileName_(fileName) {} in HeaderFile()
48 std::string ToString() const in ToString()
68 std::string fileName_;
75 bool OutPut(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode);
78 bool Reset(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode);
82 virtual bool ResolveDirectory(const std::string &targetDirectory) = 0;
88 std::string GetFileParentPath(const std::string &outDir) const;
90 std::string PackageToFilePath(const std::string &packageName) const;
92 std::string EmitMethodCmdID(const AutoPtr<ASTMethod> &method);
94 virtual void EmitInterfaceMethodCommands(StringBuilder &sb, const std::string &prefix);
[all …]
/drivers/hdf_core/framework/tools/hdi-gen/util/
Dstring_helper.h20 static std::vector<std::string> Split(std::string sources, const std::string &limit);
22 static bool StartWith(const std::string &value, char prefix);
24 static bool StartWith(const std::string &value, const std::string &prefix);
26 static bool EndWith(const std::string &value, char suffix);
28 static bool EndWith(const std::string &value, const std::string &suffix);
30 static std::string Replace(const std::string &value, char oldChar, char newChar);
32 …static std::string Replace(const std::string &value, const std::string &oldstr, const std::string
34 static std::string Replace(
35 … const std::string &value, size_t position, const std::string &substr, const std::string &newstr);
37 …static std::string Replace(const std::string &value, size_t position, size_t len, const std::strin…
[all …]

12345678910>>...28