Home
last modified time | relevance | path

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

/system/core/fs_mgr/tests/
Dadb-remount-test.sh454 local lval="${1}"
464 if ! ( echo X"${rval}" | grep '^X'"${lval}"'$' >/dev/null 2>/dev/null ); then
465 if [ `echo ${lval}${rval}${*} | wc -c` -gt 50 -o "${rval}" != "${rval%
467 echo "${prefix} expected \"${lval}\"" >&2
477 echo "${prefix} expected \"${lval}\" got \"${rval}\" ${*}" >&2
483 if [ X"${lval}" != X"${rval}" ]; then # we were supplied a regex?
484 if [ `echo ${lval}${rval}${*} | wc -c` -gt 60 -o "${rval}" != "${rval% *}" ]; then
485 echo "${prefix} ok \"${lval}\"" >&2
495 echo "${prefix} ok \"${lval}\" = \"${rval}\" ${*}" >&2
498 echo "${prefix} ok \"${lval}\" ${*}" >&2
[all …]
/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;
112 T handleBinaryCommon(T lval, const std::string& op, T rval) { in handleBinaryCommon() argument
130 << lval << " " << op << " " << rval; in handleBinaryCommon()
135 T handleShift(T lval, const std::string& op, int64_t rval) { in handleShift() argument
141 << lval << " " << op << " " << rval; in handleShift()
145 bool handleLogical(bool lval, const std::string& op, bool rval) { in handleLogical() argument
150 << lval << " " << op << " " << rval; in handleLogical()
692 BinaryConstantExpression::BinaryConstantExpression(ConstantExpression* lval, const std::string& op, in BinaryConstantExpression() argument
694 : mLval(lval), mRval(rval), mOp(op) {} in BinaryConstantExpression()
DConstantExpression.h190 BinaryConstantExpression(ConstantExpression* lval, const std::string& op,
/system/core/liblog/
Dlogprint.cpp650 int64_t lval; in android_log_printBinaryEvent() local
739 lval = 0; in android_log_printBinaryEvent()
751 lval = ival; in android_log_printBinaryEvent()
757 lval = get8LE(eventData); in android_log_printBinaryEvent()
761 outCount = snprintf(outBuf, outBufLen, "%" PRId64, lval); in android_log_printBinaryEvent()
876 if ((lval != 0) && ((lval % 1024) == 0)) { in android_log_printBinaryEvent()
883 lval /= 1024; in android_log_printBinaryEvent()
884 if ((lval % 1024) != 0) break; in android_log_printBinaryEvent()
886 outCount = snprintf(outBuf, outBufLen, "%" PRId64 "%cB", lval, suffixTable[idx]); in android_log_printBinaryEvent()
892 if (((lval <= -1000) || (1000 <= lval)) && (outBufLen || (outBuf[-1] == '0'))) { in android_log_printBinaryEvent()
[all …]