Lines Matching refs:argv
90 main(int argc, char **argv)
99 pgmname = argv[0];
100 gDebug = (NULL != strstr(argv[0], "debug"));
120 if (strcmp(argv[1], "all") == 0) {
128 else if (strcmp(argv[1], "spin") == 0) {
132 else if (strcmp(argv[1], "mutex") == 0) {
136 else if (strcmp(argv[1], "rw") == 0) {
143 if (strcmp(argv[1], lockgroup_info[i].lockgroup_name) == 0) {
159 if (sscanf(argv[2], "%d", &arg2) != 1) {
166 if (strcmp(argv[1], "all") == 0) {
179 else if (strcmp(argv[1], "spin") == 0) {
188 else if (strcmp(argv[1], "mutex") == 0) {
197 else if (strcmp(argv[1], "rw") == 0) {
210 if (strcmp(argv[1], lockgroup_info[i].lockgroup_name) == 0) {
229 if (strcmp(argv[3], "abs") != 0)
231 if (sscanf(argv[2], "%d", &arg2) != 1)
233 if (strcmp(argv[1], "all") == 0) {
245 else if (strcmp(argv[1], "spin") == 0) {
251 else if (strcmp(argv[1], "mutex") == 0) {
258 else if (strcmp(argv[1], "rw") == 0) {
268 if (strcmp(argv[1], lockgroup_info[i].lockgroup_name) == 0) {