| /external/cronet/stable/third_party/rust/chromium_crates_io/vendor/glob-0.3.1/src/ |
| D | lib.rs | 160 pub fn glob(pattern: &str) -> Result<Paths, PatternError> { in glob() argument 177 pub fn glob_with(pattern: &str, options: MatchOptions) -> Result<Paths, PatternError> { in glob_with() argument 442 pub struct PatternError { struct 450 impl Error for PatternError { argument 456 impl fmt::Display for PatternError { implementation 506 type Err = PatternError; 508 fn from_str(s: &str) -> Result<Self, PatternError> { in from_str() argument 545 pub fn new(pattern: &str) -> Result<Self, PatternError> { in new() argument 567 return Err(PatternError { in new() 586 return Err(PatternError { in new() [all …]
|
| /external/cronet/tot/third_party/rust/chromium_crates_io/vendor/glob-0.3.1/src/ |
| D | lib.rs | 160 pub fn glob(pattern: &str) -> Result<Paths, PatternError> { in glob() argument 177 pub fn glob_with(pattern: &str, options: MatchOptions) -> Result<Paths, PatternError> { in glob_with() argument 442 pub struct PatternError { struct 450 impl Error for PatternError { implementation 456 impl fmt::Display for PatternError { implementation 506 type Err = PatternError; 508 fn from_str(s: &str) -> Result<Self, PatternError> { in from_str() argument 545 pub fn new(pattern: &str) -> Result<Self, PatternError> { in new() argument 567 return Err(PatternError { in new() 586 return Err(PatternError { in new() [all …]
|
| /external/rust/android-crates-io/crates/glob/src/ |
| D | lib.rs | 162 pub fn glob(pattern: &str) -> Result<Paths, PatternError> { in glob() argument 179 pub fn glob_with(pattern: &str, options: MatchOptions) -> Result<Paths, PatternError> { in glob_with() argument 497 pub struct PatternError { struct 505 impl Error for PatternError { implementation 511 impl fmt::Display for PatternError { implementation 565 type Err = PatternError; 567 fn from_str(s: &str) -> Result<Self, PatternError> { in from_str() argument 604 pub fn new(pattern: &str) -> Result<Self, PatternError> { in new() argument 626 return Err(PatternError { in new() 645 return Err(PatternError { in new() [all …]
|
| /external/python/cpython3/Lib/re/ |
| D | _constants.py | 23 class PatternError(Exception): class 57 error = PatternError
|
| D | __init__.py | 159 PatternError = error = _compiler.PatternError variable
|
| D | _compiler.py | 153 raise PatternError("look-behind requires fixed-width pattern") 212 raise PatternError(f"internal: unsupported operand type {op!r}") 238 raise PatternError(f"internal: unsupported set operator {op!r}")
|
| /external/python/cpython3/Lib/test/ |
| D | test_re.py | 50 with self.assertRaises(re.PatternError) as cm: 59 with self.assertRaises(re.PatternError) as cm: 68 assert re.error is re.PatternError 160 with self.assertRaises(re.PatternError): 842 self.assertRaises(re.PatternError, re.compile, '\\%c' % c) 845 self.assertRaises(re.PatternError, re.compile, '[\\%c]' % c) 1082 self.assertRaises(re.PatternError, re.compile, r'(a)b(?<=(?(2)b|x))(c)') 1086 self.assertRaises(re.PatternError, re.compile, r'(a)b(?<=(.)\2)(c)') 1087 self.assertRaises(re.PatternError, re.compile, r'(a)b(?<=(?P<a>.)(?P=a))(c)') 1088 self.assertRaises(re.PatternError, re.compile, r'(a)b(?<=(a)(?(2)b|x))(c)') [all …]
|
| /external/python/cpython3/Lib/idlelib/ |
| D | searchengine.py | 87 except re.PatternError as e:
|
| D | replace.py | 114 except re.PatternError:
|
| /external/python/cpython3/Lib/ |
| D | pstats.py | 332 except re.PatternError:
|
| /external/python/cpython3/Doc/library/ |
| D | re.rst | 1186 .. exception:: PatternError(msg, pattern=None, pos=None) 1191 error if a string contains no match for a pattern. The ``PatternError`` instance has 1218 ``PatternError`` was originally named ``error``; the latter is kept as an alias for
|
| /external/python/cpython3/Misc/NEWS.d/ |
| D | 3.13.0a3.rst | 1690 Renamed :exc:`!re.error` to :exc:`PatternError` for clarity, and kept
|
| /external/python/cpython3/Doc/whatsnew/ |
| D | 3.13.rst | 1170 * Rename :exc:`!re.error` to :exc:`~re.PatternError` for improved clarity.
|