Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 64) 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.h301 static constexpr auto sub(const FrameTime &left, const FrameTime &right) { in sub() argument
304 left.mFrames - right.mFrames, left.mTimeNs - right.mTimeNs); in sub()
DBalance.h122 void computeStereoBalance(float balance, float *left, float *right) const;
/system/core/libpixelflinger/
Dtrap.cpp226 if (r > GGLint(c->state.scissor.right)) { in aa_nice_pointx()
227 r = GGLint(c->state.scissor.right); in aa_nice_pointx()
291 if (r > GGLint(c->state.scissor.right)) { in aa_pointx()
292 r = GGLint(c->state.scissor.right); in aa_pointx()
428 if (r > GGLint(c->state.scissor.right)) in recti()
429 r = GGLint(c->state.scissor.right); in recti()
546 const int32_t maxx = min(bmaxx, c->state.scissor.right); in trianglex_small()
720 Edge* right, in triangle_sweep_edges() argument
729 if ((left->x > right->x) || in triangle_sweep_edges()
730 ((left->x == right->x) && (left->x_incr > right->x_incr))) { in triangle_sweep_edges()
[all …]
Draster.cpp88 if ((xd + width) > GGLint(c->state.scissor.right)) { in ggl_copyPixels()
89 width = GGLint(c->state.scissor.right) - xd; in ggl_copyPixels()
/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/chre/util/include/chre/util/
Darray_queue.h180 bool operator==(const ArrayQueueIterator& right) const {
181 return (mPointer == right.mPointer);
184 bool operator!=(const ArrayQueueIterator& right) const {
185 return (mPointer != right.mPointer);
/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/libbase/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.cpp190 Type right) { in UsualArithmeticConversion() argument
192 CHECK(left != Type::STRING && right != Type::STRING); in UsualArithmeticConversion()
193 CHECK(left != Type::FLOATING && right != Type::FLOATING); in UsualArithmeticConversion()
196 if (left == right) return left; // easy case in UsualArithmeticConversion()
197 if (left == Type::BOOLEAN) return right; in UsualArithmeticConversion()
198 if (right == Type::BOOLEAN) return left; in UsualArithmeticConversion()
200 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()
/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.h654 size_t right, uint32_t target) in audio_binary_search_uint_array() argument
656 if (right <= left || target < audio_array[left] || target > audio_array[right - 1]) { in audio_binary_search_uint_array()
660 while (left < right) { in audio_binary_search_uint_array()
661 const size_t mid = left + (right - left) / 2; in audio_binary_search_uint_array()
667 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/media/camera/docs/
Dcamera_device_info.mako41 optional int32 right = 2;
/system/tools/hidl/c2hal/
Dc2hal_y.yy107 %right '?' ':'
114 %right '~' '!' UMINUS UPLUS
117 %right STRUCT ENUM
/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.cpp1169 static struct timespec* sumTimespec(struct timespec* left, struct timespec* right) { in sumTimespec() argument
1170 left->tv_nsec += right->tv_nsec; in sumTimespec()
1171 left->tv_sec += right->tv_sec; in sumTimespec()
1180 struct timespec* right) { in subTimespec() argument
1181 result->tv_nsec = left->tv_nsec - right->tv_nsec; in subTimespec()
1182 result->tv_sec = left->tv_sec - right->tv_sec; in subTimespec()

123