Home
last modified time | relevance | path

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

123

/system/extras/libfec/
Dfec_process.cpp72 size_t left = count; in process() local
85 check(left > 0); in process()
96 if (info[i].count > left) { in process()
97 info[i].count = left; in process()
111 left -= info[i].count; in process()
114 check(left == 0); 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()
387 if (copy > left) { in verity_read()
388 copy = left; in verity_read()
394 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.cpp38 << std::left << std::setw(30) << entry.name << sep in operator <<()
41 << std::left << std::setw(6) << ((kernelWakelock) ? "Kernel" : "Native") << sep in operator <<()
42 << std::left << std::setw(8) << ((entry.isActive) ? "Active" : "Inactive") << sep in operator <<()
82 << std::left << std::setw(30) << "NAME" << sep in operator <<()
83 << std::left << std::setw(6) << "PID" << sep in operator <<()
84 << std::left << std::setw(6) << "TYPE" << sep in operator <<()
85 << std::left << std::setw(8) << "STATUS" << sep in operator <<()
86 << std::left << std::setw(12) << "ACTIVE COUNT" << sep in operator <<()
87 << std::left << std::setw(12) << "TOTAL TIME" << sep in operator <<()
88 << std::left << std::setw(12) << "MAX TIME" << sep in operator <<()
[all …]
/system/core/libnetutils/
Dchecksum.c36 int left = len; in ip_checksum_add() local
39 while (left > 1) { in ip_checksum_add()
42 left -= 2; in ip_checksum_add()
44 if (left) { in ip_checksum_add()
/system/core/libpixelflinger/
Dtrap.cpp218 if (l < GGLint(c->state.scissor.left)) { in aa_nice_pointx()
219 xstart += TRI_FROM_INT(c->state.scissor.left-l); in aa_nice_pointx()
220 l = GGLint(c->state.scissor.left); in aa_nice_pointx()
283 if (l < GGLint(c->state.scissor.left)) { in aa_pointx()
284 xstart += TRI_FROM_INT(c->state.scissor.left-l); in aa_pointx()
285 l = GGLint(c->state.scissor.left); in aa_pointx()
424 if (l < GGLint(c->state.scissor.left)) in recti()
425 l = GGLint(c->state.scissor.left); in recti()
544 const int32_t minx = max(bminx, c->state.scissor.left); in trianglex_small()
719 triangle_sweep_edges( Edge* left, in triangle_sweep_edges() argument
[all …]
Draster.cpp76 if (xd < GGLint(c->state.scissor.left)) { in ggl_copyPixels()
77 GGLint offset = GGLint(c->state.scissor.left) - xd; in ggl_copyPixels()
78 xd = GGLint(c->state.scissor.left); in ggl_copyPixels()
/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.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/media/audio_utils/
DBalance.cpp139 void Balance::computeStereoBalance(float balance, float *left, float *right) const in computeStereoBalance() argument
142 *left = mCurve(1.f - balance); in computeStereoBalance()
145 *left = 1.f; in computeStereoBalance()
148 *left = 1.f; in computeStereoBalance()
/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/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 ()() argument
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/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.h222 inline bool Socketpair(int domain, int type, int protocol, unique_fd_impl<Closer>* left, in Socketpair() argument
228 left->reset(sockfd[0]); 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/core/fs_mgr/tools/
Ddmctl.cpp304 std::cout << std::left << std::setw(20) << target.name() << " : " << target.version() in DmListTargets()
325 std::cout << std::left << std::setw(20) << dev.name() << " : " << dev.Major() << ":" in DmListDevices()
408 std::cout << std::left << std::setw(spacing) << "device" in InfoCmdHandler()
410 std::cout << std::left << std::setw(spacing) << "active" in InfoCmdHandler()
412 std::cout << std::left << std::setw(spacing) << "access" in InfoCmdHandler()
420 std::cout << std::left << std::setw(spacing) << "activeTable" in InfoCmdHandler()
422 std::cout << std::left << std::setw(spacing) << "inactiveTable" in InfoCmdHandler()
424 std::cout << std::left << std::setw(spacing) << "bufferFull" in InfoCmdHandler()
/system/bt/bta/hearing_aid/
Dhearing_aid.cc1148 HearingDevice* left = nullptr; in OnAudioDataReady() local
1154 left = &device; in OnAudioDataReady()
1159 if (left == nullptr && right == nullptr) { in OnAudioDataReady()
1168 if (left == nullptr || right == nullptr) { in OnAudioDataReady()
1172 int16_t left = (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()
1185 uint16_t left = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local
1186 chan_left.push_back(left); in OnAudioDataReady()
1202 if (left) { in OnAudioDataReady()
1211 uint16_t cid = GAP_ConnGetL2CAPCid(left->gap_handle); in OnAudioDataReady()
[all …]
/system/tools/aidl/
Daidl_const_expressions.cpp189 AidlConstantValue::Type AidlBinaryConstExpression::UsualArithmeticConversion(Type left, 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()
Daidl_language_y.yy134 %left LOGICAL_OR
135 %left LOGICAL_AND
137 %left '|'
138 %left '^'
139 %left '&'
141 %left EQUALITY NEQ
143 %left '<' '>' LEQ GEQ
145 %left LSHIFT RSHIFT
147 %left '+' '-'
149 %left '*' '/' '%'
[all …]
/system/tools/hidl/c2hal/test/
Dsimple.h54 int left, int top, int width, int height);
/system/media/audio/include/system/
Daudio.h653 static inline bool audio_binary_search_uint_array(const uint32_t audio_array[], size_t left, 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()
665 left = mid + 1; in audio_binary_search_uint_array()
/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/libbase/
Dfile.cpp249 size_t left = content.size(); in WriteStringToFd() local
250 while (left > 0) { in WriteStringToFd()
251 ssize_t n = TEMP_FAILURE_RETRY(write(fd.get(), p, left)); in WriteStringToFd()
256 left -= n; in WriteStringToFd()

123