Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 48) sorted by relevance

12

/system/keymint/boringssl/src/
Deq.rs23 fn eq(&self, left: &[u8], right: &[u8]) -> bool { in eq()
24 if left.len() != right.len() { in eq()
27 openssl::memcmp::eq(left, right) in eq()
/system/extras/libfec/
Dfec_process.cpp66 size_t left = count; in process() local
78 for (int i = 0; i < threads && left > 0; ++i) { in process()
88 if (info[i].count > left) { in process()
89 info[i].count = left; in process()
96 left -= info[i].count; in process()
112 if (left > 0 || rc == -1) { in process()
Dfec_read.cpp254 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
313 while (left > 0) { in verity_read()
391 if (copy > left) { in verity_read()
392 copy = left; in verity_read()
398 left -= copy; in verity_read()
/system/libhidl/transport/
DHidlTransportSupport.cpp122 bool interfacesEqual(const sp<IBase>& left, const sp<IBase>& right) { in interfacesEqual() argument
123 if (left == nullptr || right == nullptr || !left->isRemote() || !right->isRemote()) { in interfacesEqual()
124 return left == right; in interfacesEqual()
126 return getOrCreateCachedBinder(left.get()) == getOrCreateCachedBinder(right.get()); in interfacesEqual()
/system/hardware/interfaces/suspend/1.0/default/
DWakeLockEntryList.cpp43 << std::left << std::setw(30) << entry.name << sep in operator <<()
46 << std::left << std::setw(6) << ((kernelWakelock) ? "Kernel" : "Native") << sep in operator <<()
47 << std::left << std::setw(8) << ((entry.isActive) ? "Active" : "Inactive") << sep in operator <<()
87 << std::left << std::setw(30) << "NAME" << sep in operator <<()
88 << std::left << std::setw(6) << "PID" << sep in operator <<()
89 << std::left << std::setw(6) << "TYPE" << sep in operator <<()
90 << std::left << std::setw(8) << "STATUS" << sep in operator <<()
91 << std::left << std::setw(12) << "ACTIVE COUNT" << sep in operator <<()
92 << std::left << std::setw(12) << "TOTAL TIME" << sep in operator <<()
93 << std::left << std::setw(12) << "MAX TIME" << sep in operator <<()
[all …]
/system/libhwbinder/vts/performance/
DPerfTest.cpp44 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()
DLatency.cpp50 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/media/audio_utils/include/audio_utils/
Dminifloat.h41 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()
Dprimitives.h1211 int32_t mulAddRL(int left, uint32_t inRL, uint32_t vRL, int32_t a) in mulAddRL() argument
1215 if (left) { in mulAddRL()
1228 if (left) { in mulAddRL()
1240 int32_t mulRL(int left, uint32_t inRL, uint32_t vRL) in mulRL() argument
1244 if (left) { in mulRL()
1257 if (left) { in mulRL()
DTimestampVerifier.h305 static constexpr auto sub(const FrameTime &left, const FrameTime &right) { in sub() argument
308 left.mFrames - right.mFrames, left.mTimeNs - right.mTimeNs); in sub()
DBalance.h136 void computeStereoBalance(float balance, float *left, float *right) const;
/system/media/audio_utils/
DBalance.cpp120 void Balance::computeStereoBalance(float balance, float *left, float *right) const in computeStereoBalance() argument
123 *left = mCurve(1.f - balance); in computeStereoBalance()
126 *left = 1.f; in computeStereoBalance()
129 *left = 1.f; in computeStereoBalance()
/system/extras/simpleperf/scripts/purgatorio/templates/
Dstyles.css35 div.left {
38 left: 0;
104 left: 0;
117 padding-left: 0.5em;
/system/chre/util/tests/
Dpriority_queue_test.cc46 bool compareFunction(const FakeElement &left, const FakeElement &right) { in compareFunction() argument
47 return left.getValue() > right.getValue(); in compareFunction()
52 bool operator()(const FakeElement &left, const FakeElement &right) const { in operator ()() argument
53 return left.getValue() > right.getValue(); in operator ()()
186 auto cmp = [](const FakeElement &left, const FakeElement &right) { in TEST() argument
187 return left.getValue() > right.getValue(); in TEST()
/system/tools/hidl/c2hal/
Dc2hal_y.yy106 %left ','
108 %left '|'
109 %left '^'
110 %left '&'
111 %left RSHIFT LSHIFT
112 %left '+' '-'
113 %left '*' '/' '%'
115 %left ARRAY_SUBSCRIPT FUNCTION_CALL
/system/libbase/include/android-base/
Dunique_fd.h234 inline bool Socketpair(int domain, int type, int protocol, unique_fd_impl<Closer>* left, in Socketpair() argument
240 left->reset(sockfd[0]); in Socketpair()
248 inline bool Socketpair(int type, unique_fd_impl<Closer>* left, unique_fd_impl<Closer>* right) { in Socketpair() argument
249 return Socketpair(AF_UNIX, type, 0, left, right); in Socketpair()
/system/core/fs_mgr/tools/
Ddmctl.cpp392 std::cout << std::left << std::setw(20) << target.name() << " : " << target.version() in DmListTargets()
413 std::cout << std::left << std::setw(20) << dev.name() << " : " << dev.Major() << ":" in DmListDevices()
530 std::cout << std::left << std::setw(spacing) << "device" in InfoCmdHandler()
532 std::cout << std::left << std::setw(spacing) << "active" in InfoCmdHandler()
534 std::cout << std::left << std::setw(spacing) << "access" in InfoCmdHandler()
542 std::cout << std::left << std::setw(spacing) << "activeTable" in InfoCmdHandler()
544 std::cout << std::left << std::setw(spacing) << "inactiveTable" in InfoCmdHandler()
546 std::cout << std::left << std::setw(spacing) << "bufferFull" in InfoCmdHandler()
/system/tools/hidl/c2hal/test/
Dsimple.h54 int left, int top, int width, int height);
/system/tools/aidl/
Daidl_language_y.yy132 %left LOGICAL_OR
133 %left LOGICAL_AND
135 %left '|'
136 %left '^'
137 %left '&'
139 %left EQUALITY NEQ
141 %left '<' '>' LEQ GEQ
143 %left LSHIFT RSHIFT
145 %left '+' '-'
147 %left '*' '/' '%'
[all …]
Daidl_const_expressions.cpp394 AidlConstantValue::Type AidlBinaryConstExpression::UsualArithmeticConversion(Type left, in UsualArithmeticConversion() argument
398 AIDL_FATAL_IF(left == Type::STRING || right == Type::STRING, AIDL_LOCATION_HERE); in UsualArithmeticConversion()
399 AIDL_FATAL_IF(left == Type::FLOATING || right == Type::FLOATING, AIDL_LOCATION_HERE); in UsualArithmeticConversion()
402 if (left == right) return left; // easy case in UsualArithmeticConversion()
403 if (left == Type::BOOLEAN) return right; in UsualArithmeticConversion()
404 if (right == Type::BOOLEAN) return left; in UsualArithmeticConversion()
406 return left < right ? right : left; in UsualArithmeticConversion()
/system/tools/hidl/
Dhidl-gen_y.yy261 %left LOGICAL_OR
262 %left LOGICAL_AND
264 %left '|'
265 %left '^'
266 %left '&'
268 %left EQUALITY NEQ
270 %left '<' '>' LEQ GEQ
272 %left LSHIFT RSHIFT
274 %left '+' '-'
276 %left '*' '/' '%'
[all …]
/system/keymint/common/src/crypto/
Dtraits.rs79 fn eq(&self, left: &[u8], right: &[u8]) -> bool; in eq()
81 fn ne(&self, left: &[u8], right: &[u8]) -> bool { in ne()
82 !self.eq(left, right) in ne()
524 fn eq(&self, left: &[u8], right: &[u8]) -> bool { in eq()
526 left == right in eq()
/system/logging/liblog/
Dlogprint.cpp1167 static struct timespec* sumTimespec(struct timespec* left, struct timespec* right) { in sumTimespec() argument
1168 left->tv_nsec += right->tv_nsec; in sumTimespec()
1169 left->tv_sec += right->tv_sec; in sumTimespec()
1170 if (left->tv_nsec >= (long)NS_PER_SEC) { in sumTimespec()
1171 left->tv_nsec -= NS_PER_SEC; in sumTimespec()
1172 left->tv_sec += 1; in sumTimespec()
1174 return left; in sumTimespec()
1177 static struct timespec* subTimespec(struct timespec* result, struct timespec* left, in subTimespec() argument
1179 result->tv_nsec = left->tv_nsec - right->tv_nsec; in subTimespec()
1180 result->tv_sec = left->tv_sec - right->tv_sec; in subTimespec()
/system/media/camera/docs/
Dhtml.mako30 ….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; }
/system/libbase/
Dfile.cpp260 size_t left = content.size(); in WriteStringToFd() local
261 while (left > 0) { in WriteStringToFd()
262 ssize_t n = TEMP_FAILURE_RETRY(write(fd.get(), p, left)); in WriteStringToFd()
267 left -= n; in WriteStringToFd()

12