Lines Matching refs:strncmp
89 if (strncmp(argv[1], "list", strlen(argv[1])) == 0) in main()
91 else if (strncmp(argv[1], "add", strlen(argv[1])) == 0) in main()
93 else if (strncmp(argv[1], "delete", strlen(argv[1])) == 0) in main()
95 else if (strncmp(argv[1], "get", strlen(argv[1])) == 0) in main()
97 else if (strncmp(argv[1], "flush", strlen(argv[1])) == 0) in main()
99 else if (strncmp(argv[1], "version", strlen(argv[1])) == 0) in main()
101 else if (strncmp(argv[1], "help", strlen(argv[1])) == 0) in main()
103 else if (strncmp(argv[1], "restore", strlen(argv[1])) == 0) in main()
191 if (strncmp(argv[i], "reset", strlen(argv[i])) == 0) { in nfacct_cmd_list()
193 } else if (strncmp(argv[i], "xml", strlen(argv[i])) == 0) { in nfacct_cmd_list()
408 if (strncmp(argv[i], "reset", strlen(argv[i])) == 0) { in nfacct_cmd_get()
410 } else if (strncmp(argv[i], "xml", strlen(argv[i])) == 0) { in nfacct_cmd_get()