/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
D | CodeEmitter.java | 44 public static final int ADD = Constants.IADD; 45 public static final int MUL = Constants.IMUL; 46 public static final int XOR = Constants.IXOR; 47 public static final int USHR = Constants.IUSHR; 48 public static final int SUB = Constants.ISUB; 49 public static final int DIV = Constants.IDIV; 50 public static final int NEG = Constants.INEG; 51 public static final int REM = Constants.IREM; 52 public static final int AND = Constants.IAND; 53 public static final int OR = Constants.IOR; [all …]
|
D | TypeUtils.java | 48 return (Constants.ACC_FINAL & access) != 0; in isFinal() 52 return (Constants.ACC_STATIC & access) != 0; in isStatic() 56 return (Constants.ACC_PROTECTED & access) != 0; in isProtected() 60 return (Constants.ACC_PUBLIC & access) != 0; in isPublic() 64 return (Constants.ACC_ABSTRACT & access) != 0; in isAbstract() 68 return (Constants.ACC_INTERFACE & access) != 0; in isInterface() 72 return (Constants.ACC_PRIVATE & access) != 0; in isPrivate() 76 return (Constants.ACC_SYNTHETIC & access) != 0; in isSynthetic() 201 return new Signature(Constants.CONSTRUCTOR_NAME, sb.toString()); in parseConstructor() 246 return Constants.TYPE_CHARACTER; in getBoxedType() [all …]
|
D | KeyFactory.java | 89 if (type.equals(Constants.TYPE_CLASS)) { 90 e.invoke_virtual(Constants.TYPE_CLASS, GET_NAME); 97 e.invoke_virtual(Constants.TYPE_OBJECT, GET_CLASS); 173 ce.begin_class(Constants.V1_2, in generateClass() 174 Constants.ACC_PUBLIC, in generateClass() 178 Constants.SOURCE_FILE); in generateClass() 183 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, in generateClass() 191 ce.declare_field(Constants.ACC_PRIVATE | Constants.ACC_FINAL, in generateClass() 203 e = ce.begin_method(Constants.ACC_PUBLIC, HASH_CODE, null); in generateClass() 216 e = ce.begin_method(Constants.ACC_PUBLIC, EQUALS, null); in generateClass() [all …]
|
D | EmitUtils.java | 78 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, sig, null); in factory_method() 88 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, CSTRUCT_NULL, null); in null_constructor() 167 case Constants.SWITCH_STYLE_TRIE: in string_switch() 170 case Constants.SWITCH_STYLE_HASH: in string_switch() 173 case Constants.SWITCH_STYLE_HASHONLY: in string_switch() 199 e.invoke_virtual(Constants.TYPE_STRING, STRING_LENGTH); in string_switch_trie() 229 e.invoke_virtual(Constants.TYPE_STRING, STRING_CHAR_AT); in stringSwitchHelper() 268 e.invoke_virtual(Constants.TYPE_OBJECT, HASH_CODE); in string_switch_hash() 287 e.invoke_virtual(Constants.TYPE_OBJECT, EQUALS); in string_switch_hash() 316 e.getstatic(TypeUtils.getBoxedType(type), "TYPE", Constants.TYPE_CLASS); in load_class() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemComment.java | 49 return Constants.ELEMNAME_COMMENT; in getXSLToken() 59 return Constants.ELEMNAME_COMMENT_STRING; in getNodeName() 112 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild() 113 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild() 114 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild() 115 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild() 116 case Constants.ELEMNAME_FOREACH : in appendChild() 117 case Constants.ELEMNAME_VALUEOF : in appendChild() 118 case Constants.ELEMNAME_COPY_OF : in appendChild() 119 case Constants.ELEMNAME_NUMBER : in appendChild() [all …]
|
D | ElemPI.java | 101 return Constants.ELEMNAME_PI; in getXSLToken() 111 return Constants.ELEMNAME_PI_STRING; in getNodeName() 141 new Object[]{ Constants.ATTRNAME_NAME, piName }); in execute() 151 new Object[]{ Constants.ATTRNAME_NAME, piName }); in execute() 193 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild() 194 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild() 195 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild() 196 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild() 197 case Constants.ELEMNAME_FOREACH : in appendChild() 198 case Constants.ELEMNAME_VALUEOF : in appendChild() [all …]
|
D | ElemAttribute.java | 59 return Constants.ELEMNAME_ATTRIBUTE; in getXSLToken() 69 return Constants.ELEMNAME_ATTRIBUTE_STRING; in getNodeName() 231 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild() 232 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild() 233 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild() 234 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild() 235 case Constants.ELEMNAME_FOREACH : in appendChild() 236 case Constants.ELEMNAME_VALUEOF : in appendChild() 237 case Constants.ELEMNAME_COPY_OF : in appendChild() 238 case Constants.ELEMNAME_NUMBER : in appendChild() [all …]
|
D | ElemChoose.java | 51 return Constants.ELEMNAME_CHOOSE; in getXSLToken() 61 return Constants.ELEMNAME_CHOOSE_STRING; in getNodeName() 88 if (Constants.ELEMNAME_WHEN == type) in execute() 109 else if (Constants.ELEMNAME_OTHERWISE == type) in execute() 141 case Constants.ELEMNAME_WHEN : in appendChild() 142 case Constants.ELEMNAME_OTHERWISE : in appendChild()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_code.c | 47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); in rc_constants_copy() 48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); in rc_constants_copy() 55 free(c->Constants); in rc_constants_destroy() 71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); in rc_constants_add() 73 free(c->Constants); in rc_constants_add() 74 c->Constants = newlist; in rc_constants_add() 77 c->Constants[index] = *constant; in rc_constants_add() 93 if (c->Constants[index].Type == RC_CONSTANT_STATE) { in rc_constants_add_state() 94 if (c->Constants[index].u.State[0] == state0 && in rc_constants_add_state() 95 c->Constants[index].u.State[1] == state1) in rc_constants_add_state() [all …]
|
D | radeon_remove_constants.c | 69 struct rc_constant *constants = c->Program.Constants.Constants; in rc_remove_unused_constants() 73 if (!c->Program.Constants.Count) { in rc_remove_unused_constants() 78 const_used = malloc(c->Program.Constants.Count); in rc_remove_unused_constants() 79 memset(const_used, 0, c->Program.Constants.Count); in rc_remove_unused_constants() 93 for (unsigned i = 0; i < c->Program.Constants.Count; i++) in rc_remove_unused_constants() 100 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants() 101 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants() 104 for (unsigned i = 0; i < c->Program.Constants.Count; i++) { in rc_remove_unused_constants() 122 assert( is_identity || new_count < c->Program.Constants.Count); in rc_remove_unused_constants() 136 c->Program.Constants.Count = new_count; in rc_remove_unused_constants() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
D | XSLTSchema.java | 25 import org.apache.xalan.templates.Constants; 230 …new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space", false, false, false, XSLTAttributeDef.W… in build() 231 "default", Constants.ATTRVAL_STRIP, "preserve", in build() 232 Constants.ATTRVAL_PRESERVE); in build() 236 new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space", in build() 254 "single", Constants.NUMBERLEVEL_SINGLE, in build() 255 "multiple", Constants.NUMBERLEVEL_MULTI, in build() 256 "any", Constants.NUMBERLEVEL_ANY); in build() 276 "alphabetic", Constants.NUMBERLETTER_ALPHABETIC, in build() 277 "traditional", Constants.NUMBERLETTER_TRADITIONAL); in build() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
D | MethodInterceptorGenerator.java | 52 Constants.TYPE_CLASS, 53 Constants.TYPE_CLASS, 54 Constants.TYPE_STRING, 55 Constants.TYPE_STRING, 56 Constants.TYPE_STRING 59 new Signature("intercept", Constants.TYPE_OBJECT, new Type[]{ 60 Constants.TYPE_OBJECT, 62 Constants.TYPE_OBJECT_ARRAY, 66 new Signature(FIND_PROXY_NAME, METHOD_PROXY, new Type[]{ Constants.TYPE_SIGNATURE }); 95 ce.declare_field(Constants.PRIVATE_FINAL_STATIC, methodField, METHOD, null); in generate() [all …]
|
D | MixinEmitter.java | 36 new Signature("newInstance", MIXIN, new Type[]{ Constants.TYPE_OBJECT_ARRAY }); 41 begin_class(Constants.V1_2, in MixinEmitter() 42 Constants.ACC_PUBLIC, in MixinEmitter() 46 Constants.SOURCE_FILE); in MixinEmitter() 50 declare_field(Constants.ACC_PRIVATE, FIELD_NAME, Constants.TYPE_OBJECT_ARRAY, null); in MixinEmitter() 52 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, CSTRUCT_OBJECT_ARRAY, null); in MixinEmitter() 67 e = EmitUtils.begin_method(this, method, Constants.ACC_PUBLIC); in MixinEmitter()
|
D | Enhancer.java | 97 new Signature("newInstance", Constants.TYPE_OBJECT, new Type[]{ CALLBACK_ARRAY }); 99 new Signature("newInstance", Constants.TYPE_OBJECT, new Type[]{ 100 Constants.TYPE_CLASS_ARRAY, 101 Constants.TYPE_OBJECT_ARRAY, 105 new Signature("newInstance", Constants.TYPE_OBJECT, new Type[]{ CALLBACK }); 435 CollectionUtils.filter(methods, new RejectModifierPredicate(Constants.ACC_STATIC)); in getMethods() 438 CollectionUtils.filter(methods, new RejectModifierPredicate(Constants.ACC_FINAL)); in getMethods() 460 int modifiers = Constants.ACC_FINAL in generateClass() 462 & ~Constants.ACC_ABSTRACT in generateClass() 463 & ~Constants.ACC_NATIVE in generateClass() [all …]
|
D | LazyLoaderGenerator.java | 57 ce.declare_field(Constants.ACC_PRIVATE, delegate, Constants.TYPE_OBJECT, null); in generate() 59 CodeEmitter e = ce.begin_method(Constants.ACC_PRIVATE | in generate() 60 Constants.ACC_SYNCHRONIZED | in generate() 61 Constants.ACC_FINAL, in generate() 84 Constants.TYPE_OBJECT, in loadMethod() 85 Constants.TYPES_EMPTY); in loadMethod()
|
D | InterfaceMaker.java | 104 ce.begin_class(Constants.V1_2, in generateClass() 105 Constants.ACC_PUBLIC | Constants.ACC_INTERFACE, in generateClass() 109 Constants.SOURCE_FILE); in generateClass() 113 ce.begin_method(Constants.ACC_PUBLIC | Constants.ACC_ABSTRACT, in generateClass()
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
D | ExtensionNamespacesManager.java | 25 import org.apache.xalan.templates.Constants; 210 String uri = Constants.S_EXTENSIONS_JAVA_URL; in setPredefinedNamespaces() 217 uri = Constants.S_EXTENSIONS_OLD_JAVA_URL; in setPredefinedNamespaces() 221 uri = Constants.S_EXTENSIONS_LOTUSXSL_JAVA_URL; in setPredefinedNamespaces() 225 uri = Constants.S_BUILTIN_EXTENSIONS_URL; in setPredefinedNamespaces() 232 uri = Constants.S_BUILTIN_OLD_EXTENSIONS_URL; in setPredefinedNamespaces() 237 uri = Constants.S_EXTENSIONS_REDIRECT_URL; in setPredefinedNamespaces() 242 uri = Constants.S_EXTENSIONS_PIPE_URL; in setPredefinedNamespaces() 247 uri = Constants.S_EXTENSIONS_SQL_URL; in setPredefinedNamespaces() 255 uri = Constants.S_EXSLT_COMMON_URL; in setPredefinedNamespaces() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/ |
D | FieldProviderTransformer.java | 89 …super.declare_field(Constants.PRIVATE_FINAL_STATIC, FIELD_NAMES, Constants.TYPE_STRING_ARRAY, null… in generate() 90 …super.declare_field(Constants.PRIVATE_FINAL_STATIC, FIELD_TYPES, Constants.TYPE_CLASS_ARRAY, null); in generate() 105 e.putstatic(getClassType(), FIELD_NAMES, Constants.TYPE_STRING_ARRAY); in initFieldProvider() 108 e.newarray(Constants.TYPE_CLASS); in initFieldProvider() 117 e.putstatic(getClassType(), FIELD_TYPES, Constants.TYPE_CLASS_ARRAY); in initFieldProvider() 121 CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, PROVIDER_GET_NAMES, null); in getNames() 122 e.getstatic(getClassType(), FIELD_NAMES, Constants.TYPE_STRING_ARRAY); in getNames() 128 CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, PROVIDER_GET_TYPES, null); in getTypes() 129 e.getstatic(getClassType(), FIELD_TYPES, Constants.TYPE_CLASS_ARRAY); in getTypes() 135 final CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, PROVIDER_SET_BY_INDEX, null); in setByIndex() [all …]
|
D | InterceptFieldTransformer.java | 51 super.declare_field(Constants.ACC_PRIVATE | Constants.ACC_TRANSIENT, in begin_class() 57 e = super.begin_method(Constants.ACC_PUBLIC, ENABLED_GET, null); in begin_class() 63 e = super.begin_method(Constants.ACC_PUBLIC, ENABLED_SET, null); in begin_class() 87 CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, in addReadMethod() 115 CodeEmitter e = super.begin_method(Constants.ACC_PUBLIC, in addWriteMethod() 150 case Constants.GETFIELD: in begin_method() 156 case Constants.PUTFIELD: in begin_method() 184 new Type[]{ Constants.TYPE_OBJECT, 185 Constants.TYPE_STRING, 193 new Type[]{ Constants.TYPE_OBJECT, [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/ |
D | BeanMapEmitter.java | 42 new Signature("newInstance", BEAN_MAP, new Type[]{ Constants.TYPE_OBJECT }); 49 …begin_class(Constants.V1_2, Constants.ACC_PUBLIC, className, BEAN_MAP, null, Constants.SOURCE_FILE… in BeanMapEmitter() 93 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, CSTRUCT_OBJECT, null); in generateConstructor() 102 final CodeEmitter e = begin_method(Constants.ACC_PUBLIC, BEAN_MAP_GET, null); in generateGet() 106 e.checkcast(Constants.TYPE_STRING); in generateGet() 107 …EmitUtils.string_switch(e, getNames(getters), Constants.SWITCH_STYLE_HASH, new ObjectSwitchCallbac… in generateGet() 124 final CodeEmitter e = begin_method(Constants.ACC_PUBLIC, BEAN_MAP_PUT, null); in generatePut() 128 e.checkcast(Constants.TYPE_STRING); in generatePut() 129 …EmitUtils.string_switch(e, getNames(setters), Constants.SWITCH_STYLE_HASH, new ObjectSwitchCallbac… in generatePut() 158 declare_field(Constants.ACC_STATIC | Constants.ACC_PRIVATE, "keys", FIXED_KEY_SET, null); in generateKeySet() [all …]
|
D | ImmutableBean.java | 73 ce.begin_class(Constants.V1_2, in generateClass() 74 Constants.ACC_PUBLIC, in generateClass() 78 Constants.SOURCE_FILE); in generateClass() 80 … ce.declare_field(Constants.ACC_FINAL | Constants.ACC_PRIVATE, FIELD_NAME, targetType, null); in generateClass() 82 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, CSTRUCT_OBJECT, null); in generateClass() 98 e = EmitUtils.begin_method(ce, getter, Constants.ACC_PUBLIC); in generateClass() 108 e = EmitUtils.begin_method(ce, setter, Constants.ACC_PUBLIC); in generateClass()
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
D | MethodDelegate.java | 155 new Signature("newInstance", METHOD_DELEGATE, new Type[]{ Constants.TYPE_OBJECT }); 217 ce.begin_class(Constants.V1_2, in generateClass() 218 Constants.ACC_PUBLIC, in generateClass() 222 Constants.SOURCE_FILE); in generateClass() 223 … ce.declare_field(Constants.PRIVATE_FINAL_STATIC, "eqMethod", Constants.TYPE_STRING, null); in generateClass() 228 e = EmitUtils.begin_method(ce, proxied, Constants.ACC_PUBLIC); in generateClass() 230 e.super_getfield("target", Constants.TYPE_OBJECT); in generateClass() 238 e = ce.begin_method(Constants.ACC_PUBLIC, NEW_INSTANCE, null); in generateClass() 244 e.super_putfield("eqMethod", Constants.TYPE_STRING); in generateClass() 246 e.super_putfield("target", Constants.TYPE_OBJECT); in generateClass()
|
D | MulticastDelegate.java | 74 new Signature("add", MULTICAST_DELEGATE, new Type[]{ Constants.TYPE_OBJECT }); 76 new Signature("addHelper", MULTICAST_DELEGATE, new Type[]{ Constants.TYPE_OBJECT }); 101 ce.begin_class(Constants.V1_2, in generateClass() 102 Constants.ACC_PUBLIC, in generateClass() 106 Constants.SOURCE_FILE); in generateClass() 113 CodeEmitter e = ce.begin_method(Constants.ACC_PUBLIC, NEW_INSTANCE, null); in generateClass() 121 e = ce.begin_method(Constants.ACC_PUBLIC, ADD_DELEGATE, null); in generateClass() 133 final CodeEmitter e = EmitUtils.begin_method(ce, method, Constants.ACC_PUBLIC); in emitProxy() 143 e.super_getfield("targets", Constants.TYPE_OBJECT_ARRAY); in emitProxy() 145 EmitUtils.process_array(e, Constants.TYPE_OBJECT_ARRAY, new ProcessArrayCallback() { in emitProxy()
|
D | FastClassEmitter.java | 32 new Signature("getIndex", Type.INT_TYPE, new Type[]{ Constants.TYPE_SIGNATURE }); 57 …begin_class(Constants.V1_2, Constants.ACC_PUBLIC, className, FAST_CLASS, null, Constants.SOURCE_FI… in FastClassEmitter() 60 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, CSTRUCT_CLASS, null); in FastClassEmitter() 81 e = begin_method(Constants.ACC_PUBLIC, CONSTRUCTOR_GET_INDEX, null); in FastClassEmitter() 88 e = begin_method(Constants.ACC_PUBLIC, INVOKE, INVOCATION_TARGET_EXCEPTION_ARRAY); in FastClassEmitter() 96 e = begin_method(Constants.ACC_PUBLIC, NEW_INSTANCE, INVOCATION_TARGET_EXCEPTION_ARRAY); in FastClassEmitter() 104 e = begin_method(Constants.ACC_PUBLIC, GET_MAX_INDEX, null); in FastClassEmitter() 114 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, SIGNATURE_GET_INDEX, null); in emitIndexBySignature() 121 e.invoke_virtual(Constants.TYPE_OBJECT, TO_STRING); in emitIndexBySignature() 128 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, METHOD_GET_INDEX, null); in emitIndexByClassArray() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/ |
D | ParallelSorterEmitter.java | 31 new Signature("newInstance", PARALLEL_SORTER, new Type[]{ Constants.TYPE_OBJECT_ARRAY }); 37 …begin_class(Constants.V1_2, Constants.ACC_PUBLIC, className, PARALLEL_SORTER, null, Constants.SOUR… in ParallelSorterEmitter() 50 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, CSTRUCT_OBJECT_ARRAY, null); in generateConstructor() 55 e.super_putfield("a", Constants.TYPE_OBJECT_ARRAY); in generateConstructor() 58 declare_field(Constants.ACC_PRIVATE, getFieldName(i), type, null); in generateConstructor() 71 CodeEmitter e = begin_method(Constants.ACC_PUBLIC, SWAP, null); in generateSwap()
|