Home
last modified time | relevance | path

Searched refs:Win32UnicodeString (Results 1 – 14 of 14) sorted by relevance

/hardware/google/aemu/base/
DWin32UnicodeString.cpp26 Win32UnicodeString::Win32UnicodeString() : mStr(nullptr), mSize(0u) {} in Win32UnicodeString() function in android::base::Win32UnicodeString
28 Win32UnicodeString::Win32UnicodeString(const char* str, size_t len) in Win32UnicodeString() function in android::base::Win32UnicodeString
33 Win32UnicodeString::Win32UnicodeString(const char* str) in Win32UnicodeString() function in android::base::Win32UnicodeString
38 Win32UnicodeString::Win32UnicodeString(const std::string& str) in Win32UnicodeString() function in android::base::Win32UnicodeString
43 Win32UnicodeString::Win32UnicodeString(size_t size) : mStr(nullptr), mSize(0u) { in Win32UnicodeString() function in android::base::Win32UnicodeString
47 Win32UnicodeString::Win32UnicodeString(const wchar_t* str) in Win32UnicodeString() function in android::base::Win32UnicodeString
54 Win32UnicodeString::Win32UnicodeString(const Win32UnicodeString& other) in Win32UnicodeString() function in android::base::Win32UnicodeString
60 Win32UnicodeString::~Win32UnicodeString() { in ~Win32UnicodeString()
64 Win32UnicodeString& Win32UnicodeString::operator=( in operator =()
65 const Win32UnicodeString& other) { in operator =()
[all …]
DWin32UnicodeString_unittest.cpp24 TEST(Win32UnicodeString, DefaultConstructor) { in TEST() argument
25 Win32UnicodeString str; in TEST()
31 TEST(Win32UnicodeString, Constructors) { in TEST() argument
44 Win32UnicodeString str1(kData[n].utf8); in TEST()
48 Win32UnicodeString str2(kData[n].utf8, strlen(kData[n].utf8)); in TEST()
53 Win32UnicodeString str3(baseStr); in TEST()
58 Win32UnicodeString str4(kData[n].utf16); in TEST()
62 Win32UnicodeString str5 = str4; in TEST()
66 Win32UnicodeString str6("foo"); in TEST()
73 TEST(Win32UnicodeString, convertToUtf8) { in TEST() argument
[all …]
DSharedMemory_win32.cpp30 const Win32UnicodeString srcUri(name); in SharedMemory()
35 const Win32UnicodeString destPath(path); in SharedMemory()
75 const Win32UnicodeString name(mName); in openInternal()
146 const Win32UnicodeString name(mName); in close()
DSystem.cpp59 using android::base::Win32UnicodeString;
62 Win32UnicodeString win32Path(const char* path) { in win32Path()
63 Win32UnicodeString wpath(path); in win32Path()
150 Win32UnicodeString varname_unicode(key); in getEnvironmentVariable()
155 return Win32UnicodeString::convertToUtf8(value); in getEnvironmentVariable()
171 _wputenv(Win32UnicodeString(envStr).release()); in setEnvironmentVariable()
360 Win32UnicodeString appDir(PATH_MAX); in getProgramDirectoryFromPlatform()
537 const Win32UnicodeString pathWide(path); in queryFileVersionInfo()
DThread_win32.cpp55 Win32UnicodeString name(mNameOpt->c_str()); in start()
70 Win32UnicodeString errorMessage(e.ErrorMessage()); in start()
DBUILD.bazel79 "Win32UnicodeString.cpp",
DPathUtils.cpp372 Win32UnicodeString win32Path(const char* path) { in win32Path()
373 Win32UnicodeString wpath(path); in win32Path()
DCMakeLists.txt50 Win32UnicodeString.cpp)
/hardware/google/aemu/base/include/aemu/base/system/
DWin32UnicodeString.h38 class Win32UnicodeString {
41 Win32UnicodeString();
46 Win32UnicodeString(const char* str, size_t len);
49 explicit Win32UnicodeString(const char* str);
50 explicit Win32UnicodeString(const std::string& str);
54 explicit Win32UnicodeString(size_t size);
57 explicit Win32UnicodeString(const wchar_t* str);
60 Win32UnicodeString(const Win32UnicodeString& other);
63 ~Win32UnicodeString();
66 Win32UnicodeString& operator=(const Win32UnicodeString& other);
[all …]
/hardware/google/aemu/base/testing/
Dfile_io.cpp33 using android::base::Win32UnicodeString;
41 _w ## func(Win32UnicodeString(str1).c_str() , ##__VA_ARGS__)
43 _w ## func(Win32UnicodeString(str1).c_str(), \
44 Win32UnicodeString(str2).c_str() , ##__VA_ARGS__)
52 Win32UnicodeString wmode(mode); in android_fopen()
54 Win32UnicodeString wpath(normalized); in android_fopen()
95 return _wstati64(Win32UnicodeString(path).c_str(),buf); in android_stat()
117 return _wmkdir(Win32UnicodeString(path).c_str()); in android_mkdir()
130 Win32UnicodeString unipath(path); in android_creat()
148 return !RemoveDirectoryW(Win32UnicodeString(path).c_str()); in android_rmdir()
[all …]
/hardware/google/gfxstream/host/gl/gl-host-common/opengl/
DNativeGpuInfo_windows.cpp36 using android::base::Win32UnicodeString;
160 gpu->version = Win32UnicodeString::convertToUtf8(strVal, strLen); in load_gpu_registry_info()
176 Win32UnicodeString::convertToUtf8(ptr, len)); in load_gpu_registry_info()
317 gpu.model = Win32UnicodeString::convertToUtf8(device.DeviceString); in getGpuInfoListNative()
319 Win32UnicodeString::convertToUtf8(device.DeviceID), gpus); in getGpuInfoListNative()
324 if (startsWith(Win32UnicodeString::convertToUtf8(device.DeviceKey), in getGpuInfoListNative()
/hardware/google/aemu/base/include/aemu/base/files/
DPathUtils.h349 static Win32UnicodeString asUnicodePath(const char* path) { return Win32UnicodeString(path); } in asUnicodePath()
/hardware/google/aemu/build-config/gfxstream/
DCMakeLists.txt41 Win32UnicodeString.cpp)
/hardware/google/gfxstream/host/tests/
DVulkan_unittest.cpp40 using android::base::Win32UnicodeString;