/system/libhidl/transport/include/hidl/ |
H A D | HidlTransportSupport.h | 91 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 D | minifloat.h | 41 static inline gain_minifloat_packed_t gain_minifloat_pack(gain_minifloat_t left, argument 44 return (right << 16) | left;
|
H A D | primitives.h | 1141 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 D | priority_queue_test.cc | 30 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 D | fec_process.cpp | 72 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 D | fec_read.cpp | 254 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 D | unique_fd.h | 125 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 D | mca_dsm.cc | 186 uint8_t left; local 204 left = max - count; 205 return left;
|
/system/core/base/ |
H A D | file.cpp | 83 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 D | sdcard_perf_test.cpp | 307 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 D | ast_cpp.cpp | 319 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 D | NetlinkEvent.cpp | 676 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 D | hearing_aid.cc | 178 /* 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 D | audio_a2dp_hw.cc | 1328 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 D | audio_hearing_aid_hw.cc | 1297 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 D | logprint.c | 103 /* 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 D | liblog_test.cpp | 959 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 D | ggl_context.h | 330 uint32_t left; member in struct:android::scissor_t
|
/system/core/libpixelflinger/ |
H A D | trap.cpp | 218 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...] |