Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 196) sorted by relevance

12345678

/system/logging/rust/tests/
Dstructured_logging_tests.rs25 let res = structured_log!(TAG_KEY_SAMPLE, 5i32); in log_i32() localVariable
31 let res = structured_log!(log_id: LOG_ID_EVENTS, TAG_KEY_SAMPLE, 5i64); in log_i64() localVariable
37 let res = structured_log!(TAG_KEY_SAMPLE, 5f32); in log_f32() localVariable
43 let res = structured_log!(TAG_KEY_SAMPLE, "test string"); in log_str() localVariable
49 let res = structured_log!(TAG_KEY_SAMPLE, "test message", 10f32); in log_two_entries() localVariable
55 let res = structured_log!(TAG_KEY_SAMPLE, "test message", 10f32, 4i32, 4i32, 4i32, 4i32); in log_multiple_entries() localVariable
61 let res = structured_log!(TAG_KEY_SAMPLE, SubsectionStart, "test message", SubsectionEnd); in log_subsection() localVariable
67 let res = structured_log!(TAG_KEY_SAMPLE, SubsectionEnd, "test message", SubsectionStart); in log_subsection_start_end_swapped() localVariable
73 let res = structured_log!(TAG_KEY_SAMPLE, "test message", SubsectionEnd); in log_subsection_missing_start() localVariable
79 let res = structured_log!(TAG_KEY_SAMPLE, SubsectionStart, "test message"); in log_subsection_missing_end() localVariable
[all …]
/system/core/fastboot/
Dvendor_boot_img_utils.cpp41 if (auto res = CheckAdvance(old_data_ptr_, old_end(), num_bytes, __FUNCTION__); !res.ok()) in Copy() local
43 if (auto res = CheckAdvance(new_data_ptr_, new_end(), num_bytes, __FUNCTION__); !res.ok()) in Copy() local
56 if (auto res = CheckAdvance(old_data_ptr_, old_end(), old_num_bytes, __FUNCTION__); in Replace() local
62 if (auto res = CheckAdvance(new_data_ptr_, new_end(), new_data_size, __FUNCTION__); in Replace() local
71 if (auto res = CheckAdvance(old_data_ptr_, old_end(), old_skip, __FUNCTION__); !res.ok()) in Skip() local
74 if (auto res = CheckAdvance(new_data_ptr_, new_end(), new_skip, __FUNCTION__); !res.ok()) in Skip() local
199 if (auto res = updater->Seek(updater->size() - AVB_FOOTER_SIZE); !res.ok()) return res; in copy_avb_footer() local
214 if (auto res = check_vendor_boot_hdr(vendor_boot, 3); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() local
226 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() local
240 if (auto res = updater.Replace(hdr->vendor_ramdisk_size, new_ramdisk); !res.ok()) in replace_default_vendor_ramdisk() local
[all …]
/system/tools/sysprop/
DApiCheckerMain.cpp46 if (auto res = ParseApiFile(argv[1]); res.ok()) { in main() local
53 if (auto res = ParseApiFile(argv[2]); res.ok()) { in main() local
60 if (auto res = CompareApis(latest, current); !res.ok()) { in main() local
DTypeCheckerMain.cpp85 if (auto res = ParseArgs(argc, argv); res.ok()) { in main() local
96 if (auto res = ParseApiFile(api_path); res.ok()) { in main() local
124 if (auto res = CheckPropertyTypes(api, entries); !res.ok()) { in main() local
DApiDumpMain.cpp50 if (auto res = ParseProps(argv[i]); res.ok()) { in main() local
79 std::string res; in main() local
DRustMain.cpp94 if (auto res = ParseArgs(argc, argv, &args); !res.ok()) { in main() local
99 if (auto res = GenerateRustLibrary(args.input_file_path, args.scope, in main() local
DJavaMain.cpp95 if (auto res = ParseArgs(argc, argv, &args); !res.ok()) { in main() local
100 if (auto res = GenerateJavaLibrary(args.input_file_path, args.scope, in main() local
DCppMain.cpp103 if (auto res = ParseArgs(argc, argv); res.ok()) { in main() local
110 if (auto res = GenerateCppFiles(args.input_file_path, args.header_dir, in main() local
/system/netd/server/
DNetdNativeService.cpp84 #define RETURN_BINDER_STATUS_IF_NOT_OK(logEntry, res) \ argument
226 int res = gCtls->bandwidthCtrl.setInterfaceQuota(ifName, bytes); in bandwidthSetInterfaceQuota() local
232 int res = gCtls->bandwidthCtrl.removeInterfaceQuota(ifName); in bandwidthRemoveInterfaceQuota() local
239 int res = gCtls->bandwidthCtrl.setInterfaceAlert(ifName, bytes); in bandwidthSetInterfaceAlert() local
245 int res = gCtls->bandwidthCtrl.removeInterfaceAlert(ifName); in bandwidthRemoveInterfaceAlert() local
251 int res = gCtls->bandwidthCtrl.setGlobalAlert(bytes); in bandwidthSetGlobalAlert() local
703 int res = in idletimerAddInterface() local
712 int res = gCtls->idletimerCtrl.removeInterfaceIdletimer(ifName.c_str(), timeout, in idletimerRemoveInterface() local
734 int res = gCtls->strictCtrl.setUidCleartextPenalty((uid_t) uid, penalty); in strictUidCleartextPenalty() local
764 int res = (gCtls->tetherCtrl.enableForwarding(requester.c_str())) ? 0 : -EREMOTEIO; in ipfwdEnableForwarding() local
[all …]
DBandwidthController.cpp312 int res = 0; in setInterfaceSharedQuota() local
401 int res = 0; in removeInterfaceSharedQuota() local
428 if (int res = updateQuota(cost, maxBytes)) { in setInterfaceQuota() local
508 const int res = iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in removeInterfaceQuota() local
528 int res = errno; in updateQuota() local
565 int res = 0; in setGlobalAlert() local
587 int res = 0; in removeGlobalAlert() local
631 int res = 0; in setCostlyAlert() local
DXfrmControllerTest.cpp150 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, getuid()); in TEST_F() local
161 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(unique_fd(), 1001, getuid()); in TEST_F() local
169 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, 1001); in TEST_F() local
177 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(fd, 1001, getuid()); in TEST_F() local
188 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, getuid()); in TEST_F() local
199 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, getuid()); in TEST_F() local
279 Status res = ctrl.ipSecAllocateSpi(1 /* resourceId */, localAddr, in TEST_P() local
356 Status res = ctrl.ipSecAddSecurityAssociation( in testIpSecAddSecurityAssociation() local
490 Status res = ctrl.ipSecApplyTransportModeTransform(sock, 1 /* resourceId */, in TEST_F() local
526 Status res = ctrl.ipSecApplyTransportModeTransform(sock, 1 /* resourceId */, in TEST_P() local
[all …]
/system/incremental_delivery/libdataloader/
DJNIHelpers.h30 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIDOrDie() local
37 jmethodID res = env->GetStaticMethodID(clazz, method_name, method_signature); in GetStaticMethodIDOrDie() local
44 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie() local
51 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); in GetStaticFieldIDOrDie() local
57 jfieldID res = env->GetStaticFieldID(clazz, fieldName, "I"); in GetStaticIntFieldValueOrDie() local
/system/vold/model/
DVolumeBase.cpp186 status_t res = doCreate(); in create() local
217 status_t res = doDestroy(); in destroy() local
233 status_t res = doMount(); in mount() local
258 status_t res = doUnmount(); in unmount() local
274 status_t res = doFormat(fsType); in format() local
DPrivateVolume.cpp60 status_t res = ReadMetadata(mDmDevPath, &mFsType, &mFsUuid, &mFsLabel); in readMetadata() local
136 int res = ext4::Check(mDmDevPath, mPath); in doMount() local
150 int res = f2fs::Check(mDmDevPath); in doMount() local
/system/apex/apexd/
Dapexservice.cpp158 Result<void> res = ::android::apex::StagePackages(paths); in stagePackages() local
180 Result<void> res = ::android::apex::UnstagePackages(paths); in unstagePackages() local
294 if (auto res = calculateSizeForCompressedApex(compressed_apex_info_list, in reserveSpaceForCompressedApex() local
299 if (auto res = ReserveSpaceForCompressedApex(required_size, kOtaReservedDir); in reserveSpaceForCompressedApex() local
553 auto res = InstallPackage(package_path, force); in installAndActivatePackage() local
575 Result<void> res = ::android::apex::AbortStagedSession(session_id); in abortStagedSession() local
592 Result<void> res = ::android::apex::RevertActiveSessions("", ""); in revertActiveSessions() local
614 Result<void> res = ::android::apex::ResumeRevertIfNeeded(); in resumeRevertIfNeeded() local
633 Result<void> res = in snapshotCeData() local
653 Result<void> res = in restoreCeData() local
[all …]
/system/core/init/test_upgrade_mte/
Dmte_upgrade_test_helper.cpp29 int res = prctl(PR_GET_TAGGED_ADDR_CTRL, 0, 0, 0, 0); in MaybeDowngrade() local
47 int res = prctl(PR_GET_TAGGED_ADDR_CTRL, 0, 0, 0, 0); in main() local
/system/secretkeeper/comm/src/data_types/
Dresponse.rs63 let mut res = self.result(); in serialize_to_packet() localVariable
70 let res = packet.into_inner(); in deserialize_from_packet() localVariable
/system/incremental_delivery/incfs/
Dincfs.cpp89 auto res = ab::unique_fd( in openAt() local
107 auto res = path::dirName(cmdFile); in rootForCmd() local
174 int res = 0; in forEachFileIn() local
264 int res = Features::none | Features::mappingFilesProgressFixed; in readIncFsFeatures() local
455 std::string res(kIncFsFileIdStringLength, '\0'); in toStringImpl() local
465 IncFsFileId res; in toFileIdImpl() local
710 T res; in read() local
933 if (auto res = makeDir(commandPath.c_str(), mode, false)) { in IncFs_MakeDir() local
958 const auto res = ::getxattr(path, kMetadataAttrName, buffer, *bufferSize); in getMetadata() local
1004 const auto res = getter(param, kIdAttrName, buffer, sizeof(buffer)); in getId() local
[all …]
Dpath.cpp136 std::string res; in readlink() local
190 void details::appendNextPath(std::string& res, std::string_view path) { in appendNextPath()
202 auto res = std::pair(dirName(full), baseName(full)); in splitDirBase() local
/system/extras/pinner/
Dpintool.cpp146 int res = pintool.probe_resident(); in perform_file_action() local
187 int res = pintool.probe_resident(); in perform_file_action() local
329 int res; in main() local
/system/extras/libjsonpb/verify/
Dverify.cpp116 auto res = in AllFieldsAreKnown() local
126 auto res = AllFieldsAreKnown(field, json_value, path, error); in AllFieldsAreKnown() local
202 auto res = internal::JsonStringToMessage(json, scratch_space); in FormatJson() local
/system/extras/simpleperf/
Dread_symbol_map.cpp44 auto res = content_ref.substr(begin, end - begin); in ConsumeWord() local
58 auto res = strtoull(start, &stop, 0); in ConsumeUInt() local
/system/memory/lmkd/libpsi/
Dpsi.cpp44 int res; in init_psi_monitor() local
87 int res; in register_psi_monitor() local
/system/libufdt/
Dufdt_convert.c122 struct ufdt_node *res = ufdt_node_construct(fdtp, fdt_tag_ptr, pool); in ufdt_new_node() local
133 struct ufdt_node *res, *child_node; in fdt_to_ufdt_tree() local
235 struct ufdt_node *res = NULL; in ufdt_get_node_by_phandle() local
258 int res = 0; in count_phandle_node() local
292 struct ufdt_static_phandle_table res; in build_phandle_table() local
336 int res; in _ufdt_get_property_nameoff() local
/system/tools/xsdc/src/main/java/com/android/xsdc/cpp/
DUtils.java40 String res = words[0]; in toCamelCase() local
98 String res; in elementTypeName() local

12345678