Home
last modified time | relevance | path

Searched refs:EEXIST (Results 1 - 25 of 297) sorted by relevance

12345678910>>...12

/third_party/python/Lib/test/
H A Dtest_exception_hierarchy.py7 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 Dinit_module02.c46 {"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 Dmkdir.c48 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 Dfinit_module02.c71 {"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 Derrno.rs165 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 Dsem_open.c80 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 Dsem_open.c30 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 Dsem_open.c80 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 D3-2.c45 EEXIST, "EEXIST", EEXIST}, {
/third_party/libbpf/src/
H A Dstrset.c67 /* 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 Derrcodes.h25 #define SEPOL_EEXIST (-EEXIST)
/third_party/musl/src/temp/
H A Dmkdtemp.c19 } while (--retries && errno == EEXIST); in mkdtemp()
H A Dmkostemps.c22 } while (--retries && errno == EEXIST); in __mkostemps()
H A Dmktemp.c28 errno = EEXIST; in mktemp()
/third_party/node/test/parallel/
H A Dtest-fs-error-messages.js224 `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 Drename04.c11 * 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 D22-1.c37 if (fd == -1 && errno == EEXIST) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
H A D5-1.c40 if (fd == -1 && errno == EEXIST) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
H A D2-1.c48 if ((mysemp == SEM_FAILED) && (errno == EEXIST)) { in main()
H A D4-1.c41 if ((mysemp == SEM_FAILED) && (errno == EEXIST)) { in main()
H A D2-2.c41 if (errno != EEXIST) { in main()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dmkfifo.c47 EXPECT_EQ("mkfifo_0200", errno, EEXIST); in mkfifo_0200()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dlink.c48 EXPECT_EQ("link_0200", errno, EEXIST); in link_0200()
/third_party/libuv/include/uv/
H A Derrno.h143 #if defined(EEXIST) && !defined(_WIN32)
144 # define UV__EEXIST UV__ERR(EEXIST)
/third_party/node/deps/v8/third_party/jinja2/
H A Dbccache.py218 if e.errno != errno.EEXIST:
230 if e.errno != errno.EEXIST:

Completed in 8 milliseconds

12345678910>>...12