Searched refs:err (Results 126 - 150 of 216) sorted by relevance

123456789

/system/update_engine/payload_consumer/
H A Ddelta_performer.cc113 // and sets *err to 0. On failure, sets *err to errno and returns nullptr.
117 int* err) {
136 *err = errno;
140 *err = 0;
309 int err = -CloseCurrentPartition(); local
315 if (err >= 0)
316 err = 1;
318 return -err;
322 int err local
114 OpenFile(const char* path, int mode, bool cache_writes, int* err) argument
356 int err; local
368 int err; local
[all...]
/system/extras/simpleperf/
H A Dread_elf.cpp248 std::error_code err = it->getContents(data); local
249 if (err) {
330 std::error_code err = section_ref.getName(section_name); local
331 if (err || section_name != ".plt") {
358 std::error_code err = section_ref.getName(section_name); local
359 if (err) {
/system/netd/server/
H A DResolverController.cpp77 int err = getaddrinfo(server, "853", &hints, &res); local
78 if (err != 0) {
79 ALOGW("Failed to parse server address (%s): %s", server, gai_strerror(err));
489 const int err = privateDnsConfiguration.set(netId, tlsServers, tlsName, tlsFingerprints); local
490 if (err != 0) {
491 return err;
H A DSockDiagTest.cpp432 const int err = errno; local
435 "Write on open socket failed: " << strerror(err);
446 EXPECT_TRUE(err == ECONNABORTED || err == ECONNRESET)
447 << msg << ": unexpected error: " << strerror(err);
448 return (err == ECONNABORTED); // Return true iff. SOCK_DESTROY closed this socket.
H A DTetherControllerTest.cpp399 std::string err = result.status().msg(); local
400 ASSERT_LE(expectedError.size(), err.size());
401 EXPECT_TRUE(std::equal(expectedError.rbegin(), expectedError.rend(), err.rbegin()));
/system/core/toolbox/
H A Dnewfs_msdos.c50 #include <err.h>
364 err(1, "%s", buf);
382 err(1, "%s", fname);
384 err(1, "%s", fname);
501 err(1, "%s", buf);
504 err(1, "%s", bname);
642 err(1, "%u", bpb.bps);
649 err(1, "%s", bname);
653 err(1, "%s", bname);
738 err(
[all...]
/system/extras/verity/
H A DUtils.java111 System.err.println("No zero-arg constructor found for " + providerClassName);
125 System.err.println("Not a Provider class: " + providerClassName);
160 System.err.println("Password may be bad.");
/system/libufdt/tests/libufdt_verify/
H A Dufdt_test_overlay.cpp296 enum overlay_result err; local
299 err = static_cast<enum overlay_result>(ufdt_verify_fragment(final_tree, overlay_tree,
301 if (err == OVERLAY_RESULT_VERIFY_FAIL) {
/system/libvintf/
H A Dcheck_vintf.cpp134 status_t err = details::gFetcher->fetch(path, xml, &error); local
135 if (err != OK) {
136 std::cerr << "Error: Cannot read '" << path << "' (" << strerror(-err) << "): " << error
/system/netd/tests/
H A Dsock_diag_test.cpp222 int err; local
226 err = errno;
236 err = errno;
/system/update_engine/scripts/
H A Dbrillo_update_payload289 local err=""
290 rm -f "${CLEANUP_FILES[@]}" || err=1
296 if [[ -n "${err}" ]]; then
/system/vold/tests/
H A DCryptfsScryptHidlizationEquivalence_test.cpp62 goto err;
81 goto err;
86 err:
/system/core/adb/
H A Dadb.cpp90 int err = errno; local
97 fprintf(stderr, "error: %s: %s\n", buf, strerror(err));
99 LOG(ERROR) << "error: " << buf << ": " << strerror(err);
601 const DWORD err = GetLastError(); local
604 if (err == ERROR_BROKEN_PIPE) {
608 android::base::SystemErrorCodeToString(err).c_str());
841 const DWORD err = GetLastError(); local
846 err == ERROR_BROKEN_PIPE ? "" :
848 android::base::SystemErrorCodeToString(err).c_str()).c_str());
/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/
H A Dstrsuftoll.c84 #include <err.h>
/system/keymaster/km_openssl/
H A Dnist_curve_key_exchange.cpp21 #include <openssl/err.h>
H A Dopenssl_err.cpp19 #include <openssl/err.h>
H A Dsymmetric_key.cpp21 #include <openssl/err.h>
H A Dsoft_keymaster_enforcement.cpp59 int err = clock_gettime(CLOCK_BOOTTIME, &tp); local
60 if (err || tp.tv_sec < 0) return 0;
/system/netd/server/dns/
H A DDnsTlsSocket.cpp27 #include <openssl/err.h>
494 int err = sslRead(Slice(responseHeader, 2), false);
495 if (err == SSL_ERROR_WANT_READ) {
499 if (err != SSL_ERROR_NONE) {
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/
H A DCreateTimeZoneDistro.java72 System.err.println("Properties file " + f + " not found");
/system/bt/tools/mcap_tool/
H A Dmcap_tool.cc354 int err = hal_util_load_bt_library((const bt_interface_t**)&interface); local
355 if (err) {
356 LOG(ERROR) << "Error loading HAL library: " << strerror(err);
357 return err;
361 return err;
365 int err = 0; local
368 LOG(INFO) << "HAL library unloaded, status: " << strerror(err);
369 return err;
/system/core/fs_mgr/
H A Dfs_mgr_fstab.cpp538 goto err;
576 goto err;
582 goto err;
588 goto err;
594 goto err;
609 goto err;
633 goto err;
638 err:
/system/core/libion/
H A Dion.c49 int err = ion_free(fd, (ion_user_handle_t)NULL); local
50 version = (err == -ENOTTY) ? ION_VERSION_MODERN : ION_VERSION_LEGACY;
/system/core/libsysutils/src/
H A DSocketClient.cpp57 int err = getsockopt(socket, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); local
58 if (err == 0) {
/system/extras/tests/audio/alsa/
H A Dpcmtest.cpp169 int err = getSndDev(pcms); local
172 ASSERT_EQ(0, err);

Completed in 6762 milliseconds

123456789