Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 5 of 5) sorted by relevance

/hardware/ril/rild/
Dradiooptions.c55 static int error_check(int argc, char * argv[]) { in error_check() argument
56 if (argc < 2) { in error_check()
62 } else if ((option == DIAL_CALL || option == SETUP_PDP) && argc == 3) { in error_check()
64 } else if ((option != DIAL_CALL && option != SETUP_PDP) && argc == 2) { in error_check()
79 int main(int argc, char *argv[]) in main() argument
84 if(error_check(argc, argv)) { in main()
Drild.c99 int main(int argc, char **argv) in main() argument
111 for (i = 1; i < argc ;) { in main()
112 if (0 == strcmp(argv[i], "-l") && (argc - i > 1)) { in main()
229 argc = 3; in main()
259 argc = argc -i + 1; in main()
265 argc = make_argv(args, rilArgv); in main()
271 funcs = rilInit(&s_rilEnv, argc, rilArgv); in main()
/hardware/libhardware_legacy/tests/gpstest/
Dgpstest.cpp89 int main(int argc, char *argv[]) in main() argument
93 if (argc >= 2) { in main()
/hardware/ril/reference-ril/
Dreference-ril.c2073 const RIL_RadioFunctions *RIL_Init(const struct RIL_Env *env, int argc, char **argv) argument
2082 while ( -1 != (opt = getopt(argc, argv, "p:d:s:"))) {
2122 int main (int argc, char **argv) argument
2128 while ( -1 != (opt = getopt(argc, argv, "p:d:"))) {
/hardware/ril/include/telephony/
Dril.h3371 const RIL_RadioFunctions *RIL_Init(const struct RIL_Env *env, int argc, char **argv);