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

  /src/sys/ddb/
db_expr.c 147 db_expr_t lhs, rhs; local in function:db_mult_expr
155 if (!db_term(&rhs)) {
160 lhs *= rhs;
162 if (rhs == 0) {
167 lhs /= rhs;
169 lhs %= rhs;
171 lhs = ((lhs+rhs-1)/rhs)*rhs;
183 db_expr_t lhs, rhs; local in function:db_add_expr
209 db_expr_t lhs, rhs; local in function:db_shift_expr
    [all...]
db_expr.c 147 db_expr_t lhs, rhs; local in function:db_mult_expr
155 if (!db_term(&rhs)) {
160 lhs *= rhs;
162 if (rhs == 0) {
167 lhs /= rhs;
169 lhs %= rhs;
171 lhs = ((lhs+rhs-1)/rhs)*rhs;
183 db_expr_t lhs, rhs; local in function:db_add_expr
209 db_expr_t lhs, rhs; local in function:db_shift_expr
    [all...]
  /src/lib/libc/net/
hesiod.c 89 char *rhs; /* AKA the default hesiod domain */ member in struct:hesiod_p
129 * The default rhs can be overridden by an
137 if (ctx->rhs)
138 free(ctx->rhs);
139 ctx->rhs = malloc(strlen(p) + 2);
140 if (ctx->rhs) {
141 *ctx->rhs = '.';
142 strcpy(ctx->rhs + 1,
156 free(ctx->rhs);
174 free(ctx->rhs);
190 const char *rhs; local in function:hesiod_to_bind
    [all...]
hesiod.c 89 char *rhs; /* AKA the default hesiod domain */ member in struct:hesiod_p
129 * The default rhs can be overridden by an
137 if (ctx->rhs)
138 free(ctx->rhs);
139 ctx->rhs = malloc(strlen(p) + 2);
140 if (ctx->rhs) {
141 *ctx->rhs = '.';
142 strcpy(ctx->rhs + 1,
156 free(ctx->rhs);
174 free(ctx->rhs);
190 const char *rhs; local in function:hesiod_to_bind
    [all...]
  /src/usr.bin/config/
files.c 565 int lhs, rhs; local in function:expr_eval
577 rhs = expr_eval(expr->cx_and.right, fn, ctx);
578 return (lhs & rhs);
582 rhs = expr_eval(expr->cx_or.right, fn, ctx);
583 return (lhs | rhs);
files.c 565 int lhs, rhs; local in function:expr_eval
577 rhs = expr_eval(expr->cx_and.right, fn, ctx);
578 return (lhs & rhs);
582 rhs = expr_eval(expr->cx_or.right, fn, ctx);
583 return (lhs | rhs);
  /src/usr.bin/make/
cond.c 509 EvalCompareNum(double lhs, ComparisonOp op, double rhs)
511 DEBUG3(COND, "Comparing %f %s %f\n", lhs, opname[op], rhs);
515 return lhs < rhs;
517 return lhs <= rhs;
519 return lhs > rhs;
521 return lhs >= rhs;
523 return lhs == rhs;
525 return lhs != rhs;
530 EvalCompareStr(const char *lhs, ComparisonOp op, const char *rhs)
536 opname[op], lhs, rhs);
590 FStr lhs, rhs; local in function:CondParser_Comparison
865 CondResult res, rhs; local in function:CondParser_And
886 CondResult res, rhs; local in function:CondParser_Or
    [all...]
cond.c 509 EvalCompareNum(double lhs, ComparisonOp op, double rhs)
511 DEBUG3(COND, "Comparing %f %s %f\n", lhs, opname[op], rhs);
515 return lhs < rhs;
517 return lhs <= rhs;
519 return lhs > rhs;
521 return lhs >= rhs;
523 return lhs == rhs;
525 return lhs != rhs;
530 EvalCompareStr(const char *lhs, ComparisonOp op, const char *rhs)
536 opname[op], lhs, rhs);
590 FStr lhs, rhs; local in function:CondParser_Comparison
865 CondResult res, rhs; local in function:CondParser_And
886 CondResult res, rhs; local in function:CondParser_Or
    [all...]
var.c 1474 const char *rhs; member in struct:ModifyWord_SysVSubstArgs
1481 FStr rhs; local in function:ModifyWord_SysVSubst
1493 rhs = FStr_InitRefer(args->rhs);
1494 Var_Expand(&rhs, args->scope, VARE_EVAL);
1496 percent = args->lhsPercent ? strchr(rhs.str, '%') : NULL;
1499 SepBuf_AddRange(buf, rhs.str, percent);
1504 SepBuf_AddStr(buf, percent != NULL ? percent + 1 : rhs.str);
1506 FStr_Done(&rhs);
1524 Substring rhs; member in struct:ModifyWord_SubstArgs
3725 FStr rhs; local in function:ApplyModifier_SysV
    [all...]
var.c 1474 const char *rhs; member in struct:ModifyWord_SysVSubstArgs
1481 FStr rhs; local in function:ModifyWord_SysVSubst
1493 rhs = FStr_InitRefer(args->rhs);
1494 Var_Expand(&rhs, args->scope, VARE_EVAL);
1496 percent = args->lhsPercent ? strchr(rhs.str, '%') : NULL;
1499 SepBuf_AddRange(buf, rhs.str, percent);
1504 SepBuf_AddStr(buf, percent != NULL ? percent + 1 : rhs.str);
1506 FStr_Done(&rhs);
1524 Substring rhs; member in struct:ModifyWord_SubstArgs
3725 FStr rhs; local in function:ApplyModifier_SysV
    [all...]

Completed in 30 milliseconds