/system/extras/multinetwork/ |
D | dnschk.cpp | 33 int rval = -1; in main() local 36 if (!args.parseArguments(argc, argv)) { return rval; } in main() 50 rval = android_getaddrinfofornetwork(args.nethandle, in main() 55 rval = android_setprocnetwork(args.nethandle); in main() 56 if (rval != 0) { in main() 57 std::cerr << "android_setprocnetwork returned " << rval in main() 59 return rval; in main() 62 rval = getaddrinfo(args.arg1, nullptr, &hints, &result); in main() 70 if (rval != 0) { in main() 71 std::cerr << "DNS resolution failure; gaierror=" << rval in main() [all …]
|
D | httpurl.cpp | 104 int rval = -1; in parseUrl() local 107 rval = android_getaddrinfofornetwork(args.nethandle, in parseUrl() 113 rval = getaddrinfo(parameters->hostname.c_str(), in parseUrl() 123 if (rval != 0) { in parseUrl() 124 std::cerr << "DNS resolution failure; gaierror=" << rval in parseUrl() 125 << " [" << gai_strerror(rval) << "]" in parseUrl() 127 return rval; in parseUrl() 168 int rval = -1; in doHttpQuery() local 198 rval = recv(fd, buf, sizeof(buf), 0); in doHttpQuery() 200 if (rval < 0) { in doHttpQuery() [all …]
|
/system/netd/server/ |
D | thread_util.h | 50 int rval = scoped_attr.detach(); in threadLaunch() local 51 if (rval != 0) { return -errno; } in threadLaunch() 54 rval = pthread_create(&thread, &scoped_attr.attr, &runAndDelete<T>, obj); in threadLaunch() 55 if (rval != 0) { in threadLaunch() 60 return rval; in threadLaunch()
|
D | DnsProxyListener.cpp | 66 const int rval = threadLaunch(handler); in tryThreadOrError() local 67 if (rval == 0) { in tryThreadOrError() 73 asprintf(&msg, "%s (%d)", strerror(-rval), -rval); in tryThreadOrError()
|
D | MDnsSdListener.cpp | 527 const int rval = ::android::net::threadLaunch(this); in Monitor() local 528 if (rval != 0) { in Monitor() 529 ALOGW("Error spawning monitor thread: %s (%d)", strerror(-rval), -rval); in Monitor()
|
/system/tools/hidl/ |
D | ConstantExpression.cpp | 33 #define COMPUTE_BINARY(__op__) if(OPEQ(#__op__)) return lval __op__ rval; 110 T handleBinaryCommon(T lval, const char *op, T rval) { in handleBinaryCommon() argument 128 << lval << " " << op << " " << rval; in handleBinaryCommon() 133 T handleShift(T lval, const char *op, int64_t rval) { in handleShift() argument 139 << lval << " " << op << " " << rval; in handleShift() 143 bool handleLogical(bool lval, const char *op, bool rval) { in handleLogical() argument 148 << lval << " " << op << " " << rval; in handleLogical() 262 const ConstantExpression* rval) in ConstantExpression() argument 263 : mExpr(std::string("(") + lval->mExpr + " " + op + " " + rval->mExpr + ")"), in ConstantExpression() 274 integralPromotion(rval->mValueKind)); in ConstantExpression() [all …]
|
/system/core/liblog/ |
D | event_tag_map.cpp | 61 bool operator==(const MapString& rval) const { in operator ==() 62 if (length() != rval.length()) return false; in operator ==() 64 return fastcmp<strncmp>(data(), rval.data(), length()) == 0; in operator ==() 66 bool operator!=(const MapString& rval) const { in operator !=() 67 return !(*this == rval); in operator !=() 75 MapString(MapString&& rval) in MapString() argument 76 : alloc(rval.alloc), str(rval.data(), rval.length()) { in MapString() 77 rval.alloc = NULL; in MapString() 79 explicit MapString(const MapString& rval) in MapString() argument 80 : alloc(rval.alloc ? new std::string(*rval.alloc) : NULL), in MapString() [all …]
|
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 38 Pipe(Pipe&& rval) noexcept { in Pipe() argument 39 m_readFd = rval.m_readFd; in Pipe() 40 m_writeFd = rval.m_writeFd; in Pipe() 41 rval.m_readFd = 0; in Pipe() 42 rval.m_writeFd = 0; in Pipe()
|
/system/libhwbinder/vts/performance/ |
D | PerfTest.cpp | 66 Pipe::Pipe(Pipe&& rval) noexcept { in Pipe() argument 67 fd_read_ = rval.fd_read_; in Pipe() 68 fd_write_ = rval.fd_write_; in Pipe() 69 rval.fd_read_ = 0; in Pipe() 70 rval.fd_write_ = 0; in Pipe()
|
D | Benchmark_throughput.cpp | 57 Pipe(Pipe&& rval) noexcept { in Pipe() argument 58 m_readFd = rval.m_readFd; in Pipe() 59 m_writeFd = rval.m_writeFd; in Pipe() 60 rval.m_readFd = 0; in Pipe() 61 rval.m_writeFd = 0; in Pipe()
|
D | PerfTest.h | 37 Pipe(Pipe&& rval);
|
/system/core/logd/ |
D | LogStatistics.h | 534 explicit TagNameKey(TagNameKey&& rval) in TagNameKey() 535 : alloc(rval.alloc), name(rval.name.data(), rval.name.length()) { in TagNameKey() 536 rval.alloc = nullptr; in TagNameKey() 539 explicit TagNameKey(const TagNameKey& rval) in TagNameKey() 540 : alloc(rval.alloc ? new std::string(*rval.alloc) : nullptr), in TagNameKey() 541 name(alloc ? alloc->data() : rval.name.data(), rval.name.length()) { in TagNameKey() 559 bool operator==(const TagNameKey& rval) const { 560 if (length() != rval.length()) return false; 562 return fastcmp<strncmp>(data(), rval.data(), length()) == 0; 564 bool operator!=(const TagNameKey& rval) const { [all …]
|
/system/keymaster/ |
D | ocb.c | 198 } rval; in gen_offset() local 199 rval.u64[0] = (KtopStr[0] << bot) | (KtopStr[1] >> (64 - bot)); in gen_offset() 200 rval.u64[1] = (KtopStr[1] << bot) | (KtopStr[2] >> (64 - bot)); in gen_offset() 201 return rval.bl; in gen_offset() 262 block rval = (block)veorq_u64(vshlq_u64(hi, ls), vshlq_u64(lo, rs)); in gen_offset() local 264 rval = vrev64q_s8(rval); in gen_offset() 265 return rval; in gen_offset() 303 block rval; in gen_offset() local 305 rval.l = (KtopStr[0] << bot) | (KtopStr[1] >> (64 - bot)); in gen_offset() 306 rval.r = (KtopStr[1] << bot) | (KtopStr[2] >> (64 - bot)); in gen_offset() [all …]
|