Home
last modified time | relevance | path

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

/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/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()
146 T handleShift(T lval, const std::string& op, int64_t rval) { in handleShift() argument
152 << lval << " " << op << " " << rval; in handleShift()
157 bool handleLogical(bool lval, const std::string& op, bool rval) { in handleLogical() argument
162 << lval << " " << op << " " << rval; in handleLogical()
704 BinaryConstantExpression::BinaryConstantExpression(ConstantExpression* lval, const std::string& op, in BinaryConstantExpression() argument
706 : ConstantExpression(lval->mExpr + " " + op + " " + rval->mExpr), in BinaryConstantExpression()
707 mLval(lval), in BinaryConstantExpression()
DConstantExpression.h193 BinaryConstantExpression(ConstantExpression* lval, const std::string& op,
/system/logging/liblog/
Dlogprint.cpp620 int64_t lval; in android_log_printBinaryEvent() local
708 lval = 0; in android_log_printBinaryEvent()
715 lval = event_int->data; in android_log_printBinaryEvent()
727 lval = event_long->data; in android_log_printBinaryEvent()
732 outCount = snprintf(outBuf, outBufLen, "%" PRId64, lval); in android_log_printBinaryEvent()
842 if ((lval != 0) && ((lval % 1024) == 0)) { in android_log_printBinaryEvent()
849 lval /= 1024; in android_log_printBinaryEvent()
850 if ((lval % 1024) != 0) break; in android_log_printBinaryEvent()
852 outCount = snprintf(outBuf, outBufLen, "%" PRId64 "%cB", lval, suffixTable[idx]); in android_log_printBinaryEvent()
858 if (((lval <= -1000) || (1000 <= lval)) && (outBufLen || (outBuf[-1] == '0'))) { in android_log_printBinaryEvent()
[all …]
/system/tools/aidl/
Daidl_const_expressions.cpp154 OverflowGuard<T> guard(lval); \
204 bool handleBinaryCommon(const AidlConstantValue& context, T lval, const string& op, T rval, in handleBinaryCommon() argument
222 AIDL_FATAL(context) << "Could not handleBinaryCommon for " << lval << " " << op << " " << rval; in handleBinaryCommon()
227 bool handleShift(const AidlConstantValue& context, T lval, const string& op, T rval, int64_t* out) { in handleShift() argument
232 AIDL_FATAL(context) << "Could not handleShift for " << lval << " " << op << " " << rval; in handleShift()
236 bool handleLogical(const AidlConstantValue& context, bool lval, const string& op, bool rval, in handleLogical() argument
241 AIDL_FATAL(context) << "Could not handleLogical for " << lval << " " << op << " " << rval; in handleLogical()
1170 std::unique_ptr<AidlConstantValue> lval, in AidlBinaryConstExpression() argument
1173 : AidlConstantValue(location, Type::BINARY, lval->value_ + op + rval->value_), in AidlBinaryConstExpression()
1174 left_val_(std::move(lval)), in AidlBinaryConstExpression()
Daidl_language.h782 AidlBinaryConstExpression(const AidlLocation& location, std::unique_ptr<AidlConstantValue> lval,
/system/core/fs_mgr/tests/
Dadb-remount-test.sh646 local lval="${1}"
649 if [[ "${rval}" =~ ^${lval}$ ]]; then
661 LOG "${logt}" "expected \"${lval}\"
664 LOG "${logt}" "expected \"${lval}\" got \"${rval}\""
677 local lval="${1}"
680 if ! [[ "${rval}" =~ ^${lval}$ ]]; then