Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 61) sorted by relevance

123

/system/core/libutils/include/utils/
DList.h118 inline bool operator==(const _Iter& right) const {
119 return mpNode == right.mpNode; }
121 inline bool operator!=(const _Iter& right) const {
122 return mpNode != right.mpNode; }
128 inline bool operator==(const OTHER& right) const {
129 return mpNode == right.mpNode; }
132 inline bool operator!=(const OTHER& right) const {
133 return mpNode != right.mpNode; }
180 List<T>& operator=(const List<T>& right);
315 List<T>& List<T>::operator=(const List<T>& right)
[all …]
/system/keymaster/include/keymaster/
DList.h107 inline bool operator==(const _Iter& right) const { return mpNode == right.mpNode; }
109 inline bool operator!=(const _Iter& right) const { return mpNode != right.mpNode; }
114 template <typename OTHER> inline bool operator==(const OTHER& right) const {
115 return mpNode == right.mpNode;
118 template <typename OTHER> inline bool operator!=(const OTHER& right) const {
119 return mpNode != right.mpNode;
165 List<T>& operator=(const List<T>& right);
284 template <class T> List<T>& List<T>::operator=(const List<T>& right) {
285 if (this == &right) return *this; // self-assignment
288 const_iterator firstSrc = right.begin();
[all …]
/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/simpleperf/scripts/purgatorio/templates/
Dstyles.css46 right: 0;
47 text-align: right;
55 right: 0;
66 right: 0;
88 margin-right: 0.3em;
118 padding-right: 0.5em;
124 float: right;
/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/media/audio_utils/include/audio_utils/
Dminifloat.h42 gain_minifloat_t right) in gain_minifloat_pack() argument
44 return (right << 16) | left; in gain_minifloat_pack()
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/hardware/interfaces/suspend/1.0/default/
DWakeLockEntryList.cpp44 << std::right << std::setw(6) in operator <<()
48 << std::right << std::setw(12) << entry.activeCount << sep in operator <<()
49 << std::right << std::setw(12) << std::to_string(entry.totalTime) + "ms" << sep in operator <<()
50 << std::right << std::setw(12) << std::to_string(entry.maxTime) + "ms" << sep in operator <<()
51 << std::right << std::setw(12) in operator <<()
53 << std::right << std::setw(12) in operator <<()
55 << std::right << std::setw(12) in operator <<()
57 << std::right << std::setw(20) in operator <<()
60 << std::right << std::setw(16) << std::to_string(entry.lastChange) + "ms" << sep; in operator <<()
78 header << sep << std::right << std::setw(((width - 14) / 2) + 14) << "WAKELOCK STATS" in operator <<()
[all …]
/system/media/audio_utils/
DBalance.cpp120 void Balance::computeStereoBalance(float balance, float *left, float *right) const in computeStereoBalance()
124 *right = 1.f; in computeStereoBalance()
127 *right = mCurve(1.f + balance); in computeStereoBalance()
130 *right = 1.f; in computeStereoBalance()
/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 ()()
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/chre/util/include/chre/util/
Darray_queue.h380 bool operator==(const ArrayQueueIterator &right) const {
381 return (mPointer == right.mPointer);
384 bool operator!=(const ArrayQueueIterator &right) const {
385 return (mPointer != right.mPointer);
/system/libbase/include/android-base/
Dunique_fd.h235 unique_fd_impl<Closer>* right) { in Socketpair() argument
241 right->reset(sockfd[1]); 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/teeui/libteeui/src/
Dbutton.cpp64 auto drawCorner = [&, this](intpxs right, intpxs bottom) -> Error { in draw() argument
66 cBounds.translateSelf(Point<intpxs>(right * (intBounds.w() - intRadius), in draw()
68 auto center = Point<pxs>((intpxs(1) - right) * intRadius, (intpxs(1) - bottom) * intRadius); in draw()
/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/tools/aidl/
Daidl_const_expressions.cpp395 Type right) { 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/extras/simpleperf/scripts/purgatorio/
DREADME.md49 The toolbox to the right can be used to configure interactions with the graph:
54 The flame graph is located in the upper right portion. Once samples are selected in the main graph,…
67 It's located in the lower right and counts samples by thread (for direct flame graphs) or symbol (f…
/system/core/fs_mgr/
DREADME.overlayfs.md13 right-sized, and have been deduped at the block level to compress the content.
81 right-sizing of images and requires more free dynamic partition space.
111 out and we reserve the right to not inform, if the layering
/system/libhidl/transport/include/hidl/
DHidlTransportSupport.h118 const sp<::android::hidl::base::V1_0::IBase>& right);
/system/tools/hidl/c2hal/
Dc2hal_y.yy107 %right '?' ':'
114 %right '~' '!' UMINUS UPLUS
117 %right STRUCT ENUM
/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()
1178 struct timespec* right) { 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/keymint/common/src/tag/
Dlegacy.rs523 pub fn param_compare(left: &KeyParam, right: &KeyParam) -> Ordering { in param_compare()
524 match (left, right) { in param_compare()
593 (left, right) => left.tag().cmp(&right.tag()), in param_compare()
/system/media/camera/docs/
Dcamera_device_info.mako41 optional int32 right = 2;
Dcamera_metadata_tags.mako47 * New sections must be added right before ANDROID_SECTION_COUNT to maintain
/system/media/audio/include/system/
Daudio.h1310 size_t left, size_t right, in audio_binary_search_device_array() argument
1313 if (right <= left || target < audio_array[left] || target > audio_array[right - 1]) { in audio_binary_search_device_array()
1317 while (left < right) { in audio_binary_search_device_array()
1318 const size_t mid = left + (right - left) / 2; in audio_binary_search_device_array()
1324 right = mid; in audio_binary_search_device_array()

123