Searched refs:flatArgs (Results 1 - 9 of 9) sorted by relevance

/haiku/src/bin/debug/strace/
H A Dexec.cpp27 char *flatArgs, *flatArgsEnd; local
51 flatArgs = new (std::nothrow) char[flatArgsSize + 1];
52 if (flatArgs == NULL)
55 flatArgsDeleter.SetTo(flatArgs);
58 flatArgsEnd = flatArgs + flatArgsSize;
61 err = context.Reader().Read(*(void **)address, flatArgs, flatArgsSize,
66 flatArgs += sizeof(void *) * (argCount + envCount + 2);
70 for (int32 i = 0; i < argCount && flatArgs < flatArgsEnd; i++) {
73 size_t currentLen = strlen(flatArgs);
75 r += flatArgs;
[all...]
/haiku/src/kits/debug/
H A DTeamDebugger.cpp143 char** flatArgs = NULL; local
146 mutableArgs[0], &flatArgs, &flatArgsSize);
151 thread = _kern_load_image(flatArgs, flatArgsSize, argCount, envCount,
154 free(flatArgs);
/haiku/src/bin/debug/
H A Ddebug_utils.cpp99 char** flatArgs = NULL; local
102 mutableArgs[0], &flatArgs, &flatArgsSize);
107 thread = _kern_load_image(flatArgs, flatArgsSize, argCount, envCount,
110 free(flatArgs);
/haiku/src/system/libroot/posix/unistd/
H A Dexec.cpp108 char** flatArgs = NULL; local
111 environment, &envCount, path, &flatArgs, &flatArgsSize);
114 __set_errno(_kern_exec(path, flatArgs, flatArgsSize, argCount, envCount,
118 free(flatArgs);
/haiku/headers/private/kernel/
H A Dteam.h67 thread_id _user_load_image(const char* const* flatArgs, size_t flatArgsSize,
75 status_t _user_exec(const char *path, const char* const* flatArgs,
/haiku/src/system/libroot/os/
H A Dimage.cpp232 char** flatArgs = NULL; local
235 &envCount, path, &flatArgs, &flatArgsSize);
238 thread = _kern_load_image(flatArgs, flatArgsSize, argCount, envCount,
241 free(flatArgs);
514 char** flatArgs = (char**)malloc(size); local
515 if (flatArgs == NULL)
518 char** slot = flatArgs;
519 char* stringSpace = (char*)(flatArgs + totalSlotCount);
542 *_flatArgs = flatArgs;
543 *_flatSize = stringSpace - (char*)flatArgs;
[all...]
/haiku/src/system/kernel/
H A Dteam.cpp1481 char** flatArgs = (char**)malloc(_ALIGN(flatArgsSize)); local
1482 if (flatArgs == NULL)
1485 if (user_memcpy(flatArgs, userFlatArgs, flatArgsSize) != B_OK) {
1486 free(flatArgs);
1492 const char* stringBase = (char*)flatArgs + argCount + envCount + 2;
1493 const char* stringEnd = (char*)flatArgs + flatArgsSize;
1497 if (flatArgs[i] != NULL) {
1503 char* arg = (char*)flatArgs + (flatArgs[i] - (char*)userFlatArgs);
1511 flatArgs[
1536 create_team_arg(struct team_arg** _teamArg, const char* path, char** flatArgs, size_t flatArgsSize, int32 argCount, int32 envCount, mode_t umask, port_id port, uint32 token) argument
1734 char** flatArgs = _flatArgs; local
1964 char** flatArgs = _flatArgs; local
3798 char** flatArgs = (char**)malloc(size); local
4021 char** flatArgs; local
4325 char** flatArgs; local
[all...]
/haiku/headers/private/system/
H A Dsyscalls.h144 extern thread_id _kern_load_image(const char* const* flatArgs,
154 extern status_t _kern_exec(const char *path, const char* const* flatArgs,
/haiku/src/kits/tracker/
H A DFSUtils.cpp3537 char** flatArgs = NULL; local
3540 environ, &envCount, argv[0], &flatArgs, &flatArgsSize);
3544 result = _kern_load_image(flatArgs, flatArgsSize, 1, envCount,

Completed in 84 milliseconds