Searched refs:delegate (Results 1 - 25 of 825) sorted by path

1234567891011>>

/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/ ...
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.Tree.pas1576 /// This delegate is used to allow the outfactoring of some common code.
1585 /// <param name="ph">The delegate, which has the chosen function</param>
H A DAntlr.Runtime.pas351 /// indicate the start/end location. Most often this will just delegate
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dgrammar.rb159 imports.map! do |delegate|
160 output_directory / "#{ @name }_#{ delegate }.rb"
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/
H A DTool.java663 Grammar delegate = (Grammar) delegates.get(i);
664 if (delegate != grammar) { // already processing this one
665 generateRecognizer(delegate);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DCompositeGrammar.java39 /** A tree of component (delegate) grammars.
43 * rules from all delegate grammars, so they must be stored here in one
47 * look into the grammar files a priori to see if there is a delegate
165 /** Add delegate grammar as child of delegator */
166 public void addGrammar(Grammar delegator, Grammar delegate) { argument
170 delegator.compositeTreeNode.addChild(new CompositeGrammarTree(delegate));
177 delegate.composite = this;
192 /** Get list of all delegates from all grammars in the delegate subtree of g.
194 * in list as it is not a delegate of itself.
228 /** Return list of delegate grammar
[all...]
H A DGrammar.java125 * another tree parser. Maps delegate to set of delegator grammar types.
300 /** If this grammar is part of a larger composite grammar via delegate
309 /** If this is a delegate of another grammar, this is the label used
311 * if no label was specified in the delegate statement.
385 /** If this rule is a delegate, some rules might be overridden; don't
391 * and defined in a delegate grammar. Not all of these will be generated
508 /** Factored out the sanity checking code; delegate to it. */
765 public boolean validImport(Grammar delegate) { argument
766 List<Integer> validDelegators = validDelegations.get(delegate.type);
1520 for (Grammar delegate
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DLineNumberReaderTest.java149 private StringReader delegate = new StringReader("hello\nworld");
156 return delegate.read(buf, offset, len);
H A DOutputStreamTesterTest.java146 public OutputStream create(OutputStream delegate) throws Exception { argument
147 return new FilterOutputStream(delegate);
162 public OutputStream create(OutputStream delegate) throws Exception { argument
163 return new BufferedOutputStream(delegate, bufferSize);
173 public OutputStream create(OutputStream delegate) throws Exception { argument
174 return new DataOutputStream(delegate);
184 public OutputStream create(OutputStream delegate) throws Exception { argument
185 return new ObjectOutputStream(delegate);
196 public OutputStream create(OutputStream delegate) throws Exception { argument
197 return new PrintStream(delegate);
[all...]
H A DWriterTesterTest.java153 @Override public Writer create(Writer delegate) throws Exception { argument
154 return new BufferedWriter(delegate, bufferSize);
163 @Override public Writer create(Writer delegate) throws Exception { argument
164 return new FilterWriter(delegate) {};
173 @Override public Writer create(Writer delegate) throws Exception { argument
174 return new PrintWriter(delegate) {};
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
H A DCharWrapperTester.java36 * transforms it, and emits another stream of chars to {@code delegate}.
38 public abstract Writer create(Writer delegate) throws Exception; argument
41 * Decodes the chars received by the delegate into their original form: the
80 private ClosableStringWriter delegate; field in class:CharWrapperTester.WrapperSinkTester
83 delegate = new ClosableStringWriter();
84 return CharWrapperTester.this.create(delegate);
88 return decode(delegate.buffer.toString().toCharArray());
107 FailOnFlushWriter delegate = new FailOnFlushWriter();
108 Writer o = create(delegate);
112 assertTrue(delegate
[all...]
H A DWrapperTester.java37 * transforms it, and emits another stream of bytes to {@code delegate}.
39 public abstract OutputStream create(OutputStream delegate) throws Exception; argument
42 * Decodes the bytes received by the delegate into their original form: the
81 private ClosableByteArrayOutputStream delegate; field in class:WrapperTester.WrapperSinkTester
84 delegate = new ClosableByteArrayOutputStream();
85 return WrapperTester.this.create(delegate);
89 return WrapperTester.this.decode(delegate.bytesOut.toByteArray());
108 FailOnFlushOutputStream delegate = new FailOnFlushOutputStream();
109 OutputStream o = create(delegate);
113 assertTrue(delegate
[all...]
/external/chromium/android/autofill/
H A Durl_fetcher_proxy.h151 delegate()->OnURLFetchComplete(this, url_, status_, response_code_, cookies_, data_);
/external/chromium/app/sql/
H A Dconnection.h143 void set_error_delegate(ErrorDelegate* delegate) { argument
144 error_delegate_ = delegate;
/external/chromium/base/
H A Dfile_descriptor_shuffle.cc17 InjectiveMultimap* m, InjectionDelegate* delegate) {
38 if (!delegate->Duplicate(&temp_fd, i->dest))
62 if (!delegate->Move(i->source, i->dest))
67 delegate->Close(i->source);
71 delegate->Close(extra_fds[i]);
77 InjectionDelegate* delegate) {
79 return PerformInjectiveMultimapDestructive(&m, delegate);
16 PerformInjectiveMultimapDestructive( InjectiveMultimap* m, InjectionDelegate* delegate) argument
76 PerformInjectiveMultimap(const InjectiveMultimap& m_in, InjectionDelegate* delegate) argument
H A Dfile_descriptor_shuffle.h71 InjectionDelegate* delegate);
74 InjectionDelegate* delegate);
78 FileDescriptorTableInjection delegate; local
79 return PerformInjectiveMultimapDestructive(map, &delegate);
H A Dlazy_instance_unittest.cc87 SlowDelegate delegate(&lazy_slow);
91 pool.AddWork(&delegate, 20);
H A Dmessage_loop.cc722 Watcher *delegate) {
728 delegate);
718 WatchFileDescriptor(int fd, bool persistent, Mode mode, FileDescriptorWatcher *controller, Watcher *delegate) argument
/external/chromium/base/files/
H A Dfile_path_watcher.cc20 bool FilePathWatcher::Watch(const FilePath& path, Delegate* delegate) { argument
22 return impl_->Watch(path, delegate);
H A Dfile_path_watcher.h20 // The delegate will get called whenever the file or directory referenced by the
49 bool Watch(const FilePath& path, Delegate* delegate) WARN_UNUSED_RESULT;
58 CancelTask(PlatformDelegate* delegate): delegate_(delegate) {} argument
77 // Start watching for the given |path| and notify |delegate| about changes.
79 Delegate* delegate) WARN_UNUSED_RESULT = 0;
H A Dfile_path_watcher_browsertest.cc47 void OnChange(TestDelegate* delegate) { argument
51 make_scoped_refptr(delegate)));
54 void Register(TestDelegate* delegate) { argument
55 delegates_.insert(delegate);
67 void RecordChange(TestDelegate* delegate) { argument
69 ASSERT_TRUE(delegates_.count(delegate));
70 signaled_.insert(delegate);
94 // received while the delegate is |armed_|. Note that the testing code must
120 FilePathWatcher::Delegate* delegate,
125 delegate_(delegate),
118 SetupWatchTask(const FilePath& target, FilePathWatcher* watcher, FilePathWatcher::Delegate* delegate, bool* result, base::WaitableEvent* completion) argument
[all...]
H A Dfile_path_watcher_linux.cc101 // Start watching |path| for changes and notify |delegate| on each change.
104 FilePathWatcher::Delegate* delegate) OVERRIDE;
369 FilePathWatcher::Delegate* delegate) {
374 delegate_ = delegate;
368 Watch(const FilePath& path, FilePathWatcher::Delegate* delegate) argument
H A Dfile_path_watcher_mac.cc59 FilePathWatcher::Delegate* delegate) OVERRIDE;
420 FilePathWatcher::Delegate* delegate) {
423 DCHECK(delegate);
426 delegate_ = delegate;
419 Watch(const FilePath& path, FilePathWatcher::Delegate* delegate) argument
H A Dfile_path_watcher_stub.cc18 FileWatcher::Delegate* delegate,
H A Dfile_path_watcher_win.cc28 FilePathWatcher::Delegate* delegate) OVERRIDE;
60 // Path we're supposed to watch (passed to delegate).
81 FilePathWatcher::Delegate* delegate) {
85 delegate_ = delegate;
139 // Check whether the event applies to |target_| and notify the delegate.
80 Watch(const FilePath& path, FilePathWatcher::Delegate* delegate) argument

Completed in 8039 milliseconds

1234567891011>>