Home
last modified time | relevance | path

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

/third_party/glib/glib/
Dgspawn-win32-helper.c72 wchar_t **wargv, in protect_wargv() argument
92 wchar_t *p = wargv[i]; in protect_wargv()
110 p = wargv[i]; in protect_wargv()
204 wchar_t **wargv; in WinMain() local
218 wargv = CommandLineToArgvW (GetCommandLineW(), &argc); in WinMain()
225 argv[i] = g_utf16_to_utf8(wargv[i], -1, NULL, NULL, NULL); in WinMain()
323 else if (_wchdir (wargv[ARG_WORKING_DIRECTORY]) < 0) in WinMain()
358 protect_wargv (argc - argv_zero_offset, wargv + argv_zero_offset, &new_wargv); in WinMain()
361 handle = _wspawnvp (mode, wargv[ARG_PROGRAM], (const wchar_t **) new_wargv); in WinMain()
363 handle = _wspawnv (mode, wargv[ARG_PROGRAM], (const wchar_t **) new_wargv); in WinMain()
[all …]
Dgspawn-win32.c453 wchar_t *wargv0, **wargv, **wenvp; in do_spawn_directly() local
468 if (!utf8_charv_to_wcharv (new_argv, &wargv, &conv_error_index, &conv_error)) in do_spawn_directly()
486 g_strfreev ((gchar **) wargv); in do_spawn_directly()
493 rc = _wspawnvpe (mode, wargv0, (const wchar_t **) wargv, (const wchar_t **) wenvp); in do_spawn_directly()
495 rc = _wspawnvp (mode, wargv0, (const wchar_t **) wargv); in do_spawn_directly()
498 rc = _wspawnve (mode, wargv0, (const wchar_t **) wargv, (const wchar_t **) wenvp); in do_spawn_directly()
500 rc = _wspawnv (mode, wargv0, (const wchar_t **) wargv); in do_spawn_directly()
505 g_strfreev ((gchar **) wargv); in do_spawn_directly()
566 wchar_t *whelper, **wargv, **wenvp; in fork_exec() local
749 …if (!utf8_charv_to_wcharv ((const gchar * const *) new_argv, &wargv, &conv_error_index, &conv_erro… in fork_exec()
[all …]
Dgoption.c1880 wchar_t **wargv; in platform_get_argv0()
1904 wargv = CommandLineToArgvW (cmdline, &wargc); in platform_get_argv0()
1905 if (G_UNLIKELY (wargv == NULL)) in platform_get_argv0()
1909 utf8_buf = g_utf16_to_utf8 (wargv[0], -1, NULL, NULL, NULL); in platform_get_argv0()
1911 LocalFree (wargv); in platform_get_argv0()
/third_party/boost/boost/nowide/
Dargs.hpp146 const wargv_ptr wargv;
147 if(!wargv)
149 args_.resize(wargv.size() + 1, 0);
150 arg_values_.resize(wargv.size());
151 for(int i = 0; i < wargv.size(); i++)
152 args_[i] = arg_values_[i].convert(wargv[i]);
153 argc = wargv.size();
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dunicode.h31 const W_CHAR** const wargv = \
34 if (wargv == NULL || wargc != (ARGC)) { \
41 #define GET_WARGV(UNUSED, C) wargv[C]
43 #define GET_WARGV_SHIFTED(UNUSED, C) wargv[(C) + 1]
44 #define GET_WARGV_OR_NULL() wargv
47 #define FREE_WARGV() LOCAL_FREE((W_CHAR** const)wargv)
Dwebpmux.c626 const char* const* wargv = in ParseCommandLine() local
705 config->output_ = wargv[i + 1]; in ParseCommandLine()
714 config->input_ = wargv[i + 1]; in ParseCommandLine()
733 config->input_ = wargv[i]; in ParseCommandLine()
758 arg->filename_ = wargv[i + 1]; in ParseCommandLine()
773 config->input_ = wargv[i]; in ParseCommandLine()
/third_party/skia/third_party/externals/libwebp/examples/
Dunicode.h31 const W_CHAR** const wargv = \
34 if (wargv == NULL || wargc != (ARGC)) { \
41 #define GET_WARGV(UNUSED, C) wargv[C]
43 #define GET_WARGV_SHIFTED(UNUSED, C) wargv[(C) + 1]
44 #define GET_WARGV_OR_NULL() wargv
47 #define FREE_WARGV() LOCAL_FREE((W_CHAR** const)wargv)
Dwebpmux.c629 const char* const* wargv = in ParseCommandLine() local
708 config->output_ = wargv[i + 1]; in ParseCommandLine()
717 config->input_ = wargv[i + 1]; in ParseCommandLine()
736 config->input_ = wargv[i]; in ParseCommandLine()
761 arg->filename_ = wargv[i + 1]; in ParseCommandLine()
783 config->input_ = wargv[i]; in ParseCommandLine()
/third_party/node/src/
Dnode_main.cc34 int wmain(int argc, wchar_t* wargv[]) { in wmain() argument
58 wargv[i], in wmain()
73 wargv[i], in wmain()
/third_party/python/Python/
Dpreconfig.c77 PyWideStringList wargv = _PyWideStringList_INIT; in _PyArgv_AsWstrList() local
80 wargv.items = (wchar_t **)PyMem_RawMalloc(size); in _PyArgv_AsWstrList()
81 if (wargv.items == NULL) { in _PyArgv_AsWstrList()
89 _PyWideStringList_Clear(&wargv); in _PyArgv_AsWstrList()
93 wargv.items[i] = arg; in _PyArgv_AsWstrList()
94 wargv.length++; in _PyArgv_AsWstrList()
98 *list = wargv; in _PyArgv_AsWstrList()
101 wargv.length = args->argc; in _PyArgv_AsWstrList()
102 wargv.items = (wchar_t **)args->wchar_argv; in _PyArgv_AsWstrList()
103 if (_PyWideStringList_Copy(list, &wargv) < 0) { in _PyArgv_AsWstrList()
/third_party/flutter/skia/third_party/externals/sdl/src/main/windows/
DSDL_windows_main.c178 console_wmain(int argc, wchar_t *wargv[], wchar_t *wenvp) in console_wmain() argument
185 argv[i] = WIN_StringToUTF8(wargv[i]); in console_wmain()
/third_party/sqlite/src/
Dshell.c22293 int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
22363 char *z = sqlite3_win32_unicode_to_utf8(wargv[i]);
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch90834 int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
90849 @@ -22310,11 +23101,12 @@ int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
90865 @@ -22356,16 +23148,16 @@ int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
90874 char *z = sqlite3_win32_unicode_to_utf8(wargv[i]);
90885 @@ -22415,7 +23207,7 @@ int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
90894 @@ -22571,7 +23363,9 @@ int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
90904 @@ -22837,6 +23631,9 @@ int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
90914 @@ -22863,5 +23660,136 @@ int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
128469 int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
128484 @@ -22310,11 +23101,12 @@ int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
[all …]