• Home
  • Raw
  • Download

Lines Matching refs:wchar_t

57 static wchar_t *
58 skip_whitespace(wchar_t * p) in skip_whitespace()
66 debug(wchar_t * format, ...) in debug()
78 winerror(int rc, wchar_t * message, int size) in winerror()
87 error(int rc, wchar_t * format, ... ) in error()
90 wchar_t message[MSGSIZE]; in error()
91 wchar_t win_message[MSGSIZE]; in error()
119 static wchar_t * get_env(wchar_t * key) in get_env()
122 static wchar_t buf[BUFSIZE]; in get_env()
127 wchar_t *buf2 = (wchar_t*)malloc(sizeof(wchar_t) * (result+1)); in get_env()
168 wchar_t version[MAX_VERSION_SIZE]; /* m.n */
170 wchar_t executable[MAX_PATH];
193 static wchar_t * location_checks[] = {
204 find_existing_python(wchar_t * path) in find_existing_python()
224 wchar_t message[MSGSIZE]; in locate_pythons_for_key()
230 wchar_t ip_version[IP_VERSION_SIZE]; in locate_pythons_for_key()
231 wchar_t ip_path[IP_SIZE]; in locate_pythons_for_key()
232 wchar_t * check; in locate_pythons_for_key()
233 wchar_t ** checkp; in locate_pythons_for_key()
234 wchar_t *key_name = (root == HKEY_LOCAL_MACHINE) ? L"HKLM" : L"HKCU"; in locate_pythons_for_key()
274 data_size = data_size / sizeof(wchar_t) - 1; /* for NUL */ in locate_pythons_for_key()
323 ip->executable, n * sizeof(wchar_t)); in locate_pythons_for_key()
388 find_python_by_version(wchar_t const * wanted_ver) in find_python_by_version()
419 static wchar_t *
422 static wchar_t venv_python[MAX_PATH]; in find_python_by_venv()
423 wchar_t *virtual_env = get_env(L"VIRTUAL_ENV"); in find_python_by_venv()
444 static wchar_t appdata_ini_path[MAX_PATH];
445 static wchar_t launcher_ini_path[MAX_PATH];
451 static wchar_t *
452 get_configured_value(wchar_t * key) in get_configured_value()
459 static wchar_t configured_value[MSGSIZE]; in get_configured_value()
460 wchar_t * result = NULL; in get_configured_value()
461 wchar_t * found_in = L"environment"; in get_configured_value()
497 locate_python(wchar_t * wanted_ver, BOOL from_shebang) in locate_python()
499 static wchar_t config_key [] = { L"pythonX" }; in locate_python()
500 static wchar_t * last_char = &config_key[sizeof(config_key) / in locate_python()
501 sizeof(wchar_t) - 2]; in locate_python()
504 wchar_t * configured_value; in locate_python()
562 static wchar_t wrapped_script_path[MAX_PATH];
573 wchar_t * p; in locate_wrapped_script()
630 run_child(wchar_t * cmdline) in run_child()
700 invoke_child(wchar_t * executable, wchar_t * suffix, wchar_t * cmdline) in invoke_child()
702 wchar_t * child_command; in invoke_child()
719 child_command = calloc(child_command_size, sizeof(wchar_t)); in invoke_child()
737 wchar_t *shebang;
754 wchar_t key[MAX_PATH];
755 wchar_t value[MSGSIZE];
763 static wchar_t * builtin_prefixes [] = {
774 static wchar_t * skip_prefix(wchar_t * name) in skip_prefix()
776 wchar_t ** pp = builtin_prefixes; in skip_prefix()
777 wchar_t * result = name; in skip_prefix()
778 wchar_t * p; in skip_prefix()
799 static COMMAND * find_on_path(wchar_t * name) in find_on_path()
801 wchar_t * pathext; in find_on_path()
803 wchar_t * context = NULL; in find_on_path()
804 wchar_t * extension; in find_on_path()
838 static COMMAND * find_command(wchar_t * name) in find_command()
858 update_command(COMMAND * cp, wchar_t * name, wchar_t * cmdline) in update_command()
865 add_command(wchar_t * name, wchar_t * cmdline) in add_command()
878 read_config_file(wchar_t * config_path) in read_config_file()
880 wchar_t keynames[MSGSIZE]; in read_config_file()
881 wchar_t value[MSGSIZE]; in read_config_file()
883 wchar_t * key; in read_config_file()
885 wchar_t * cmdp; in read_config_file()
921 parse_shebang(wchar_t * shebang_line, int nchars, wchar_t ** command, in parse_shebang()
922 wchar_t ** suffix, BOOL *search) in parse_shebang()
927 wchar_t * p; in parse_shebang()
928 wchar_t zapped; in parse_shebang()
929 wchar_t * endp = shebang_line + nchars - 1; in parse_shebang()
931 wchar_t * skipped; in parse_shebang()
1072 validate_version(wchar_t * p) in validate_version()
1122 wchar_t version[MAX_VERSION_SIZE];
1163 maybe_handle_shebang(wchar_t ** argv, wchar_t * cmdline) in maybe_handle_shebang()
1175 wchar_t shebang_line[BUFSIZE + 1]; in maybe_handle_shebang()
1185 wchar_t * command; in maybe_handle_shebang()
1186 wchar_t * suffix; in maybe_handle_shebang()
1251 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang()
1263 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang()
1278 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang()
1293 nchars = header_len / sizeof(wchar_t); in maybe_handle_shebang()
1354 static wchar_t *
1355 skip_me(wchar_t * cmdline) in skip_me()
1358 wchar_t c; in skip_me()
1359 wchar_t * result = cmdline; in skip_me()
1382 get_version_info(wchar_t * version_text, size_t size) in get_version_info()
1399 show_help_text(wchar_t ** argv) in show_help_text()
1401 wchar_t version_text [MAX_PATH]; in show_help_text()
1436 show_python_list(wchar_t ** argv) in show_python_list()
1445 wchar_t *p = argv[1]; in show_python_list()
1446 wchar_t *fmt = L"\n -%ls-%d"; /* print VER-BITS */ in show_python_list()
1447 wchar_t *defind = L" *"; /* Default indicator */ in show_python_list()
1516 static wchar_t *
1517 wcsdup_pad(const wchar_t *s, int padding, int *newlen) in wcsdup_pad()
1521 wchar_t *r = (wchar_t *)malloc(len * sizeof(wchar_t)); in wcsdup_pad()
1533 static wchar_t *
1538 wchar_t *r = NULL; in get_process_name()
1541 r = (wchar_t *)malloc(bufferLen * sizeof(wchar_t)); in get_process_name()
1563 process(int argc, wchar_t ** argv) in process()
1565 wchar_t * wp; in process()
1566 wchar_t * command; in process()
1567 wchar_t * executable; in process()
1568 wchar_t * p; in process()
1569 wchar_t * argv0; in process()
1574 wchar_t message[MSGSIZE]; in process()
1579 wchar_t * venv_cfg_path; in process()
1582 wchar_t * newcommand; in process()
1583 wchar_t * av[2]; in process()
1735 newcommand = malloc(sizeof(wchar_t) * newlen); in process()
1776 executable = (wchar_t *)malloc(cch * sizeof(wchar_t)); in process()
1882 int cdecl wmain(int argc, wchar_t ** argv) in wmain()