HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib64/python2.7/site-packages/cffi/model.pyc

9Wc@sZddlZddlZddlZddlmZdZdZdZdZde	fdYZ
d	e
fd
YZdefdYZeZ
d
efdYZdefdYZdefdYZdefdYZdefdYZdefdYZdefdYZdefdYZee
ZdZee
ZdefdYZd efd!YZeed"dZd#e
fd$YZd%efd&YZd'efd(YZd)efd*YZ d+efd,YZ!dd-Z"dd.Z#eZ$d/Z%d0Z&d1Z'dS(2iNi(t
allocate_lockiicCs[|t@rd|j}n|t@r:d|j}n|t@rWd|j}n|S(Ns const s
 volatile s __restrict (tQ_CONSTtlstript
Q_VOLATILEt
Q_RESTRICT(tqualstreplace_with((s0/usr/lib64/python2.7/site-packages/cffi/model.pytqualifys


tBaseTypeByIdentitycBs_eZeZeZddddZdZdZdZedZ	dZ
d	ZRS(
tsa C fileicCs|j}|jddks$t|j}|r~|jdr^d|kr^d|}q~|ddkr~d|}q~nt||}|jd|}d	|krdd
lm}|d|j	|fn|S(Nt&it*s&[s(%s)is[(t t$(tVerificationErrors-cannot generate '%s' in %s: unknown type name(
tc_name_with_markertcounttAssertionErrortstript
startswithRtreplacetffiplatformRt_get_c_name(tselfRtcontextRtresultR((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt
get_c_names 	
cCs|jjddS(NR
R	(RR(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR0scCsd|jkS(NR
(R(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt
has_c_name3scCstS(N(tFalse(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pytis_integer_type6scCsby|j|}WnJtk
r]|j||}|jj||}||ks^tnX|S(N(t_cached_btypestKeyErrortbuild_backend_typet
setdefaultR(Rtffit
finishlistt	can_delaytBTypetBType2((s0/usr/lib64/python2.7/site-packages/cffi/model.pytget_cached_btype9s
cCsd|jfS(Ns<%s>(R(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt__repr__BscCs)g|jD]}|t||f^q
S(N(t_attrs_tgetattr(Rtname((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt
_get_itemsEs(t__name__t
__module__Rt
is_array_typetis_raw_functionRRRRR'R(R,(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRs					tBaseTypecBs#eZdZdZdZRS(cCs(|j|jko'|j|jkS(N(t	__class__R,(Rtother((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt__eq__KscCs||kS(N((RR3((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt__ne__OscCst|jt|jfS(N(thashR2ttupleR,(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt__hash__Rs(R-R.R4R5R8(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR1Is		tVoidTypecBs eZdZdZdZRS(cCs
d|_dS(Nsvoid&(R(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt__init__YscCst||dS(Nt
new_void_type(tglobal_cache(RR"R#((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR \s((R-R.R)R:R (((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR9Vs	tBasePrimitiveTypecBseZRS((R-R.(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR=bst
PrimitiveTypecBseZd8Zi/dd6dd6dd6dd6dd6dd6dd	6dd
6dd6dd6dd
6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6dd!6dd"6dd#6dd$6dd%6dd&6dd'6dd(6dd)6dd*6dd+6dd,6dd-6dd.6dd/6dd06dd16dd26Zd3Zd4Zd5Zd6Zd7ZRS(9R+tctchartitshorttinttlongs	long longssigned chars
unsigned charsunsigned shortsunsigned ints
unsigned longsunsigned long longtftfloattdoubleslong doublet_Booltwchar_ttint8_ttuint8_ttint16_ttuint16_ttint32_ttuint32_ttint64_ttuint64_ttint_least8_tt
uint_least8_tt
int_least16_ttuint_least16_tt
int_least32_ttuint_least32_tt
int_least64_ttuint_least64_ttint_fast8_ttuint_fast8_ttint_fast16_tt
uint_fast16_ttint_fast32_tt
uint_fast32_ttint_fast64_tt
uint_fast64_ttintptr_tt	uintptr_ttintmax_tt	uintmax_tt	ptrdiff_ttsize_ttssize_tcCs/||jkst||_|d|_dS(NR
(tALL_PRIMITIVE_TYPESRR+R(RR+((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR:s	cCs|j|jdkS(NR?(RiR+(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pytis_char_typescCs|j|jdkS(NRA(RiR+(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRscCs|j|jdkS(NRE(RiR+(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt
is_float_typescCst||d|jS(Ntnew_primitive_type(R<R+(RR"R#((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR s(sname(	R-R.R)RiR:RjRRkR (((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR>fsl
				tUnknownIntegerTypecBs)eZdZdZdZdZRS(R+cCs||_|d|_dS(NR
(R+R(RR+((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR:s	cCstS(N(tTrue(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRscCstd|jdS(Ns4integer type '%s' can only be used after compilation(tNotImplementedErrorR+(RR"R#((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR s(sname(R-R.R)R:RR (((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRms		tUnknownFloatTypecBs eZdZdZdZRS(R+cCs||_|d|_dS(NR
(R+R(RR+((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR:s	cCstd|jdS(Ns2float type '%s' can only be used after compilation(RoR+(RR"R#((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR s(sname(R-R.R)R:R (((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRps	tBaseFunctionTypecBseZdZddZRS(targsRtellipsistabicCs||_||_||_||_g|jD]}|j^q.}|jr_|jdn|pkdg}|jdj|f}|dk	r|d |d|d}n|jj	j
d||_	dS(Ns...tvoids, iRR
(RrRRsRtRtappendt
_base_patterntjointNoneRR(RRrRRsRttargtreprargsR((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR:s				"	(sargssresultsellipsissabiN(R-R.R)RyR:(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRqstRawFunctionTypecBs&eZdZeZdZdZRS(s(&)(%s)cCs*ddlm}|jd|fdS(Ni(tapisPcannot render the type %r: it is a function type, not a pointer-to-function type(R	R}t	CDefError(RR"R#R}((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR s	cCst|j|j|j|jS(N(tFunctionPtrTypeRrRRsRt(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pytas_function_pointers(R-R.RwRnR0R R(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR|s	RcBs eZdZdZdZRS(s(*&)(%s)cCs|jj||}g}x*|jD]}|j|j||q%Wd}|jdkr|jsy|jjf}Wqtk
rqXqnt	||dt
|||j|S(Nt	__stdcalltnew_function_type((RR'RrRvRtRst_backendtFFI_STDCALLtAttributeErrorR<R7(RR"R#RRrttptabi_args((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR s	

cCst|j|j|j|jS(N(R|RrRRsRt(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pytas_raw_functions(R-R.RwR R(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRs	tPointerTypecBs#eZdZddZdZRS(ttotypeRicCs\||_||_t|d}|jr@d|jf}n|jjd||_dS(Ns *&s(%s)R
(RRRR/RRR(RRRtextra((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR:s			cCs.|jj||dt}t||d|S(NR$tnew_pointer_type(RR'RnR<(RR"R#tBItem((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR s(stotypesquals(R-R.R)R:R (((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRscCs
t|tS(N(RR(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pytConstPointerTypestNamedPointerTypecBseZdZddZRS(RR+icCs-tj|||||_|d|_dS(NR
(RR:R+R(RRR+R((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR:s	(stotypesname(R-R.R)R:(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRst	ArrayTypecBs/eZdZeZdZdZdZRS(titemtlengthcCse||_||_|dkr'd}n|dkr<d}n
d|}|jjjd||_dS(Ns&[]s...s
&[/*...*/]s&[%s]R
(RRRyRR(RRRtbrackets((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR:$s				
cCst|j|S(N(RR(Rt	newlength((s0/usr/lib64/python2.7/site-packages/cffi/model.pytresolve_length1scCs|jdkr8ddlm}|jd|fn|jj||t|jj||}t||d||jS(Ns...i(R}s)cannot render the type %r: unknown lengthtnew_array_type(RR	R}R~RR'RR<(RR"R#R}tBPtrItem((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR 4s	(sitemslength(R-R.R)RnR/R:RR (((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR s
	
	R@tStructOrUnionOrEnumcBs/eZdZdZdZdZdZRS(R+cCs0|jpd|j|jf}|d|_dS(Ns%s %sR
(t	forcenametkindR+R(RR+((s0/usr/lib64/python2.7/site-packages/cffi/model.pytbuild_c_name_with_markerDscCs||_|jdS(N(RR(RR((s0/usr/lib64/python2.7/site-packages/cffi/model.pytforce_the_nameHs	cCs#|jjdst|jd S(NR
i(RtendswithR(R((s0/usr/lib64/python2.7/site-packages/cffi/model.pytget_official_nameLs(snameN(R-R.R)RyRRRR(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR@s
		t
StructOrUnioncBsweZd
ZdZeZeZd
dZdZ	dZ
dZedZdZ
dZdZd	ZRS(icCs;||_||_||_||_||_|jdS(N(R+tfldnamestfldtypest
fldbitsizetfldqualsR(RR+RRRR((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR:Ws					cCs\|jdkrtSxBt|j|jD]+\}}|dkr)t|tr)tSq)WtS(NR	(RRyRtzipRt
isinstanceRRn(RR+ttype((s0/usr/lib64/python2.7/site-packages/cffi/model.pythas_anonymous_struct_fields_s"ccs|j}|dkr+dt|j}nx}t|j|j|j|D]]\}}}}|dkrt|trx-|j	D]}|VqWqJ||||fVqJWdS(NiR	(i(
RRytlenRRRRRRt
enumfields(RRR+RtbitsizeRR((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRgs	c	Csg}g}g}g}xT|jD]F\}}}}|j||j||j||j|q%Wt||_t||_t||_t||_dS(N(RRvR7RRRR(	RtnamesttypestbitsizesRR+RRR((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt
force_flattents


cCs5tj||||}|s1|j||n|S(N(RR'tfinish_backend_type(RR"R#R$R%((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR's
	cCs|jr5|jdkr1td|jfndS|j|}d|_|jdkr]nz|jdkrg|jD]}|j||^qv}tt	|j
||j}d}|jrd}n|j
j|||dd|ng}|j\}}	}
}xtt|j
D]y}|	|}
|j|}t|tr|jdkr|jj||}t|
|j|\}}|dkr|jd|j|j
|pd	fn|j|}|j| |f|j|d|_n|j||}t|tr>|jdkr>|
dkstnK|j|}||
kr|jd
|j|j
|pxd	||
fn|j|qWtt	|j
||j|}|j
j||||
|d|_dS(Nis(recursive structure declaration for '%s'iiiis...sfield '%s.%s' has a bogus size?s{}s=field '%s.%s' is declared as %d bytes, but is really %d bytes(t	completedRoR+RRRytfixedlayoutR'tlistRRRtpackedRtcomplete_struct_or_uniontrangeRRRRRtdivmodtsizeoft_verification_errorRRRv(RR"R#R%RRtlsttsflagstfieldofst	fieldsizet	totalsizettotalalignmentRAtfsizetftypet	BItemTypetnlentnrestt
BFieldTypet	bitemsize((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRs`	
	%		

!!
cCs ddlm}||dS(Ni(R(RR(RtmsgR((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRscCsD|jr@|jdkr@ddlm}|j|jndS(Ni(R(tpartialRRyR	RtVerificationMissingR(RR((s0/usr/lib64/python2.7/site-packages/cffi/model.pytcheck_not_partialscCs=|j|j|t||d|j|jd|S(Nsnew_%s_typetkey(RRvR<RR(RR"R#((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR s

N(R-R.RyRRRRRR:RRRR'RRRR (((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRQs		
		<		t
StructTypecBseZdZRS(tstruct(R-R.R(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRst	UnionTypecBseZdZRS(tunion(R-R.R(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRstEnumTypecBsJeZdZeZeZddZdZdZ	dZ
dZRS(tenumcCs2||_||_||_||_|jdS(N(R+tenumeratorst
enumvaluestbaseinttypeR(RR+RRR((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR:s
				cCsKtj|||jdkrG|j}d|jdd|_ndS(NR
Rt_(RRRRyRR(RRR+((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRscCs?|jr;|jr;ddlm}|j|jndS(Ni(R(Rtpartial_resolvedR	RRR(RR((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRsc
CsJ|j|j||}t||d|j|j|j|d|S(Nt
new_enum_typeR(Rtbuild_baseinttypeR<RRR(RR"R#t
base_btype((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR s
	cCs|jdk	r"|jj||Sddlm}|jr\t|j}t|j}n-ddl}|j	d|j
d}}|dkrd}td}td}	nd}td}td	}	|j||}
|	j||}|j|
}|j|}
|dd
|d>krJ|dd
||>krJ|
S|dd
|
d>kr~|dd
|
|>kr~|S|j
d|j
dS(Ni(R}is%r has no values explicitly defined; next version will refuse to guess which integer type it is meant to be (unsigned/signed, int/long)iRCRDsunsigned ints
unsigned longis=%s values don't all fit into either 'long' or 'unsigned long'(RRyR'R	R}RtmintmaxtwarningstwarnRR>RR~(RR"R#R}tsmallest_valuet
largest_valueRtsignt
candidate1t
candidate2tbtype1tbtype2tsize1tsize2((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRs:		
	N(R-R.RRRRRyR:RRR R(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyRs			cCsH|dkrd|}nt|ddd}|j|d|_|S(Ns$%stunknown_type(RyRRtorigin(R+t
structnameR((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR%s

	cCs;|dkrd|}nt|ddd}t||S(Ns$$%s(RyRR(R+RR((s0/usr/lib64/python2.7/site-packages/cffi/model.pytunknown_ptr_type-s
c
Os2|jd||f}|s%ty|jj|SWnctk
rJnStk
rt|jtjrt	j
|j_qt	j
t|j_nXyt|j||}Wn,t
k
r}t
d|||fnX|jj}t2|j|}	|	dkr$|||<|S|	SWdQXdS(NRs
%s: %r: %s(tpopRRt__typecacheRRRRt
ModuleTypetweakreftWeakValueDictionaryRR*Rotglobal_locktgetRy(
tsrctypeR"tfuncnameRrtkwdsRtrestetcachetres1((s0/usr/lib64/python2.7/site-packages/cffi/model.pyR<6s*



cCstd|d|S(Nt?R(R<(R"R%((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt
pointer_cacheUscCsQ|jrMt|jdtkrMd||jdff|jd|_ndS(Nis%s: %si(RrRtstr(RR+((s0/usr/lib64/python2.7/site-packages/cffi/model.pytattach_exception_infoXs"((RtsysRtlockRRRRRtobjectRR1R9t	void_typeR=R>RmRpRqR|RRt
voidp_typeRtconst_voidp_typeRRRytchar_array_typeRRRRRRRRR<RR(((s0/usr/lib64/python2.7/site-packages/cffi/model.pyt<module>sF	
0
		F		C