Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(8)  |  Derive(0)  |  Import(6)

src/p/o/portage-funtoo-HEAD/pym/portage/dbapi/_SyncfsProcess.py   portage-funtoo(Download)
# Copyright 2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
 
from portage import os
from portage.util._ctypes import find_library, LoadLibrary
	def _get_syncfs():
 
		filename = find_library("c")
		if filename is not None:
			library = LoadLibrary(filename)

src/p/o/portage-HEAD/pym/portage/dbapi/_SyncfsProcess.py   portage(Download)
# Copyright 2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
 
from portage import os
from portage.util._ctypes import find_library, LoadLibrary
	def _get_syncfs():
 
		filename = find_library("c")
		if filename is not None:
			library = LoadLibrary(filename)

src/p/o/portage-funtoo-HEAD/pym/portage/process.py   portage-funtoo(Download)
from portage.const import BASH_BINARY, SANDBOX_BINARY, FAKEROOT_BINARY
from portage.exception import CommandNotFound
from portage.util._ctypes import find_library, LoadLibrary, ctypes
 
try:
	# for each child process.
	if unshare_net or unshare_ipc:
		find_library("c")
 
	parent_pid = os.getpid()
	# Unshare (while still uid==0)
	if unshare_net or unshare_ipc:
		filename = find_library("c")
		if filename is not None:
			libc = LoadLibrary(filename)

src/p/o/portage-HEAD/pym/portage/process.py   portage(Download)
from portage.const import BASH_BINARY, SANDBOX_BINARY, FAKEROOT_BINARY
from portage.exception import CommandNotFound
from portage.util._ctypes import find_library, LoadLibrary, ctypes
 
try:
	# for each child process.
	if unshare_net or unshare_ipc:
		find_library("c")
 
	parent_pid = os.getpid()
	# Unshare (while still uid==0)
	if unshare_net or unshare_ipc:
		filename = find_library("c")
		if filename is not None:
			libc = LoadLibrary(filename)

src/p/o/portage-funtoo-HEAD/pym/portage/dbapi/_MergeProcess.py   portage-funtoo(Download)
import portage
from portage import os, _unicode_decode
from portage.util._ctypes import find_library
import portage.elog.messages
from portage.util._async.ForkProcess import ForkProcess
		if platform.system() == "Linux" and \
			"merge-sync" in settings.features:
			find_library("c")
 
		# Inherit stdin by default, so that the pdb SIGUSR1

src/p/o/portage-HEAD/pym/portage/dbapi/_MergeProcess.py   portage(Download)
import portage
from portage import os, _unicode_decode
from portage.util._ctypes import find_library
import portage.elog.messages
from portage.util._async.ForkProcess import ForkProcess
		if platform.system() == "Linux" and \
			"merge-sync" in settings.features:
			find_library("c")
 
		# Inherit stdin by default, so that the pdb SIGUSR1