/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/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/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()); \
|
D | statistics_tests.cpp | 111 #define PRINT_AND_EXPECT_EQ(expected, expr) { \ argument 112 auto value = (expr); \ 113 printf("(%s): %s\n", #expr, std::to_string(value).c_str()); \ 118 #define PRINT_AND_EXPECT_NEAR(expected, expr) { \ argument 120 auto value = (expr); \ 121 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
|
D | bluetooth_avrcp_target_binder_server.cc | 51 #define TRY_RET(expr, msg) \ argument 53 if (!(expr)) { \ 60 #define TRY_RET_FUNC(expr) TRY_RET(expr, __func__ << " failed") argument
|
/system/tools/hidl/ |
D | ConstantExpression.cpp | 167 ConstantExpression::ConstantExpression(const std::string& expr) : mExpr(expr) {} in ConstantExpression() argument 174 const std::string& expr) in LiteralConstantExpression() argument 175 : ConstantExpression(expr) { in LiteralConstantExpression() 176 CHECK(!expr.empty()); in LiteralConstantExpression() 179 mTrivialDescription = std::to_string(value) == expr; in LiteralConstantExpression() 347 ConstantExpression* expr = mReference->constExpr(); in evaluate() local 348 CHECK(expr->isEvaluated()); in evaluate() 350 mValueKind = expr->mValueKind; in evaluate() 351 mValue = expr->mValue; in evaluate() 716 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/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
|
D | avrcp_target.cc | 41 #define TRY_RET(expr, err_msg) \ argument 43 if (!(expr)) { \ 50 #define TRY_RET_FUNC(expr) TRY_RET(expr, __func__ << " failed") argument
|
/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 | 233 duration=`expr ${duration%m} \* 60` 235 duration=`expr ${duration%h} \* 3600` 237 duration=`expr ${duration%d} \* 86400` 239 local seconds=`expr ${duration} % 60` 240 local minutes=`expr \( ${duration} / 60 \) % 60` 241 local hours=`expr ${duration} / 3600` 257 echo ${minutes}:`expr ${seconds} / 10``expr ${seconds} % 10` 260 …echo ${hours}:`expr ${minutes} / 10``expr ${minutes} % 10`:`expr ${seconds} / 10``expr ${seconds} … 274 USB_DEVICE=dev`expr ${USB_DEVICE#dev} + 1` 306 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/camera_avg/ |
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/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/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/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/SimpleperfExamplePureJava/ |
D | gradlew | 51 link=`expr "$ls" : '.*-> \(.*\)$'` 52 if expr "$link" : '/.*' > /dev/null; then
|
/system/core/shell_and_utilities/ |
D | README.md | 103 env expand expr fallocate false find free getenforce getprop groups 123 dos2unix du echo env expand expr fallocate false find flock free 145 dos2unix du echo env expand expr fallocate false file find flock free 171 dos2unix du echo env expand expr fallocate false file find flock fmt free 197 diff dirname dmesg dos2unix du echo egrep env expand expr fallocate 229 df diff dirname dmesg dos2unix du echo egrep env expand expr fallocate
|
/system/update_engine/ |
D | dynamic_partition_control_android.cc | 796 std::string expr; in UpdatePartitionMetadata() local 800 expr = "half of "; in UpdatePartitionMetadata() 804 << " (" << total_size << ") has exceeded " << expr in UpdatePartitionMetadata()
|