/system/tools/hidl/c2hal/ |
D | c2hal_y.yy | 130 %type<expression> expr 178 : expr 256 | type ID '=' expr ';' 387 | ID '=' expr 467 expr 474 | '(' expr ')' { $$ = Expression::parenthesize($2); } 475 | ID '[' expr ']' %prec ARRAY_SUBSCRIPT { 481 | expr '?' expr ':' expr { $$ = Expression::ternary($1, $3, $5); } 482 | expr '+' expr { $$ = Expression::binary($1, "+", $3); } 483 | expr '-' expr { $$ = Expression::binary($1, "-", $3); } [all …]
|
/system/extras/ioblame/ |
D | ioblame.sh | 131 READ_KB=`expr $AFTER_RD_SECTORS - $BEFORE_RD_SECTORS` 132 READ_KB=`expr $READ_KB / 2` 134 BLOCK_MINUS_FILE=`expr $READ_KB - $file_data_KB` 136 echo "Total (ALL) Read IOs $block_device = "`expr $AFTER_RD_IOS - $BEFORE_RD_IOS` 144 WRITE_KB=`expr $AFTER_WR_SECTORS - $BEFORE_WR_SECTORS` 145 WRITE_KB=`expr $WRITE_KB / 2` 146 BLOCK_MINUS_FILE=`expr $WRITE_KB - $file_data_KB` 148 echo "Total (ALL) Write IOs $block_device = "`expr $AFTER_WR_IOS - $BEFORE_WR_IOS` 151 F2FS_GC_SEGMENTS_DELTA=`expr $F2FS_GC_SEGMENTS_AFTER - $F2FS_GC_SEGMENTS_BEFORE` 152 F2FS_GC_KB_DELTA=`expr $F2FS_GC_SEGMENTS_DELTA \\* 2048` [all …]
|
/system/bt/gd/rust/common/src/ |
D | asserts.rs | 4 ($thing:expr, $expected:expr, $error:expr) => {
|
D | ready.rs | 4 ($e:expr $(,)?) => {
|
/system/sepolicy/tests/ |
D | searchpolicy.py | 15 expr = parser.add_argument_group("Expressions") variable 16 expr.add_argument("-s", "--source", 18 expr.add_argument("-t", "--target", 20 expr.add_argument("-c", "--class", dest="tclass", 22 expr.add_argument("-p", "--perms", metavar="PERMS",
|
/system/core/healthd/ |
D | healthd_mode_charger_test.cpp | 47 ChildAssertHelper(bool res, const char* expr, const char* file, int line) : res_(res) { in ChildAssertHelper() argument 48 (*this) << file << ":" << line << ": `" << expr << "` evaluates to false\n"; in ChildAssertHelper() 59 #define CHILD_ASSERT_TRUE(expr) ChildAssertHelper(expr, #expr, __FILE__, __LINE__) argument
|
/system/media/audio_utils/tests/ |
D | variadic_tests.cpp | 30 #define PRINT_AND_EXPECT_EQ(expected, expr) { \ argument 31 auto value = (expr); \ 32 printf("(%s): %s\n", #expr, std::to_string(value).c_str()); \ 37 #define PRINT_AND_EXPECT_NEAR(expected, expr) { \ argument 39 auto value = (expr); \ 40 printf("(%s): %s\n", #expr, std::to_string(value).c_str()); \
|
/system/sepolicy/tools/ |
D | build_policies.sh | 57 parallel_jobs=$(expr $cores / 4) 59 export mmma_jobs=$(expr $cores / $num_targets \* 2)
|
/system/bt/service/ipc/binder/ |
D | bluetooth_a2dp_source_binder_server.cc | 49 #define TRY_RET(expr, msg) \ argument 51 if (!(expr)) { \ 58 #define TRY_RET_FUNC(expr) TRY_RET(expr, __func__ << " failed") argument
|
/system/core/fastboot/ |
D | vendor_boot_img_utils_test.cpp | 51 #define EXPECT_RESULT(expr, result_matcher) \ argument 52 EXPECT_THAT(expr, AllOf(Property(&decltype(expr)::ok, Eq(true)), \ 53 Property(&decltype(expr)::value, result_matcher))) 56 #define EXPECT_ERROR(expr, error_matcher) \ argument 59 expr, \ 60 AllOf(Property(&decltype(expr)::ok, Eq(false)), \ 61 Property(&decltype(expr)::error, \ 62 Property(&decltype(expr)::error_type::message, error_matcher)))); \
|
/system/bt/service/ |
D | a2dp_source.cc | 33 #define TRY_RET(expr, err_msg) \ argument 35 if (!(expr)) { \ 42 #define TRY_RET_FUNC(expr) TRY_RET(expr, __func__ << " failed") argument
|
/system/tools/hidl/ |
D | ConstantExpression.cpp | 173 ConstantExpression::ConstantExpression(const std::string& expr) : mExpr(expr) {} in ConstantExpression() argument 180 const std::string& expr) in LiteralConstantExpression() argument 181 : ConstantExpression(expr) { in LiteralConstantExpression() 182 CHECK(!expr.empty()); in LiteralConstantExpression() 185 mTrivialDescription = std::to_string(value) == expr; in LiteralConstantExpression() 353 ConstantExpression* expr = mReference->constExpr(); in evaluate() local 354 CHECK(expr->isEvaluated()); in evaluate() 356 mValueKind = expr->mValueKind; in evaluate() 357 mValue = expr->mValue; in evaluate() 722 const std::string& expr) in ReferenceConstantExpression() argument [all …]
|
D | ConstantExpression.h | 49 ConstantExpression(const std::string& expr); 175 LiteralConstantExpression(ScalarType::Kind kind, uint64_t value, const std::string& expr); 217 ReferenceConstantExpression(const Reference<LocalIdentifier>& value, const std::string& expr);
|
/system/extras/tests/workloads/ |
D | defs.sh | 165 startS=$(expr 0 + $1) 166 endS=$(expr 0 + $3) 171 startNs=$(expr 0 + $2) 172 endNs=$(expr 0 + $4) 188 msecfield=$(expr 0 + $2)
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 244 duration=`expr ${duration%m} \* 60` 246 duration=`expr ${duration%h} \* 3600` 248 duration=`expr ${duration%d} \* 86400` 250 local seconds=`expr ${duration} % 60` 251 local minutes=`expr \( ${duration} / 60 \) % 60` 252 local hours=`expr ${duration} / 3600` 268 echo ${minutes}:`expr ${seconds} / 10``expr ${seconds} % 10` 271 …echo ${hours}:`expr ${minutes} / 10``expr ${minutes} % 10`:`expr ${seconds} / 10``expr ${seconds} … 285 USB_DEVICE=dev`expr ${USB_DEVICE#dev} + 1` 317 local diff_time=`expr ${end} - ${start}` [all …]
|
/system/extras/power_profile/camera_flashlight/ |
D | gradlew | 56 link=`expr "$ls" : '.*-> \(.*\)$'` 57 if expr "$link" : '/.*' > /dev/null; then
|
/system/extras/power_profile/gps_on/ |
D | gradlew | 56 link=`expr "$ls" : '.*-> \(.*\)$'` 57 if expr "$link" : '/.*' > /dev/null; then
|
/system/extras/power_profile/camera_avg/ |
D | gradlew | 56 link=`expr "$ls" : '.*-> \(.*\)$'` 57 if expr "$link" : '/.*' > /dev/null; then
|
/system/core/bootstat/ |
D | boot_reason_test.sh | 187 seconds=`expr ${1} % 60` 188 minutes=`expr ${1} / 60` 203 echo ${minutes}:`expr ${seconds} / 10``expr ${seconds} % 10` 246 counter=`expr ${counter} + 1` 438 duration_new_estimate=`expr ${duration_new_estimate} + \ 459 duration=`expr ${END} - ${START} 2>/dev/null` 466 duration_sum_diff=`expr ${duration_sum_diff} + \ 468 duration_num=`expr ${duration_num} + 1` 1096 duration_test `expr ${DURATION_DEFAULT} + ${DURATION_DEFAULT}`
|
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/ |
D | gradlew | 51 link=`expr "$ls" : '.*-> \(.*\)$'` 52 if expr "$link" : '/.*' > /dev/null; then
|
/system/extras/simpleperf/demo/JavaApi/ |
D | gradlew | 15 link=`expr "$ls" : '.*-> \(.*\)$'` 16 if expr "$link" : '/.*' > /dev/null; then
|
/system/extras/simpleperf/demo/CppApi/ |
D | gradlew | 15 link=`expr "$ls" : '.*-> \(.*\)$'` 16 if expr "$link" : '/.*' > /dev/null; then
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/ |
D | gradlew | 51 link=`expr "$ls" : '.*-> \(.*\)$'` 52 if expr "$link" : '/.*' > /dev/null; then
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/ |
D | gradlew | 51 link=`expr "$ls" : '.*-> \(.*\)$'` 52 if expr "$link" : '/.*' > /dev/null; then
|
/system/security/keystore2/selinux/src/ |
D | lib.rs | 390 (use, $privileged:expr) => { 393 ($perm:ident, $privileged:expr) => { 396 ($perm:ident, $privileged:expr, $p_str:expr) => {
|