Home
last modified time | relevance | path

Searched refs:get_errno (Results 1 – 25 of 30) sorted by relevance

12

/external/jemalloc_new/test/integration/
Daligned_alloc.c23 assert_false(p != NULL || get_errno() != EINVAL, in TEST_BEGIN()
30 assert_false(p != NULL || get_errno() != EINVAL, in TEST_BEGIN()
50 assert_false(p != NULL || get_errno() != ENOMEM, in TEST_BEGIN()
63 assert_false(p != NULL || get_errno() != ENOMEM, in TEST_BEGIN()
75 assert_false(p != NULL || get_errno() != ENOMEM, in TEST_BEGIN()
103 buferror(get_errno(), buf, sizeof(buf)); in TEST_BEGIN()
Dposix_memalign.c97 buferror(get_errno(), buf, sizeof(buf)); in TEST_BEGIN()
/external/llvm-project/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp210 int get_errno() const { return m_saved_errno; } in get_errno() function in fd_interposing::Errno
538 fd_errno.get_errno()); in socket$__interposed__()
546 save_backtrace(fd, fd_errno.get_errno(), description_sp, true); in socket$__interposed__()
570 save_backtrace(fds[0], err_errno.get_errno(), description_sp, true); in socketpair$__interposed__()
572 save_backtrace(fds[1], err_errno.get_errno(), description_sp, true); in socketpair$__interposed__()
601 save_backtrace(fd, fd_errno.get_errno(), description_sp, true); in open$__interposed__()
622 save_backtrace(fd, fd_errno.get_errno(), description_sp, true); in open$NOCANCEL$__interposed__()
645 save_backtrace(fd, fd_errno.get_errno(), description_sp, true); in __open_extended$__interposed__()
663 save_backtrace(fd, fd_errno.get_errno(), description_sp, true); in kqueue$__interposed__()
683 save_backtrace(fd, fd_errno.get_errno(), description_sp, true); in shm_open$__interposed__()
[all …]
/external/python/cpython3/Lib/ctypes/test/
Dtest_errno.py21 self.assertEqual(get_errno(), errno.ENOENT)
24 self.assertEqual(get_errno(), 32)
36 self.assertEqual(get_errno(), 0)
42 self.assertEqual(get_errno(), 32)
/external/python/cpython2/Lib/ctypes/test/
Dtest_errno.py24 self.assertEqual(get_errno(), errno.ENOENT)
27 self.assertEqual(get_errno(), 32)
40 self.assertEqual(get_errno(), 0)
46 self.assertEqual(get_errno(), 32)
/external/rust/crates/getrandom/src/
Dutil_libc.rs28 use libc::errnoGet as get_errno;
32 unsafe fn get_errno() -> libc::c_int { -1 }
34 unsafe fn get_errno() -> libc::c_int { *errno_location() }
39 let errno = unsafe { get_errno() }; in last_os_error()
/external/bcc/src/python/bcc/
Dperf.py77 errno_ = ct.get_errno()
83 errno_ = ct.get_errno()
89 errno_ = ct.get_errno()
D__init__.py198 errno = ct.get_errno()
374 if ct.get_errno() == errno.EPERM:
377 errstr = os.strerror(ct.get_errno())
503 errstr = os.strerror(ct.get_errno())
507 errstr = os.strerror(ct.get_errno())
691 err_no = ct.get_errno()
709 errstr = os.strerror(ct.get_errno())
Dtable.py217 errstr = os.strerror(ct.get_errno())
/external/bcc/tests/python/
Dtest_uprobes.py107 e = ctypes.get_errno()
112 e = ctypes.get_errno()
116 e = ctypes.get_errno()
Dtest_perf_event.py50 if ctypes.get_errno() == 2:
/external/elfutils/tests/
Drun-allfcts-multi.sh50 /tmp/test-offset-loop.c:6:get_errno
64 /tmp/test-offset-loop.c:6:get_errno
/external/jemalloc_new/test/unit/
Dmalloc_io.c8 err = get_errno(); in TEST_BEGIN()
91 err = get_errno(); in TEST_BEGIN()
/external/jemalloc_new/include/jemalloc/internal/
Dutil.h57 get_errno(void) { in get_errno() function
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time.py107 errno = ctypes.get_errno()
/external/jemalloc_new/src/
Dmalloc_io.c464 assert(uwidth != UINTMAX_MAX || get_errno() != in malloc_vsnprintf()
488 assert(uprec != UINTMAX_MAX || get_errno() != in malloc_vsnprintf()
Dpages.c154 buferror(get_errno(), buf, sizeof(buf)); in os_pages_unmap()
/external/libiio/src/bindings/python/
Diio.py26 from ctypes import get_errno
32 err = get_last_error() if 'Windows' in _system() else get_errno()
/external/python/cpython3/Lib/ctypes/
D__init__.py139 from _ctypes import get_errno, set_errno
/external/python/cpython2/Lib/ctypes/
D__init__.py141 from _ctypes import get_errno, set_errno
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c220 get_errno(PyObject *self, PyObject *args) in get_errno() function
1991 {"get_errno", get_errno, METH_NOARGS},
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c214 get_errno(PyObject *self, PyObject *args) in get_errno() function
1919 {"get_errno", get_errno, METH_NOARGS},
/external/python/cffi/cffi/
Dbackend_ctypes.py975 def get_errno(self): member in CTypesBackend
976 return ctypes.get_errno()
Dapi.py472 return self._backend.get_errno()
/external/python/cffi/c/
Dtest_c.py2497 assert get_errno() == 65
2499 assert get_errno() == 95
2506 e = get_errno()
2512 assert get_errno() == 89
2514 assert get_errno() == 77
3039 res = get_errno()

12