Lines Matching refs:opnd2
2932 test_eval(Test_env *te, Test_op op, const char *opnd1, const char *opnd2, in test_eval() argument
2960 if (!opnd2) { in test_eval()
3117 return (gmatchx(opnd1, opnd2, false)); in test_eval()
3118 return (strcmp(opnd1, opnd2) == 0); in test_eval()
3123 return (!gmatchx(opnd1, opnd2, false)); in test_eval()
3124 return (strcmp(opnd1, opnd2) != 0); in test_eval()
3128 return (strcmp(opnd1, opnd2) < 0); in test_eval()
3132 return (strcmp(opnd1, opnd2) > 0); in test_eval()
3147 !evaluate(opnd2, &v2, KSH_RETURN_ERROR, false)) { in test_eval()
3178 (((s = stat(opnd2, &b2)) == 0 && in test_eval()
3187 return (stat(opnd2, &b2) == 0 && in test_eval()
3193 return (stat (opnd1, &b1) == 0 && stat (opnd2, &b2) == 0 && in test_eval()
3254 const char *opnd1, *opnd2; in test_primary() local
3294 opnd2 = (*te->getopnd)(te, op, do_eval); in test_primary()
3295 if (!opnd2) { in test_primary()
3300 return ((*te->eval)(te, op, opnd1, opnd2, do_eval)); in test_primary()