Home
last modified time | relevance | path

Searched refs:envCount (Results 1 – 10 of 10) sorted by relevance

/haiku/src/system/libroot/os/
H A Dimage.cpp44 void Init(const char* path, const char* const* env, size_t envCount) in Init()
55 _Init(fd.Get(), kEnvAttribute, info.size, env, envCount); in Init()
90 const char* const* env, size_t envCount) in _Init()
141 fEntries[fEntryCount].index = _FindEnvEntry(env, envCount, out, in _Init()
161 int32 _FindEnvEntry(const char* const* env, size_t envCount, in _FindEnvEntry()
164 for (size_t i = 0; i < envCount; i++) { in _FindEnvEntry()
208 int32 envCount = 0; in __load_image_at_path() local
229 while (environ[envCount] != NULL) in __load_image_at_path()
230 envCount++; in __load_image_at_path()
235 &envCount, path, &flatArgs, &flatArgsSize); in __load_image_at_path()
[all …]
/haiku/src/bin/debug/
H A Ddebug_utils.cpp94 int32 envCount = 0; in load_program() local
95 while (environ[envCount] != NULL) in load_program()
96 envCount++; in load_program()
101 error = __flatten_process_args(mutableArgs, argCount, environ, &envCount, in load_program()
107 thread = _kern_load_image(flatArgs, flatArgsSize, argCount, envCount, in load_program()
/haiku/src/bin/debug/strace/
H A Dexec.cpp26 int32 argCount, envCount; in GetParameterValue() local
49 envCount = context.ReadValue<int32>(param); in GetParameterValue()
66 flatArgs += sizeof(void *) * (argCount + envCount + 2); in GetParameterValue()
82 for (int32 i = 0; i < envCount && flatArgs < flatArgsEnd; i++) { in GetParameterValue()
/haiku/src/kits/debug/
H A DTeamDebugger.cpp138 int32 envCount = 0; in _LoadProgram() local
139 while (environ[envCount] != NULL) in _LoadProgram()
140 envCount++; in _LoadProgram()
145 error = __flatten_process_args(mutableArgs, argCount, environ, &envCount, in _LoadProgram()
151 thread = _kern_load_image(flatArgs, flatArgsSize, argCount, envCount, in _LoadProgram()
/haiku/src/system/libroot/posix/unistd/
H A Dexec.cpp71 int32 envCount = 0; in do_exec() local
73 while (environment[envCount] != NULL) { in do_exec()
74 envCount++; in do_exec()
111 environment, &envCount, path, &flatArgs, &flatArgsSize); in do_exec()
114 __set_errno(_kern_exec(path, flatArgs, flatArgsSize, argCount, envCount, in do_exec()
/haiku/src/system/kernel/
H A Dteam.cpp236 int32 envCount, const char* const* env) in ExecTeam() argument
261 (void)envCount; in ExecTeam()
1467 int32 argCount, int32 envCount, char**& _flatArgs) in copy_user_process_args() argument
1469 if (argCount < 0 || envCount < 0) in copy_user_process_args()
1474 if ((argCount + envCount + 2) * sizeof(char*) > flatArgsSize) in copy_user_process_args()
1492 const char* stringBase = (char*)flatArgs + argCount + envCount + 2; in copy_user_process_args()
1494 for (int32 i = 0; i < argCount + envCount + 2; i++) { in copy_user_process_args()
1495 if (i == argCount || i == argCount + envCount + 1) { in copy_user_process_args()
1537 size_t flatArgsSize, int32 argCount, int32 envCount, mode_t umask, in create_team_arg() argument
1554 teamArg->env_count = envCount; in create_team_arg()
[all …]
/haiku/headers/private/kernel/
H A Dteam.h68 int32 argCount, int32 envCount, int32 priority, uint32 flags,
76 size_t flatArgsSize, int32 argCount, int32 envCount, mode_t umask);
/haiku/headers/private/libroot/
H A Dlibroot_private.h34 const char* const* env, int32* envCount, const char* executablePath,
/haiku/headers/private/system/
H A Dsyscalls.h145 size_t flatArgsSize, int32 argCount, int32 envCount,
155 size_t flatArgsSize, int32 argCount, int32 envCount,
/haiku/src/kits/tracker/
H A DFSUtils.cpp3589 int32 envCount = 0; in LoaderErrorDetails() local
3590 while (environ[envCount] != NULL) in LoaderErrorDetails()
3591 envCount++; in LoaderErrorDetails()
3596 environ, &envCount, argv[0], &flatArgs, &flatArgsSize); in LoaderErrorDetails()
3600 result = _kern_load_image(flatArgs, flatArgsSize, 1, envCount, in LoaderErrorDetails()