??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
æ”\c @ s; d d l Z d d l Z d g Z d e f d „ ƒ YZ d S( iÿÿÿÿNt
DeviceMatcherc B s e Z d Z d „ Z d „ Z RS( s,
Device name matching against the devices specification in tuning profiles.
The devices specification consists of multiple rules separated by spaces.
The rules have a syntax of shell-style wildcards and are either positive
or negative. The negative rules are prefixed with an exclamation mark.
c C s t | t ƒ r$ t j d | ƒ } n g | D]/ } | j d ƒ r+ | j ƒ d k r+ | ^ q+ } g | D] } | | k rg | d ^ qg } t | ƒ d k r« | j d ƒ n t } x* | D]" } t j | | ƒ r¸ t
} Pq¸ q¸ Wx* | D]" } t j | | ƒ rå t } Pqå qå W| S( s
Match a device against the specification in the profile.
If there is no positive rule in the specification, implicit rule
which matches all devices is added. The device matches if and only
if it matches some positive rule, but no negative rule.
s \s|,\s*t !t i i t *( t
isinstancet strt ret splitt
startswitht stript lent appendt Falset fnmatcht True( t selft rulest device_namet rulet positive_rulest negative_rulest matches( ( sA /usr/lib/python2.7/site-packages/tuned/hardware/device_matcher.pyt match s <)
c C s= g } x0 | D]( } | j | | ƒ r
| j | ƒ q
q
W| S( s
Match a device list against the specification in the profile. Returns
the list, which is a subset of devices which match.
( R R ( R R t device_listt matching_devicest device( ( sA /usr/lib/python2.7/site-packages/tuned/hardware/device_matcher.pyt
match_list, s
( t __name__t
__module__t __doc__R R ( ( ( sA /usr/lib/python2.7/site-packages/tuned/hardware/device_matcher.pyR s ( R
R t __all__t objectR ( ( ( sA /usr/lib/python2.7/site-packages/tuned/hardware/device_matcher.pyt s