Searched refs:argv (Results 276 - 300 of 892) sorted by relevance

<<11121314151617181920>>

/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterApp.cpp91 SoftwareUpdaterApp::ArgvReceived(int32 argc, char **argv) argument
100 while ((c = getopt_long(argc, argv, "hv", kLongOptions, NULL)) != -1) {
126 command = argv[optind];
164 main(int argc, const char* const* argv) argument
/haiku/src/apps/pulse/
H A DPulseApp.h24 PulseApp(int argc, char **argv);
/haiku/src/bin/network/arp/
H A Darp.cpp350 main(int argc, char** argv) argument
352 if (argc > 1 && (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")))
358 if (argc > 1 && argv[1][0] == '-') {
359 if (!strcmp(argv[1], "-d")) {
365 } else if (!strcmp(argv[1], "-s")) {
371 } else if (!strcmp(argv[1], "-a")) {
377 } else if (!strcmp(argv[1], "-F")) {
385 } else if (!strcmp(argv[1], "-f")) {
391 return set_entries_from_file(argv[
[all...]
/haiku/src/tests/servers/input/replicant/
H A Dmain.cpp34 int main(int argc, char **argv) argument
/haiku/src/bin/debug/time_stats/
H A Dtime_stats.cpp50 main(int argc, const char* const* argv) argument
64 int c = getopt_long(argc, (char**)argv, "+b:ho:s", sLongOptions, NULL);
109 do_timing_analysis(argc - optind, argv + optind, schedulingAnalysis, outFD,
/haiku/src/bin/network/
H A Dwakeonlan.cpp12 main(int argc, char *argv[]) argument
15 printf("usage: %s <MAC address>\n", argv[0]);
20 if (sscanf(argv[1], "%2x%*c%2x%*c%2x%*c%2x%*c%2x%*c%2x", &mac[0], &mac[1],
/haiku/src/tests/kits/interface/pictureprint/
H A DDumpPrintJob.cpp22 int main(int argc, char* argv[]) { argument
29 const char* arg = argv[i];
81 printArguments(argv[0]);
/haiku/src/tests/system/kernel/swap/
H A Dswap_test_heap.cpp21 main(int argc, const char* const* argv) argument
26 allocationSize = atoi(argv[1]);
28 fprintf(stderr, "Usage: %s [ <size in MB> ]\n", argv[0]);
/haiku/src/bin/multiuser/
H A Dgroupadd.cpp44 main(int argc, const char* const* argv) argument
53 int c = getopt_long(argc, (char**)argv, "h", sLongOptions, NULL);
72 const char* group = argv[optind];
H A Dgroupdel.cpp42 main(int argc, const char* const* argv) argument
51 int c = getopt_long(argc, (char**)argv, "h", sLongOptions, NULL);
70 const char* group = argv[optind];
H A Duserdel.cpp42 main(int argc, const char* const* argv) argument
51 int c = getopt_long(argc, (char**)argv, "h", sLongOptions, NULL);
70 const char* user = argv[optind];
/haiku/src/bin/package/
H A Dcommand_info.cpp21 command_info(int argc, const char* const* argv) argument
33 int c = getopt_long(argc, (char**)argv, "f:h", sLongOptions, NULL);
52 const char* fileName = argv[optind++];
/haiku/src/apps/expander/
H A DExpanderApp.cpp25 ExpanderApp::ArgvReceived(int32 argc, char** argv) argument
30 status_t err = get_ref_for_path(argv[i], &ref);
65 main(int argc, char** argv) argument
/haiku/src/bin/
H A Dtrash.cpp154 int main(int argc, char **argv) argument
159 if (strstr(argv[0], "untrash") || strstr(argv[0], "restore"))
163 if (!strcmp(argv[1], "--help"))
165 if (!strcmp(argv[1], "--restore")) {
169 if (!dountrash && !strcmp(argv[1], "--empty")) {
181 if (dountrash && !strcmp(argv[i], "--all")) {
190 if (!strcmp(argv[i], "--list")) {
197 err = untrash(argv[i]);
199 fprintf(stderr, "%s: %s\n", argv[
[all...]
H A Diroster.cpp83 int main(int argc, char *argv[]) argument
93 name = argv[i];
101 printf("USAGE: %s [+|-]input_device_name\n", argv[0]);
/haiku/src/bin/pkgman/
H A Dcommand_refresh.cpp45 RefreshCommand::Execute(int argc, const char* const* argv) argument
54 int c = getopt_long(argc, (char**)argv, "hu", sLongOptions, NULL);
70 const char* const* repoArgs = argv + optind;
/haiku/src/tests/system/network/
H A Dgetpeername.cpp21 main(int argc, char** argv) argument
31 struct hostent* host = gethostbyname(argv[1]);
39 port = atol(argv[2]);
H A Dtcp_client.c21 main(int argc, char **argv) argument
36 port = atoi(argv[2]);
38 if ((he = gethostbyname(argv[1])) == NULL) {
H A Dudp_server.c39 main(int argc, char** argv) argument
46 printf("usage: %s <local-port>\n", argv[0]);
54 localAddr.sin_port = htons(atoi(argv[1]));
/haiku/src/tests/system/network/icmp/
H A Dudp_unreachable.cpp27 main(int argc, char** argv) argument
36 struct hostent* host = gethostbyname(argv[1]);
44 port = atol(argv[2]);
/haiku/src/tests/system/network/ipv6/
H A Draw_server.cpp50 main(int argc, char *argv[]) argument
55 if (!strcmp(argv[1], "-4"))
57 else if (!strcmp(argv[1], "-6"))
H A Draw_client.cpp20 main(int argc, char *argv[]) argument
25 if (!strcmp(argv[1], "-4"))
27 else if (!strcmp(argv[1], "-6"))
H A Dudp_server.cpp47 main(int argc, char *argv[]) argument
52 if (!strcmp(argv[1], "-4"))
54 else if (!strcmp(argv[1], "-6"))
H A Dudp_client.cpp20 main(int argc, char *argv[]) argument
25 if (!strcmp(argv[1], "-4"))
27 else if (!strcmp(argv[1], "-6"))
/haiku/src/bin/i2c/
H A Di2c.cpp81 main(int argc, char** argv) argument
84 while ((c = getopt_long(argc, argv, "h", kLongOptions, NULL)) != -1) {
99 const char* path = argv[optind++];

Completed in 94 milliseconds

<<11121314151617181920>>