OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Regex
(Results
1 - 5
of
5
) sorted by null
/external/llvm/lib/Support/
Regex.cpp
1
//===--
Regex
.cpp - Regular Expression matcher implementation -------------===//
14
#include "llvm/Support/
Regex
.h"
22
Regex
::
Regex
(StringRef
regex
, unsigned Flags) {
25
preg->re_endp =
regex
.end();
32
error = llvm_regcomp(preg,
regex
.data(), flags|REG_PEND);
35
Regex
::~
Regex
() {
40
bool
Regex
::isValid(std::string &Error)
[
all
...]
/external/llvm/include/llvm/Support/
Regex.h
1
//===--
Regex
.h - Regular Expression matcher implementation -*- C++ -*-----===//
28
class
Regex
{
46
/// Compiles the given regular expression \p
Regex
.
47
Regex
(StringRef
Regex
, unsigned Flags = NoFlags);
48
~
Regex
();
50
/// isValid - returns the error encountered during
regex
compilation, or
54
/// getNumMatches - In a valid
regex
, return the number of parenthesized
56
/// many entries plus one for the whole
regex
(as element 0).
59
/// matches - Match the
regex
against a given \p String
[
all
...]
/external/chromium_org/third_party/protobuf/python/
mox.py
904
class
Regex
(Comparator):
920
self.
regex
= re.compile(pattern, flags=flags)
929
return self.
regex
.search(rhs) is not None
932
s = '<regular expression \'%s\'' % self.
regex
.pattern
933
if self.
regex
.flags:
934
s += ', flags=%d' % self.
regex
.flags
[
all
...]
/external/protobuf/python/
mox.py
904
class
Regex
(Comparator):
920
self.
regex
= re.compile(pattern, flags=flags)
929
return self.
regex
.search(rhs) is not None
932
s = '<regular expression \'%s\'' % self.
regex
.pattern
933
if self.
regex
.flags:
934
s += ', flags=%d' % self.
regex
.flags
[
all
...]
/external/clang/lib/Frontend/
VerifyDiagnosticConsumer.cpp
22
#include "llvm/Support/
Regex
.h"
185
: Directive(DirectiveLoc, DiagnosticLoc, Text, Min, Max),
Regex
(Text) { }
188
if (
Regex
.isValid(Error))
194
return
Regex
.match(S);
198
llvm::
Regex
Regex
;
342
KindStr = "
regex
";
Completed in 2556 milliseconds