Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 62) 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/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/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/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.h304 static constexpr auto sub(const FrameTime &left, const FrameTime &right) { in sub() argument
307 left.mFrames - right.mFrames, left.mTimeNs - right.mTimeNs); in sub()
DBalance.h136 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/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/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.cc30 bool compareFunction(const FakeElement &left, const FakeElement &right) { in compareFunction() argument
31 return left.getValue() > right.getValue(); in compareFunction()
36 bool operator()(const FakeElement &left, const FakeElement &right) const { in operator ()()
37 return left.getValue() > right.getValue(); in operator ()()
170 auto cmp = [](const FakeElement &left, const FakeElement &right) { in TEST() argument
171 return left.getValue() > right.getValue(); in TEST()
/system/bt/embdrv/g722/fuzzer/
Dg722_enc_fuzzer.cc57 int16_t right = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in LLVMFuzzerTestOneInput() local
59 uint16_t mono_data = (int16_t)(((uint32_t)left + (uint32_t)right) >> 1); in LLVMFuzzerTestOneInput()
/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.cc1145 HearingDevice* right = nullptr; in OnAudioDataReady() local
1152 right = &device; in OnAudioDataReady()
1155 if (left == nullptr && right == nullptr) { in OnAudioDataReady()
1164 if (left == nullptr || right == nullptr) { in OnAudioDataReady()
1171 int16_t right = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local
1173 uint16_t mono_data = (int16_t)(((uint32_t)left + (uint32_t)right) >> 1); in OnAudioDataReady()
1185 uint16_t right = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local
1186 chan_right.push_back(right); in OnAudioDataReady()
1222 if (right) { in OnAudioDataReady()
1231 uint16_t cid = GAP_ConnGetL2CAPCid(right->gap_handle); in OnAudioDataReady()
[all …]
/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/tools/aidl/
Daidl_const_expressions.cpp311 Type right) { in UsualArithmeticConversion() argument
313 AIDL_FATAL_IF(left == Type::STRING || right == Type::STRING, AIDL_LOCATION_HERE); in UsualArithmeticConversion()
314 AIDL_FATAL_IF(left == Type::FLOATING || right == Type::FLOATING, AIDL_LOCATION_HERE); in UsualArithmeticConversion()
317 if (left == right) return left; // easy case in UsualArithmeticConversion()
318 if (left == Type::BOOLEAN) return right; in UsualArithmeticConversion()
319 if (right == Type::BOOLEAN) return left; in UsualArithmeticConversion()
321 return left < right ? right : left; in UsualArithmeticConversion()
Dast_cpp.cpp368 Assignment::Assignment(const std::string& left, const std::string& right) in Assignment() argument
369 : Assignment(left, new LiteralExpression{right}) {} in Assignment()
371 Assignment::Assignment(const std::string& left, AstNode* right) in Assignment() argument
373 rhs_(right) {} in Assignment()
/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/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;
/system/logging/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()
/system/media/audio/include/system/
Daudio.h1207 size_t left, size_t right, in audio_binary_search_device_array() argument
1210 if (right <= left || target < audio_array[left] || target > audio_array[right - 1]) { in audio_binary_search_device_array()
1214 while (left < right) { in audio_binary_search_device_array()
1215 const size_t mid = left + (right - left) / 2; in audio_binary_search_device_array()
1221 right = mid; in audio_binary_search_device_array()

123