/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 766 PRINT_FAIL("Can't load program, errno %d (%s), verifier log:\n%s\n", in match_program() 767 errno, strerror(errno), text); in match_program() 906 PRINT_FAIL("Can't load vmlinux BTF, errno %d (%s)\n", errno, strerror(errno)); in test_ctx_rewrite()
|
/kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
H A D | timerlat_aa.c | 7 #include <errno.h> 932 if (retval < 0 && !errno) { in timerlat_aa_register_events() 959 if (retval < 0 && !errno) { in timerlat_aa_register_events() 968 if (retval < 0 && !errno) { in timerlat_aa_register_events()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | xdp.c | 254 return id; /* errno */ in __mem_id_cyclic_get() 278 int id, errno, ret; in __xdp_reg_mem_model() local 310 errno = id; in __xdp_reg_mem_model() 322 errno = PTR_ERR(ptr); in __xdp_reg_mem_model() 335 return ERR_PTR(errno); in __xdp_reg_mem_model() 709 * * Returns 0 on success or ``-errno`` on error. 731 * * Returns 0 on success or ``-errno`` on error.
|
/test/xts/acts/kernel_lite/process_posix/src/ |
H A D | PthreadBasicApiTest.cpp | 44 ASSERT_EQ(pthread_create(&tid, nullptr, ThreadPthreadCreateBasic, (void*)str), 0) << "> return errno"; in HWTEST_F() 46 EXPECT_EQ(pthread_join(tid, nullptr), 0) << "> return errno"; in HWTEST_F() 65 ASSERT_EQ(pthread_create(&tid, nullptr, ThreadPthreadJoinWait, nullptr), 0) << "> return errno"; in HWTEST_F() 66 EXPECT_EQ(pthread_join(tid, nullptr), 0) << "> return errno"; in HWTEST_F() 81 ASSERT_EQ(pthread_create(&tid, nullptr, ThreadPublic, (void*)&num), 0) << "> return errno"; in HWTEST_F() 82 EXPECT_EQ(pthread_join(tid, &joinRe), 0) << "> return errno"; in HWTEST_F() 96 ASSERT_EQ(pthread_create(&tid, nullptr, ThreadPublic, nullptr), 0) << "> return errno"; in HWTEST_F() 98 EXPECT_EQ(pthread_join(tid, nullptr), 0) << "> return errno"; in HWTEST_F() 118 ASSERT_EQ(pthread_create(&tid, nullptr, ThreadPthreadExitThread, (void*)&num), 0) << "> return errno"; in HWTEST_F() 119 EXPECT_EQ(pthread_join(tid, &joinRe), 0) << "> return errno"; in HWTEST_F() [all...] |
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | foomaticrip.c | 36 #include <errno.h> 623 _log("Could not create temporary file: %s\n", strerror(errno)); in print_file() 716 _log("Could not create temporary file: %s\n", strerror(errno)); in print_file() 729 _log("ERROR: Cannot flush buffer: %s\n", strerror(errno)); in print_file()
|
/third_party/mesa3d/src/gallium/drivers/tegra/ |
H A D | tegra_screen.c | 24 #include <errno.h> 197 err = -errno; in tegra_screen_import_resource() 576 if (errno != ENOENT) in tegra_screen_create() 577 fprintf(stderr, "failed to open GPU device: %s\n", strerror(errno)); in tegra_screen_create()
|
/third_party/musl/src/stdio/ |
H A D | vfprintf.c | 2 #include <errno.h> 617 if (1) a = strerror(errno); else in printf_core() 677 errno = EINVAL; in printf_core() 680 errno = EOVERFLOW; in printf_core()
|
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
H A D | vfprintf.c | 2 #include <errno.h> 605 if (1) a = strerror(errno); else in printf_core() 664 errno = EINVAL; in printf_core() 667 errno = EOVERFLOW; in printf_core()
|
/third_party/musl/porting/linux/user/src/stdio/ |
H A D | vfprintf.c | 2 #include <errno.h> 610 if (1) a = strerror(errno); else in printf_core() 669 errno = EINVAL; in printf_core() 672 errno = EOVERFLOW; in printf_core()
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | vfprintf.c | 2 #include <errno.h> 606 if (1) a = strerror(errno); else in printf_core() 665 errno = EINVAL; in printf_core() 668 errno = EOVERFLOW; in printf_core()
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
H A D | vfprintf.c | 2 #include <errno.h> 606 if (1) a = strerror(errno); else in printf_core() 665 errno = EINVAL; in printf_core() 668 errno = EOVERFLOW; in printf_core()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_getaddrinfo.c | 581 errno = 0; in ares_getaddrinfo_int() 583 if ((val == 0 && errno != 0) || val > 65535) { in ares_getaddrinfo_int() 593 errno = 0; in ares_getaddrinfo_int() 595 if ((val == 0 && errno != 0) || val > 65535) { in ares_getaddrinfo_int()
|
/third_party/ltp/testcases/network/nfsv4/locks/ |
H A D | locktests.c | 771 errno = 0; in slave() 840 if (dp.verbose || errno != EAGAIN) in slave() 866 if (dp.verbose || errno != EAGAIN) in slave() 897 if (dp.verbose || errno != EAGAIN) in slave()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_simulator.c | 177 errno); in vc4_create_simulator_bo() 308 strerror(errno)); in vc4_dump_to_file() 561 errno = -EINVAL; in vc4_simulator_get_param_ioctl() 610 errno = -EINVAL; in vc4_simulator_ioctl()
|
/third_party/python/Lib/ |
H A D | platform.py | 1301 errno = None 1308 errno = e.errno 1311 errno,
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | protocol-simple.c | 26 #include <errno.h> 186 if (r < 0 && errno == EAGAIN) in do_read() 189 pa_log_debug("read(): %s", r == 0 ? "EOF" : pa_cstrerror(errno)); in do_read() 230 pa_log("write(): %s", pa_cstrerror(errno)); in do_write()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
H A D | conv.rs | 19 use super::io::errno::decode_usize_infallible; 21 use super::io::errno::try_decode_error; 23 use super::io::errno::try_decode_u64; 24 use super::io::errno::{
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 1 use crate::errno::Errno; 827 use crate::errno::Errno; 879 Ok(errno) => Err(Errno::from_i32(errno)), in posix_fallocate()
|
/base/update/updater/utils/ |
H A D | utils.cpp | 136 if (unlink(filename.c_str()) == -1 && errno != ENOENT) { in DeleteFile() 291 } while (written < 0 && errno == EINTR); in WriteFully() 311 LOG(ERROR) << "read failed: " << strerror(errno); in ReadFully() 363 LOG(ERROR) << "open " << dst << " failed! err " << strerror(errno); in SyncFile() 400 LOG(ERROR) << "opendir failed, path: " << srcPath.c_str() << ", err: " << strerror(errno); in CopyDir() 408 LOG(ERROR) << "mkdir failed, path: " << dstPath.c_str() << ", err: " << strerror(errno); in CopyDir() 643 LOG(WARNING) << "write result file failed, err:" << errno; in WriteDumpResult()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | usdt.c | 411 err = -errno; in parse_elf_segs() 417 err = -errno; in parse_elf_segs() 469 lib_path, -errno); in parse_vma_segs() 477 err = -errno; in parse_vma_segs() 1049 err = -errno; in usdt_manager_attach_usdt() 1056 err = -errno; in usdt_manager_attach_usdt() 1101 err = -errno; in usdt_manager_attach_usdt()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_dmix.c | 80 err = -errno; in shm_sum_create_or_connect() 82 if (errno == EINVAL) in shm_sum_create_or_connect() 92 err = -errno; in shm_sum_create_or_connect() 102 err = -errno; in shm_sum_create_or_connect() 118 return -errno; in shm_sum_discard() 121 return -errno; in shm_sum_discard() 124 return -errno; in shm_sum_discard()
|
/third_party/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 47 #include <errno.h> 320 // -1 on failure, and set errno to EINTR when it is interrupted and 323 // errno to EINTR. If the expression evaluates to -1 but errno is 330 } while (gtest_retval == -1 && errno == EINTR); \ 339 // Returns the message describing the last system error in errno. 341 return errno == 0 ? "" : posix::StrError(errno); in GetLastErrnoDescription() 358 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 363 const int last_error = errno; in FailFromInternalError() [all...] |
/third_party/ninja/src/ |
H A D | ninja.cc | 15 #include <errno.h>
975 errno = 0;
in ToolCompilationDatabase() 977 } while (!success && errno == ERANGE);
in ToolCompilationDatabase() 979 Error("cannot determine working directory: %s", strerror(errno));
in ToolCompilationDatabase() 1349 if (!disk_interface_.MakeDirs(build_dir_ + "/.") && errno != EEXIST) {
in EnsureBuildDirExists() 1351 build_dir_.c_str(), strerror(errno));
in EnsureBuildDirExists() 1565 Fatal("chdir to '%s' - %s", options.working_dir, strerror(errno));
in real_main()
|
/third_party/node/deps/googletest/src/ |
H A D | gtest-death-test.cc | 51 #include <errno.h> 324 // -1 on failure, and set errno to EINTR when it is interrupted and 327 // errno to EINTR. If the expression evaluates to -1 but errno is 334 } while (gtest_retval == -1 && errno == EINTR); \ 343 // Returns the message describing the last system error in errno. 345 return errno == 0 ? "" : posix::StrError(errno); in GetLastErrnoDescription() 362 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 367 const int last_error = errno; in FailFromInternalError() [all...] |
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-death-test.cc | 46 # include <errno.h> 318 // -1 on failure, and set errno to EINTR when it is interrupted and 321 // errno to EINTR. If the expression evaluates to -1 but errno is 328 } while (gtest_retval == -1 && errno == EINTR); \ 337 // Returns the message describing the last system error in errno. 339 return errno == 0 ? "" : posix::StrError(errno); in GetLastErrnoDescription() 356 } while (num_read == -1 && errno == EINTR); in FailFromInternalError() 361 const int last_error = errno; in FailFromInternalError() [all...] |