Searched refs:programArgs (Results 1 – 5 of 5) sorted by relevance
/haiku/src/tests/add-ons/accelerants/intel_extreme/ |
H A D | intel_reg.cpp | 51 const char *const *programArgs = NULL; in main() local 69 programArgs = argv + argi; in main() 80 if (strcmp(programArgs[0], "read") == 0) { in main() 82 const char *arg = programArgs[1]; in main() 85 count = strtol(programArgs[2], (char **)NULL, 10); in main() 89 programArgs += 2; in main() 95 } else if (strcmp(programArgs[0], "write") == 0) { in main() 100 programArgs++; in main() 117 const char* arg = programArgs[0]; in main() 119 programArgs++; in main() [all …]
|
/haiku/src/bin/debug/scheduling_recorder/ |
H A D | scheduling_recorder.cpp | 103 void Run(const char* const* programArgs, int programArgCount) in Run() argument 108 threadID = load_program(programArgs, programArgCount, in Run() 112 programArgs[0], strerror(threadID)); in Run() 356 const char* const* programArgs = argv + optind; in main() local 365 recorder.Run(programArgs, programArgCount); in main()
|
/haiku/src/bin/debug/profile/ |
H A D | profile.cpp | 656 profile_all(const char* const* programArgs, int programArgCount) in profile_all() argument 661 threadID = load_program(programArgs, programArgCount, in profile_all() 665 programArgs[0], strerror(threadID)); in profile_all() 862 profile_single(const char* const* programArgs, int programArgCount) in profile_single() argument 865 thread_id threadID = load_program(programArgs, programArgCount, in profile_single() 869 programArgs[0], strerror(threadID)); in profile_single() 1111 const char* const* programArgs = argv + optind; in main() local 1115 profile_all(programArgs, programArgCount); in main() 1119 profile_single(programArgs, programArgCount); in main()
|
/haiku/src/bin/debug/strace/ |
H A D | strace.cpp | 563 const char *const *programArgs = NULL; in main() local 738 programArgs = argv + argi; in main() 745 if (!programArgs) in main() 763 || !get_id(*programArgs, (traceTeam ? teamID : threadID))) { in main() 765 threadID = load_program(programArgs, programArgCount, traceLoading); in main() 768 programArgs[0], strerror(threadID)); in main()
|
/haiku/src/system/kernel/ |
H A D | team.cpp | 1585 struct user_space_program_args* programArgs; in team_create_thread_start_internal() local 1612 programArgs = (struct user_space_program_args*)(thread->user_stack_base in team_create_thread_start_internal() 1615 userArgs = (char**)(programArgs + 1); in team_create_thread_start_internal() 1619 if (user_strlcpy(programArgs->program_path, path, in team_create_thread_start_internal() 1620 sizeof(programArgs->program_path)) < B_OK in team_create_thread_start_internal() 1621 || user_memcpy(&programArgs->arg_count, &argCount, sizeof(int32)) < B_OK in team_create_thread_start_internal() 1622 || user_memcpy(&programArgs->args, &userArgs, sizeof(char**)) < B_OK in team_create_thread_start_internal() 1623 || user_memcpy(&programArgs->env_count, &envCount, sizeof(int32)) < B_OK in team_create_thread_start_internal() 1624 || user_memcpy(&programArgs->env, &userEnv, sizeof(char**)) < B_OK in team_create_thread_start_internal() 1625 || user_memcpy(&programArgs->error_port, &teamArgs->error_port, in team_create_thread_start_internal() [all …]
|