ó {fc@s¤dZddlZddlZejZdd„Zdejfd„ƒYZdejfd„ƒYZd ej fd „ƒYZ d ej fd „ƒYZ d „Z dS(s Python 'utf-32' Codec iÿÿÿÿNtstrictcCstj||tƒS(N(tcodecst utf_32_decodetTrue(tinputterrors((s(/usr/lib64/python2.7/encodings/utf_32.pytdecode stIncrementalEncodercBs;eZdd„Zed„Zd„Zd„Zd„ZRS(RcCs tjj||ƒd|_dS(N(RRt__init__tNonetencoder(tselfR((s(/usr/lib64/python2.7/encodings/utf_32.pyRscCsm|jdkrVtj||jƒd}tjdkrFtj|_n tj|_|S|j||jƒdS(Nitlittle( R R Rt utf_32_encodeRtsyst byteordertutf_32_le_encodetutf_32_be_encode(R Rtfinaltresult((s(/usr/lib64/python2.7/encodings/utf_32.pytencodes cCstjj|ƒd|_dS(N(RRtresetR R (R ((s(/usr/lib64/python2.7/encodings/utf_32.pyRscCs|jdkrdSdS(Nii(R R (R ((s(/usr/lib64/python2.7/encodings/utf_32.pytgetstate scCs@|rd|_n*tjdkr0tj|_n tj|_dS(NR (R R RRRRR(R tstate((s(/usr/lib64/python2.7/encodings/utf_32.pytsetstate's  (t__name__t __module__RtFalseRRRR(((s(/usr/lib64/python2.7/encodings/utf_32.pyR s    tIncrementalDecodercBs8eZdd„Zd„Zd„Zd„Zd„ZRS(RcCs tjj||ƒd|_dS(N(RtBufferedIncrementalDecoderRR tdecoder(R R((s(/usr/lib64/python2.7/encodings/utf_32.pyR1scCs¡|jdkr‹tj||d|ƒ\}}}|dkrKtj|_n6|dkrftj|_n|dkrtdƒ‚n||fS|j||j|ƒS(Niiÿÿÿÿiis%UTF-32 stream does not start with BOM(RR Rtutf_32_ex_decodetutf_32_le_decodetutf_32_be_decodet UnicodeErrorR(R RRRtoutputtconsumedR((s(/usr/lib64/python2.7/encodings/utf_32.pyt_buffer_decode5s!    cCstjj|ƒd|_dS(N(RRRR R(R ((s(/usr/lib64/python2.7/encodings/utf_32.pyRBscCs`tjj|ƒd}|jdkr/|dfSttjdk|jtjkkƒ}||fS(Niitbig( RRRRR tintRRR!(R Rtaddstate((s(/usr/lib64/python2.7/encodings/utf_32.pyRFs  cCstjj||ƒ|d}|dkrPtjdkrAtjntj|_n<|dkrƒtjdkrttjntj|_n d|_dS(NiiR&( RRRRRR!R RR (R R((s(/usr/lib64/python2.7/encodings/utf_32.pyRTs   (RRRR%RRR(((s(/usr/lib64/python2.7/encodings/utf_32.pyR0s    t StreamWritercBs)eZdd„Zd„Zdd„ZRS(RcCs#d|_tjj|||ƒdS(N(R R RR)R(R tstreamR((s(/usr/lib64/python2.7/encodings/utf_32.pyRds cCstjj|ƒd|_dS(N(RR)RR R (R ((s(/usr/lib64/python2.7/encodings/utf_32.pyRhscCsc|jdkrOtj||ƒ}tjdkr?tj|_n tj|_|S|j||ƒSdS(NR (R R RR RRRR(R RRR((s(/usr/lib64/python2.7/encodings/utf_32.pyRls (RRRRR(((s(/usr/lib64/python2.7/encodings/utf_32.pyR)cs  t StreamReadercBseZd„Zdd„ZRS(cCs2tjj|ƒy |`Wntk r-nXdS(N(RR+RRtAttributeError(R ((s(/usr/lib64/python2.7/encodings/utf_32.pyRys   RcCsytj||dtƒ\}}}|dkr<tj|_n3|dkrWtj|_n|dkrotd‚n||fS(Niiÿÿÿÿiis%UTF-32 stream does not start with BOM(RRRR RR!R"(R RRtobjectR$R((s(/usr/lib64/python2.7/encodings/utf_32.pyR€s!    (RRRR(((s(/usr/lib64/python2.7/encodings/utf_32.pyR+ws cCs4tjdddtdtdtdtdtdtƒS( Ntnamesutf-32RRtincrementalencodertincrementaldecodert streamreadert streamwriter(Rt CodecInfoRRRRR+R)(((s(/usr/lib64/python2.7/encodings/utf_32.pyt getregentrys ( t__doc__RRR RRRRRR)R+R4(((s(/usr/lib64/python2.7/encodings/utf_32.pyts  #3