/system/extras/tests/sdcard/ |
D | sdcard_perf_test.cpp | 307 size_t left = testCase->dataSize(); in readData() local 309 while (left > 0) in readData() 314 if (chunk_size > left) in readData() 316 chunk_size = left; in readData() 317 left = 0; in readData() 321 left -= chunk_size; in readData() 378 size_t left = size; in testRead() local 379 while (left > 0) in testRead() 381 if (chunk_size > left) in testRead() 383 chunk_size = left; in testRead() [all …]
|
/system/extras/libfec/ |
D | fec_process.cpp | 72 size_t left = count; in process() local 85 check(left > 0); in process() 96 if (info[i].count > left) { in process() 97 info[i].count = left; in process() 111 left -= info[i].count; in process() 114 check(left == 0); in process()
|
D | fec_read.cpp | 254 size_t left = count; in ecc_read() local 258 while (left > 0) { in ecc_read() 267 if (copy > left) { in ecc_read() 268 copy = left; in ecc_read() 274 left -= copy; in ecc_read() 306 size_t left = count; in verity_read() local 312 while (left > 0) { in verity_read() 388 if (copy > left) { in verity_read() 389 copy = left; in verity_read() 395 left -= copy; in verity_read()
|
/system/libhidl/transport/include/hidl/ |
D | HidlTransportSupport.h | 91 bool interfacesEqual(sp<ILeft> left, sp<IRight> right) { in interfacesEqual() argument 92 if (left == nullptr || right == nullptr || !left->isRemote() || !right->isRemote()) { in interfacesEqual() 93 return left == right; in interfacesEqual() 96 return toBinder<ILeft>(left) == toBinder<IRight>(right); in interfacesEqual()
|
/system/core/base/include/android-base/ |
D | unique_fd.h | 125 inline bool Socketpair(int domain, int type, int protocol, unique_fd* left, unique_fd* right) { in Socketpair() argument 130 left->reset(sockfd[0]); in Socketpair() 135 inline bool Socketpair(int type, unique_fd* left, unique_fd* right) { in Socketpair() argument 136 return Socketpair(AF_UNIX, type, 0, left, right); in Socketpair()
|
/system/core/libpixelflinger/ |
D | trap.cpp | 218 if (l < GGLint(c->state.scissor.left)) { in aa_nice_pointx() 219 xstart += TRI_FROM_INT(c->state.scissor.left-l); in aa_nice_pointx() 220 l = GGLint(c->state.scissor.left); in aa_nice_pointx() 283 if (l < GGLint(c->state.scissor.left)) { in aa_pointx() 284 xstart += TRI_FROM_INT(c->state.scissor.left-l); in aa_pointx() 285 l = GGLint(c->state.scissor.left); in aa_pointx() 424 if (l < GGLint(c->state.scissor.left)) in recti() 425 l = GGLint(c->state.scissor.left); in recti() 544 const int32_t minx = max(bminx, c->state.scissor.left); in trianglex_small() 719 triangle_sweep_edges( Edge* left, in triangle_sweep_edges() argument [all …]
|
D | raster.cpp | 76 if (xd < GGLint(c->state.scissor.left)) { in ggl_copyPixels() 77 GGLint offset = GGLint(c->state.scissor.left) - xd; in ggl_copyPixels() 78 xd = GGLint(c->state.scissor.left); in ggl_copyPixels()
|
/system/media/audio_utils/include/audio_utils/ |
D | minifloat.h | 41 static inline gain_minifloat_packed_t gain_minifloat_pack(gain_minifloat_t left, in gain_minifloat_pack() argument 44 return (right << 16) | left; in gain_minifloat_pack()
|
D | primitives.h | 1141 int32_t mulAddRL(int left, uint32_t inRL, uint32_t vRL, int32_t a) in mulAddRL() argument 1145 if (left) { in mulAddRL() 1158 if (left) { in mulAddRL() 1170 int32_t mulRL(int left, uint32_t inRL, uint32_t vRL) in mulRL() argument 1174 if (left) { in mulRL() 1187 if (left) { in mulRL()
|
/system/libhwbinder/vts/performance/ |
D | PerfTest.cpp | 44 using std::left; 155 cout << std::setprecision(DUMP_PRICISION) << "{ \"avg\":" << setw(W) << left << average in dump() 156 << ", \"wst\":" << setw(W) << left << worst << ", \"bst\":" << setw(W) << left << best in dump() 157 << ", \"miss\":" << left << miss_ << ", \"meetR\":" << setprecision(DUMP_PRICISION + 3) in dump() 158 << left << (1.0 - (double)miss_ / transactions_) << "}"; in dump()
|
D | Latency.cpp | 50 using std::left; 95 cout << setw(12) << left << prefix << " pid: " << getpid() << " tid: " << gettid() in threadDumpPri() 102 cout << setw(12) << left << s << param.sched_priority << endl; in threadDumpPri()
|
/system/extras/perfprofd/ |
D | map_utils.h | 78 AggregatedSymbol left(maybe_match.symbol, *maybe_match.offsets.begin()); in Insert() 81 left.offsets.insert(*offset_it); in Insert() 96 map_.emplace(*left.offsets.begin(), std::move(left)); in Insert()
|
/system/chre/util/tests/ |
D | priority_queue_test.cc | 30 bool compareFunction(const DummyElement& left, const DummyElement& right) { in compareFunction() argument 31 return left.getValue() > right.getValue(); in compareFunction() 36 bool operator() (const DummyElement& left, const DummyElement& right) const { in operator ()() argument 37 return left.getValue() > right.getValue(); in operator ()() 170 auto cmp = [](const DummyElement& left, const DummyElement& right) { in TEST() argument 171 return left.getValue() > right.getValue(); in TEST()
|
/system/tools/hidl/c2hal/ |
D | c2hal_y.yy | 106 %left ',' 108 %left '|' 109 %left '^' 110 %left '&' 111 %left RSHIFT LSHIFT 112 %left '+' '-' 113 %left '*' '/' '%' 115 %left ARRAY_SUBSCRIPT FUNCTION_CALL
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid.cc | 769 uint16_t left = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local 770 chan_left.push_back(left); in OnAudioDataReady() 779 HearingDevice* left = nullptr; in OnAudioDataReady() local 785 left = &device; in OnAudioDataReady() 790 if (left == nullptr && right == nullptr) { in OnAudioDataReady() 804 if (left) { in OnAudioDataReady() 811 uint16_t cid = GAP_ConnGetL2CAPCid(left->gap_handle); in OnAudioDataReady() 814 VLOG(2) << left->address << " skipping " << packets_to_flush in OnAudioDataReady() 816 left->audio_stats.packet_flush_count += packets_to_flush; in OnAudioDataReady() 817 left->audio_stats.frame_flush_count++; in OnAudioDataReady() [all …]
|
/system/bt/stack/mcap/ |
D | mca_dsm.cc | 186 uint8_t left; in mca_dep_free_mdl() local 204 left = max - count; in mca_dep_free_mdl() 205 return left; in mca_dep_free_mdl()
|
/system/core/base/ |
D | file.cpp | 83 size_t left = content.size(); in WriteStringToFd() local 84 while (left > 0) { in WriteStringToFd() 85 ssize_t n = TEMP_FAILURE_RETRY(write(fd, p, left)); in WriteStringToFd() 90 left -= n; in WriteStringToFd()
|
/system/tools/hidl/c2hal/test/ |
D | simple.h | 54 int left, int top, int width, int height);
|
/system/tools/hidl/ |
D | hidl-gen_y.yy | 246 %left LOGICAL_OR 247 %left LOGICAL_AND 249 %left '|' 250 %left '^' 251 %left '&' 253 %left EQUALITY NEQ 255 %left '<' '>' LEQ GEQ 257 %left LSHIFT RSHIFT 259 %left '+' '-' 261 %left '*' '/' '%' [all …]
|
/system/media/camera/docs/ |
D | html.mako | 30 ….kind { color: #eeeeee; font-size: 1.2em; font-weight: bold; padding-left: 1.5em; background-color… 42 td,th { border: 1px solid; border-color: #aaaaaa; padding-left: 0.5em; padding-right: 0.5em } 57 ….entry_name { color: #333333; padding-left:1.0em; font-size:1.1em; font-family: monospace; vertica… 63 .entry_type_visibility { font-weight: bolder; padding-left:1em} 72 .entry ul { margin: 0 0 0 0; list-style-position: inside; padding-left: 0.5em; } 81 text-align: center; font-size: 1.1em; margin-left: 0em; margin-right: 0em; }
|
D | camera_device_info.mako | 40 optional int32 left = 1;
|
/system/tools/aidl/ |
D | ast_cpp.cpp | 319 Assignment::Assignment(const std::string& left, const std::string& right) in Assignment() argument 320 : Assignment(left, new LiteralExpression{right}) {} in Assignment() 322 Assignment::Assignment(const std::string& left, AstNode* right) in Assignment() argument 323 : lhs_(left), in Assignment()
|
/system/core/liblog/ |
D | logprint.c | 1284 static struct timespec* sumTimespec(struct timespec* left, in sumTimespec() argument 1286 left->tv_nsec += right->tv_nsec; in sumTimespec() 1287 left->tv_sec += right->tv_sec; in sumTimespec() 1288 if (left->tv_nsec >= (long)NS_PER_SEC) { in sumTimespec() 1289 left->tv_nsec -= NS_PER_SEC; in sumTimespec() 1290 left->tv_sec += 1; in sumTimespec() 1292 return left; in sumTimespec() 1296 struct timespec* left, in subTimespec() argument 1298 result->tv_nsec = left->tv_nsec - right->tv_nsec; in subTimespec() 1299 result->tv_sec = left->tv_sec - right->tv_sec; in subTimespec()
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 676 ssize_t left = nh->nlmsg_len - NLA_START; in findNlAttr() local 679 while (left >= NLA_HDRLEN) { in findNlAttr() 686 left -= NLA_ALIGN(nla->nla_len); in findNlAttr()
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 1123 const char* left = data; in TEST() local 1125 while (*left && *right && (*left == *right)) { in TEST() 1126 ++left; in TEST() 1130 if (max_len <= (left - data)) { in TEST() 1131 max_len = left - data + 1; in TEST() 1261 const char* left = data; in TEST() local 1263 while (*left && *right && (*left == *right)) { in TEST() 1264 ++left; in TEST() 1268 if (max_len <= (left - data)) { in TEST() 1269 max_len = left - data + 1; in TEST()
|