Lines Matching defs:path

73 	char	*path;
221 ExecTeam(const char* path, int32 argCount, const char* const* args,
227 fPath = alloc_tracing_buffer_strcpy(path, B_PATH_NAME_LENGTH,
762 Team::SetArgs(const char* path, const char* const* otherArgs, int otherArgCount)
765 strlcpy(fArgs, path, sizeof(fArgs));
1431 free(teamArg->path);
1438 create_team_arg(struct team_arg** _teamArg, const char* path, char** flatArgs,
1446 teamArg->path = strdup(path);
1447 if (teamArg->path == NULL) {
1469 team_create_thread_start_determine_arch(Team* team, const char* path,
1478 // Open the target executable, with a path relative to the team's cwd
1500 fd = _kern_open(dirfd, path, O_RDONLY, 0);
1532 const char* path;
1568 path = teamArgs->path;
1570 if (user_strlcpy(programArgs->program_path, path,
1588 TRACE(("team_create_thread_start: loading elf binary '%s'\n", path));
1595 err = team_create_thread_start_determine_arch(team, path, &archResult);
1607 team->SetArgs(path, teamArgs->flat_args + 1, argCount - 1);
1618 // find runtime_loader path
1679 const char* path = flatArgs[0];
1682 "\n", path, flatArgs, argCount));
1684 // cut the path from the main thread name
1685 const char* threadName = strrchr(path, '/');
1689 threadName = path;
1699 Team* team = Team::Create(mainThread->id, path, false);
1744 update_set_id_user_and_group(team, path);
1746 status = create_team_arg(&teamArgs, path, flatArgs, flatArgsSize, argCount,
1870 exec_team(const char* path, char**& _flatArgs, size_t flatArgsSize,
1881 TRACE(("exec_team(path = \"%s\", argc = %" B_PRId32 ", envCount = %"
1882 B_PRId32 "): team %" B_PRId32 "\n", path, argCount, envCount,
1885 T(ExecTeam(path, argCount, flatArgs, envCount, flatArgs + argCount + 1));
1920 status_t status = create_team_arg(&teamArgs, path, flatArgs, flatArgsSize,
1959 team->SetName(path);
1962 // cut the path from the team name and rename the main thread, too
1963 threadName = strrchr(path, '/');
1967 threadName = path;
1974 update_set_id_user_and_group(team, path);
3864 char path[B_PATH_NAME_LENGTH];
3867 || user_strlcpy(path, userPath, sizeof(path)) < B_OK)
3876 error = exec_team(path, flatArgs, _ALIGN(flatArgsSize), argCount,