/development/vndk/tools/header-checker/tests/input/ |
D | example1.h | 29 template<typename T> 32 T value_; 33 StackNode<T>* next_; 36 StackNode(T t, StackNode* next = nullptr) 37 : value_(static_cast<T&&>(t)), in value_() 41 template<typename T> 44 StackNode<T>* head_; 49 void push(T t) { in push() 50 head_ = new StackNode<T>(static_cast<T&&>(t), head_); in push() 53 T pop() { in pop() [all …]
|
D | example2.h | 9 template <typename T, int size> 11 T foor[size]; 37 template <typename T> 39 T foo_again; 41 T method_foo(T);
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
D | Pools.java | 50 public static interface Pool<T> { 55 public T acquire(); in acquire() 65 public boolean release(T instance); in release() 77 public static class SimplePool<T> implements Pool<T> { 98 public T acquire() { in acquire() 101 T instance = (T) mPool[lastPooledIndex]; in acquire() 110 public boolean release(T instance) { in release() 122 private boolean isInPool(T instance) { in isInPool() 137 public static class SynchronizedPool<T> extends SimplePool<T> { 152 public T acquire() { in acquire() [all …]
|
/development/tools/mkstubs/tests/data/ |
D | TestTemplateClass.java | 30 public class TestTemplateClass<T extends InputStream, U> { 32 private final Map<T, U> mMap_T_U = null; 34 public Map<ArrayList<T>, Map<String, ArrayList<U>>> mMap_T_S_U = null; 39 public Map<T, U> getMap_T_U() { in getMap_T_U() 43 public Map<ArrayList<T>, Map<String, ArrayList<U>>> getMap_T_S_U() { in getMap_T_S_U() 50 public static <T extends Comparable<? super T>> void sort(List<T> list) { in sort() 53 public <X extends T, Y> void getMap(List<T> list, Map<T, U> tu, Map<X, Set<? super Y>> xy) { in getMap() argument
|
/development/vndk/tools/header-checker/header-abi-diff/src/ |
D | abi_diff.h | 49 template <typename T, typename TDiff> 51 google::protobuf::RepeatedPtrField<T> *elements_added, 52 google::protobuf::RepeatedPtrField<T> *elements_removed, 54 const google::protobuf::RepeatedPtrField<T> &old_srcs, 55 const google::protobuf::RepeatedPtrField<T> &new_srcs, 58 template <typename T> 59 static inline void AddToMap(std::map<std::string, const T *> *dst, 60 const google::protobuf::RepeatedPtrField<T> &src); 62 template <typename T> 64 google::protobuf::RepeatedPtrField<T> *dst, [all …]
|
D | abi_diff_wrappers.h | 27 template <typename T> 28 static bool IgnoreSymbol(const T *element, in IgnoreSymbol() 34 template <typename T, typename TDiff> 39 DiffWrapperBase(const T *oldp, const T *newp) : oldp_(oldp), newp_(newp) { } in DiffWrapperBase() 54 const T *oldp_; 55 const T *newp_; 58 template <typename T, typename TDiff> 59 class DiffWrapper : public DiffWrapperBase<T, TDiff> { 61 DiffWrapper(const T *oldp, const T *newp) in DiffWrapper() 62 : DiffWrapperBase<T, TDiff>(oldp, newp) { } in DiffWrapper()
|
D | abi_diff.cpp | 95 template <typename T, typename TDiff> 97 google::protobuf::RepeatedPtrField<T> *elements_added, in Collect() 98 google::protobuf::RepeatedPtrField<T> *elements_removed, in Collect() 100 const google::protobuf::RepeatedPtrField<T> &old_srcs, in Collect() 101 const google::protobuf::RepeatedPtrField<T> &new_srcs, in Collect() 107 std::map<std::string, const T*> old_elements_map; in Collect() 108 std::map<std::string, const T*> new_elements_map; in Collect() 130 template <typename T> 132 google::protobuf::RepeatedPtrField<T> *dst, in PopulateRemovedElements() 133 const std::map<std::string, const T*> &old_elements_map, in PopulateRemovedElements() [all …]
|
D | abi_diff_wrappers.cpp | 103 template <typename T> 104 static bool Diff(const T &old_element, const T &new_element) { in Diff() 154 template <typename T, typename TDiff> 156 bool DiffWrapperBase<T, TDiff>::GetElementDiffs( in GetElementDiffs() 192 template <typename T, typename TDiff> 194 void DiffWrapperBase<T, TDiff>::GetExtraElementDiffs( in GetExtraElementDiffs()
|
/development/ndk/platforms/android-21/include/linux/ |
D | const.h | 24 #define _AT(T,X) X 29 #define _AT(T,X) ((T)(X)) argument
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentNestingTabs.java | 70 public static class TabListener<T extends Fragment> implements ActionBar.TabListener { 73 private final Class<T> mClass; 77 public TabListener(Activity activity, String tag, Class<T> clz) { in TabListener() 81 public TabListener(Activity activity, String tag, Class<T> clz, Bundle args) { in TabListener()
|
D | FragmentTabs.java | 70 public static class TabListener<T extends Fragment> implements ActionBar.TabListener { 73 private final Class<T> mClass; 77 public TabListener(Activity activity, String tag, Class<T> clz) { in TabListener() 81 public TabListener(Activity activity, String tag, Class<T> clz, Bundle args) { in TabListener()
|
/development/tools/bugreport/src/com/android/bugreport/util/ |
D | Lines.java | 31 public class Lines<T extends Line> { 138 public Lines<T> copy(int from, int to) { in copy() 139 return new Lines<T>(mList, Math.max(mMin, from), Math.min(mMax, to)); in copy()
|
/development/vndk/tools/header-checker/header-abi-linker/src/ |
D | header_abi_linker.cpp | 96 template <typename T> 97 inline bool LinkDecl(google::protobuf::RepeatedPtrField<T> *dst, 101 const google::protobuf::RepeatedPtrField<T> &src, 210 template <typename T> 212 google::protobuf::RepeatedPtrField<T> *dst, in LinkDecl() 215 const google::protobuf::RepeatedPtrField<T> &src, bool use_version_script) { in LinkDecl() 244 T *added_element = dst->Add(); in LinkDecl()
|
/development/vndk/tools/vtable-dumper/ |
D | elf_handling.h | 156 template <typename T> 157 static inline T UnWrap(llvm::Expected<T> ValueOrError) { in UnWrap()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | MyRssReader3.java | 152 private class RssDataAdapter<T> extends ArrayAdapter<T> {
|
D | MyRssReader2.java | 144 private class RssDataAdapter<T> extends ArrayAdapter<T> {
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | DiskLruCache.java | 175 private static <T> T[] copyOfRange(T[] original, int start, int end) { in copyOfRange() 185 final T[] result = (T[]) Array in copyOfRange()
|
/development/tools/apkcheck/ |
D | README.txt | 145 public <T extends Parcelable> T getParcelableExtra(String name) { 146 return mExtras == null ? null : mExtras.<T>getParcelable(name); 151 <method name="getParcelableExtra" return="T">
|
/development/ndk/platforms/android-9/include/asm-generic/ |
D | siginfo.h | 118 #define __SI_CODE(T,N) (N) argument
|
/development/ndk/platforms/android-21/include/asm-generic/ |
D | siginfo.h | 154 #define __SI_CODE(T,N) (N) argument
|
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
D | Camera2RawFragment.java | 1559 public static class RefCountedAutoCloseable<T extends AutoCloseable> implements AutoCloseable { 1560 private T mObject; 1568 public RefCountedAutoCloseable(T object) { 1578 public synchronized T getAndRetain() { 1591 public synchronized T get() {
|
/development/ndk/platforms/android-21/include/ |
D | stdatomic.h | 345 #define _Atomic(T) struct { T volatile __val; } argument
|
/development/sdk/ |
D | sdk_files_NOTICE.txt | 6439 by M.I.T. but is also freely distributable. 6442 patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot 11461 documentation, and that the name of M.I.T. not be used in advertising or 11463 written prior permission. M.I.T. makes no representations about the 11490 documentation, and that the name of M.I.T. not be used in advertising or 11492 written prior permission. M.I.T. makes no representations about the
|