/third_party/boost/libs/nowide/src/ |
D | cstdio.cpp | 43 const wstackstring wname(file_name); in freopen() local 45 return _wfreopen(wname.get(), wmode.get(), stream); in freopen() 52 const wstackstring wname(file_name); in fopen() local 54 return _wfopen(wname.get(), wmode.get()); in fopen() 69 const wstackstring wname(name); in remove() local 70 return _wremove(wname.get()); in remove()
|
/third_party/glib/glib/ |
D | genviron.c | 456 wchar_t dummy[2], *wname, *wvalue; in g_getenv() local 472 wname = g_utf8_to_utf16 (variable, -1, NULL, NULL, NULL); in g_getenv() 474 len = GetEnvironmentVariableW (wname, dummy, 2); in g_getenv() 478 g_free (wname); in g_getenv() 490 if (GetEnvironmentVariableW (wname, wvalue, len) != len - 1) in g_getenv() 492 g_free (wname); in g_getenv() 519 g_free (wname); in g_getenv() 534 wchar_t *wname, *wvalue, *wassignment; in g_setenv() local 560 wname = g_utf8_to_utf16 (variable, -1, NULL, NULL, NULL); in g_setenv() 569 retval = (SetEnvironmentVariableW (wname, wvalue) != 0); in g_setenv() [all …]
|
D | gwin32.c | 709 wchar_t *wname; in g_win32_locale_filename_from_utf8() local 711 wname = g_utf8_to_utf16 (utf8filename, -1, NULL, NULL, NULL); in g_win32_locale_filename_from_utf8() 713 if (wname == NULL) in g_win32_locale_filename_from_utf8() 716 retval = special_wchar_to_locale_encoding (wname); in g_win32_locale_filename_from_utf8() 723 if (GetShortPathNameW (wname, wshortname, G_N_ELEMENTS (wshortname))) in g_win32_locale_filename_from_utf8() 727 g_free (wname); in g_win32_locale_filename_from_utf8()
|
/third_party/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek01.c | 26 char *wname; member 50 tc->off, tc->wname); in verify_lseek() 56 TFILE, tc->off, tc->wname, TST_RET, tc->exp_off); in verify_lseek() 64 TFILE, tc->off, tc->wname); in verify_lseek() 67 TFILE, tc->off, tc->wname); in verify_lseek()
|
/third_party/boost/libs/log/src/windows/ |
D | ipc_reliable_message_queue.cpp | 219 const std::wstring wname = boost::log::aux::utf8_to_utf16(name.c_str()); in implementation() local 221 m_shared_memory.create(wname.c_str(), shmem_size, perms); in implementation() 224 create_queue(wname, capacity, block_size, perms); in implementation() 242 const std::wstring wname = boost::log::aux::utf8_to_utf16(name.c_str()); in implementation() local 244 const bool created = m_shared_memory.create_or_open(wname.c_str(), shmem_size, perms); in implementation() 248 create_queue(wname, capacity, block_size, perms); in implementation() 250 adopt_queue(wname, m_shared_memory.size(), perms); in implementation() 266 const std::wstring wname = boost::log::aux::utf8_to_utf16(name.c_str()); in implementation() local 267 m_shared_memory.open(wname.c_str()); in implementation() 270 adopt_queue(wname, m_shared_memory.size(), perms); in implementation()
|
/third_party/libuv/src/win/ |
D | getaddrinfo.c | 401 wchar_t wname[NDIS_IF_MAX_STRING_SIZE + 1]; /* Add one for the NUL. */ in uv_if_indextoname() local 413 r = ConvertInterfaceLuidToNameW(&luid, wname, ARRAY_SIZE(wname)); in uv_if_indextoname() 419 bufsize = WideCharToMultiByte(CP_UTF8, 0, wname, -1, NULL, 0, NULL, NULL); in uv_if_indextoname() 431 wname, in uv_if_indextoname()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | thread.cpp | 342 wchar_t wname[1024]; in setName() local 343 mbstowcs(wname, name, 1024); in setName() 344 setThreadDescription(GetCurrentThread(), wname); in setName()
|
/third_party/python/Python/ |
D | fileutils.c | 1884 wchar_t *wname; in _Py_wgetcwd() 1889 wname = Py_DecodeLocale(fname, &len); in _Py_wgetcwd() 1890 if (wname == NULL) in _Py_wgetcwd() 1894 PyMem_RawFree(wname); in _Py_wgetcwd() 1897 wcsncpy(buf, wname, buflen); in _Py_wgetcwd() 1898 PyMem_RawFree(wname); in _Py_wgetcwd()
|
D | initconfig.c | 1007 wchar_t *wname, char *name, in config_get_env_dup() argument 1019 const wchar_t *var = _wgetenv(wname); in config_get_env_dup()
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfssecaudit.c | 870 char *wname; in printname() local 873 wname = (char*)malloc(strlen(name) + 1); in printname() 874 if (wname) { in printname() 875 strcpy(wname, name); in printname() 876 for (p=wname; *p; p++) in printname() 879 fprintf(file,"%s", wname); in printname() 880 free(wname); in printname()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
D | pngvalid.c | 796 char wname[FILE_NAME_SIZE]; member 980 safecat(pf->name, sizeof pf->name, 0, ps->wname); in store_storefile() 1026 pos = safecat(buffer, bufsize, pos, ps->wname); in store_message() 1859 ps->current->name : "unknown file") : ps->wname); in store_pool_delete() 1885 ps->current->name : "unknown file") : ps->wname); in store_pool_delete() 2034 safecat(ps->wname, sizeof ps->wname, 0, name); in set_store_for_write() 4150 pos = safecat(copy, sizeof copy, 0, ps->wname); in make_transform_image() 4370 pos = safecat(copy, sizeof copy, 0, ps->wname); in make_size_image()
|
/third_party/libpng/contrib/libtests/ |
D | pngvalid.c | 796 char wname[FILE_NAME_SIZE]; member 980 safecat(pf->name, sizeof pf->name, 0, ps->wname); in store_storefile() 1026 pos = safecat(buffer, bufsize, pos, ps->wname); in store_message() 1859 ps->current->name : "unknown file") : ps->wname); in store_pool_delete() 1885 ps->current->name : "unknown file") : ps->wname); in store_pool_delete() 2034 safecat(ps->wname, sizeof ps->wname, 0, name); in set_store_for_write() 4150 pos = safecat(copy, sizeof copy, 0, ps->wname); in make_transform_image() 4370 pos = safecat(copy, sizeof copy, 0, ps->wname); in make_size_image()
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/ |
D | pngvalid.c | 796 char wname[FILE_NAME_SIZE]; member 980 safecat(pf->name, sizeof pf->name, 0, ps->wname); in store_storefile() 1026 pos = safecat(buffer, bufsize, pos, ps->wname); in store_message() 1859 ps->current->name : "unknown file") : ps->wname); in store_pool_delete() 1885 ps->current->name : "unknown file") : ps->wname); in store_pool_delete() 2034 safecat(ps->wname, sizeof ps->wname, 0, name); in set_store_for_write() 4150 pos = safecat(copy, sizeof copy, 0, ps->wname); in make_transform_image() 4370 pos = safecat(copy, sizeof copy, 0, ps->wname); in make_size_image()
|
/third_party/python/Objects/ |
D | unicodeobject.c | 16030 wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL); in config_get_codec_name() local 16032 if (wname == NULL) { in config_get_codec_name() 16036 wchar_t *raw_wname = _PyMem_RawWcsdup(wname); in config_get_codec_name() 16038 PyMem_Free(wname); in config_get_codec_name() 16046 PyMem_Free(wname); in config_get_codec_name()
|