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

123456789

/system/bt/stack/avdt/
H A Davdt_defs.h227 #define AVDT_MSG_BLD_ERR(p, err) \
229 *(p)++ = (uint8_t)(err); \
/system/extras/runconuid/
H A Drunconuid.cpp187 int err = errno; local
189 errno = err;
/system/extras/tests/framebuffer/
H A Drefresh.c144 int err; local
155 err = ioctl(fd, FBIOPUT_VSCREENINFO, &info);
/system/nfc/src/adaptation/
H A Ddebug_nfcsnoop.cc97 int err = deflate(&zs, (i == num_blocks - 1) ? Z_FINISH : Z_NO_FLUSH); local
98 if (err == Z_STREAM_ERROR) {
/system/core/logcat/
H A Dlogcat.cpp235 int err; local
270 err = rename(file0.c_str(), file1.c_str());
272 if (err < 0 && errno != ENOENT) {
315 int err; local
324 err = android_log_processBinaryLogBuffer(
330 err = android_log_processLogBuffer(&buf->entry_v1, &entry);
332 if ((err < 0) && !context->debug) return;
730 int err; local
1188 err = setLogFormat(context, arg);
1189 if (err <
[all...]
/system/extras/simpleperf/inferno/
H A Dinferno.py108 err = adb_client.pull_data()
109 if err:
238 err = subprocess.call(["adb", "root"])
239 if err == 0:
/system/sepolicy/tests/
H A Dtreble_sepolicy_tests.py341 err = "Error: unknown test: " + tn + "\n"
342 err += "Available tests:\n"
344 err += tn + "\n"
345 sys.exit(err)
/system/bt/btif/src/
H A Dbtif_pan.cc282 int sk, err; local
290 err = ioctl(sk, SIOCGIFHWADDR, &ifr);
291 if (err < 0) {
316 err = ioctl(sk, SIOCSIFHWADDR, (caddr_t)&ifr);
318 if (err < 0) {
332 err = ioctl(sk, SIOCSIFFLAGS, (caddr_t)&ifr);
334 if (err < 0) {
376 int fd, err; local
383 BTIF_TRACE_DEBUG("could not open %s, err:%d", clonedev, errno);
393 err
[all...]
/system/bt/stack/smp/
H A Dsmp_cmac.cc127 uint8_t i = 1, err = 0; local
140 err = 1;
148 if (!err) {
/system/core/init/
H A Dinit_test.cpp159 std::string err; local
160 ASSERT_TRUE(WriteFile(std::string(dir.path) + "/a.rc", dir_a_script, &err));
162 ASSERT_TRUE(WriteFile(std::string(dir.path) + "/b.rc", "on boot\nexecute 5", &err));
/system/libufdt/sysdeps/
H A Dlibufdt_sysdeps_vendor.c9 int err; local
13 err = _dvprintf(fmt, ap);
16 return err;
/system/bt/tools/mcap_tool/
H A Dmcap_tool.cc356 int err = 0; local
361 err = hal_util_load_bt_library((hw_module_t const**)&module);
363 err = hw_get_module(BT_HARDWARE_MODULE_ID, (hw_module_t const**)&module);
365 if (!err) {
366 err = module->methods->open(module, BT_HARDWARE_MODULE_ID, &device);
367 if (!err) {
372 LOG(INFO) << "HAL library loaded, status: " << strerror(err);
373 return err;
377 int err = 0; local
380 LOG(INFO) << "HAL library unloaded, status: " << strerror(err);
[all...]
/system/sepolicy/tools/
H A Dcheck_seapp.c746 goto err;
753 goto err;
768 goto err;
802 goto err;
809 err:
1025 goto err;
1057 err:
1104 goto err;
1113 goto err;
1134 goto err;
[all...]
/system/update_engine/payload_consumer/
H A Ddelta_performer.cc112 // and sets *err to 0. On failure, sets *err to errno and returns nullptr.
113 FileDescriptorPtr OpenFile(const char* path, int mode, int* err) { argument
127 *err = errno;
131 *err = 0;
299 int err = -CloseCurrentPartition(); local
305 if (err >= 0)
306 err = 1;
308 return -err;
312 int err local
346 int err; local
358 int err; local
[all...]
/system/netd/server/
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.
/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/netd/tests/
H A Dsock_diag_test.cpp222 int err; local
226 err = errno;
236 err = errno;
/system/tools/hidl/
H A DType.cpp494 status_t err = mElementType->emitVtsTypeDeclarations(out); local
495 if (err != OK) {
496 return err;
/system/update_engine/scripts/
H A Dbrillo_update_payload259 local err=""
260 rm -f "${CLEANUP_FILES[@]}" || err=1
266 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.cpp91 int err = errno; local
98 fprintf(stderr, "error: %s: %s\n", buf, strerror(err));
100 LOG(ERROR) << "error: " << buf << ": " << strerror(err);
610 const DWORD err = GetLastError(); local
613 if (err == ERROR_BROKEN_PIPE) {
617 android::base::SystemErrorCodeToString(err).c_str());
850 const DWORD err = GetLastError(); local
855 err == ERROR_BROKEN_PIPE ? "" :
857 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/
H A Dnist_curve_key_exchange.cpp21 #include <openssl/err.h>
H A Dopenssl_err.cpp19 #include <openssl/err.h>

Completed in 2140 milliseconds

123456789