Home
last modified time | relevance | path

Searched refs:initval (Results 1 - 12 of 12) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ptrace/
H A Dptrace07.c60 static void check_regs_loop(uint32_t initval) in check_regs_loop() argument
63 uint32_t xmm0[4] = { initval, initval, initval, initval }; in check_regs_loop()
82 "xmm registers corrupted! initval=%08X, xmm0=%08X%08X%08X%08X\n", in check_regs_loop()
83 initval, xmm0[0], xmm0[1], xmm0[2], xmm0[3]); in check_regs_loop()
/third_party/rust/crates/rustix/src/io/
H A Deventfd.rs6 /// `eventfd(initval, flags)`—Creates a file descriptor for event
14 pub fn eventfd(initval: u32, flags: EventfdFlags) -> io::Result<OwnedFd> { in eventfd()
15 backend::io::syscalls::eventfd(initval, flags) in eventfd()
/third_party/rust/crates/nix/src/sys/
H A Deventfd.rs13 pub fn eventfd(initval: libc::c_uint, flags: EfdFlags) -> Result<RawFd> { in eventfd()
14 let res = unsafe { libc::eventfd(initval, flags.bits()) }; in eventfd()
/third_party/nghttp2/bpf/
H A Dreuseport_kern.c409 static inline __u32 __jhash_nwords(__u32 a, __u32 b, __u32 c, __u32 initval) { in __jhash_nwords() argument
410 a += initval; in __jhash_nwords()
411 b += initval; in __jhash_nwords()
412 c += initval; in __jhash_nwords()
422 static inline __u32 jhash_2words(__u32 a, __u32 b, __u32 initval) { in jhash_2words() argument
423 return __jhash_nwords(a, b, 0, initval + JHASH_INITVAL + (2 << 2)); in jhash_2words()
498 static __u32 hash(const __u8 *data, __u32 datalen, __u32 initval) { in hash() argument
504 return jhash_2words(a, b, initval); in hash()
/third_party/rust/crates/libc/src/unix/newlib/espidf/
H A Dmod.rs107 pub fn eventfd(initval: ::c_uint, flags: ::c_int) -> ::c_int; in eventfd()
/third_party/rust/crates/rustix/src/backend/libc/io/
H A Dsyscalls.rs299 pub(crate) fn eventfd(initval: u32, flags: EventfdFlags) -> io::Result<OwnedFd> {
300 unsafe { syscall_ret_owned_fd(c::syscall(c::SYS_eventfd2, initval, flags.bits())) }
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
H A Dsyscalls.rs301 pub(crate) fn eventfd(initval: u32, flags: EventfdFlags) -> io::Result<OwnedFd> {
302 unsafe { ret_owned_fd(syscall_readonly!(__NR_eventfd2, c_uint(initval), flags)) }
/third_party/python/Lib/test/
H A Dtest_os.py3739 initval = 42
3740 fd = os.eventfd(initval)
3747 self.assertEqual(res, pack(initval))
3765 initval = 2
3767 fd = os.eventfd(initval, flags)
3771 # semaphore starts has initval 2, two reads return '1'
/third_party/pcre2/pcre2/src/sljit/
H A DsljitLir.c3102 SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw initval) in sljit_emit_const() argument
3107 SLJIT_UNUSED_ARG(initval); in sljit_emit_const()
/third_party/python/Modules/clinic/
H A Dposixmodule.c.h7898 "eventfd($module, /, initval, flags=EFD_CLOEXEC)\n"
7907 os_eventfd_impl(PyObject *module, unsigned int initval, int flags);
7913 static const char * const _keywords[] = {"initval", "flags", NULL}; in os_eventfd()
7917 unsigned int initval; in os_eventfd() local
7924 if (!_PyLong_UnsignedInt_Converter(args[0], &initval)) { in os_eventfd()
7935 return_value = os_eventfd_impl(module, initval, flags); in os_eventfd()
/third_party/python/Modules/
H A Dposixmodule.c13238 initval: unsigned_int
13245 os_eventfd_impl(PyObject *module, unsigned int initval, int flags) in os_eventfd_impl() argument
13249 /* initval is limited to uint32_t, internal counter is uint64_t */ in os_eventfd_impl()
13252 fd = eventfd(initval, flags); in os_eventfd_impl()
/third_party/python/Modules/_decimal/libmpdec/
H A Dmpdecimal.c87 #define MPD_NEW_CONST(name, flags, exp, digits, len, alloc, initval) \
88 mpd_uint_t name##_data[alloc] = {initval}; \

Completed in 74 milliseconds