Home
last modified time | relevance | path

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

12345

/hardware/intel/common/libva/test/common/
Dva_display.c59 get_display_name(int argc, char *argv[]) in get_display_name() argument
64 for (i = 1; i < argc; i++) { in get_display_name()
69 if (++i < argc) { in get_display_name()
88 sanitize_args(int *argc, char *argv[]) in sanitize_args() argument
91 int i, n = *argc; in sanitize_args()
98 *argc = out_args - argv; in sanitize_args()
102 va_init_display_args(int *argc, char *argv[]) in va_init_display_args() argument
106 display_name = get_display_name(*argc, argv); in va_init_display_args()
113 sanitize_args(argc, argv); in va_init_display_args()
/hardware/ti/omap4xxx/security/smc_pa_ctrl/
Dsmc_pa_ctrl.c74 int main(int argc, char *argv[]) in main() argument
91 argc --; in main()
93 while (argc != 0) in main()
108 argc --; in main()
111 if (argc <= 0) in main()
140 argc --; in main()
143 if (argc <= 0) in main()
173 argc --; in main()
/hardware/ti/omap4-aah/security/smc_pa_ctrl/
Dsmc_pa_ctrl.c74 int main(int argc, char *argv[]) in main() argument
91 argc --; in main()
93 while (argc != 0) in main()
108 argc --; in main()
111 if (argc <= 0) in main()
140 argc --; in main()
143 if (argc <= 0) in main()
173 argc --; in main()
/hardware/ril/rild/
Drild.c119 int main(int argc, char **argv) in main() argument
132 RLOGD("**RILd param count=%d**", argc); in main()
135 for (i = 1; i < argc ;) { in main()
136 if (0 == strcmp(argv[i], "-l") && (argc - i > 1)) { in main()
143 } else if (0 == strcmp(argv[i], "-c") && (argc - i > 1)) { in main()
268 argc = 3; in main()
298 argc = argc -i + 1; in main()
304 argc = make_argv(args, rilArgv); in main()
307 rilArgv[argc++] = "-c"; in main()
308 rilArgv[argc++] = clientId; in main()
[all …]
Dradiooptions.c64 static int error_check(int argc, char * argv[]) { in error_check() argument
65 if (argc < 2) { in error_check()
71 } else if ((option == DIAL_CALL || option == SETUP_PDP) && argc == 5) { in error_check()
73 } else if ((option != DIAL_CALL && option != SETUP_PDP) && argc == 4) { in error_check()
88 int main(int argc, char *argv[]) in main() argument
97 if(error_check(argc, argv)) { in main()
/hardware/qcom/audio/legacy/libalsa-intf/
Damix.c51 int main(int argc, char **argv) in main() argument
65 if (argc == 1) { in main()
72 argc -= 2; in main()
80 if (argc) { in main()
82 r = mixer_ctl_set_value(ctl, argc, argv); in main()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c751 int argc; in dhd_sd_blocksize() local
757 for (argc = 0; argv[argc]; argc++); in dhd_sd_blocksize()
758 argc--; in dhd_sd_blocksize()
760 if (argc < 1 || argc > 2) { in dhd_sd_blocksize()
771 if (argc > 1) { in dhd_sd_blocksize()
779 if (argc == 1) { in dhd_sd_blocksize()
795 int argc; in dhd_sd_mode() local
799 for (argc = 0; argv[argc]; argc++); in dhd_sd_mode()
800 argc--; in dhd_sd_mode()
835 int argc; in dhd_dma_mode() local
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dexample_xma.c76 int main(int argc, char **argv) { in main() argument
89 for (i = 1; i < argc; i++) { in main()
91 if (i + 1 < argc) { in main()
110 if (i + 1 < argc) { in main()
115 if (i + 1 < argc) { in main()
125 if (argc == 1) in main()
Dresize_util.c41 int main(int argc, char *argv[]) { in main() argument
50 if (argc < 5) { in main()
81 if (argc >= 6) in main()
Ddecode_with_partial_drops.c195 int main(int argc, char **argv) { in main() argument
211 if(argc < 4 || argc > 6) in main()
217 if (argc == 6 && strncmp(argv[arg_num++], "-t", 2) == 0) in main()
Dsimple_decoder.c100 int main(int argc, char **argv) { in main() argument
110 if (argc != 3) in main()
Dsimple_encoder.c149 int main(int argc, char **argv) { in main() argument
174 if (argc < 7) in main()
221 cfg.g_error_resilient = argc > 7 ? strtol(argv[7], NULL, 0) : 0; in main()
Dpostproc.c62 int main(int argc, char **argv) { in main() argument
73 if (argc != 3) in main()
/hardware/libhardware/tests/camera2/
Dmain.cpp24 int main(int argc, char **argv) { in main() argument
26 bool printUsage = !TestSettings::ParseArgs(argc, argv); in main()
28 ::testing::InitGoogleTest(&argc, argv); in main()
/hardware/ti/omap3/dspbridge/dspexec/
Ddspexec.c97 INT main(INT argc, CHAR * argv[]) in main() argument
111 while ((opt = getopt(argc, argv, "+T+v+w+?p:")) != EOF) { in main()
141 argc -= cArgc + 1; in main()
167 status = DSPProcessor_Load(hProc,argc,(CONST CHAR **)argv,NULL); in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
Dgtest_main.cc34 GTEST_API_ int main(int argc, char **argv) { in main() argument
36 testing::InitGoogleTest(&argc, argv); in main()
/hardware/intel/common/libva/test/decode/
Dloadjpeg.c111 int main(int argc, char *argv[]) in main() argument
118 va_init_display_args(&argc, argv); in main()
120 if (argc < 2) in main()
Dmpeg2vldemo.cpp139 int main(int argc,char **argv) in main() argument
153 va_init_display_args(&argc, argv); in main()
155 if (argc > 1) in main()
/hardware/akm/AK8975_FS/akmdfs/
Dmain.c100 int argc, in OptParse() argument
128 while ((opt = getopt(argc, argv, "sm:z:")) != -1) { in OptParse()
197 int main(int argc, char **argv) in main() argument
219 if (OptParse(argc, argv, &pat) == 0) { in main()
/hardware/intel/img/libdrm/tests/modeprint/
Dmodeprint.c305 void args(int argc, char **argv) in args() argument
320 for (i = 2; i < argc; i++) { in args()
355 if (argc == 2) { in args()
367 int main(int argc, char **argv) in main() argument
372 if (argc == 1) { in main()
377 args(argc, argv); in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dtest_libvpx.cc33 int main(int argc, char **argv) { in main() argument
34 ::testing::InitGoogleTest(&argc, argv); in main()
/hardware/ti/omap3/dspbridge/inc/
DDSPManager.h71 extern DBAPI DspManager_Open(UINT argc, PVOID argp);
86 extern DBAPI DspManager_Close(UINT argc, PVOID argp);
/hardware/ti/omap3/dspbridge/libbridge/inc/
DDSPManager.h71 extern DBAPI DspManager_Open(UINT argc, PVOID argp);
86 extern DBAPI DspManager_Close(UINT argc, PVOID argp);
/hardware/ti/omap4xxx/security/tf_daemon/
Ddelegation_client.c1179 int delegation_main(int argc, char* argv[]) in delegation_main() argument
1181 int main(int argc, char* argv[]) in delegation_main()
1202 argc--; in delegation_main()
1204 while (argc != 0) in delegation_main()
1214 argc--; in delegation_main()
1216 if (argc == 0) in delegation_main()
1234 argc--; in delegation_main()
1236 if (argc == 0) in delegation_main()
1276 argc--; in delegation_main()
1278 if (argc == 0) in delegation_main()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dargs.c94 char **argv_dup(int argc, const char **argv) { in argv_dup() argument
95 char **new_argv = malloc((argc + 1) * sizeof(*argv)); in argv_dup()
97 memcpy(new_argv, argv, argc * sizeof(*argv)); in argv_dup()
98 new_argv[argc] = NULL; in argv_dup()

12345