/external/chromium/base/memory/ |
H A D | singleton_objc.h | 41 template<typename Type> 42 struct DefaultSingletonObjCTraits : public DefaultSingletonTraits<Type> { 43 static Type* New() { 44 return [[Type alloc] init]; 47 static void Delete(Type* object) { 55 template<typename Type, 56 typename Traits = DefaultSingletonObjCTraits<Type>, 57 typename DifferentiatingType = Type> 58 class SingletonObjC : public Singleton<Type, Traits, DifferentiatingType> {
|
H A D | singleton.h | 15 // Default traits for Singleton<Type>. Calls operator new and operator delete on 18 template<typename Type> 21 static Type* New() { 24 return new Type(); 28 static void Delete(Type* x) { 43 // Alternate traits for use with the Singleton<Type>. Identical to 46 template<typename Type> 47 struct LeakySingletonTraits : public DefaultSingletonTraits<Type> { 53 // Alternate traits for use with the Singleton<Type>. Allocates memory 74 template <typename Type> [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | Sorter.java | 21 public abstract class Sorter<Type> { 22 public abstract void sort(Type[] array, int count, Comparator<Type> comparator);
|
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
H A D | Zeroes.java | 19 import com.android.dx.rop.type.Type; 38 public static Constant zeroFor(Type type) { 40 case Type.BT_BOOLEAN: return CstBoolean.VALUE_FALSE; 41 case Type.BT_BYTE: return CstByte.VALUE_0; 42 case Type.BT_CHAR: return CstChar.VALUE_0; 43 case Type.BT_DOUBLE: return CstDouble.VALUE_0; 44 case Type.BT_FLOAT: return CstFloat.VALUE_0; 45 case Type.BT_INT: return CstInteger.VALUE_0; 46 case Type.BT_LONG: return CstLong.VALUE_0; 47 case Type [all...] |
H A D | CstType.java | 19 import com.android.dx.rop.type.Type; 28 private static final HashMap<Type, CstType> interns = 29 new HashMap<Type, CstType>(100); 32 public static final CstType OBJECT = intern(Type.OBJECT); 35 public static final CstType BOOLEAN = intern(Type.BOOLEAN_CLASS); 38 public static final CstType BYTE = intern(Type.BYTE_CLASS); 41 public static final CstType CHARACTER = intern(Type.CHARACTER_CLASS); 44 public static final CstType DOUBLE = intern(Type.DOUBLE_CLASS); 47 public static final CstType FLOAT = intern(Type.FLOAT_CLASS); 50 public static final CstType LONG = intern(Type [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
H A D | Exceptions.java | 20 import com.android.dx.rop.type.Type; 27 public static final Type TYPE_ArithmeticException = 28 Type.intern("Ljava/lang/ArithmeticException;"); 34 public static final Type TYPE_ArrayIndexOutOfBoundsException = 35 Type.intern("Ljava/lang/ArrayIndexOutOfBoundsException;"); 38 public static final Type TYPE_ArrayStoreException = 39 Type.intern("Ljava/lang/ArrayStoreException;"); 42 public static final Type TYPE_ClassCastException = 43 Type.intern("Ljava/lang/ClassCastException;"); 46 public static final Type TYPE_Erro [all...] |
H A D | Rops.java | 25 import com.android.dx.rop.type.Type; 35 new Rop(RegOps.NOP, Type.VOID, StdTypeList.EMPTY, "nop"); 39 new Rop(RegOps.MOVE, Type.INT, StdTypeList.INT, "move-int"); 43 new Rop(RegOps.MOVE, Type.LONG, StdTypeList.LONG, "move-long"); 47 new Rop(RegOps.MOVE, Type.FLOAT, StdTypeList.FLOAT, "move-float"); 51 new Rop(RegOps.MOVE, Type.DOUBLE, StdTypeList.DOUBLE, "move-double"); 55 new Rop(RegOps.MOVE, Type.OBJECT, StdTypeList.OBJECT, "move-object"); 64 new Rop(RegOps.MOVE, Type.RETURN_ADDRESS, 69 new Rop(RegOps.MOVE_PARAM, Type.INT, StdTypeList.EMPTY, 74 new Rop(RegOps.MOVE_PARAM, Type [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/type/ |
H A D | StdTypeList.java | 30 public static final StdTypeList INT = StdTypeList.make(Type.INT); 33 public static final StdTypeList LONG = StdTypeList.make(Type.LONG); 36 public static final StdTypeList FLOAT = StdTypeList.make(Type.FLOAT); 39 public static final StdTypeList DOUBLE = StdTypeList.make(Type.DOUBLE); 42 public static final StdTypeList OBJECT = StdTypeList.make(Type.OBJECT); 46 = StdTypeList.make(Type.RETURN_ADDRESS); 50 StdTypeList.make(Type.THROWABLE); 54 StdTypeList.make(Type.INT, Type.INT); 58 StdTypeList.make(Type [all...] |
H A D | Type.java | 29 public final class Type implements TypeBearer, Comparable<Type> { class in inherits:TypeBearer,Comparable 34 private static final HashMap<String, Type> internTable = 35 new HashMap<String, Type>(500); 74 public static final Type BOOLEAN = new Type("Z", BT_BOOLEAN); 77 public static final Type BYTE = new Type("B", BT_BYTE); 80 public static final Type CHAR = new Type(" 429 private Type(String descriptor, int basicType, int newAt) { method in class:Type 459 private Type(String descriptor, int basicType) { method in class:Type [all...] |
H A D | TypeList.java | 20 * List of {@link Type} instances (or of things that contain types). 49 public Type getType(int n); 68 public TypeList withAddedType(Type type);
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ELFObjectWriter.cpp | 50 unsigned Type; local 56 case FK_Data_8: Type = ELF::R_X86_64_PC64; break; 57 case FK_Data_4: Type = ELF::R_X86_64_PC32; break; 58 case FK_Data_2: Type = ELF::R_X86_64_PC16; break; 62 Type = ELF::R_X86_64_PC64; 72 Type = ELF::R_X86_64_PC32; 75 Type = ELF::R_X86_64_PLT32; 78 Type = ELF::R_X86_64_GOTPCREL; 81 Type = ELF::R_X86_64_GOTTPOFF; 84 Type [all...] |
/external/javassist/src/main/javassist/bytecode/analysis/ |
H A D | Executor.java | 35 private final Type STRING_TYPE; 36 private final Type CLASS_TYPE; 37 private final Type THROWABLE_TYPE; 76 frame.push(Type.UNINIT); 85 frame.push(Type.INTEGER); 89 frame.push(Type.LONG); 90 frame.push(Type.TOP); 95 frame.push(Type.FLOAT); 99 frame.push(Type.DOUBLE); 100 frame.push(Type [all...] |
/external/chromium/base/ |
H A D | lazy_instance.h | 5 // The LazyInstance<Type, Traits> class manages a single instance of Type, 8 // need to have guaranteed thread-safety. The Type constructor will only ever 21 // will manage a unique instance. It also preallocates the space for Type, as 22 // to avoid allocating the Type instance on the heap. This may help with the 24 // requires that Type be a complete type so we can determine the size. 49 template <typename Type> 53 static Type* New(void* instance) { 56 return new (instance) Type(); 60 reinterpret_cast<Type*>(instanc [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/light/ |
H A D | AmbientLight.java | 22 public Type getType() { 23 return Type.Ambient;
|
/external/webkit/Source/WebKit/chromium/public/ |
H A D | WebFileInfo.h | 47 enum Type { enum in struct:WebKit::WebFileInfo 53 Type type;
|
H A D | WebMediaPlayerAction.h | 37 enum Type { enum in struct:WebKit::WebMediaPlayerAction 45 Type type; 50 WebMediaPlayerAction(Type type, bool enable)
|
/external/clang/test/Parser/ |
H A D | cxx-stmt.cpp | 46 struct Type { }; struct 48 enum { Type } Kind; enumerator in enum:__anon3971 52 case Type: i = 7; break; // no error.
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
H A D | RpcUtil.java | 47 public static <Type extends Message> RpcCallback<Type> 49 return (RpcCallback<Type>)originalCallback; 53 // return new RpcCallback<Type>() { 54 // public void run(Type parameter) { 68 public static <Type extends Message> 70 final RpcCallback<Type> originalCallback, 71 final Class<Type> originalClass, 72 final Type defaultInstance) { 75 Type typedParamete [all...] |
/external/webrtc/src/system_wrappers/interface/ |
H A D | sort.h | 21 enum Type enum in namespace:webrtc 42 WebRtc_Word32 Sort(void* data, WebRtc_UWord32 numOfElements, Type dataType); 61 WebRtc_UWord32 sizeOfElement, Type keyType);
|
/external/webkit/Source/WebCore/platform/ |
H A D | CrossThreadCopier.h | 52 typedef T Type; typedef in struct:WebCore::CrossThreadCopierPassThrough 53 static Type copy(const T& parameter) 74 typedef typename WTF::RemoveTemplate<T, RefPtr>::Type TypeWithoutRefPtr; 75 typedef typename WTF::RemoveTemplate<TypeWithoutRefPtr, PassRefPtr>::Type RefCountedType; 76 typedef PassRefPtr<RefCountedType> Type; typedef in struct:WebCore::CrossThreadCopierBase 77 static Type copy(const T& refPtr) 84 typedef PassOwnPtr<T> Type; typedef in struct:WebCore::CrossThreadCopierBase 85 static Type copy(Type ownPtr) 92 typedef KURL Type; typedef in struct:WebCore::CrossThreadCopierBase 97 typedef String Type; typedef in struct:WebCore::CrossThreadCopierBase 102 typedef ResourceError Type; typedef in struct:WebCore::CrossThreadCopierBase 107 typedef PassOwnPtr<CrossThreadResourceRequestData> Type; typedef in struct:WebCore::CrossThreadCopierBase 112 typedef PassOwnPtr<CrossThreadResourceResponseData> Type; typedef in struct:WebCore::CrossThreadCopierBase [all...] |
H A D | CrossThreadCopier.cpp | 44 CrossThreadCopierBase<false, false, KURL>::Type CrossThreadCopierBase<false, false, KURL>::copy(const KURL& url) 49 CrossThreadCopierBase<false, false, String>::Type CrossThreadCopierBase<false, false, String>::copy(const String& str) 54 CrossThreadCopierBase<false, false, ResourceError>::Type CrossThreadCopierBase<false, false, ResourceError>::copy(const ResourceError& error) 59 CrossThreadCopierBase<false, false, ResourceRequest>::Type CrossThreadCopierBase<false, false, ResourceRequest>::copy(const ResourceRequest& request) 64 CrossThreadCopierBase<false, false, ResourceResponse>::Type CrossThreadCopierBase<false, false, ResourceResponse>::copy(const ResourceResponse& response)
|
/external/chromium/net/base/ |
H A D | static_cookie_policy.h | 28 enum Type { enum in class:net::StaticCookiePolicy 43 explicit StaticCookiePolicy(Type type) 49 void set_type(Type type) { type_ = type; } 50 Type type() const { return type_; } 66 Type type_;
|
/external/llvm/lib/MC/ |
H A D | MCELF.cpp | 36 void MCELF::SetType(MCSymbolData &SD, unsigned Type) { argument 37 assert(Type == ELF::STT_NOTYPE || Type == ELF::STT_OBJECT || 38 Type == ELF::STT_FUNC || Type == ELF::STT_SECTION || 39 Type == ELF::STT_FILE || Type == ELF::STT_COMMON || 40 Type == ELF::STT_TLS || Type == ELF::STT_GNU_IFUNC); 43 SD.setFlags(OtherFlags | (Type << ELF_STT_Shif 47 uint32_t Type = (SD.getFlags() & (0xf << ELF_STT_Shift)) >> ELF_STT_Shift; local [all...] |
/external/webkit/Source/WebCore/page/ |
H A D | BarInfo.h | 41 enum Type { Locationbar, Menubar, Personalbar, Scrollbars, Statusbar, Toolbar }; enum in class:WebCore::BarInfo 43 static PassRefPtr<BarInfo> create(Frame* frame, Type type) { return adoptRef(new BarInfo(frame, type)); } 48 Type type() const; 53 BarInfo(Frame*, Type); 55 Type m_type;
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCELFObjectWriter.cpp | 45 unsigned Type; local 51 Type = ELF::R_PPC_REL24; 54 Type = ELF::R_PPC_REL32; 61 Type = ELF::R_PPC_ADDR24; 64 Type = ELF::R_PPC_ADDR14_BRTAKEN; // XXX: or BRNTAKEN?_ 67 Type = ELF::R_PPC_ADDR16_HA; 70 Type = ELF::R_PPC_ADDR16_LO; 73 Type = ELF::R_PPC_ADDR14; 76 Type = ELF::R_PPC_ADDR32; 79 Type [all...] |