Home
last modified time | relevance | path

Searched refs:str (Results 1 – 13 of 13) sorted by relevance

/ide/tools/previewer/util/windows/
DStringHelper.cpp21 std::string StringHelper::StringToUtf8(const std::string& str) in StringToUtf8() argument
24 int nwLen = ::MultiByteToWideChar(CP_ACP, 0, str.c_str(), -1, NULL, 0); in StringToUtf8()
27 return str; in StringToUtf8()
31 ::MultiByteToWideChar(CP_ACP, 0, str.c_str(), str.length(), pwBuf, nwLen); in StringToUtf8()
36 return str; in StringToUtf8()
49 std::string StringHelper::Utf8ToString(const std::string& str) in Utf8ToString() argument
52 int nwLen = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), -1, NULL, 0); in Utf8ToString()
55 return str; in Utf8ToString()
62 return str; in Utf8ToString()
64 MultiByteToWideChar(CP_UTF8, 0, str.c_str(), str.length(), pwBuf, nwLen); in Utf8ToString()
[all …]
DClipboardHelper.cpp44 string str(p); in GetClipboardData() local
45 data = str; in GetClipboardData()
48 StringHelper::Encode encode = StringHelper::DetectEncode((uint8_t*)str.c_str(), str.size()); in GetClipboardData()
/ide/tools/previewer/mock/lite/
DVirtualMessageImpl.cpp41 std::vector<char> VirtualMessageImpl::StringToCharVector(string str) const in StringToCharVector()
43 vector<char> vec(str.begin(), str.end()); in StringToCharVector()
DVirtualMessageImpl.h42 std::vector<char> StringToCharVector(std::string str) const;
/ide/tools/previewer/util/linux/
DClipboardX11.cpp22 void ClipboardX11::SetClipboardData(const string& str) in SetClipboardData() argument
33 SetCopyData(selection, str, strlen(str.c_str())); in SetClipboardData()
107 string str(data); in GetPasteType() local
108 retStr = str; in GetPasteType()
DClipboardX11.h24 void SetClipboardData(const std::string& str);
/ide/tools/previewer/util/
DStringHelper.h88 static std::string StringToUtf8(const std::string& str);
89 static std::string Utf8ToString(const std::string& str);
DTraceTool.cpp57 *(GetInstance().socket) << osStream.str(); in SendTraceData()
/ide/tools/previewer/util/unix/
DLocalSocket.cpp107 string str((const char*)data); in WriteData() local
108 ssize_t writeSize = send(socketHandle, str.c_str(), length, 0); in WriteData()
/ide/tools/previewer/automock/mock-generate/src/common/
DcommonUtils.ts196 export function firstCharacterToUppercase(str: string): string {
197 return str.slice(0, 1).toUpperCase() + str.slice(1);
/ide/tools/previewer/cli/
DCommandLine.cpp101 uint8_t CommandLine::ToUint8(std::string str) const in ToUint8()
103 int value = atoi(str.data()); in ToUint8()
814 std::vector<char> DistributedCommunicationsCommand::StringToCharVector(string str) const in StringToCharVector()
816 vector<char> vec(str.begin(), str.end()); in StringToCharVector()
1104 std::string str = JsAppImpl::GetInstance().GetJSONTree(); in RunAction() local
1105 if (str == "null") { in RunAction()
1106 str = "{\"children\":\"empty json tree\"}"; in RunAction()
1108 SetCommandResult("result", str); in RunAction()
1120 std::string str = JsAppImpl::GetInstance().GetDefaultJSONTree(); in RunAction() local
1121 SetCommandResult("result", str); in RunAction()
DCommandLine.h37 uint8_t ToUint8(std::string str) const;
300 std::vector<char> StringToCharVector(std::string str) const;
/ide/tools/previewer/automock/mock-generate/
D.eslintrc74 "no-multi-str": 2,