Home
last modified time | relevance | path

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

12

/system/libhidl/transport/
DHidlTransportSupport.cpp111 bool interfacesEqual(const sp<IBase>& left, const sp<IBase>& right) { in interfacesEqual() argument
112 if (left == nullptr || right == nullptr || !left->isRemote() || !right->isRemote()) { in interfacesEqual()
113 return left == right; in interfacesEqual()
115 return getOrCreateCachedBinder(left.get()) == getOrCreateCachedBinder(right.get()); in interfacesEqual()
/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
312 while (left > 0) { in verity_read()
388 if (copy > left) { in verity_read()
389 copy = left; in verity_read()
395 left -= copy; in verity_read()
/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.h1153 int32_t mulAddRL(int left, uint32_t inRL, uint32_t vRL, int32_t a) in mulAddRL() argument
1157 if (left) { in mulAddRL()
1170 if (left) { in mulAddRL()
1182 int32_t mulRL(int left, uint32_t inRL, uint32_t vRL) in mulRL() argument
1186 if (left) { in mulRL()
1199 if (left) { in mulRL()
DTimestampVerifier.h292 static constexpr auto sub(const FrameTime &left, const FrameTime &right) { in sub() argument
295 left.mFrames - right.mFrames, left.mTimeNs - right.mTimeNs); in sub()
DBalance.h121 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/extras/perfprofd/
Dmap_utils.h78 AggregatedSymbol left(maybe_match.symbol, *maybe_match.offsets.begin()); in Insert()
81 left.offsets.insert(*offset_it); in Insert()
96 map_.emplace(*left.offsets.begin(), std::move(left)); in Insert()
/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/core/base/include/android-base/
Dunique_fd.h209 inline bool Socketpair(int domain, int type, int protocol, unique_fd_impl<Closer>* left, in Socketpair() argument
215 left->reset(sockfd[0]); in Socketpair()
221 inline bool Socketpair(int type, unique_fd_impl<Closer>* left, unique_fd_impl<Closer>* right) { in Socketpair() argument
222 return Socketpair(AF_UNIX, type, 0, left, right); in Socketpair()
/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/bt/bta/hearing_aid/
Dhearing_aid.cc1131 HearingDevice* left = nullptr; in OnAudioDataReady() local
1137 left = &device; in OnAudioDataReady()
1142 if (left == nullptr && right == nullptr) { in OnAudioDataReady()
1152 if (left == nullptr || right == nullptr) { in OnAudioDataReady()
1156 int16_t left = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local
1161 uint16_t mono_data = (int16_t)(((uint32_t)left + (uint32_t)right) >> 1); in OnAudioDataReady()
1169 uint16_t left = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; in OnAudioDataReady() local
1170 chan_left.push_back(left); in OnAudioDataReady()
1186 if (left) { in OnAudioDataReady()
1195 uint16_t cid = GAP_ConnGetL2CAPCid(left->gap_handle); in OnAudioDataReady()
[all …]
/system/tools/hidl/c2hal/test/
Dsimple.h54 int left, int top, int width, int height);
/system/core/base/
Dfile.cpp211 size_t left = content.size(); in WriteStringToFd() local
212 while (left > 0) { in WriteStringToFd()
213 ssize_t n = TEMP_FAILURE_RETRY(write(fd, p, left)); in WriteStringToFd()
218 left -= n; in WriteStringToFd()
/system/tools/hidl/
Dhidl-gen_y.yy256 %left LOGICAL_OR
257 %left LOGICAL_AND
259 %left '|'
260 %left '^'
261 %left '&'
263 %left EQUALITY NEQ
265 %left '<' '>' LEQ GEQ
267 %left LSHIFT RSHIFT
269 %left '+' '-'
271 %left '*' '/' '%'
[all …]
/system/media/camera/docs/
Dhtml.mako30 ….kind { color: #eeeeee; font-size: 1.2em; font-weight: bold; padding-left: 1.5em; background-color…
42 td,th { border: 1px solid; border-color: #aaaaaa; padding-left: 0.5em; padding-right: 0.5em }
57 ….entry_name { color: #333333; padding-left:1.0em; font-size:1.1em; font-family: monospace; vertica…
63 .entry_type_visibility { font-weight: bolder; padding-left:1em}
72 .entry ul { margin: 0 0 0 0; list-style-position: inside; padding-left: 0.5em; }
81 text-align: center; font-size: 1.1em; margin-left: 0em; margin-right: 0em; }
/system/core/liblog/
Dlogprint.cpp1261 static struct timespec* sumTimespec(struct timespec* left, struct timespec* right) { in sumTimespec() argument
1262 left->tv_nsec += right->tv_nsec; in sumTimespec()
1263 left->tv_sec += right->tv_sec; in sumTimespec()
1264 if (left->tv_nsec >= (long)NS_PER_SEC) { in sumTimespec()
1265 left->tv_nsec -= NS_PER_SEC; in sumTimespec()
1266 left->tv_sec += 1; in sumTimespec()
1268 return left; in sumTimespec()
1271 static struct timespec* subTimespec(struct timespec* result, struct timespec* left, in subTimespec() argument
1273 result->tv_nsec = left->tv_nsec - right->tv_nsec; in subTimespec()
1274 result->tv_sec = left->tv_sec - right->tv_sec; in subTimespec()
/system/tools/aidl/
Dast_cpp.cpp339 Assignment::Assignment(const std::string& left, const std::string& right) in Assignment() argument
340 : Assignment(left, new LiteralExpression{right}) {} in Assignment()
342 Assignment::Assignment(const std::string& left, AstNode* right) in Assignment() argument
343 : lhs_(left), in Assignment()
/system/libhidl/transport/include/hidl/
DHidlTransportSupport.h104 bool interfacesEqual(const sp<::android::hidl::base::V1_0::IBase>& left,

12