Home
last modified time | relevance | path

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

123

/system/keymaster/include/keymaster/
DList.h116 inline bool operator==(const _Iter& right) const {
117 return mpNode == right.mpNode; }
119 inline bool operator!=(const _Iter& right) const {
120 return mpNode != right.mpNode; }
126 inline bool operator==(const OTHER& right) const {
127 return mpNode == right.mpNode; }
130 inline bool operator!=(const OTHER& right) const {
131 return mpNode != right.mpNode; }
178 List<T>& operator=(const List<T>& right);
313 List<T>& List<T>::operator=(const List<T>& right)
[all …]
/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/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.h294 static constexpr auto sub(const FrameTime &left, const FrameTime &right) { in sub() argument
297 left.mFrames - right.mFrames, left.mTimeNs - right.mTimeNs); in sub()
DBalance.h121 void computeStereoBalance(float balance, float *left, float *right) const;
/system/chre/util/include/chre/util/
Darray_queue.h179 bool operator==(const ArrayQueueIterator &right) const {
180 return (mPointer == right.mPointer);
183 bool operator!=(const ArrayQueueIterator &right) const {
184 return (mPointer != right.mPointer);
/system/media/audio_utils/
DBalance.cpp139 void Balance::computeStereoBalance(float balance, float *left, float *right) const in computeStereoBalance()
143 *right = 1.f; in computeStereoBalance()
146 *right = mCurve(1.f + balance); in computeStereoBalance()
149 *right = 1.f; in computeStereoBalance()
/system/hardware/interfaces/suspend/1.0/default/
DWakeLockEntryList.cpp39 << std::right << std::setw(6) in operator <<()
43 << std::right << std::setw(12) << entry.activeCount << sep in operator <<()
44 << std::right << std::setw(12) << std::to_string(entry.totalTime) + "ms" << sep in operator <<()
45 << std::right << std::setw(12) << std::to_string(entry.maxTime) + "ms" << sep in operator <<()
46 << std::right << std::setw(12) in operator <<()
48 << std::right << std::setw(12) in operator <<()
50 << std::right << std::setw(12) in operator <<()
52 << std::right << std::setw(20) in operator <<()
55 << std::right << std::setw(16) << std::to_string(entry.lastChange) + "ms" << sep; in operator <<()
73 header << sep << std::right << std::setw(((width - 14) / 2) + 14) << "WAKELOCK STATS" in operator <<()
[all …]
/system/chre/util/tests/
Dpriority_queue_test.cc30 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 ()()
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/core/base/include/android-base/
Dunique_fd.h223 unique_fd_impl<Closer>* right) { in Socketpair() argument
229 right->reset(sockfd[1]); in Socketpair()
234 inline bool Socketpair(int type, unique_fd_impl<Closer>* left, unique_fd_impl<Closer>* right) { in Socketpair() argument
235 return Socketpair(AF_UNIX, type, 0, left, right); in Socketpair()
/system/iorap/docs/binder/
DIIorap_setTaskListener.plantuml29 note right of iorapd
45 note right of iorapd
/system/bt/bta/hearing_aid/
Dhearing_aid.cc1149 HearingDevice* right = nullptr; in OnAudioDataReady() local
1156 right = &device; in OnAudioDataReady()
1159 if (left == nullptr && right == nullptr) { in OnAudioDataReady()
1168 if (left == nullptr || right == nullptr) { in OnAudioDataReady()
1175 int16_t right = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local
1177 uint16_t mono_data = (int16_t)(((uint32_t)left + (uint32_t)right) >> 1); in OnAudioDataReady()
1189 uint16_t right = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local
1190 chan_right.push_back(right); in OnAudioDataReady()
1226 if (right) { in OnAudioDataReady()
1235 uint16_t cid = GAP_ConnGetL2CAPCid(right->gap_handle); in OnAudioDataReady()
[all …]
/system/tools/aidl/
Daidl_const_expressions.cpp167 Type right) { in UsualArithmeticConversion() argument
169 CHECK(left != Type::STRING && right != Type::STRING); in UsualArithmeticConversion()
170 CHECK(left != Type::FLOATING && right != Type::FLOATING); in UsualArithmeticConversion()
173 if (left == right) return left; // easy case in UsualArithmeticConversion()
174 if (left == Type::BOOLEAN) return right; in UsualArithmeticConversion()
175 if (right == Type::BOOLEAN) return left; in UsualArithmeticConversion()
177 return left < right ? right : left; in UsualArithmeticConversion()
Dast_cpp.cpp345 Assignment::Assignment(const std::string& left, const std::string& right) in Assignment() argument
346 : Assignment(left, new LiteralExpression{right}) {} in Assignment()
348 Assignment::Assignment(const std::string& left, AstNode* right) in Assignment() argument
350 rhs_(right) {} in Assignment()
Dast_cpp.h294 Assignment(const std::string& left, const std::string& right);
295 Assignment(const std::string& left, AstNode* right);
/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/media/audio/include/system/
Daudio.h673 size_t right, uint32_t target) in audio_binary_search_uint_array() argument
675 if (right <= left || target < audio_array[left] || target > audio_array[right - 1]) { in audio_binary_search_uint_array()
679 while (left < right) { in audio_binary_search_uint_array()
680 const size_t mid = left + (right - left) / 2; in audio_binary_search_uint_array()
686 right = mid; in audio_binary_search_uint_array()
/system/libhidl/transport/include/hidl/
DHidlTransportSupport.h118 const sp<::android::hidl::base::V1_0::IBase>& right);
/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/tools/hidl/c2hal/
Dc2hal_y.yy107 %right '?' ':'
114 %right '~' '!' UMINUS UPLUS
117 %right STRUCT ENUM
/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/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto76 // Sectors allocated for the COW device. Recording this value right after
82 // Metadata sectors allocated for the COW device. Recording this value right
/system/core/liblog/
Dlogprint.cpp1168 static struct timespec* sumTimespec(struct timespec* left, struct timespec* right) { in sumTimespec() argument
1169 left->tv_nsec += right->tv_nsec; in sumTimespec()
1170 left->tv_sec += right->tv_sec; in sumTimespec()
1179 struct timespec* right) { in subTimespec() argument
1180 result->tv_nsec = left->tv_nsec - right->tv_nsec; in subTimespec()
1181 result->tv_sec = left->tv_sec - right->tv_sec; in subTimespec()

123