/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/ |
compquery.py | 30 name = CriteriaDescriptor("name_regex") 31 name_regex = False variable in class:ComponentQuery 39 return self._match_regex(obj, self.name, self.name_regex)
|
netifconquery.py | 36 name_regex If true, regular expression matching will 72 self.name_regex):
|
mixins.py | 142 name = CriteriaDescriptor("name_regex") 143 name_regex = False variable in class:MatchName 147 log.debug("Name: {0.name!r}, regex: {0.name_regex}".format(self)) 155 return match_regex(obj, self.name, self.name_regex)
|
descriptors.py | 36 # Implementation note: if the name_regex attribute value 47 name_regex The name of instance's regex setting attribute; 48 used as name_regex below. If unset, 57 name_regex This attribute is read to determine if 63 def __init__(self, name_regex=None, lookup_function=None, default_value=None): 64 assert name_regex or lookup_function, "A simple attribute should be used if there is " \ 66 self.regex = name_regex
|
/external/autotest/server/site_tests/enterprise_CFM_USBPeripheralHotplugDetect/ |
enterprise_CFM_USBPeripheralHotplugDetect.py | 45 for name_regex, usb_spec in name_to_spec_map: 46 if re.match(name_regex, device_name):
|
/external/python/cpython3/Lib/test/ |
test_faulthandler.py | 117 def check_fatal_error(self, code, line_number, name_regex, **kw): 118 fatal_error = 'Fatal Python error: %s' % name_regex 121 def check_windows_exception(self, code, line_number, name_regex, **kw): 122 fatal_error = 'Windows fatal exception: %s' % name_regex
|
/external/devlib/devlib/utils/ |
android.py | 123 name_regex = re.compile(r"name='(?P<name>[^']+)'") variable in class:ApkInfo 154 match = self.name_regex.search(line)
|