HomeSort by relevance Sort by last modified time
    Searched full:visitor (Results 1 - 25 of 737) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /dalvik/dx/src/com/android/dx/io/
CodeReader.java 23 * Walks through a block of code and calls visitor call backs.
26 private Visitor fallbackVisitor = null;
27 private Visitor stringVisitor = null;
28 private Visitor typeVisitor = null;
29 private Visitor fieldVisitor = null;
30 private Visitor methodVisitor = null;
33 * Sets {@code visitor} as the visitor for all instructions.
35 public void setAllVisitors(Visitor visitor) {
100 Visitor visitor = null; local
    [all...]
  /dalvik/vm/alloc/
VisitInlines.h 23 static void visitFields(Visitor *visitor, Object *obj, void *arg)
25 assert(visitor != NULL);
34 (*visitor)(ref, arg);
45 (*visitor)(ref, arg);
54 static void visitStaticFields(Visitor *visitor, ClassObject *clazz,
57 assert(visitor != NULL);
62 (*visitor)(&clazz->sfields[i].value.l, arg);
70 static void visitInterfaces(Visitor *visitor, ClassObject *clazz
    [all...]
Visit.cpp 25 void dvmVisitObject(Visitor *visitor, Object *obj, void *arg)
27 assert(visitor != NULL);
30 visitObject(visitor, obj, arg);
36 static void visitHashTable(RootVisitor *visitor, HashTable *table,
39 assert(visitor != NULL);
45 (*visitor)(&entry->data, 0, type, arg);
54 static void visitReferenceTable(RootVisitor *visitor, ReferenceTable *table,
57 assert(visitor != NULL);
61 (*visitor)(entry, threadId, type, arg)
    [all...]
Visit.h 42 typedef void Visitor(void *addr, void *arg);
45 * Like a Visitor, but passes root specific information such as the
54 void dvmVisitObject(Visitor *visitor, Object *obj, void *arg);
59 void dvmVisitRoots(RootVisitor *visitor, void *arg);
  /external/proguard/src/proguard/classfile/visitor/
package.html 4 the <i>visitor pattern</i>. Cfr., for instance, "Design Patterns, Elements of
7 Why the visitor pattern? Class files frequently contain lists of elements of
13 This is a good place to use the visitor pattern.
15 Visitor interfaces avoid having to do series of <code>instanceof</code> tests
17 Every list element is a visitor accepter. When its <code>accept</code> method
18 is called by a visitor, it calls its corresponding <code>visitX</code> method
19 in the visitor, passing itself as an argument. This technique is called
23 <code>instanceof</code> tests and type casts. Also, implementing a visitor
24 interface ensures you're handling all possible visitor accepter types. Each
27 A disadvantage is that the visitor methods always get the same names, specifie
    [all...]
ReferencedClassVisitor.java 21 package proguard.classfile.visitor;
26 import proguard.classfile.attribute.annotation.visitor.*;
27 import proguard.classfile.attribute.visitor.*;
29 import proguard.classfile.constant.visitor.ConstantVisitor;
92 // Let the visitor visit the classes referenced in the descriptor string.
102 // Let the visitor visit the classes referenced in the descriptor string.
114 // Let the visitor visit the class referenced in the string constant.
121 // Let the visitor visit the class referenced in the reference constant.
128 // Let the visitor visit the class referenced in the class constant.
140 // Let the visitor visit the class of the enclosing method
    [all...]
  /packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/address/parser/
ASTaddr_spec.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTaddress.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTaddress_list.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTangle_addr.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTdomain.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTgroup_body.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTlocal_part.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTmailbox.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTname_addr.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTphrase.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
ASTroute.java 15 /** Accept the visitor. **/
16 public Object jjtAccept(AddressListParserVisitor visitor, Object data) {
17 return visitor.visit(this, data);
  /external/apache-xml/src/main/java/org/apache/xpath/
XPathVisitable.java 32 * This will traverse the heararchy, calling the visitor for
33 * each member. If the called visitor method returns
36 * @param owner The owner of the visitor, where that path may be
38 * @param visitor The visitor whose appropriate method will be called.
40 public void callVisitors(ExpressionOwner owner, XPathVisitor visitor);
  /external/proguard/src/proguard/classfile/
VisitorAccepter.java 27 * This interface is a base interface for visitor accepters. It allows
29 * objects they are visiting. Note that every visitor accepter has only one
38 * Gets the visitor information of the visitor accepter.
44 * Sets the visitor information of the visitor accepter.
Clazz.java 23 import proguard.classfile.attribute.visitor.AttributeVisitor;
24 import proguard.classfile.constant.visitor.ConstantVisitor;
25 import proguard.classfile.visitor.*;
142 * Accepts the given class visitor.
147 * Accepts the given class visitor in the class hierarchy.
162 * Lets the given class visitor visit all known subclasses.
169 * Lets the given constant pool entry visitor visit all constant pool entries
175 * Lets the given constant pool entry visitor visit the constant pool entry
181 * Lets the given constant pool entry visitor visit the class constant pool
187 * Lets the given constant pool entry visitor visit the class constant poo
    [all...]
  /dalvik/dx/src/com/android/dx/cf/code/
BytecodeArray.java 38 /** convenient no-op implementation of {@link Visitor} */
39 public static final Visitor EMPTY_VISITOR = new BaseVisitor();
102 * @param visitor {@code null-ok;} visitor to call back to for
105 public void forEach(Visitor visitor) {
114 at += parseInstruction(at, visitor);
143 * work set is empty. It is expected that the visitor will regularly
147 * @param visitor {@code non-null;} visitor to call back to fo
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
XSLTVisitable.java 32 * This will traverse the heararchy, calling the visitor for
33 * each member. If the called visitor method returns
36 * @param visitor The visitor whose appropriate method will be called.
38 public void callVisitors(XSLTVisitor visitor);
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
dfs-visit.h 29 // Visitor Interface - class determines actions taken during a Dfs.
35 // class Visitor {
39 // Visitor(T *return_data);
74 // Performs depth-first visitation. Visitor class argument determines actions
77 void DfsVisit(const Fst<Arc> &fst, V *visitor, ArcFilter filter) {
80 visitor->InitVisit(fst);
84 visitor->FinishVisit();
103 dfs = visitor->InitState(root, root);
116 visitor->FinishState(s, p, &piter.Value());
119 visitor->FinishState(s, kNoStateId, 0)
    [all...]
  /external/v8/src/
objects-visiting.h 35 // and one or more virtual method calls on visitor itself.
36 // Static visitor is different: it provides a dispatch table which contains
38 // field which contains an index of specialized visitor to use.
55 // For data objects, JS objects and structs along with generic visitor which
59 // holes) starting from the id of visitor specialized for 2 words objects
60 // (base visitor id) and ending with the id of generic visitor.
61 // Method GetVisitorIdForSize depends on this ordering to calculate visitor
62 // id of specialized visitor from given instance size, base visitor id an
    [all...]
  /external/webkit/Source/WebCore/bindings/v8/
IntrusiveDOMWrapperMap.h 94 void visit(DOMDataStore* store, typename Traits::Visitor* visitor)
99 visitEntries(store, m_chunks->m_entries, m_current, visitor);
101 visitEntries(store, chunk->m_entries, chunk->m_entries + CHUNK_SIZE, visitor);
117 static void visitEntries(DOMDataStore* store, T* first, T* last, typename Traits::Visitor* visitor)
120 Traits::visit(store, entry, visitor);
154 virtual void visit(DOMDataStore* store, Visitor* visitor)
156 m_table.visit(store, visitor);
    [all...]

Completed in 996 milliseconds

1 2 3 4 5 6 7 8 91011>>