Lines Matching refs:op
249 static void syntax(const char *op, const char *msg) ATTRIBUTE_NORETURN;
250 static void syntax(const char *op, const char *msg)
252 if (op && *op) {
253 bb_error_msg("%s: %s", op, msg);
327 struct t_op const *op;
332 op = t_wp_op;
336 syntax(op->op_text, "argument expected");
338 if (is_int_op(op->op_num)) {
341 if (op->op_num == INTEQ)
343 if (op->op_num == INTNE)
345 if (op->op_num == INTGE)
347 if (op->op_num == INTGT)
349 if (op->op_num == INTLE)
351 if (op->op_num == INTLT)
354 if (is_str_op(op->op_num)) {
356 if (op->op_num == STREQ)
358 if (op->op_num == STRNE)
360 if (op->op_num == STRLT)
362 if (op->op_num == STRGT)
368 /* if (is_file_op(op->op_num)) */
374 if (op->op_num == FILNT)
376 if (op->op_num == FILOT)
378 if (op->op_num == FILEQ)
458 const struct t_op *op;
465 op = ops;
467 if (strcmp(s, op->op_text) == 0) {
468 t_wp_op = op;
469 return op->op_num;
471 op++;
472 } while (op < ops + ARRAY_SIZE(ops));