Lines Matching refs:strcmp
272 while (*try) if (!strcmp(s, *try++)) return 1;
362 expand_arg(&pp->arg, arg->v[j], NO_PATH|(NO_SPLIT*!strcmp(ss, "<<<")), 0);
374 if ((!strcmp(s, "<&") || !strcmp(s, ">&")) && !strcmp(sss, "-")) {
398 if (!strcmp(s, "<<<") || !strcmp(s, "<<-") || !strcmp(s, "<<")) {
429 if (!strcmp(ss, "<>")) fd = O_CREAT|O_RDWR;
433 if (!strcmp(ss, ">") && (TT.options&SH_NOCLOBBER)) {
720 if (strcmp(line, arg->v[arg->c])) {
747 if (strcmp(s, "<<") && strcmp(s, "<<-") && strcmp(s, "<<<")) continue;
833 if (!strcmp(s, ";")) {
845 if (arg->c>1 && !strcmp(s, "(")) pl->type = 'f';
847 if (arg->c == 2 && strcmp(s, "(")) goto flush;
849 if (strcmp(s, ")")) goto flush;
877 if (!strcmp(ex, "{")) {
878 if (strcmp(s, "{")) goto flush;
887 if (strcmp(s, "do")) {
891 else if (strcmp(s, "in")) goto flush;
901 if (!strcmp(s, "for") || !strcmp(s, "select")) {
909 if (!strcmp(s, "if")) end = "then";
910 else if (!strcmp(s, "while") || !strcmp(s, "until")) end = "do\0B";
911 else if (!strcmp(s, "case")) end = "esac";
912 else if (!strcmp(s, "{")) end = "}";
913 else if (!strcmp(s, "[[")) end = "]]";
914 else if (!strcmp(s, "(")) end = ")";
930 } else if (!strcmp(s, ex)) {
932 if (last && (strcmp(ex, "then") || strcmp(last, "&"))) {
942 if (!strcmp(s, "do")) end = "done";
943 else if (!strcmp(s, "then")) end = "fi\0A";
946 } else if (!strcmp(ex, "fi")) {
947 if (!strcmp(s, "elif")) {
951 } else if (!strcmp(s, "else")) {
1051 if (!strcmp(s, "break") || !strcmp(s, "continue")) {
1111 if (!strcmp(s, "for") || !strcmp(s, "select")) {
1140 if (!strcmp(s, "then")) blk->run = blk->run && !toys.exitval;
1141 else if (!strcmp(s, "else") || !strcmp(s, "elif")) blk->run = !blk->run;
1142 else if (!strcmp(s, "do")) {
1144 if (!strcmp(ss, "while")) blk->run = blk->run && !toys.exitval;
1145 else if (!strcmp(ss, "until")) blk->run = blk->run && toys.exitval;
1160 if (blk->run && !strcmp(s, "done")) {