Home
last modified time | relevance | path

Searched refs:main_options (Results 1 – 4 of 4) sorted by relevance

/xen/tools/misc/
A Dxen-diag.c60 } main_options[] = { variable
81 for ( i = 0; i < ARRAY_SIZE(main_options); i++ ) in main()
82 if ( !strncmp(main_options[i].name, argv[1], strlen(argv[1])) ) in main()
85 if ( i == ARRAY_SIZE(main_options) ) in main()
99 ret = main_options[i].function(argc - 2, argv + 2); in main()
A Dxen-hptool.c364 } main_options[] = { variable
393 for ( i = 0; i < ARRAY_SIZE(main_options); i++ ) in main()
394 if (!strncmp(main_options[i].name, argv[1], strlen(argv[1]))) in main()
396 if ( i == ARRAY_SIZE(main_options) ) in main()
403 ret = main_options[i].function(argc -2, argv + 2); in main()
A Dxen-livepatch.c552 } main_options[] = { variable
574 for ( i = 0; i < ARRAY_SIZE(main_options); i++ ) in main()
575 if (!strncmp(main_options[i].name, argv[1], strlen(argv[1]))) in main()
578 if ( i == ARRAY_SIZE(main_options) ) in main()
599 if ( i == ARRAY_SIZE(main_options) ) in main()
602 ret = main_options[i].function(argc -2, argv + 2); in main()
A Dxenpm.c1222 } main_options[] = { variable
1249 int matches_main_options[ARRAY_SIZE(main_options)]; in main()
1276 for ( i = 0; i < ARRAY_SIZE(main_options); i++ ) in main()
1277 if ( !strncmp(main_options[i].name, argv[1], strlen(argv[1])) ) in main()
1284 fprintf(stderr, " %s", main_options[matches_main_options[i]].name); in main()
1290 main_options[matches_main_options[0]].function(argc - 2, argv + 2); in main()

Completed in 7 milliseconds