Lines Matching defs:name

34  * looks for a script name related to the executable name and runs that script
190 * The version name can be longer than MAX_VERSION_SIZE, but will be
379 /* display just the executable name. This is
381 const wchar_t *name = wcsrchr(ip->executable, L'\\');
382 if (name) {
383 wcscpy_s(ip->exe_display, MAX_PATH, name+1);
388 * the display name */
692 * This code should store the name of the wrapped script in
708 error(RC_NO_SCRIPT, L"Wrapper name '%ls' is not valid.", wrapped_script_path);
900 static wchar_t * skip_prefix(wchar_t * name)
903 wchar_t * result = name;
909 if (_wcsnicmp(p, name, n) == 0) {
925 static COMMAND * find_on_path(wchar_t * name)
935 wcscpy_s(path_command.key, MAX_PATH, name);
936 if (wcschr(name, L'.') != NULL) {
938 len = SearchPathW(NULL, name, NULL, MSGSIZE, path_command.value, NULL);
949 len = SearchPathW(NULL, name, extension, MSGSIZE, path_command.value, NULL);
964 static COMMAND * find_command(wchar_t * name)
971 if (_wcsicmp(cp->key, name) == 0) {
978 result = find_on_path(name);
984 update_command(COMMAND * cp, wchar_t * name, wchar_t * cmdline)
986 wcsncpy_s(cp->key, MAX_PATH, name, _TRUNCATE);
991 add_command(wchar_t * name, wchar_t * cmdline)
994 debug(L"can't add %ls = '%ls': no room\n", name, cmdline);
999 update_command(cp, name, cmdline);
1500 if (result == NULL) /* when, for example, just exe name on command line */
1703 error(0, L"Failed to get module name");
1811 error(RC_NO_MEMORY, L"Failed to copy module name");
1839 error(RC_NO_MEMORY, L"Failed to copy module name");
1879 * Put the script name into argv as the first (script name) argument.
1882 /* Get the wrapped script name - if the script is not present, this will