Searched defs:rewrite (Results 1 - 15 of 15) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
H A Dbasic.rb18 def rewrite( input, expected ) method in class:TestRewritingLexerOutputDirectly
27 rewrite( 'abc', '0abc' ) do |stream|
33 rewrite( 'abc', 'abcx' ) do |stream|
39 rewrite( 'abc', 'axbxc' ) do |stream|
46 rewrite( 'abc', 'xbc' ) do |stream|
52 rewrite( 'abc', 'abx' ) do |stream|
58 rewrite( 'abc', 'abx' ) do |stream|
64 rewrite( 'abc', 'axc' ) do |stream|
70 rewrite( 'abc', 'ayc' ) do |stream|
77 rewrite( 'ab
289 def rewrite( input ) method in class:TestRewritingWithTokenStream2
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DStrip.java69 rewrite(g.getTreeAdaptor(),t,g.getTokenNames());
72 public void rewrite(TreeAdaptor adaptor, CommonTree t, String[] tokenNames) throws Exception { method in class:Strip
/external/openssh/openbsd-compat/
H A Dsetenv.c78 * "value". If rewrite is set, replace any current value.
81 setenv(const char *name, const char *value, int rewrite) argument
91 if (!rewrite)
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
H A Drewrite.rb39 TokenRewriteStream is a specialized form of CommonTokenStream that provides simple stream editing functionality. By creating <i>rewrite programs</i>, new text output can be created based upon the tokens in the stream. The basic token stream itself is preserved, and text output is rendered on demand using the #to_s method.
52 be executed by a token rewrite stream at some time in future when the stream is
59 a rewrite program list.
78 # run the rewrite operation represented by this object and append the output to +buffer+
97 Represents rewrite operation:
99 add string <tt>op.text</tt> to the rewrite output immediately before adding the
120 Represents rewrite operation:
122 add text <tt>op.text</tt> to the rewrite buffer in lieu of the text of tokens
158 Represents rewrite operation:
161 and do not add any text to the rewrite buffe
377 def rewrite( program_name = 'default', range = nil ) method
[all...]
/external/llvm/lib/CodeGen/
H A DVirtRegMap.cpp155 void rewrite();
211 rewrite();
252 void VirtRegRewriter::rewrite() { function in class:VirtRegRewriter
/external/regex-re2/util/
H A Dpcre.cc328 const StringPiece& rewrite) {
335 if (!pattern.Rewrite(&s, rewrite, *str, vec, matches))
346 const StringPiece& rewrite) {
385 pattern.Rewrite(&out, rewrite, *str, vec, matches);
402 const StringPiece &rewrite,
409 return pattern.Rewrite(out, rewrite, text, vec, matches);
606 bool PCRE::Rewrite(string *out, const StringPiece &rewrite, argument
609 for (const char *s = rewrite.data(), *end = s + rewrite.size();
622 << " in regexp " << rewrite
326 Replace(string *str, const PCRE& pattern, const StringPiece& rewrite) argument
344 GlobalReplace(string *str, const PCRE& pattern, const StringPiece& rewrite) argument
400 Extract(const StringPiece &text, const PCRE& pattern, const StringPiece &rewrite, string *out) argument
642 CheckRewriteString(const StringPiece& rewrite, string* error) const argument
[all...]
/external/regex-re2/re2/
H A Dre2.cc307 // Returns the maximum submatch needed for the rewrite to be done by Replace().
308 // E.g. if rewrite == "foo \\2,\\1", returns 2.
309 static int MaxSubmatch(const StringPiece& rewrite) { argument
311 for (const char *s = rewrite.data(), *end = s + rewrite.size();
328 const StringPiece& rewrite) {
330 int nvec = 1 + MaxSubmatch(rewrite);
337 if (!re.Rewrite(&s, rewrite, vec, nvec))
348 const StringPiece& rewrite) {
350 int nvec = 1 + MaxSubmatch(rewrite);
326 Replace(string *str, const RE2& re, const StringPiece& rewrite) argument
346 GlobalReplace(string *str, const RE2& re, const StringPiece& rewrite) argument
386 Extract(const StringPiece &text, const RE2& re, const StringPiece &rewrite, string *out) argument
827 Rewrite(string *out, const StringPiece &rewrite, const StringPiece *vec, int veclen) const argument
872 CheckRewriteString(const StringPiece& rewrite, string* error) const argument
[all...]
/external/libxml2/
H A Dcatalog.c1645 xmlCatalogEntryPtr rewrite = NULL; local
1666 rewrite = cur;
1681 if (rewrite != NULL) {
1684 "Using rewriting rule %s\n", rewrite->name);
1685 ret = xmlStrdup(rewrite->URL);
1861 xmlCatalogEntryPtr rewrite = NULL; local
1897 rewrite = cur;
1912 if (rewrite != NULL) {
1915 "Using rewriting rule %s\n", rewrite->name);
1916 ret = xmlStrdup(rewrite
[all...]
/external/webkit/Tools/Scripts/webkitpy/thirdparty/
H A DBeautifulSoup.py1581 def rewrite(match): function in function:BeautifulSoup.extractCharsetFromMeta
1583 newAttr = self.CHARSET_RE.sub(rewrite, contentType)
1709 # Universal Feed Parser. It does not rewrite the XML or HTML to
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.pde.api.tools_1.0.202.v20100820_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/clang/lib/Sema/
H A DSemaExpr.cpp4000 ExprResult rewrite = rebuildUnknownAnyFunction(*this, Fn); local
4001 if (rewrite.isInvalid()) return ExprError();
4002 Fn = rewrite.take();
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...

Completed in 587 milliseconds