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.sh632 local lval="${1}"
642 if ! ( echo X"${rval}" | grep '^X'"${lval}"'$' >/dev/null 2>/dev/null ); then
643 if [ `echo ${lval}${rval}${*} | wc -c` -gt 50 -o "${rval}" != "${rval%
645 echo "${prefix} expected \"${lval}\""
655 echo "${prefix} expected \"${lval}\" got \"${rval}\" ${*}"
661 if [ X"${lval}" != X"${rval}" ]; then # we were supplied a regex?
662 if [ `echo ${lval}${rval}${*} | wc -c` -gt 60 -o "${rval}" != "${rval% *}" ]; then
663 echo "${prefix} ok \"${lval}\""
673 echo "${prefix} ok \"${lval}\" = \"${rval}\" ${*}"
676 echo "${prefix} ok \"${lval}\" ${*}"
[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;
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/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()
1062 std::unique_ptr<AidlConstantValue> lval, in AidlBinaryConstExpression() argument
1065 : AidlConstantValue(location, Type::BINARY, lval->value_ + op + rval->value_), in AidlBinaryConstExpression()
1066 left_val_(std::move(lval)), in AidlBinaryConstExpression()
Daidl_language.h738 AidlBinaryConstExpression(const AidlLocation& location, std::unique_ptr<AidlConstantValue> lval,
/system/logging/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 …]