Home | History | Annotate | Download | only in squashfs-tools

Lines Matching defs:args

213 		for(i = 0; i < expr->atom.test->args; i++)
272 int token, args = 0;
277 for (i = 0; test_table[i].args != -1; i++)
283 if (test->args == -1) {
332 argv = realloc(argv, (args + 1) * sizeof(char *));
336 argv[args ++ ] = strdup(string);
355 if(test->args != -2 && args != test->args) {
357 "got %d\n", test->args, args);
361 expr->atom.args = args;
449 int i, token, args = 0;
465 for (i = 0; action_table[i].args != -1; i++)
469 if (action_table[i].args == -1) {
503 argv = realloc(argv, (args + 1) * sizeof(char *));
507 argv[args ++] = strdup(string);
526 if(action->args != -2 && args != action->args) {
528 "got %d\n", action->args, args);
533 int res = action->parse_args(action, args, argv, &data);
590 (*spec_list)[spec_count].args = args;
679 if(atom->args) {
681 for(i = 0; i < atom->args; i++) {
683 if (i + 1 < atom->args)
768 if(action->args) {
770 for (n = 0; n < action->args; n++) {
772 if(n + 1 < action->args)
1096 static int parse_uid_args(struct action_entry *action, int args, char **argv,
1117 static int parse_gid_args(struct action_entry *action, int args, char **argv,
1138 static int parse_guid_args(struct action_entry *action, int args, char **argv,
1194 static int parse_octal_mode_args(int args, char **argv,
1215 if (args > 1) {
1217 "expected one argument, got %d\n", args);
1377 static int parse_sym_mode_args(struct action_entry *action, int args,
1383 for (i = 0; i < args && res; i++)
1392 static int parse_mode_args(struct action_entry *action, int args,
1397 if (args == 0) {
1402 res = parse_octal_mode_args(args, argv, data);
1407 return parse_sym_mode_args(action, args, argv, data);
1475 static int parse_empty_args(struct action_entry *action, int args,
1481 if (args >= 2) {
1486 if (args == 0 || strcmp(argv[0], "all") == 0)
3060 if(atom->args == 0) {
3081 res = parse_octal_mode_args(atom->args, atom->argv, (void **) &head);
3084 for(i = 0; i < atom->args && res; i++, arg = atom->argv[i])
3146 if(expr->atom.args) {
3148 for(i = 0; i < expr->atom.args; i++) {
3150 if (i + 1 < expr->atom.args)
3174 if (spec_list[i].args) {
3178 for (n = 0; n < spec_list[i].args; n++) {
3180 if (n + 1 < spec_list[i].args)