Home
last modified time | relevance | path

Searched refs:RE (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/external/pcre/dist/
Dpcrecpp_unittest.cc47 using pcrecpp::RE;
71 RE pattern("ruby:\\d+"); in Timing1()
80 RE pattern("ruby:(\\d+)"); in Timing2()
94 RE line_matcher(".*\n"); in Timing3()
116 RE newre(buf);
133 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); \ in RadixTests()
135 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0x" #value, CRadix(&v))); \ in RadixTests()
159 CHECK(RE("([0-7]+)[uUlL]*").FullMatch(#value, Octal(&v))); \ in RadixTests()
161 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0" #value, CRadix(&v))); \ in RadixTests()
185 CHECK(RE("(-?[0-9]+)[uUlL]*").FullMatch(#value, &v)); \ in RadixTests()
[all …]
Dpcre_scanner.h74 bool LookingAt(const RE& re) const;
82 bool Consume(const RE& re,
83 const Arg& arg0 = RE::no_arg,
84 const Arg& arg1 = RE::no_arg,
85 const Arg& arg2 = RE::no_arg
152 RE* skip_; // If non-NULL, RE for skipping input
Dpcrecpp.h487 class PCRECPP_EXP_DEFN RE {
491 RE(const string& pat) { Init(pat, NULL); } in RE() function
492 RE(const string& pat, const RE_Options& option) { Init(pat, &option); } in RE() function
493 RE(const char* pat) { Init(pat, NULL); } in RE() function
494 RE(const char* pat, const RE_Options& option) { Init(pat, &option); } in RE() function
495 RE(const unsigned char* pat) { in RE() function
498 RE(const unsigned char* pat, const RE_Options& option) { in RE() function
504 RE(const RE& re) { Init(re.pattern_, &re.options_); } in RE() function
505 const RE& operator=(const RE& re) {
519 ~RE();
Dpcre_scanner.cc76 skip_ = new RE(re); in SetSkipExpression()
90 skip_ = new RE(re); in Skip()
127 bool Scanner::LookingAt(const RE& re) const { in LookingAt()
129 return re.DoMatch(input_, RE::ANCHOR_START, &consumed, 0, 0); in LookingAt()
133 bool Scanner::Consume(const RE& re, in Consume()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldCOFFI386.h66 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef()
67 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
79 RelocationEntry RE = in processRelocationRef() local
82 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
86 RelocationEntry RE = in processRelocationRef() local
88 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
92 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, in processRelocationRef() local
94 addRelocationForSection(RE, TargetSectionID); in processRelocationRef()
106 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
107 const auto Section = Sections[RE.SectionID]; in resolveRelocation()
[all …]
DRuntimeDyldMachOAArch64.h35 int64_t decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument
36 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
37 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend()
38 unsigned NumBytes = 1 << RE.Size; in decodeAddend()
41 switch (RE.RelType) { in decodeAddend()
58 switch (RE.RelType) { in decodeAddend()
273 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
274 RE.Addend = decodeAddend(RE); in processRelocationRef()
276 assert((ExplicitAddend == 0 || RE.Addend == 0) && "Relocation has "\ in processRelocationRef()
279 RE.Addend = ExplicitAddend; in processRelocationRef()
[all …]
DRuntimeDyldMachOX86_64.h50 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
51 RE.Addend = memcpyAddend(RE); in processRelocationRef()
53 getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)); in processRelocationRef()
56 if (!IsExtern && RE.IsPCRel) in processRelocationRef()
57 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); in processRelocationRef()
59 if (RE.RelType == MachO::X86_64_RELOC_GOT || in processRelocationRef()
60 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) in processRelocationRef()
61 processGOTRelocation(RE, Value, Stubs); in processRelocationRef()
63 RE.Addend = Value.Offset; in processRelocationRef()
65 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
[all …]
DRuntimeDyldMachOARM.h36 int64_t decodeAddend(const RelocationEntry &RE) const { in decodeAddend() argument
37 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
38 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend()
40 switch (RE.RelType) { in decodeAddend()
42 return memcpyAddend(RE); in decodeAddend()
73 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
74 RE.Addend = decodeAddend(RE); in processRelocationRef()
76 getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)); in processRelocationRef()
78 if (RE.IsPCRel) in processRelocationRef()
81 if ((RE.RelType & 0xf) == MachO::ARM_RELOC_BR24) in processRelocationRef()
[all …]
DRuntimeDyldMachOI386.h54 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
55 RE.Addend = memcpyAddend(RE); in processRelocationRef()
57 getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)); in processRelocationRef()
69 if (RE.IsPCRel) in processRelocationRef()
70 makeValueAddendPCRel(Value, RelI, 1 << RE.Size); in processRelocationRef()
72 RE.Addend = Value.Offset; in processRelocationRef()
75 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
77 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
82 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
83 DEBUG(dumpRelocationToResolve(RE, Value)); in resolveRelocation()
[all …]
DRuntimeDyldCOFFX86_64.h63 void resolveRelocation(const RelocationEntry &RE, uint64_t Value) override { in resolveRelocation() argument
64 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
65 uint8_t *Target = Section.getAddressWithOffset(RE.Offset); in resolveRelocation()
67 switch (RE.RelType) { in resolveRelocation()
75 uint64_t FinalAddress = Section.getLoadAddressWithOffset(RE.Offset); in resolveRelocation()
78 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); in resolveRelocation()
80 uint64_t Result = Value + RE.Addend; in resolveRelocation()
99 writeBytesUnaligned(Value + RE.Addend, Target, 8); in resolveRelocation()
164 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
165 addRelocationForSymbol(RE, TargetName); in processRelocationRef()
[all …]
/external/protobuf/gtest/test/
Dgtest-port_test.cc193 const RE empty(TypeParam("")); in TYPED_TEST()
196 const RE simple(TypeParam("hello")); in TYPED_TEST()
199 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
206 const RE invalid(TypeParam("?")); in TYPED_TEST()
212 const RE empty(TypeParam("")); in TYPED_TEST()
213 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
214 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
216 const RE re(TypeParam("a.*z")); in TYPED_TEST()
217 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
218 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-port_test.cc386 const RE empty(TypeParam("")); in TYPED_TEST()
389 const RE simple(TypeParam("hello")); in TYPED_TEST()
392 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
399 const RE invalid(TypeParam("?")); in TYPED_TEST()
405 const RE empty(TypeParam("")); in TYPED_TEST()
406 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
407 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
409 const RE re(TypeParam("a.*z")); in TYPED_TEST()
410 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
411 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp46 int64_t RuntimeDyldMachO::memcpyAddend(const RelocationEntry &RE) const { in memcpyAddend()
47 unsigned NumBytes = 1 << RE.Size; in memcpyAddend()
48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend()
59 MachO::any_relocation_info RE = in processScatteredVANILLA() local
63 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
64 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
65 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
71 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); in processScatteredVANILLA()
91 const RelocationEntry &RE, ObjSectionToIDMap &ObjSectionToID) { in getRelocationValueRef() argument
111 Value.Offset = SymInfo.getOffset() + RE.Addend; in getRelocationValueRef()
[all …]
DRuntimeDyldELF.cpp1073 void RuntimeDyldELF::resolveRelocation(const RelocationEntry &RE, in resolveRelocation() argument
1075 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
1076 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
1077 RE.SymOffset, RE.SectionID); in resolveRelocation()
1136 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation() local
1138 addRelocationForSymbol(RE, Value.SymbolName); in processSimpleRelocation()
1140 addRelocationForSection(RE, Value.SectionID); in processSimpleRelocation()
1309 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef() local
1312 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
1314 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
[all …]
/external/gtest/test/
Dgtest-port_test.cc416 const RE empty(TypeParam("")); in TYPED_TEST()
419 const RE simple(TypeParam("hello")); in TYPED_TEST()
422 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
429 const RE invalid(TypeParam("?")); in TYPED_TEST()
435 const RE empty(TypeParam("")); in TYPED_TEST()
436 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
437 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
439 const RE re(TypeParam("a.*z")); in TYPED_TEST()
440 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
441 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-port_test.cc423 const RE empty(TypeParam("")); in TYPED_TEST()
426 const RE simple(TypeParam("hello")); in TYPED_TEST()
429 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
436 const RE invalid(TypeParam("?")); in TYPED_TEST()
442 const RE empty(TypeParam("")); in TYPED_TEST()
443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
444 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
446 const RE re(TypeParam("a.*z")); in TYPED_TEST()
447 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
448 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/pcre/
Dpcre_scanner.h74 bool LookingAt(const RE& re) const;
82 bool Consume(const RE& re,
83 const Arg& arg0 = RE::no_arg,
84 const Arg& arg1 = RE::no_arg,
85 const Arg& arg2 = RE::no_arg
152 RE* skip_; // If non-NULL, RE for skipping input
Dpcrecpp.h487 class PCRECPP_EXP_DEFN RE {
491 RE(const string& pat) { Init(pat, NULL); } in RE() function
492 RE(const string& pat, const RE_Options& option) { Init(pat, &option); } in RE() function
493 RE(const char* pat) { Init(pat, NULL); } in RE() function
494 RE(const char* pat, const RE_Options& option) { Init(pat, &option); } in RE() function
495 RE(const unsigned char* pat) { in RE() function
498 RE(const unsigned char* pat, const RE_Options& option) { in RE() function
504 RE(const RE& re) { Init(re.pattern_, &re.options_); } in RE() function
505 const RE& operator=(const RE& re) {
519 ~RE();
/external/markdown/markdown/
Dblockprocessors.py219 RE = re.compile(r'(^|\n)[ ]{0,3}>[ ]?(.*)') variable in BlockQuoteProcessor
222 return bool(self.RE.search(block))
226 m = self.RE.search(block)
246 m = self.RE.match(line)
259 RE = re.compile(r'^[ ]{0,3}\d+\.[ ]+(.*)') variable in OListProcessor
266 return bool(self.RE.match(block))
327 RE = re.compile(r'^[ ]{0,3}[*+-][ ]+(.*)') variable in UListProcessor
334 RE = re.compile(r'(^|\n)(?P<level>#{1,6})(?P<header>.*?)#*(\n|$)') variable in HashHeaderProcessor
337 return bool(self.RE.search(block))
341 m = self.RE.search(block)
[all …]
/external/protobuf/gtest/src/
Dgtest-port.cc113 RE::~RE() { in ~RE()
126 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
135 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
143 void RE::Init(const char* regex) { in Init()
373 RE::~RE() { in ~RE()
379 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
385 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
390 void RE::Init(const char* regex) { in Init()
/external/llvm/lib/Object/
DMachOObjectFile.cpp113 getPlainRelocationAddress(const MachO::any_relocation_info &RE) { in getPlainRelocationAddress() argument
114 return RE.r_word0; in getPlainRelocationAddress()
118 getScatteredRelocationAddress(const MachO::any_relocation_info &RE) { in getScatteredRelocationAddress() argument
119 return RE.r_word0 & 0xffffff; in getScatteredRelocationAddress()
123 const MachO::any_relocation_info &RE) { in getPlainRelocationPCRel() argument
125 return (RE.r_word1 >> 24) & 1; in getPlainRelocationPCRel()
126 return (RE.r_word1 >> 7) & 1; in getPlainRelocationPCRel()
131 const MachO::any_relocation_info &RE) { in getScatteredRelocationPCRel() argument
132 return (RE.r_word0 >> 30) & 1; in getScatteredRelocationPCRel()
136 const MachO::any_relocation_info &RE) { in getPlainRelocationLength() argument
[all …]
/external/mesa3d/src/gtest/src/
Dgtest-port.cc115 RE::~RE() { in ~RE()
128 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
137 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
145 void RE::Init(const char* regex) { in Init()
375 RE::~RE() { in ~RE()
381 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
387 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
392 void RE::Init(const char* regex) { in Init()
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc115 RE::~RE() { in ~RE()
128 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
137 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
145 void RE::Init(const char* regex) { in Init()
375 RE::~RE() { in ~RE()
381 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
387 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
392 void RE::Init(const char* regex) { in Init()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc140 RE::~RE() { in ~RE()
153 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
162 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
170 void RE::Init(const char* regex) { in Init()
400 RE::~RE() { in ~RE()
406 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
412 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
417 void RE::Init(const char* regex) { in Init()
/external/gtest/src/
Dgtest-port.cc163 RE::~RE() { in ~RE()
176 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
185 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
193 void RE::Init(const char* regex) { in Init()
423 RE::~RE() { in ~RE()
429 bool RE::FullMatch(const char* str, const RE& re) { in FullMatch()
435 bool RE::PartialMatch(const char* str, const RE& re) { in PartialMatch()
440 void RE::Init(const char* regex) { in Init()

12345678910>>...16