uawdijnntqw1x1x1
IP : 18.227.24.8
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
..
/
lib
/
python2.7
/
site-packages
/
.
/
jinja2
/
..
/
hwdata.pyc
/
/
� ��POc@s0dZddd��YZddd��YZdS(sF Query hwdata database and return decription of vendor and/or device. tUSBcBs8eZdZdZdZdd�Zd�Zd�ZRS(s) Interace to usb.ids from hwdata package s/usr/share/hwdata/usb.idsc Cs�|r||_ntj|_d|_|jr�tjr�it_x�t|j�j�D]h}|j�}|jd�r�|jd�rYPq�qYqYt|�dkr�qYqY|jd�r|dj �}t|�dkr�dj |d�}nd}|tj|d|d|<qY|jd �rh|dj �}dj |d�}|igtj|d|<qY|dj �}dj |d�} |tjkr�| igtj|<qY| tj|d<qYWnd S(s Load pci.ids from file to internal data structure. parameter 'filename' can specify location of this file it#s8# List of known device classes, subclasses and protocolsis it ts N(tfilenameRtcachetdevicestopent readlinestsplitt startswithtlentlowertjoin( tselfRtlinetltinterface_idtinterface_nametvendortdevicetdevice_nametvendor_name((s*/usr/lib/python2.7/site-packages/hwdata.pyt__init__s: cCsA|j�}|jr:|tjkr3tj|dSdSn�dS(s~ Return description of vendor. Parameter is two byte code in hexa. If vendor is unknown None is returned. iN(RRRRtNone(RR((s*/usr/lib/python2.7/site-packages/hwdata.pyt get_vendor@s cCss|j�}|j�}|jrl|tjkre|tj|dkr^tj|d|dSdSqodSn�dS(s� Return description of device. Parameters are two byte code variables in hexa. If device is unknown None is returned. iiN(RRRRR(RRR((s*/usr/lib/python2.7/site-packages/hwdata.pyt get_deviceMs N( t__name__t __module__t__doc__RRRRRR(((s*/usr/lib/python2.7/site-packages/hwdata.pyRs) tPCIcBs8eZdZdZdZdd�Zd�Zd�ZRS(s) Interace to pci.ids from hwdata package s/usr/share/hwdata/pci.idsc Csm|r||_ntj|_d|_|jritjrii}it_xt|j�j�D]}|j�}|jd�r�q_q_t|�dkr�q_q_|jd�r�q_q_|jd�r�|dj �}dj |d�}|tj|d|<q_|dj �}dj |d�}|ttjj��krQ|igtj|<q_|tj|d<q_WndS(s Load pci.ids from file to internal data structure. parameter 'filename' can specify location of this file iRis s RN( RRRRRRR R RRR tlisttkeys( RRtpcirecRRRRRR((s*/usr/lib/python2.7/site-packages/hwdata.pyRcs0 cCsM|j�}|jrF|ttjj��kr?tj|dSdSn�dS(s~ Return description of vendor. Parameter is two byte code in hexa. If vendor is unknown None is returned. iN(RRRRRR R(RR((s*/usr/lib/python2.7/site-packages/hwdata.pyR�s cCs�|j�}|j�}|jr�|ttjj��kry|ttj|dj��krrtj|d|SdSq�dSn�dS(s� Return description of device. Parameters are two byte code variables in hexa. If device is unknown None is returned. iN(RRRRRR R(RRR((s*/usr/lib/python2.7/site-packages/hwdata.pyR�s #N( RRRRRRRRR(((s*/usr/lib/python2.7/site-packages/hwdata.pyR^s" N(((RRR(((s*/usr/lib/python2.7/site-packages/hwdata.pyt<module>sL
/home/../lib/python2.7/site-packages/./jinja2/../hwdata.pyc