/haiku/src/system/libroot/os/ |
H A D | image.cpp | 44 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 D | debug_utils.cpp | 94 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 D | exec.cpp | 26 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 D | TeamDebugger.cpp | 138 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 D | exec.cpp | 71 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 D | team.cpp | 236 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 D | team.h | 68 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 D | libroot_private.h | 34 const char* const* env, int32* envCount, const char* executablePath,
|
/haiku/headers/private/system/ |
H A D | syscalls.h | 145 size_t flatArgsSize, int32 argCount, int32 envCount, 155 size_t flatArgsSize, int32 argCount, int32 envCount,
|
/haiku/src/kits/tracker/ |
H A D | FSUtils.cpp | 3589 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()
|