Home
last modified time | relevance | path

Searched refs:lval (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/tests/
Dadb-remount-test.sh625 local lval="${1}"
635 if ! ( echo X"${rval}" | grep '^X'"${lval}"'$' >/dev/null 2>/dev/null ); then
636 if [ `echo ${lval}${rval}${*} | wc -c` -gt 50 -o "${rval}" != "${rval%
638 echo "${prefix} expected \"${lval}\""
648 echo "${prefix} expected \"${lval}\" got \"${rval}\" ${*}"
654 if [ X"${lval}" != X"${rval}" ]; then # we were supplied a regex?
655 if [ `echo ${lval}${rval}${*} | wc -c` -gt 60 -o "${rval}" != "${rval% *}" ]; then
656 echo "${prefix} ok \"${lval}\""
666 echo "${prefix} ok \"${lval}\" = \"${rval}\" ${*}"
669 echo "${prefix} ok \"${lval}\" ${*}"
[all …]
/system/tools/aidl/
Daidl_const_expressions.cpp47 *out = lval __op__ rval; \
96 bool handleBinaryCommon(const AidlConstantValue& context, T lval, const string& op, T rval, in handleBinaryCommon() argument
114 AIDL_FATAL(context) << "Could not handleBinaryCommon for " << lval << " " << op << " " << rval; in handleBinaryCommon()
119 bool handleShift(const AidlConstantValue& context, T lval, const string& op, int64_t rval, in handleShift() argument
125 AIDL_FATAL(context) << "Could not handleShift for " << lval << " " << op << " " << rval; in handleShift()
129 bool handleLogical(const AidlConstantValue& context, bool lval, const string& op, bool rval, in handleLogical() argument
134 AIDL_FATAL(context) << "Could not handleLogical for " << lval << " " << op << " " << rval; in handleLogical()
878 std::unique_ptr<AidlConstantValue> lval, in AidlBinaryConstExpression() argument
881 : AidlConstantValue(location, Type::BINARY, lval->value_ + op + rval->value_), in AidlBinaryConstExpression()
882 left_val_(std::move(lval)), in AidlBinaryConstExpression()
Daidl_language.h514 AidlBinaryConstExpression(const AidlLocation& location, std::unique_ptr<AidlConstantValue> lval,
/system/tools/hidl/
DConstantExpression.cpp35 #define COMPUTE_BINARY(__op__) if (op == std::string(#__op__)) return lval __op__ rval;
118 T handleBinaryCommon(T lval, const std::string& op, T rval) { in handleBinaryCommon() argument
136 << lval << " " << op << " " << rval; in handleBinaryCommon()
141 T handleShift(T lval, const std::string& op, int64_t rval) { in handleShift() argument
147 << lval << " " << op << " " << rval; in handleShift()
151 bool handleLogical(bool lval, const std::string& op, bool rval) { in handleLogical() argument
156 << lval << " " << op << " " << rval; in handleLogical()
698 BinaryConstantExpression::BinaryConstantExpression(ConstantExpression* lval, const std::string& op, in BinaryConstantExpression() argument
700 : ConstantExpression(lval->mExpr + " " + op + " " + rval->mExpr), in BinaryConstantExpression()
701 mLval(lval), in BinaryConstantExpression()
DConstantExpression.h193 BinaryConstantExpression(ConstantExpression* lval, const std::string& op,
/system/core/bootstat/
Dboot_reason_test.sh261 lval="${1}"
264 if ! ( echo X"${rval}" | grep '^X'"${lval}"'$' >/dev/null 2>/dev/null ); then
265 if [ `echo ${lval}${rval}${*} | wc -c` -gt 50 -o "${rval}" != "${rval%
267 echo "ERROR: expected \"${lval}\"" >&2
277 echo "ERROR: expected \"${lval}\" got \"${rval}\" ${*}" >&2
282 if [ X"${lval}" != X"${rval}" ]; then
283 if [ `echo ${lval}${rval}${*} | wc -c` -gt 60 -o "${rval}" != "${rval%
285 echo "INFO: ok \"${lval}\"" >&2
295 echo "INFO: ok \"${lval}\" = \"${rval}\" ${*}" >&2
298 echo "INFO: ok \"${lval}\" ${*}" >&2
/system/core/liblog/
Dlogprint.cpp629 int64_t lval; in android_log_printBinaryEvent() local
717 lval = 0; in android_log_printBinaryEvent()
724 lval = event_int->data; in android_log_printBinaryEvent()
736 lval = event_long->data; in android_log_printBinaryEvent()
741 outCount = snprintf(outBuf, outBufLen, "%" PRId64, lval); in android_log_printBinaryEvent()
851 if ((lval != 0) && ((lval % 1024) == 0)) { in android_log_printBinaryEvent()
858 lval /= 1024; in android_log_printBinaryEvent()
859 if ((lval % 1024) != 0) break; in android_log_printBinaryEvent()
861 outCount = snprintf(outBuf, outBufLen, "%" PRId64 "%cB", lval, suffixTable[idx]); in android_log_printBinaryEvent()
867 if (((lval <= -1000) || (1000 <= lval)) && (outBufLen || (outBuf[-1] == '0'))) { in android_log_printBinaryEvent()
[all …]