/third_party/python/Lib/test/ |
H A D | test_exception_hierarchy.py | 7 from errno import EEXIST namespace 61 +-- FileExistsError EEXIST 87 e = OSError(EEXIST, "Bad file descriptor") 131 e = OSError(EEXIST, "File already exists", "foo.txt") 132 self.assertEqual(e.errno, EEXIST) 133 self.assertEqual(e.args[0], EEXIST) 141 # ERROR_ALREADY_EXISTS (183) -> EEXIST 144 self.assertEqual(e.errno, EEXIST) 145 self.assertEqual(e.args[0], EEXIST) 170 e = SubOSError(EEXIST, "Ba [all...] |
/third_party/ltp/testcases/kernel/syscalls/init_module/ |
H A D | init_module02.c | 46 {"module-exists", &buf, &size, "", 0, 1, EEXIST}, 80 if (tc->exp_errno == EEXIST) in run() 86 if (tc->exp_errno == EEXIST) in run()
|
/third_party/eudev/src/shared/ |
H A D | mkdir.c | 48 return -EEXIST; in mkdir_safe_internal() 102 if (r < 0 && errno != EEXIST) in mkdir_parents_internal() 121 if (r < 0 && (errno != EEXIST || is_dir(path, true) <= 0)) in mkdir_p_internal()
|
/third_party/ltp/testcases/kernel/syscalls/finit_module/ |
H A D | finit_module02.c | 71 {"module-exists", &fd, "", O_RDONLY | O_CLOEXEC, 0, 0, EEXIST, 1, 118 if (tc->exp_errno == EEXIST) in run() 124 if (tc->exp_errno == EEXIST) in run()
|
/third_party/rust/crates/nix/src/ |
H A D | errno.rs | 165 EEXIST => "File exists", 1141 EEXIST = libc::EEXIST, 1286 libc::EEXIST => EEXIST, 1431 EEXIST = libc::EEXIST, 1549 libc::EEXIST => EEXIST, 1667 EEXIST [all...] |
/third_party/musl/porting/liteos_a/user/src/thread/ |
H A D | sem_open.c | 80 errno = EEXIST; in sem_open() 120 if (errno == EEXIST) continue; in sem_open() 136 if (e != EEXIST || flags == (O_CREAT|O_EXCL)) in sem_open()
|
/third_party/musl/libc-test/src/functional/ |
H A D | sem_open.c | 30 TEST(errno == EEXIST, in main() 31 "after reopen failure errno is \"%s\" (%d); want EEXIST (%d)\n", strerror(errno), errno, EEXIST); in main()
|
/third_party/musl/src/thread/ |
H A D | sem_open.c | 80 errno = EEXIST; in sem_open() 123 if (errno == EEXIST) continue; in sem_open() 142 if (e != EEXIST || flags == (O_CREAT|O_EXCL)) in sem_open()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/errno_h/ |
H A D | 3-2.c | 45 EEXIST, "EEXIST", EEXIST}, {
|
/third_party/libbpf/src/ |
H A D | strset.c | 67 /* hashmap__add() returns EEXIST if string with the same in strset__new() 71 if (err == -EEXIST) in strset__new() 170 if (err == -EEXIST) in strset__add_str()
|
/third_party/selinux/libsepol/include/sepol/ |
H A D | errcodes.h | 25 #define SEPOL_EEXIST (-EEXIST)
|
/third_party/musl/src/temp/ |
H A D | mkdtemp.c | 19 } while (--retries && errno == EEXIST); in mkdtemp()
|
H A D | mkostemps.c | 22 } while (--retries && errno == EEXIST); in __mkostemps()
|
H A D | mktemp.c | 28 errno = EEXIST; in mktemp()
|
/third_party/node/test/parallel/ |
H A D | test-fs-error-messages.js | 224 `EEXIST: file already exists, link '${existingFile}' -> ` + 227 assert.strictEqual(err.code, 'EEXIST'); 247 `EEXIST: file already exists, symlink '${existingFile}' -> ` + 250 assert.strictEqual(err.code, 'EEXIST'); 315 // Could be ENOTEMPTY, EEXIST, or EPERM, depending on the platform 327 } else if (err.code === 'EEXIST') { // smartos and aix 330 `EEXIST: file already exists, rename '${existingDir}' -> ` + 407 `EEXIST: file already exists, mkdir '${existingFile}'`); 409 assert.strictEqual(err.code, 'EEXIST'); 681 if (err.code === 'ENOENT') { // Could be ENOENT or EEXIST [all...] |
/third_party/ltp/testcases/kernel/syscalls/rename/ |
H A D | rename04.c | 11 * Verify that rename() fails with EEXIST or ENOTEMPTY when 35 if (TST_RET == -1 && (TST_ERR == ENOTEMPTY || TST_ERR == EEXIST)) in run()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
H A D | 22-1.c | 37 if (fd == -1 && errno == EEXIST) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
H A D | 5-1.c | 40 if (fd == -1 && errno == EEXIST) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/ |
H A D | 2-1.c | 48 if ((mysemp == SEM_FAILED) && (errno == EEXIST)) { in main()
|
H A D | 4-1.c | 41 if ((mysemp == SEM_FAILED) && (errno == EEXIST)) { in main()
|
H A D | 2-2.c | 41 if (errno != EEXIST) { in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | mkfifo.c | 47 EXPECT_EQ("mkfifo_0200", errno, EEXIST); in mkfifo_0200()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | link.c | 48 EXPECT_EQ("link_0200", errno, EEXIST); in link_0200()
|
/third_party/libuv/include/uv/ |
H A D | errno.h | 143 #if defined(EEXIST) && !defined(_WIN32) 144 # define UV__EEXIST UV__ERR(EEXIST)
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | bccache.py | 218 if e.errno != errno.EEXIST: 230 if e.errno != errno.EEXIST:
|