Searched refs:argc (Results 1 - 25 of 852) sorted by relevance

1234567891011>>

/haiku/src/bin/package/
H A Dpackage.h11 int command_add(int argc, const char* const* argv);
12 int command_checksum(int argc, const char* const* argv);
13 int command_create(int argc, const char* const* argv);
14 int command_dump(int argc, const char* const* argv);
15 int command_extract(int argc, const char* const* argv);
16 int command_info(int argc, const char* const* argv);
17 int command_list(int argc, const char* const* argv);
18 int command_recompress(int argc, const char* const* argv);
H A Dpackage.cpp140 main(int argc, const char* const* argv) argument
142 if (argc < 2)
147 return command_add(argc - 1, argv + 1);
150 return command_checksum(argc - 1, argv + 1);
153 return command_create(argc - 1, argv + 1);
156 return command_dump(argc - 1, argv + 1);
159 return command_extract(argc - 1, argv + 1);
162 return command_list(argc - 1, argv + 1);
165 return command_info(argc - 1, argv + 1);
168 return command_recompress(argc
[all...]
/haiku/src/bin/package_repo/
H A Dpackage_repo.h11 int command_create(int argc, const char* const* argv);
12 int command_list(int argc, const char* const* argv);
13 int command_update(int argc, const char* const* argv);
H A Dpackage_repo.cpp62 main(int argc, const char* const* argv) argument
64 if (argc < 2)
69 return command_create(argc - 1, argv + 1);
72 return command_list(argc - 1, argv + 1);
75 return command_update(argc - 1, argv + 1);
/haiku/src/bin/makeudfimage/
H A Dmakeudfimage.cpp15 int main(int argc, char *argv[]) argument
18 shell.Run(argc, argv);
/haiku/src/bin/unzip/
H A Dbeosmain.cpp32 extern "C" int main_stub( int argc, char *argv[] );
34 int main( int argc, char **argv ) argument
38 return main_stub( argc, argv );
/haiku/src/bin/
H A Dbeep.cpp16 main(int argc, char* argv[]) argument
19 if (argc > 2
20 || (argc == 2 && argv[1][0] == '-')) {
29 if (argc == 1)
H A Dwaitfor.cpp25 main(int argc, char** argv) argument
27 if (argc == 2) {
32 } else if (argc == 3 && strcmp(argv[1], "-e") == 0) {
37 } else if (argc == 3 && strcmp(argv[1], "-m") == 0) {
H A Dsystem_time.cpp15 main(int argc, char* argv[]) argument
H A Dtty.c28 main(int argc, char *argv[]) argument
31 if (argc > 2)
37 if (argc == 2) {
/haiku/src/system/kernel/debug/
H A Dgdb.h12 int cmd_gdb(int argc, char** argv);
/haiku/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dargv.h10 char **build_argv(char *str, int *argc);
/haiku/src/tools/bfs_shell/
H A Dcommand_checkfs.h15 fssh_status_t command_checkfs(int argc, const char* const* argv);
/haiku/src/tools/fs_shell/
H A Dcommand_cp.h15 fssh_status_t command_cp(int argc, const char* const* argv);
/haiku/src/apps/haikudepot/
H A Dmain.cpp13 main(int argc, char* argv[]) argument
/haiku/src/system/glue/
H A Dstart_dyn.c16 extern int main(int argc, char **argv, char **env);
17 extern void _init_c_library_(int argc, char **argv, char **env);
20 int _start(int argc, char **argv, char **env);
31 _start(int argc, char **argv, char **environment) argument
41 _init_c_library_(argc, argv, environment);
45 returnCode = main(argc, argv, environment);
/haiku/src/apps/icon-o-matic/
H A Dmain.cpp12 main(int argc, char** argv) argument
/haiku/src/apps/launchbox/
H A Dmain.cpp15 main(int argc, char** argv) argument
/haiku/src/apps/terminal/
H A DShellParameters.cpp12 ShellParameters::ShellParameters(int argc, const char* const* argv, argument
16 fArgumentCount(argc),
24 ShellParameters::SetArguments(int argc, const char* const* argv) argument
27 fArgumentCount = argc;
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DKernelDebug.h12 static int DebugUFS(int argc, char** argv);
13 static int DebugPortPool(int argc, char** argv);
14 static int DebugPort(int argc, char** argv);
/haiku/src/tests/apps/miniterminal/
H A DArguments.h16 void Parse(int argc, const char *const *argv);
21 void GetShellArguments(int &argc, const char *const *&argv) const;
24 void _SetShellArguments(int argc, const char *const *argv);
H A DArguments.cpp65 Arguments::Parse(int argc, const char *const *argv) argument
68 while (argi < argc) {
78 if (argi + 1 >= argc
89 if (argi + 1 >= argc
100 if (argi >= argc)
113 _SetShellArguments(argc - argi + 1, argv + argi - 1);
114 argi = argc;
122 Arguments::GetShellArguments(int &argc, const char *const *&argv) const argument
124 argc = fShellArgumentCount;
130 Arguments::_SetShellArguments(int argc, cons argument
[all...]
/haiku/src/tests/servers/app/workspace_switcher/
H A Dworkspace_switcher.cpp16 main(int argc, char** argv) argument
20 if (argc == 1) {
30 for (int i = 1; i < argc; i++) {
/haiku/src/bin/media_client/
H A Dmedia_client.cpp23 int main(int argc, char *argv[]) argument
25 if (argc < 2) {
35 if (argc < 3) {
/haiku/src/tests/kits/midi/synth_file_reader/
H A Dmain.cpp40 int main(int argc, char* argv[]) { argument
41 if (argc < 2) {
46 bool play = argc >= 3 ? strcmp(argv[2], "play") == 0 : false;
47 bool dump = argc >= 3 ? strcmp(argv[2], "dump") == 0 : false;
48 uint32 instr = argc >= 4 ? atol(argv[3]) : 0xffff;

Completed in 261 milliseconds

1234567891011>>