Searched refs:_re (Results 1 - 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/python/util/
H A Dall_util.py21 import re as _re namespace
27 _reference_pattern = _re.compile(r'^@@(\w+)$', flags=_re.MULTILINE)
/external/v8/src/inspector/build/
H A Drjsmin.py64 import re as _re namespace
139 return _re.sub(r'([\000-\040\047])', # for better portability
147 match = _re.compile(what).match
153 match = _re.compile(id_literal_(keep)).match
167 space_sub = _re.compile((
266 return _re.sub(
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/
H A Drcssmin.py84 import re as _re namespace
161 nl_unesc_sub = _re.compile(nl_escaped).sub
163 uri_space_sub = _re.compile((
168 space_sub_simple = _re.compile((
171 space_sub_banged = _re.compile((
175 post_esc_sub = _re.compile(r'[\r\n\f\t]+').sub
177 main_sub = _re.compile((
H A Drun_tests.py30 import re as _re namespace
66 if _re.search(r'(?<!\\)(?:\\\\)*\\[0-9a-zA-Z]{1,6}$', output):
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
H A Drjsmin.py73 import re as _re namespace
156 return _re.sub(
168 match = _re.compile(what).match
176 match = _re.compile(id_literal_(keep)).match
193 space_sub_simple = _re.compile((
246 space_sub_banged = _re.compile((
273 keep = _re.compile((
463 keep = _re.compile((
496 return _re.sub(rex, subber, '\n%s\n' % script).strip()
/external/python/cpython2/Tools/pynche/
H A DColorDB.py56 mo = self._re.match(line)
142 _re = re.compile(
147 _re = re.compile('(?P<name>\S+)\s+(?P<hexrgb>#[0-9a-fA-F]{6})')
153 _re = re.compile('(?P<name>(.+))\s+(?P<hexrgb>#[0-9a-fA-F]{6})')
159 _re = re.compile('(?P<hexrgb>#[0-9a-fA-F]{6})')
140 _re = re.compile( variable in class:RGBColorDB
145 _re = re.compile('(?P<name>\\S+)\\s+(?P<hexrgb>#[0-9a-fA-F]{6})') variable in class:HTML40DB
151 _re = re.compile('(?P<name>(.+))\\s+(?P<hexrgb>#[0-9a-fA-F]{6})') variable in class:LightlinkDB
157 _re = re.compile('(?P<hexrgb>#[0-9a-fA-F]{6})') variable in class:WebsafeDB
/external/python/cpython3/Lib/
H A Dstring.py52 import re as _re namespace
71 'delim' : _re.escape(cls.delimiter),
74 cls.pattern = _re.compile(pattern, cls.flags | _re.VERBOSE)
82 flags = _re.IGNORECASE
H A Dargparse.py89 import re as _re namespace
185 self._whitespace_matcher = _re.compile(r'\s+', _re.ASCII)
186 self._long_break_matcher = _re.compile(r'\n\n\n+')
331 opt_parts = _re.findall(part_regexp, opt_usage)
332 pos_parts = _re.findall(part_regexp, pos_usage)
473 text = _re.sub(r'(%s) ' % open, r'\1', text)
474 text = _re.sub(r' (%s)' % close, r'\1', text)
475 text = _re.sub(r'%s *%s' % (open, close), r'', text)
476 text = _re
[all...]
/external/python/cpython3/Tools/pynche/
H A DColorDB.py55 mo = self._re.match(line)
138 _re = re.compile(
143 _re = re.compile(r'(?P<name>\S+)\s+(?P<hexrgb>#[0-9a-fA-F]{6})')
149 _re = re.compile(r'(?P<name>(.+))\s+(?P<hexrgb>#[0-9a-fA-F]{6})')
155 _re = re.compile('(?P<hexrgb>#[0-9a-fA-F]{6})')
136 _re = re.compile( variable in class:RGBColorDB
141 _re = re.compile(r'(?P<name>\\S+)\\s+(?P<hexrgb>#[0-9a-fA-F]{6})') variable in class:HTML40DB
147 _re = re.compile(r'(?P<name>(.+))\\s+(?P<hexrgb>#[0-9a-fA-F]{6})') variable in class:LightlinkDB
153 _re = re.compile('(?P<hexrgb>#[0-9a-fA-F]{6})') variable in class:WebsafeDB
/external/python/cpython2/Demo/classes/
H A DComplex.py99 _re = 0
102 _re = re.re
105 _re = re
107 _re = _re - im.im
113 self.__dict__['re'] = _re
/external/python/cpython2/Lib/
H A Dstring.py83 import re as _re namespace
118 'delim' : _re.escape(cls.delimiter),
121 cls.pattern = _re.compile(pattern, _re.IGNORECASE | _re.VERBOSE)
H A Dargparse.py88 import re as _re namespace
182 self._whitespace_matcher = _re.compile(r'\s+')
183 self._long_break_matcher = _re.compile(r'\n\n\n+')
330 opt_parts = _re.findall(part_regexp, opt_usage)
331 pos_parts = _re.findall(part_regexp, pos_usage)
471 text = _re.sub(r'(%s) ' % open, r'\1', text)
472 text = _re.sub(r' (%s)' % close, r'\1', text)
473 text = _re.sub(r'%s *%s' % (open, close), r'', text)
474 text = _re.sub(r'\(([^|]*)\)', r'\1', text)
1225 self._negative_number_matcher = _re
[all...]
/external/python/cpython3/Lib/html/
H A D__init__.py5 import re as _re namespace
118 _charref = _re.compile(r'&(#[0-9]+;?'
/external/opencv/cxcore/src/
H A D_cxcore.h105 CvComplex32f( float _re, float _im=0 ) : re(_re), im(_im) {} argument
117 CvComplex64f( double _re, double _im=0 ) : re(_re), im(_im) {} argument
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/
H A Dwrite.py45 import re as _re namespace
101 namesub = _re.compile(r'(?:-\d+(?:\.\d+)*)?\.css$').sub
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
H A Dwrite.py45 import re as _re namespace
102 namesub = _re.compile(r'(?:-\d+(?:\.\d+)*)?\.js$').sub
/external/tensorflow/tensorflow/contrib/meta_graph_transform/
H A Dmeta_graph_transform.py23 import re as _re namespace
654 s_names = _re.findall(r'((?:[\/]?[a-zA-Z0-9\_]*)*)', compat.as_str_any(s))

Completed in 570 milliseconds