Home
last modified time | relevance | path

Searched refs:EEXIST (Results 1 – 25 of 269) sorted by relevance

1234567891011

/external/python/cpython3/Lib/test/
Dtest_exception_hierarchy.py7 from errno import EEXIST
85 e = OSError(EEXIST, "Bad file descriptor")
129 e = OSError(EEXIST, "File already exists", "foo.txt")
130 self.assertEqual(e.errno, EEXIST)
131 self.assertEqual(e.args[0], EEXIST)
142 self.assertEqual(e.errno, EEXIST)
143 self.assertEqual(e.args[0], EEXIST)
163 e = SubOSError(EEXIST, "Bad file descriptor")
/external/python/cpython2/Lib/
Dtempfile.py208 if e.args[0] == _errno.EEXIST:
248 if e.errno == _errno.EEXIST:
257 raise IOError, (_errno.EEXIST, "No usable temporary file name found")
342 if e.errno == _errno.EEXIST:
351 raise IOError, (_errno.EEXIST, "No usable temporary directory name found")
380 raise IOError, (_errno.EEXIST, "No usable temporary filename found")
/external/google-breakpad/src/common/android/testing/
Dmkdtemp.h100 if (errno != EEXIST) in breakpad_mkdtemp()
104 assert(errno == EEXIST); in breakpad_mkdtemp()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dcgroup_helpers.c68 if (mkdir(cgroup_workdir, 0777) && errno != EEXIST) { in setup_cgroup_environment()
166 if (mkdir(cgroup_path, 0777) && errno != EEXIST) { in create_and_get_cgroup()
/external/ltp/testcases/kernel/containers/sysvipc/
Dsemtest_2ns.c102 if (errno != EEXIST) { in check_sem1()
142 if (errno != EEXIST) { in check_sem2()
/external/gflags/src/
Dutil.h241 if (err == 0 || errno == EEXIST) return;
252 if (err == 0 || errno == EEXIST) return;
265 if (err == 0 || errno == EEXIST) return;
/external/libcxx/include/
Derrno.h296 #ifndef EEXIST
297 #define EEXIST 9955 macro
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/errno_h/
D3-2.c45 EEXIST, "EEXIST", EEXIST}, {
/external/libcxx/test/std/diagnostics/errno/
Dcerrno.pass.cpp91 #ifndef EEXIST
92 #error EEXIST not defined
/external/python/cpython2/Demo/pdist/
Dcvslock.py85 EEXIST = 17 variable
134 if msg[0] == EEXIST:
/external/ltp/testcases/kernel/syscalls/symlink/
Dsymlink01.c345 SYMLINK, 1, EEXIST, 2, creat_symlink, ck_symlink, {
385 MKDIR, 1, EEXIST, 10, creat_symlink, ck_symlink, {
437 OPEN, 1, EEXIST, 26, creat_symlink, ck_symlink, {
944 else if (tc_ptr->errno_val == EEXIST) in do_syscalltests()
1030 if ((TEST_RETURN == -1) && (errno == EEXIST)) in do_EEXIST()
1040 if ((TEST_RETURN == -1) && (errno == EEXIST)) { in do_EEXIST()
1053 if ((TEST_RETURN == -1) && (errno == EEXIST)) { in do_EEXIST()
/external/minijail/
Dsystem.c232 if (mkdir(dir, mode) && errno != EEXIST) { in mkdir_p()
245 if (isdir && mkdir(path, mode) && errno != EEXIST) in mkdir_p()
/external/selinux/libsepol/include/sepol/
Derrcodes.h26 #define SEPOL_EEXIST -EEXIST
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/
Dfileutil.py17 if e.errno != errno.EEXIST:
/external/swiftshader/third_party/LLVM/include/llvm/Support/
Dsystem_error.h292 # ifndef EEXIST
293 # define EEXIST 17 macro
522 file_exists = EEXIST,
/external/ltp/testcases/kernel/fs/mongo/
Dreiser_fract_tree.c191 if (errno == EEXIST) { /* just skip existing file */ in make_file()
314 if (errno != EEXIST) { in make_directory()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
D4-1.c41 if ((mysemp == SEM_FAILED) && (errno == EEXIST)) { in main()
D2-2.c41 if (errno != EEXIST) { in main()
/external/kernel-headers/original/uapi/asm-generic/
Derrno-base.h21 #define EEXIST 17 /* File exists */ macro
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
D5-1.c40 if (fd == -1 && errno == EEXIST) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D22-1.c37 if (fd == -1 && errno == EEXIST) { in main()
/external/syslinux/dos/
Derrno.h20 #define EEXIST 17 /* File exists */ macro
/external/strace/tests-mx32/
Derrno2name.c135 #ifdef EEXIST in errno2name()
136 CASE(EEXIST); in errno2name()
/external/strace/tests-m32/
Derrno2name.c135 #ifdef EEXIST in errno2name()
136 CASE(EEXIST); in errno2name()
/external/strace/tests/
Derrno2name.c135 #ifdef EEXIST in errno2name()
136 CASE(EEXIST); in errno2name()

1234567891011