/system/libhwbinder/vts/performance/ |
H A D | Benchmark_throughput.cpp | 123 ProcResults ret; local 125 ret.m_buckets[i] = a.m_buckets[i] + b.m_buckets[i]; 127 ret.m_worst = max(a.m_worst, b.m_worst); 128 ret.m_best = min(a.m_best, b.m_best); 129 ret.m_transactions = a.m_transactions + b.m_transactions; 130 ret.m_total_time = a.m_total_time + b.m_total_time; 131 return ret; 235 Return<void> ret = workers[target]->sendVec(data_vec, [&](const auto &) {}); local 236 if (!ret.isOk()) { 238 << ret [all...] |
/system/libufdt/utils/src/ |
H A D | mkdtimg_core.c | 186 int32_t ret = -1; local 224 ret = fdt_file_size; 226 ret = 0; 232 return ret; 360 int ret = -1; local 375 ret = 0; 382 return ret;
|
/system/vold/bench/ |
H A D | benchgen.py | 35 def __init__(self, thread, time, call, args, ret): 40 self.ret = ret 43 return "%s(%s)=%s" % (self.call, repr(self.args), self.ret) 119 time, call, args, ret = line.groups() 125 events.append(Event(thread, time, call, args, ret)) 180 fd, f, handle = extract_file(e, e.ret)
|
/system/core/logd/ |
H A D | LogTags.cpp | 303 int ret = android_logger_list_read(logger_list, &log_msg); local 304 if (ret <= 0) break; 422 uint32_t ret = emptyTag; local 431 if (ik != key2tag.end()) ret = ik->second; 433 return ret; 602 std::string ret = formatEntry_locked(tag, uid, false); local 603 android::base::WriteStringToFd(ret, fd); 612 file2watermark[dynamic_event_log_tags] = size + ret.length(); 626 std::string ret = formatEntry_locked(tag, uid, false); local 627 android::base::WriteStringToFd(ret, f 831 std::string ret; local 847 std::string ret; local [all...] |
H A D | main.cpp | 317 char* ret = name; local 321 return ret; 383 ssize_t ret = TEMP_FAILURE_RETRY(write(sock, reinitStr, sizeof(reinitStr))); local 384 if (ret < 0) return -errno; 390 ret = TEMP_FAILURE_RETRY(poll(&p, 1, 1000)); 391 if (ret < 0) return -errno; 392 if ((ret == 0) || !(p.revents & POLLIN)) return -ETIME; 397 ret = TEMP_FAILURE_RETRY(read(sock, buffer, sizeof(buffer))); 398 if (ret < 0) return -errno;
|
/system/core/liblog/ |
H A D | logprint.c | 443 char* ret = *stringp; local 445 if (!ret || !*ret) { 448 token = strpbrk(ret, delim); 453 token = ret + strlen(ret); 456 return ret; 1525 char* ret; local 1662 ret = strchr(uid, ':'); 1663 if (ret) { 1811 int ret; local [all...] |
/system/core/init/ |
H A D | util.cpp | 131 int ret = bind(fd, (struct sockaddr *) &addr, sizeof (addr)); local 137 if (ret) { 215 int ret; local 232 ret = make_dir(buf, mode); 233 if (ret && errno != EEXIST) 234 return ret; 237 ret = make_dir(pathname, mode); 238 if (ret && errno != EEXIST) 239 return ret;
|
/system/netd/server/ |
H A D | NetdNativeService.cpp | 101 status_t ret = BinderService<NetdNativeService>::publish(); local 102 if (ret != android::OK) { 103 return ret; 137 bool isWhitelist, const std::vector<int32_t>& uids, bool *ret) { 142 *ret = (err == 0); 146 binder::Status NetdNativeService::bandwidthEnableDataSaver(bool enable, bool *ret) { argument 150 *ret = (err == 0); 229 binder::Status NetdNativeService::tetherApplyDnsInterfaces(bool *ret) { argument 232 *ret = gCtls->tetherCtrl.applyDnsInterfaces(); 136 firewallReplaceUidChain(const android::String16& chainName, bool isWhitelist, const std::vector<int32_t>& uids, bool *ret) argument
|
H A D | IptablesBaseTest.cpp | 50 int ret; local 52 ret = sReturnValues.front(); 55 ret = 0; 59 *status = ret; 61 return ret;
|
H A D | NetdNativeService.h | 39 const std::vector<int32_t>& uids, bool *ret) override; 40 binder::Status bandwidthEnableDataSaver(bool enable, bool *ret) override; 52 binder::Status tetherApplyDnsInterfaces(bool *ret) override;
|
/system/core/logd/tests/ |
H A D | logd_test.cpp | 47 ssize_t ret; local 48 while ((ret = read(sock, buf, len)) > 0) { 49 if (((size_t)ret == len) || (len < PAGE_SIZE)) { 52 len -= ret; 53 buf += ret; 57 ret = poll(&p, 1, 20); 58 if ((ret <= 0) || !(p.revents & POLLIN)) { 84 size_t ret = atol(buf) + 1; local 85 if (ret < 4) { 90 bool check = ret < 461 int ret = pclose(fp); local 833 long ret = strtol(buffer, &cp, 10); local 848 long ret = strtol(buffer, &cp, 10); local 869 long ret = strtol(buffer, &cp, 10); local [all...] |
/system/extras/puncture_fs/ |
H A D | puncture_fs.c | 79 bool ret = true; local 100 ret = false; 110 ret = false; 116 ret = false; 118 return ret;
|
/system/bt/stack/smp/ |
H A D | smp_keys.cc | 1330 bool ret = true; local 1376 ret = false; 1386 return ret; 1443 bool ret = true; local 1447 ret = false; 1457 return ret; 1503 bool ret; local 1513 ret = smp_calculate_f6(p_cb->mac_key, p_cb->rrand, p_cb->rand, 1516 if (ret) { 1607 bool ret local 1662 bool ret = true; local 1729 bool ret = true; local 1847 bool ret = true; local 1894 bool ret = true; local [all...] |
/system/extras/ext4_utils/ |
H A D | make_ext4fs.c | 159 int ret; local 207 ret = lstat(dentries[i].full_path, &stat); 208 if (ret < 0) { 306 ret = asprintf(&subdir_full_path, "%s/", dentries[i].full_path); 307 if (ret < 0) 310 ret = asprintf(&subdir_dir_path, "%s/", dentries[i].path); 311 if (ret < 0) 325 ret = inode_set_permissions(entry_inode, dentries[i].mode, 328 if (ret) 338 ret 507 char *ret; local [all...] |
/system/core/adb/ |
H A D | adbd_auth.cpp | 115 int ret = unix_read(fd, response, sizeof(response)); local 116 if (ret <= 0) { 118 } else if (ret == 2 && response[0] == 'O' && response[1] == 'K') {
|
/system/core/fastboot/ |
H A D | tcp.cpp | 42 uint64_t ret = 0; local 44 ret |= uint64_t{reinterpret_cast<const uint8_t*>(buffer)[i]} << (56 - i * 8); 46 return ret;
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | file.c | 144 char *ret; local 162 ret = (char *)bufpos; 167 return (ret);
|
/system/extras/ioshark/ |
H A D | compile_ioshark_subr.c | 164 int ret; local 188 ret = filename_cache_num_entries; 190 return ret;
|
/system/extras/memory_replay/ |
H A D | Threads.cpp | 141 int ret = pthread_join(thread->thread_id_, nullptr); local 142 if (ret != 0) { 143 fprintf(stderr, "pthread_join failed: %s\n", strerror(ret));
|
/system/libhidl/base/ |
H A D | Status.cpp | 94 Status ret; local 95 ret.setFromStatusT(status); 96 return ret;
|
/system/nfc/src/nfc/tags/ |
H A D | tags_int.c | 276 int i, ret = 1; local 278 ret *= x; 280 return ret;
|
/system/tools/aidl/tests/ |
H A D | aidl_test_client_utf8_strings.cpp | 70 unique_ptr<string> ret; local 71 Status repeat_null_status = s->RepeatNullableUtf8CppString(nullptr, &ret); 72 if (!repeat_null_status.isOk() || ret) {
|
H A D | fake_io_delegate.cpp | 60 unique_ptr<LineReader> ret; local 63 ret = LineReader::ReadFromMemory(it->second); 65 return ret;
|
/system/tools/hidl/ |
H A D | Hash.cpp | 48 std::vector<uint8_t> ret = std::vector<uint8_t>(SHA256_DIGEST_LENGTH); local 51 fileContent.size(), ret.data()); 53 return ret;
|
/system/update_engine/ |
H A D | omaha_request_params.cc | 185 string ret; local 187 ret = buf.machine; 188 return ret;
|