Home
last modified time | relevance | path

Searched refs:Substring (Results 1 - 9 of 9) sorted by relevance

/foundation/ability/idl_tool/codegen/
H A Dcode_emitter.cpp39 interfaceName_.Substring(1) + "Proxy" : interfaceName_ + "Proxy"; in CodeEmitter()
42 interfaceName_.Substring(1) + "Stub" : interfaceName_ + "Stub"; in CodeEmitter()
45 interfaceName_.Substring(1) + "Recipient" : interfaceName_ + "Recipient"; in CodeEmitter()
H A Drust_code_emitter.cpp149 return fpnp.Substring(left, right + 1); in TrimDot()
163 String path = TrimDot(fpnp.Substring(0, pos + 1)); in GeneratePath()
164 String file = TrimDot(fpnp.Substring(pos)); in GeneratePath()
H A Dcpp_code_emitter.cpp121 String res = fpnp.Substring(0, pos + 1); in GetFilePath()
131 String res = fpnp.Substring(0, pos); in GetFilePathNoPoint()
141 String res = fpnp.Substring(pos + 2); in GetNamespace()
909 sb.AppendFormat("namespace %s {\n", nspace.Substring(0, index).string()); in EmitBeginNamespace()
910 nspace = nspace.Substring(index + 1); in EmitBeginNamespace()
918 nspace = nspace.Substring(0, nspace.GetLength() - 1); in EmitEndNamespace()
922 nspace.Substring(index + 1, nspace.GetLength()).string() : nspace.string()); in EmitEndNamespace()
923 nspace = nspace.Substring(0, index); in EmitEndNamespace()
H A Dts_code_emitter.cpp79 dependInterface.Substring(1) + "Stub" : dependInterface + "Stub"; in EmitInterfaceImports()
774 (EmitType(mt).Substring(0, EmitType(mt).GetLength() - 2)) : EmitType(mt); in EmitWriteArrayVariable()
891 (EmitType(mt).Substring(0, EmitType(mt).GetLength() - 2)) : EmitType(mt); in EmitReadArrayVariable()
933 (EmitType(mt).Substring(0, EmitType(mt).GetLength() - 2)) : EmitType(mt); in EmitReadOutArrayVariable()
1111 return String::Format("%c%s", tolower(name[0]), name.Substring(1).string()); in MethodName()
1139 return name.StartsWith("I") ? (name.Substring(1) + "Stub") : (name + "Stub"); in StubName()
/foundation/ability/idl_tool/util/
H A Dstring.h91 String Substring(int begin) const;
93 String Substring(int begin, int end) const;
H A Doptions.cpp120 printf("The Option \"%s\" is illegal.\n", options.Substring(0, index).string()); in ShowErrors()
121 options = options.Substring(index + 1); in ShowErrors()
H A Dstring.cpp486 String String::Substring(int begin) const in Substring() function in OHOS::String
495 String String::Substring(int begin, int end) const in Substring() function in OHOS::String
541 sb.Append(Substring(begin, index)); in Replace()
546 sb.Append(Substring(begin)); in Replace()
565 sb.Append(Substring(begin, index)); in Replace()
570 sb.Append(Substring(begin)); in Replace()
/foundation/ability/idl_tool/ast/
H A Dast_module.cpp56 name_ = idlFilePath_.Substring((index == -1) ? 0 : (index + 1), end); in SetIdlFile()
65 String ns = nspaceStr.Substring(begin, index); in ParseNamespace()
/foundation/ability/idl_tool/parser/
H A Dparser.cpp189 interface->SetName(interfaceFullName.Substring(index + 1)); in ParseInterfaceEnd()
190 interface->SetNamespace(module_->ParseNamespace(interfaceFullName.Substring(0, index + 1))); in ParseInterfaceEnd()
714 sequenceable->SetName(classFullName.Substring(index + 1)); in ParseSequenceable()
715 sequenceable->SetNamespace(module_->ParseNamespace(classFullName.Substring(0, index + 1))); in ParseSequenceable()
762 error->file_ = sourceFile.Substring(sourceFile.LastIndexOf('\\') + 1); in LogError()
764 error->file_ = sourceFile.Substring(sourceFile.LastIndexOf('/') + 1); in LogError()

Completed in 10 milliseconds