Searched defs:left (Results 1 - 19 of 19) sorted by relevance

/system/libhidl/transport/include/hidl/
H A DHidlTransportSupport.h91 bool interfacesEqual(sp<ILeft> left, sp<IRight> right) { argument
92 if (left == nullptr || right == nullptr || !left->isRemote() || !right->isRemote()) {
93 return left == right;
96 return toBinder<ILeft>(left) == toBinder<IRight>(right);
/system/media/audio_utils/include/audio_utils/
H A Dminifloat.h41 static inline gain_minifloat_packed_t gain_minifloat_pack(gain_minifloat_t left, argument
44 return (right << 16) | left;
H A Dprimitives.h1141 int32_t mulAddRL(int left, uint32_t inRL, uint32_t vRL, int32_t a) argument
1145 if (left) {
1158 if (left) {
1170 int32_t mulRL(int left, uint32_t inRL, uint32_t vRL) argument
1174 if (left) {
1187 if (left) {
/system/chre/util/tests/
H A Dpriority_queue_test.cc30 bool compareFunction(const DummyElement& left, const DummyElement& right) { argument
31 return left.getValue() > right.getValue();
36 bool operator() (const DummyElement& left, const DummyElement& right) const { argument
37 return left.getValue() > right.getValue();
170 auto cmp = [](const DummyElement& left, const DummyElement& right) {
171 return left.getValue() > right.getValue();
/system/extras/libfec/
H A Dfec_process.cpp72 size_t left = count; local
85 check(left > 0);
96 if (info[i].count > left) {
97 info[i].count = left;
111 left -= info[i].count;
114 check(left == 0);
H A Dfec_read.cpp254 size_t left = count; local
258 while (left > 0) {
267 if (copy > left) {
268 copy = left;
274 left -= copy;
306 size_t left = count; local
312 while (left > 0) {
388 if (copy > left) {
389 copy = left;
395 left
[all...]
/system/core/base/include/android-base/
H A Dunique_fd.h125 inline bool Socketpair(int domain, int type, int protocol, unique_fd* left, unique_fd* right) { argument
130 left->reset(sockfd[0]);
135 inline bool Socketpair(int type, unique_fd* left, unique_fd* right) { argument
136 return Socketpair(AF_UNIX, type, 0, left, right);
/system/bt/stack/mcap/
H A Dmca_dsm.cc186 uint8_t left; local
204 left = max - count;
205 return left;
/system/core/base/
H A Dfile.cpp83 size_t left = content.size(); local
84 while (left > 0) {
85 ssize_t n = TEMP_FAILURE_RETRY(write(fd, p, left));
90 left -= n;
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp307 size_t left = testCase->dataSize(); local
309 while (left > 0)
314 if (chunk_size > left)
316 chunk_size = left;
317 left = 0;
321 left -= chunk_size;
378 size_t left = size; local
379 while (left > 0)
381 if (chunk_size > left)
383 chunk_size = left;
440 size_t left = testCase->dataSize(); local
571 size_t left = testCase->dataSize(); local
[all...]
/system/tools/aidl/
H A Dast_cpp.cpp319 Assignment::Assignment(const std::string& left, const std::string& right) argument
320 : Assignment(left, new LiteralExpression{right}) {}
322 Assignment::Assignment(const std::string& left, AstNode* right) argument
323 : lhs_(left),
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp676 ssize_t left = nh->nlmsg_len - NLA_START; local
679 while (left >= NLA_HDRLEN) {
686 left -= NLA_ALIGN(nla->nla_len);
/system/bt/bta/hearing_aid/
H A Dhearing_aid.cc178 /* return true if this device represents left Hearing Aid. Returned value is
263 "clients left!";
528 VLOG(2) << __func__ << " capabilities: " << (side ? "right" : "left")
765 // TODO: encode data into G.722 left/right or mono.
769 uint16_t left = (int16_t)((*(sample + 1) << 8) + *sample) >> 1; local
770 chan_left.push_back(left);
777 // TODO: we should cache left/right and current state, instad of recomputing
779 HearingDevice* left = nullptr; local
785 left = &device;
790 if (left
[all...]
/system/bt/audio_a2dp_hw/src/
H A Daudio_a2dp_hw.cc1328 UNUSED_ATTR float left, UNUSED_ATTR float right) {
1327 out_set_volume(UNUSED_ATTR struct audio_stream_out* stream, UNUSED_ATTR float left, UNUSED_ATTR float right) argument
/system/bt/audio_hearing_aid_hw/src/
H A Daudio_hearing_aid_hw.cc1297 UNUSED_ATTR float left, UNUSED_ATTR float right) {
1296 out_set_volume(UNUSED_ATTR struct audio_stream_out* stream, UNUSED_ATTR float left, UNUSED_ATTR float right) argument
/system/core/liblog/
H A Dlogprint.c103 /* balance to above, filterinfo_free left unimplemented */
1284 static struct timespec* sumTimespec(struct timespec* left, argument
1286 left->tv_nsec += right->tv_nsec;
1287 left->tv_sec += right->tv_sec;
1288 if (left->tv_nsec >= (long)NS_PER_SEC) {
1289 left->tv_nsec -= NS_PER_SEC;
1290 left->tv_sec += 1;
1292 return left;
1296 struct timespec* left,
1298 result->tv_nsec = left
1295 subTimespec(struct timespec* result, struct timespec* left, struct timespec* right) argument
[all...]
/system/core/liblog/tests/
H A Dliblog_test.cpp959 when I left him\n\
1040 horse; for it is all the wealth that he hath left,\n\
1123 const char* left = data; local
1125 while (*left && *right && (*left == *right)) {
1126 ++left;
1130 if (max_len <= (left - data)) {
1131 max_len = left - data + 1;
1261 const char* left = data; local
1263 while (*left
[all...]
/system/core/libpixelflinger/include/private/pixelflinger/
H A Dggl_context.h330 uint32_t left; member in struct:android::scissor_t
/system/core/libpixelflinger/
H A Dtrap.cpp218 if (l < GGLint(c->state.scissor.left)) {
219 xstart += TRI_FROM_INT(c->state.scissor.left-l);
220 l = GGLint(c->state.scissor.left);
283 if (l < GGLint(c->state.scissor.left)) {
284 xstart += TRI_FROM_INT(c->state.scissor.left-l);
285 l = GGLint(c->state.scissor.left);
424 if (l < GGLint(c->state.scissor.left))
425 l = GGLint(c->state.scissor.left);
544 const int32_t minx = max(bminx, c->state.scissor.left);
719 triangle_sweep_edges( Edge* left, argument
987 AAEdge* left = &edges[0]; local
[all...]

Completed in 662 milliseconds