/system/extras/multinetwork/ |
D | dnschk.cpp | 34 int rval = -1; in main() local 37 if (!args.parseArguments(argc, argv)) { return rval; } in main() 62 rval = android_getaddrinfofornetwork(args.nethandle, name.c_str(), nullptr, &hints, in main() 67 rval = android_setprocnetwork(args.nethandle); in main() 68 if (rval != 0) { in main() 69 std::cerr << "android_setprocnetwork returned " << rval << std::endl; in main() 70 return rval; in main() 73 rval = getaddrinfo(name.c_str(), nullptr, &hints, &result); in main() 81 if (rval != 0) { in main() 82 std::cerr << "DNS resolution failure; gaierror=" << rval << " [" << gai_strerror(rval) in main() [all …]
|
D | httpurl.cpp | 116 int rval = -1; in resolveHostname() local 119 rval = android_getaddrinfofornetwork(args.nethandle, in resolveHostname() 125 rval = getaddrinfo(parameters->hostname.c_str(), in resolveHostname() 135 if (rval != 0) { in resolveHostname() 136 std::cerr << "DNS resolution failure; gaierror=" << rval in resolveHostname() 137 << " [" << gai_strerror(rval) << "]" in resolveHostname() 139 return rval; in resolveHostname() 179 int rval = -1; in doHttpQuery() local 209 rval = recv(fd, buf, sizeof(buf), 0); in doHttpQuery() 211 if (rval < 0) { in doHttpQuery() [all …]
|
/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 | 58 Pipe(Pipe&& rval) noexcept { in Pipe() argument 59 m_readFd = rval.m_readFd; in Pipe() 60 m_writeFd = rval.m_writeFd; in Pipe() 61 rval.m_readFd = 0; in Pipe() 62 rval.m_writeFd = 0; in Pipe()
|
D | PerfTest.h | 37 Pipe(Pipe&& rval) noexcept;
|
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 50 Pipe(Pipe&& rval) noexcept { in Pipe() argument 51 m_readFd = rval.m_readFd; in Pipe() 52 m_writeFd = rval.m_writeFd; in Pipe() 53 rval.m_readFd = 0; in Pipe() 54 rval.m_writeFd = 0; in Pipe()
|
/system/core/init/ |
D | keychords.cpp | 93 Keychords::Mask Keychords::Mask::operator&(const Keychords::Mask& rval) const { in operator &() 94 auto len = std::min(bits_.size(), rval.bits_.size()); in operator &() 98 ret.bits_[i] = bits_[i] & rval.bits_[i]; in operator &() 103 void Keychords::Mask::operator|=(const Keychords::Mask& rval) { in operator |=() argument 104 auto len = rval.bits_.size(); in operator |=() 107 bits_[i] |= rval.bits_[i]; in operator |=()
|
D | keychords_test.cpp | 66 EventHandler::EventHandler(EventHandler&& rval) noexcept : fd_(rval.fd_) { in EventHandler() argument 67 rval.fd_ = -1; in EventHandler() 70 EventHandler& EventHandler::operator=(EventHandler&& rval) noexcept { in operator =() argument 71 fd_ = rval.fd_; in operator =() 72 rval.fd_ = -1; in operator =()
|
D | keychords.h | 57 Mask operator&(const Mask& rval) const; 58 void operator|=(const Mask& rval);
|
/system/netd/server/ |
D | Process.cpp | 111 const auto rval = sys.write(pidFd, makeSlice(pid_buf)); in writePidFile() local 112 if (!isOk(rval.status()) || rval.value() != pid_buf.size()) { in writePidFile()
|
/system/core/bootstat/ |
D | boot_reason_test.sh | 262 rval="${2}" 264 if ! ( echo X"${rval}" | grep '^X'"${lval}"'$' >/dev/null 2>/dev/null ); then 265 if [ `echo ${lval}${rval}${*} | wc -c` -gt 50 -o "${rval}" != "${rval% 268 echo " got \"${rval}\"" | 277 echo "ERROR: expected \"${lval}\" got \"${rval}\" ${*}" >&2 282 if [ X"${lval}" != X"${rval}" ]; then 283 if [ `echo ${lval}${rval}${*} | wc -c` -gt 60 -o "${rval}" != "${rval% 286 echo " = \"${rval}\"" | 295 echo "INFO: ok \"${lval}\" = \"${rval}\" ${*}" >&2
|
/system/tools/hidl/ |
D | ConstantExpression.cpp | 35 #define COMPUTE_BINARY(__op__) if (op == std::string(#__op__)) return lval __op__ rval; 118 T handleBinaryCommon(T lval, const std::string& op, T rval) { in handleBinaryCommon() argument 136 << lval << " " << op << " " << rval; in handleBinaryCommon() 146 T handleShift(T lval, const std::string& op, int64_t rval) { in handleShift() argument 152 << lval << " " << op << " " << rval; in handleShift() 157 bool handleLogical(bool lval, const std::string& op, bool rval) { in handleLogical() argument 162 << lval << " " << op << " " << rval; in handleLogical() 705 ConstantExpression* rval) in BinaryConstantExpression() argument 706 : ConstantExpression(lval->mExpr + " " + op + " " + rval->mExpr), in BinaryConstantExpression() 708 mRval(rval), in BinaryConstantExpression()
|
D | ConstantExpression.h | 194 ConstantExpression* rval);
|
/system/tools/aidl/ |
D | aidl_const_expressions.cpp | 181 *out = guard __op__ rval; \ 230 bool handleBinaryCommon(const AidlConstantValue& context, T lval, const string& op, T rval, in handleBinaryCommon() argument 248 AIDL_FATAL(context) << "Could not handleBinaryCommon for " << lval << " " << op << " " << rval; in handleBinaryCommon() 253 bool handleShift(const AidlConstantValue& context, T lval, const string& op, T rval, int64_t* out) { in handleShift() argument 258 AIDL_FATAL(context) << "Could not handleShift for " << lval << " " << op << " " << rval; in handleShift() 262 bool handleLogical(const AidlConstantValue& context, bool lval, const string& op, bool rval, in handleLogical() argument 267 AIDL_FATAL(context) << "Could not handleLogical for " << lval << " " << op << " " << rval; in handleLogical() 1246 std::unique_ptr<AidlConstantValue> rval) in AidlUnaryConstExpression() argument 1247 : AidlConstantValue(location, Type::UNARY, op + rval->value_), in AidlUnaryConstExpression() 1248 unary_(std::move(rval)), in AidlUnaryConstExpression() [all …]
|
D | aidl_language.h | 778 std::unique_ptr<AidlConstantValue> rval); 799 const string& op, std::unique_ptr<AidlConstantValue> rval);
|
/system/keymaster/key_blob_utils/ |
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 …]
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 647 local rval="${2}" 649 if [[ "${rval}" =~ ^${lval}$ ]]; then 662 ${INDENT}got \"${rval}\"" 664 LOG "${logt}" "expected \"${lval}\" got \"${rval}\"" 678 local rval="${2}" 680 if ! [[ "${rval}" =~ ^${lval}$ ]]; then 691 LOG "${logt}" "unexpected \"${rval}\""
|