HomeSort by: relevance | last modified time | path
    Searched defs:expr (Results 1 - 21 of 21) sorted by relevancy

  /src/usr.bin/m4/
parser.y 46 top : expr { end_result = $1; }
48 expr : expr '+' expr { $$ = $1 + $3; } label
49 | expr '-' expr { $$ = $1 - $3; }
50 | expr '*' expr { $$ = $1 * $3; }
51 | expr '/' expr {
    [all...]
expr.c 1 /* $NetBSD: expr.c,v 1.21 2019/03/26 23:31:45 kre Exp $ */
2 /* $OpenBSD: expr.c,v 1.17 2006/01/20 23:10:19 espie Exp $ */
22 __RCSID("$NetBSD: expr.c,v 1.21 2019/03/26 23:31:45 kre Exp $");
39 fprintf(stderr, "m4:%s:%lu: %s in expr %s\n", infile[ilevel].name,
45 expr(const char *toeval) function in typeref:typename:int
  /src/bin/expr/
expr.y 1 /* $NetBSD: expr.y,v 1.55 2025/06/29 00:24:23 rillig Exp $ */
35 __RCSID("$NetBSD: expr.y,v 1.55 2025/06/29 00:24:23 rillig Exp $");
79 exp: expr {
85 expr: item label
86 | LPAREN expr RPAREN {
89 | expr SPEC_OR {
93 } expr {
98 | expr SPEC_AND {
102 } expr {
107 | expr COMPARE expr
    [all...]
  /src/usr.bin/ktrace/
ktrace.h 50 const char *expr; member in struct:ioctlinfo
  /src/usr.sbin/gspa/gspa/
gsp_gram.y 49 expr y_expr;
72 %type <y_expr> expr
81 | ID '=' expr { do_asg($1, $3, 0); }
97 | expr { $$ = expr_op($1); }
101 ea : '@' expr { $$ = abs_adr($2); }
107 | '*' REGISTER '(' expr ')'
111 expr : ID { $$ = id_expr($1); } label
114 | '(' expr ')' { $$ = $2; }
115 | '~' expr { $$ = bexpr('~', $2, NULL); }
116 | '-' expr %prec UMINU
    [all...]
gsp_ass.h 72 typedef struct expr { struct
76 struct expr *left;
77 struct expr *right;
82 } *expr; typedef in typeref:struct:expr *
99 expr value;
107 #define EXPR 2 /* expression operand */
128 operand abs_adr(expr);
130 expr bexpr(int, expr, expr);
    [all...]
  /src/sbin/wsconsctl/
map_parse.y 118 expr_list : expr
119 | expr_list expr
122 expr : keysym_expr label
  /src/lib/libc/stdlib/
strsuftoll.c 141 char *expr; local in function:__strsuftollx
156 num = strtoll(val, &expr, 10);
160 if (expr == val) /* No digits */
163 switch (*expr) {
169 ++expr;
176 ++expr;
183 ++expr;
190 ++expr;
197 ++expr;
204 ++expr;
    [all...]
  /src/usr.bin/make/unit-tests/
opt-jobs-internal.mk 10 @${MAKE} -f ${MAKEFILE} -j1 indirect-expr
13 @${MAKE} -f ${MAKEFILE} -j1 indirect-expr-empty
38 # expect: indirect-expr: mode=parallel
39 indirect-expr: .PHONY
59 # expect: indirect-expr-empty: mode=parallel
60 indirect-expr-empty: .PHONY
  /src/usr.bin/find/
operator.c 128 * replaces "parentheisized" plans in our search plan with "expr" nodes.
133 PLAN *expr; /* pointer to next expression */ local in function:paren_squish
143 while ((expr = yankexpr(&plan)) != NULL) {
148 if (expr->type == N_CLOSEPAREN)
153 tail = result = expr;
155 tail->next = expr;
156 tail = expr;
180 * the expr subplan.
238 * the expr subplan.
  /src/bin/ed/
re.c 61 static pattern_t *expr = NULL; local in function:get_compiled_pattern
71 if (!expr) seterrmsg("no previous pattern");
72 return expr;
76 if (expr && !patlock)
77 regfree(expr);
78 else if ((expr = (pattern_t *) malloc(sizeof(pattern_t))) == NULL) {
84 if ((n = regcomp(expr, exps, ere)) != 0) {
85 regerror(n, expr, errmsg, sizeof errmsg);
86 free(expr);
87 return expr = NULL
    [all...]
  /src/tests/lib/libcurses/director/
testlang_parse.y 200 %type <string> attributes expr
230 | ASSIGN VARNAME LPAREN expr RPAREN {
252 | LPAREN expr RPAREN {
339 | LPAREN expr RPAREN {
437 expr : numeric label
441 | expr OR expr {
450 arg : LPAREN expr RPAREN {
  /src/bin/csh/
exp.c 92 expr(Char ***vp) function in typeref:typename:int
  /src/usr.bin/csplit/
csplit.c 106 const char *expr; local in function:main
180 while (nfiles < maxfiles - 1 && (expr = *argv++) != NULL) {
191 if (*expr == '/' || *expr == '%') {
193 do_rexp(expr);
195 } else if (isdigit((unsigned char)*expr))
196 do_lineno(expr);
198 errx(1, "%s: unrecognised pattern", expr);
366 do_rexp(const char *expr)
375 if ((ecopy = strdup(expr)) == NULL
    [all...]
  /src/usr.bin/nl/
nl.c 59 regex_t expr; /* for type == number_regex */ member in struct:numbering_property
327 (regexec(&numbering_properties[section].expr,
376 regfree(&numbering_properties[section].expr);
381 if ((error = regcomp(&numbering_properties[section].expr,
384 &numbering_properties[section].expr,
387 "%s expr: %s -- %s",
  /src/lib/libutil/
login_cap.c 801 char *expr, *expr2; local in function:strtosize
807 num = strtouq(str, &expr, radix);
808 if (errno || expr == str) {
810 *endptr = expr;
814 switch(*expr) {
817 ++expr;
821 ++expr;
825 ++expr;
829 ++expr;
834 ++expr;
    [all...]
  /src/bin/pax/
options.c 2023 char *expr; local in function:str_offt
2026 num = STRTOOFFT(val, &expr, 0);
2027 if ((num == OFFT_MAX) || (num <= 0) || (expr == val))
2030 switch(*expr) {
2036 ++expr;
2043 ++expr;
2050 ++expr;
2057 ++expr;
2061 switch(*expr) {
2067 num *= str_offt(expr + 1)
    [all...]
  /src/usr.bin/make/
meta.c 948 const char *expr; local in function:meta_ignore
958 expr = "${" MAKE_META_IGNORE_PATTERNS ":@m@${.p.:M$m}@}";
959 pm = Var_Subst(expr, gn, VARE_EVAL);
main.c 845 char *expr = str_concat3("${", varname, "}"); local in function:PrintVariable
846 char *evalue = Var_Subst(expr, SCOPE_GLOBAL, VARE_EVAL);
848 free(expr);
867 GetBooleanExpr(const char *expr, bool fallback)
872 value = Var_Subst(expr, SCOPE_GLOBAL, VARE_EVAL);
var.c 702 char *expr; local in function:ExportVarEnv
717 expr = str_concat3("${", name, "}");
718 val = Var_Subst(expr, scope, VARE_EVAL);
728 free(expr);
974 char *expr = str_concat3( local in function:UnexportVar
976 char *filtered = Var_Subst(expr, SCOPE_GLOBAL, VARE_EVAL);
980 free(expr);
1979 * expression from ch->expr->value, or the variable name from ch->var->name,
1980 * and stores the result back in ch->expr->value via Expr_SetValueOwn or
2013 typedef struct Expr {
2045 Expr *expr; member in struct:ModChain
2360 Expr *expr = ch->expr; local in function:ModifyWords
2400 Expr *expr = ch->expr; local in function:ApplyModifier_Loop
2498 Expr *expr = ch->expr; local in function:ApplyModifier_Defined
2518 Expr *expr = ch->expr; local in function:ApplyModifier_Literal
2553 Expr *expr; local in function:ApplyModifier_Time
2613 Expr *expr = ch->expr; local in function:ApplyModifier_Path
2644 Expr *expr = ch->expr; local in function:ApplyModifier_ShellCommand
2730 Expr *expr = ch->expr; local in function:ParseModifier_Match
3190 Expr *expr = ch->expr; local in function:ApplyModifier_To
3243 Expr *expr = ch->expr; local in function:ApplyModifier_Words
3472 Expr *expr = ch->expr; local in function:ApplyModifier_IfElse
3552 Expr *expr = ch->expr; local in function:ApplyModifier_Assign
3626 Expr *expr = ch->expr; local in function:ApplyModifier_Remember
3723 Expr *expr = ch->expr; local in function:ApplyModifier_SysV
3774 Expr *expr = ch->expr; local in function:ApplyModifier_SunShell
3809 const Expr *expr = ch->expr; local in function:LogBeforeApply
3840 const Expr *expr = ch->expr; local in function:LogAfterApply
3945 Expr *expr = ch->expr; local in function:ApplyModifiersIndirect
4486 Expr expr; local in function:Expr_Init
4572 Expr expr = Expr_Init(NULL, FStr_InitRefer(NULL), local in function:Var_Parse
    [all...]
  /src/usr.bin/xlint/lint1/
tree.c 858 build_generic_selection(const tnode_t *expr,
864 if (expr != NULL &&
865 types_compatible(sel->ga_arg, expr->tn_type,
3697 * type bounds, such as in (expr & 0xFF) or (expr % 100) or (expr >> 24).
4752 * After all tests are performed, if free_expr is true, expr() frees the
4756 expr(tnode_t *tn, bool used, bool cond, bool free_expr, bool is_do_while, function in typeref:typename:void
4765 /* expr() is also called in global initializations */

Completed in 131 milliseconds