Searched defs:lib (Results 1 - 6 of 6) sorted by relevance

/pkg/src/modules/
H A Dsyscallat.py30 from pkg._syscallat import lib, ffi namespace
44 rv = lib.mkdirat(fd, force_bytes(path), mode)
61 rv = lib.openat(fildes, force_bytes(path), oflag, mode)
79 rv = lib.renameat(fromfd, force_bytes(old), tofd, force_bytes(new))
94 rv = lib.unlinkat(dirfd, force_bytes(path), flag)
H A Darch.py28 from pkg._arch import lib, ffi namespace
36 buf = lib.malloc(bufsz)
37 buf = ffi.gc(buf, lib.free)
42 ret = lib.sysinfo(sicmd, buf, bufsz)
47 tmp = lib.realloc(buf, bufsz)
48 tmp = ffi.gc(tmp, lib.free)
64 buf1 = _get_sysinfo(lib.SI_ARCHITECTURE_64)
65 buf2 = _get_sysinfo(lib.SI_ARCHITECTURE_32)
89 buf = _get_sysinfo(lib.SI_RELEASE)
98 buf = _get_sysinfo(lib
[all...]
H A Dpspawn.py30 from pkg._pspawn import lib, ffi namespace
42 rc = lib.posix_spawn_file_actions_addclose(wd.fap, fd)
77 rc = lib.posix_spawn_file_actions_init(self.fa)
78 self.fa = ffi.gc(self.fa, lib.posix_spawn_file_actions_destroy)
90 rc = lib.posix_spawn_file_actions_addclose(self.fa, fd)
106 rc = lib.posix_spawn_file_actions_addopen(self.fa, fd, path, oflag,
119 rc = lib.posix_spawn_file_actions_adddup2(self.fa, fd, newfd)
139 lib.fdwalk(walk_func, wd)
186 rc = lib.posix_spawnp(pid, filename.encode(), s_action, ffi.NULL,
H A Dsha512_t.py29 from pkg._sha512_t import lib, ffi namespace
68 lib.SHA512_t_Init(self.hash_size, self.ctx)
80 lib.SHA512_t_Update(self.ctx, message, len(message))
90 lib.memcpy(shc, self.ctx, ffi.sizeof("SHA512_CTX"))
91 lib.SHA512_t_Final(digest, shc)
H A Dsysattr.py30 from pkg._sysattr import lib, ffi namespace
32 F_ATTR_ALL = lib.F_ATTR_ALL
38 ignore = [lib.F_OWNERSID, lib.F_GROUPSID, lib.F_AV_SCANSTAMP,
39 lib.F_OPAQUE, lib.F_CRTIME, lib.F_FSID, lib.F_GEN, lib
[all...]
/pkg/src/modules/server/
H A Dface.py31 import cherrypy.lib.static namespace
126 return cherrypy.lib.static.serve_file(os.path.join(

Completed in 884 milliseconds