/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/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() 265 const ConstantExpression* rval) in ConstantExpression() argument 266 : mExpr(std::string("(") + lval->mExpr + " " + op + " " + rval->mExpr + ")"), in ConstantExpression() 277 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/netd/server/ |
D | DnsProxyListener.cpp | 83 int rval = scoped_attr.detach(); in threadLaunch() local 84 if (rval != 0) { return -errno; } in threadLaunch() 87 rval = pthread_create(&thread, &scoped_attr.attr, &threadMain<T>, self); in threadLaunch() 88 if (rval != 0) { in threadLaunch() 93 return rval; in threadLaunch() 100 const int rval = threadLaunch(handler); in tryThreadOrError() local 101 if (rval == 0) { in tryThreadOrError() 107 asprintf(&msg, "%s (%d)", strerror(-rval), -rval); in tryThreadOrError()
|
/system/libhwbinder/vts/performance/ |
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 | Latency.cpp | 122 Pipe(Pipe&& rval) noexcept { in Pipe() argument 123 m_readFd = rval.m_readFd; in Pipe() 124 m_writeFd = rval.m_writeFd; in Pipe() 125 rval.m_readFd = 0; in Pipe() 126 rval.m_writeFd = 0; in Pipe()
|
/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 …]
|