Home
last modified time | relevance | path

Searched refs:operator (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/tools/perf/pmu-events/
H A Dmetric.py93 # Simple lookup for operator precedence, used to avoid unnecessary
113 """Represents a binary operator in the parse tree."""
115 def __init__(self, operator: str, lhs: Union[int, float, Expression],
117 self.operator = operator
127 If ``other`` is an operator then a bracket is necessary when
128 this/self operator has higher precedence. Consider: '(a + b) * c',
137 other (Expression): is a lhs or rhs operator
145 if _PRECEDENCE.get(self.operator, -1) > _PRECEDENCE.get(
146 other.operator,
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_dynevent.c276 * argument separated by an operator, which can be whitespace, all
281 * followed by an operator, if applicable, followd by the rhs string,
286 * The cmd strings, operator, and separator should be set using the
305 arg_pair->operator, arg_pair->rhs, in dynevent_arg_pair_add()
309 arg_pair->operator, arg_pair->rhs, in dynevent_arg_pair_add()
396 * @operator: An (optional) operator, appended after adding the first arg
403 * right-hand-side argument separated by an operator, which can be
406 * the optional @operator is appended, followed by the second arg and
411 char operator, cha in dynevent_arg_pair_init()
410 dynevent_arg_pair_init(struct dynevent_arg_pair *arg_pair, char operator, char separator) dynevent_arg_pair_init() argument
[all...]
H A Dtrace_dynevent.h140 char operator; /* e.g. '=' or nothing */ member
145 char operator, char separator);
H A Dtrace_events_hist.c131 enum field_op_id operator; member
1499 if (field->operator == FIELD_OP_UNARY_MINUS) { in expr_str()
1518 switch (field->operator) { in expr_str()
2156 /* String type can not be the operand of unary operator. */ in parse_unary()
2169 expr->operator = FIELD_OP_UNARY_MINUS; in parse_unary()
2310 expr->operator = field_op; in parse_expr()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_dynevent.c320 * argument separated by an operator, which can be whitespace, all
325 * followed by an operator, if applicable, followed by the rhs string,
330 * The cmd strings, operator, and separator should be set using the
349 arg_pair->operator, arg_pair->rhs, in dynevent_arg_pair_add()
353 arg_pair->operator, arg_pair->rhs, in dynevent_arg_pair_add()
440 * @operator: An (optional) operator, appended after adding the first arg
447 * right-hand-side argument separated by an operator, which can be
450 * the optional @operator is appended, followed by the second arg and
455 char operator, cha in dynevent_arg_pair_init()
454 dynevent_arg_pair_init(struct dynevent_arg_pair *arg_pair, char operator, char separator) dynevent_arg_pair_init() argument
[all...]
H A Dtrace_dynevent.h142 char operator; /* e.g. '=' or nothing */ member
147 char operator, char separator);
H A Dtrace_events_hist.c174 enum field_op_id operator; member
1771 if (field->operator == FIELD_OP_UNARY_MINUS) { in expr_str()
1790 switch (field->operator) { in expr_str()
1814 * If field_op != FIELD_OP_NONE, *sep points to the root operator
1841 * present, it is always the next root operator. in contains_operator()
2538 /* Unary minus operator, increment n_subexprs */ in parse_unary()
2589 /* String type can not be the operand of unary operator. */ in parse_unary()
2602 expr->operator = FIELD_OP_UNARY_MINUS; in parse_unary()
2686 /* Binary operator found, increment n_subexprs */ in parse_expr()
2689 /* Split the expression string at the root operator */ in parse_expr()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscript_asm.pl61 # Table of operator encodings
82 # Note : low bit of the operator bit should be set for add with
163 $operator = '\||OR|AND|\&|\+';
166 $operator = '\||OR|AND|XOR|\&|\+';
514 /^($register)\s+(-|$operator)\s+($value)\s*$/i) {
569 WITH CARRY option is incompatible with the $op operator.
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscript_asm.pl61 # Table of operator encodings
82 # Note : low bit of the operator bit should be set for add with
163 $operator = '\||OR|AND|\&|\+';
166 $operator = '\||OR|AND|XOR|\&|\+';
514 /^($register)\s+(-|$operator)\s+($value)\s*$/i) {
569 WITH CARRY option is incompatible with the $op operator.
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm.h114 u8 operator; member
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm.h115 u8 operator; member
/kernel/linux/linux-6.6/scripts/
H A Dcheckpatch.pl3915 my $operator = $1;
3917 "Assignment operator '$1' should be on the previous line\n" . $hereprev) &&
3919 # add assignment operator to the previous line, remove from current line
3920 $fixed[$fixlinenr - 1] .= " $operator";
3921 $fixed[$fixlinenr] =~ s/\Q$operator\E\s*//;
3927 my $operator = $1;
3931 # insert logical operator at last non-comment, non-whitepsace char on previous line
3934 $fixed[$fixlinenr - 1] =~ s/\Q$line_end\E$/ $operator$line_end/;
3935 $fixed[$fixlinenr] =~ s/\Q$operator\E\s*//;
5075 # Check operator spacin
[all...]

Completed in 24 milliseconds