/frameworks/base/libs/androidfw/include/androidfw/ |
D | ConfigDescription.h | 85 ConfigDescription(const android::ResTable_config& o); // NOLINT(google-explicit-constructor) 86 ConfigDescription(const ConfigDescription& o); 87 ConfigDescription(ConfigDescription&& o) noexcept; 89 ConfigDescription& operator=(const android::ResTable_config& o); 90 ConfigDescription& operator=(const ConfigDescription& o); 91 ConfigDescription& operator=(ConfigDescription&& o) noexcept; 109 bool Dominates(const ConfigDescription& o) const; 116 bool HasHigherPrecedenceThan(const ConfigDescription& o) const; 124 bool ConflictsWith(const ConfigDescription& o) const; 132 bool IsCompatibleWith(const ConfigDescription& o) const; [all …]
|
D | Locale.h | 65 inline bool operator<(const LocaleValue& o) const; 66 inline bool operator<=(const LocaleValue& o) const; 67 inline bool operator==(const LocaleValue& o) const; 68 inline bool operator!=(const LocaleValue& o) const; 69 inline bool operator>=(const LocaleValue& o) const; 70 inline bool operator>(const LocaleValue& o) const; 91 bool LocaleValue::operator<(const LocaleValue& o) const { 92 return compare(o) < 0; 95 bool LocaleValue::operator<=(const LocaleValue& o) const { 96 return compare(o) <= 0; [all …]
|
D | Util.h | 51 unique_cptr(unique_cptr&& o) noexcept : ptr_(o.ptr_) { o.ptr_ = nullptr; } in unique_cptr() argument 55 inline unique_cptr& operator=(unique_cptr&& o) noexcept { 56 if (&o == this) { 61 ptr_ = o.ptr_; 62 o.ptr_ = nullptr; 90 inline void swap(unique_cptr& o) { std::swap(ptr_, o.ptr_); } in swap() argument 98 inline bool operator==(const unique_cptr& o) const { return ptr_ == o.ptr_; } 100 inline bool operator!=(const unique_cptr& o) const { return ptr_ != o.ptr_; }
|
/frameworks/base/tools/aapt/ |
D | ConfigDescription.h | 32 ConfigDescription(const android::ResTable_config&o) { // NOLINT(google-explicit-constructor) in ConfigDescription() 33 *static_cast<android::ResTable_config*>(this) = o; in ConfigDescription() 37 ConfigDescription(const ConfigDescription&o) in ConfigDescription() 38 : android::ResTable_config(o) { in ConfigDescription() 41 ConfigDescription& operator=(const android::ResTable_config& o) { 42 *static_cast<android::ResTable_config*>(this) = o; 47 ConfigDescription& operator=(const ConfigDescription& o) { 48 *static_cast<android::ResTable_config*>(this) = o; 52 inline bool operator<(const ConfigDescription& o) const { return compare(o) < 0; } 53 inline bool operator<=(const ConfigDescription& o) const { return compare(o) <= 0; } [all …]
|
D | StringPool.h | 44 entry(const entry& o) : value(o.value), offset(o.offset), in entry() 45 hasStyles(o.hasStyles), indices(o.indices), in entry() 46 configTypeName(o.configTypeName), configs(o.configs) { } in entry() 57 int compare(const entry& o) const; 59 inline bool operator<(const entry& o) const { return compare(o) < 0; } 60 inline bool operator<=(const entry& o) const { return compare(o) <= 0; } 61 inline bool operator==(const entry& o) const { return compare(o) == 0; } 62 inline bool operator!=(const entry& o) const { return compare(o) != 0; } 63 inline bool operator>=(const entry& o) const { return compare(o) >= 0; } 64 inline bool operator>(const entry& o) const { return compare(o) > 0; } [all …]
|
D | AaptAssets.h | 85 inline bool operator<(const AaptLocaleValue& o) const { return compare(o) < 0; } 86 inline bool operator<=(const AaptLocaleValue& o) const { return compare(o) <= 0; } 87 inline bool operator==(const AaptLocaleValue& o) const { return compare(o) == 0; } 88 inline bool operator!=(const AaptLocaleValue& o) const { return compare(o) != 0; } 89 inline bool operator>=(const AaptLocaleValue& o) const { return compare(o) >= 0; } 90 inline bool operator>(const AaptLocaleValue& o) const { return compare(o) > 0; } 112 inline int compare(const AaptGroupEntry& o) const { return mParams.compareLogical(o.mParams); } in compare() 113 inline bool operator<(const AaptGroupEntry& o) const { return compare(o) < 0; } 114 inline bool operator<=(const AaptGroupEntry& o) const { return compare(o) <= 0; } 115 inline bool operator==(const AaptGroupEntry& o) const { return compare(o) == 0; } [all …]
|
/frameworks/base/core/java/android/os/ |
D | HidlSupport.java | 118 public static int deepHashCode(Object o) { in deepHashCode() argument 119 if (o == null) { in deepHashCode() 122 Class<?> clazz = o.getClass(); in deepHashCode() 126 return primitiveArrayHashCode(o); in deepHashCode() 128 return Arrays.hashCode(Arrays.stream((Object[])o) in deepHashCode() 133 if (o instanceof List<?>) { in deepHashCode() 134 return Arrays.hashCode(((List<Object>)o).stream() in deepHashCode() 139 throwErrorIfUnsupportedType(o); in deepHashCode() 141 return o.hashCode(); in deepHashCode() 145 private static void throwErrorIfUnsupportedType(Object o) { in throwErrorIfUnsupportedType() argument [all …]
|
D | BaseBundle.java | 201 Object o = mMap.valueAt(0); in getPairValue() local 203 return (String) o; in getPairValue() 205 typeWarning("getPairValue()", o, "String", e); in getPairValue() 907 Object o = mMap.get(key); in getBoolean() local 908 if (o == null) { in getBoolean() 912 return (Boolean) o; in getBoolean() 914 typeWarning(key, o, "Boolean", defaultValue, e); in getBoolean() 941 Object o = mMap.get(key); in getByte() local 942 if (o == null) { in getByte() 946 return (Byte) o; in getByte() [all …]
|
/frameworks/rs/ |
D | rsObjectBase.cpp | 235 const ObjectBase * o = rsc->mObjHead; in zeroAllUserRef() local 236 while (o) { in zeroAllUserRef() 238 if (o->zeroUserRef()) { in zeroAllUserRef() 242 if (o == rsc->mObjHead) { in zeroAllUserRef() 247 o = rsc->mObjHead; in zeroAllUserRef() 250 o = o->mNext; in zeroAllUserRef() 267 ObjectBase * o = (ObjectBase *)rsc->mObjHead; in freeAllChildren() local 268 while (o) { in freeAllChildren() 269 if (o->freeChildren()) { in freeAllChildren() 271 o = (ObjectBase *)rsc->mObjHead; in freeAllChildren() [all …]
|
/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 326 public void setTo(DisplayMetrics o) { in setTo() argument 327 if (this == o) { in setTo() 331 widthPixels = o.widthPixels; in setTo() 332 heightPixels = o.heightPixels; in setTo() 333 density = o.density; in setTo() 334 densityDpi = o.densityDpi; in setTo() 335 scaledDensity = o.scaledDensity; in setTo() 336 xdpi = o.xdpi; in setTo() 337 ydpi = o.ydpi; in setTo() 338 noncompatWidthPixels = o.noncompatWidthPixels; in setTo() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ConfigDescription.cpp | 884 bool ConfigDescription::Dominates(const ConfigDescription& o) const { in Dominates() 885 if (*this == o) { in Dominates() 890 if (diff(o) & CONFIG_LOCALE) { in Dominates() 897 return MatchWithDensity(o) && !o.MatchWithDensity(*this) && in Dominates() 898 !isMoreSpecificThan(o) && !o.HasHigherPrecedenceThan(*this); in Dominates() 902 const ConfigDescription& o) const { in HasHigherPrecedenceThan() 907 if (mcc || o.mcc) return (!o.mcc); in HasHigherPrecedenceThan() 908 if (mnc || o.mnc) return (!o.mnc); in HasHigherPrecedenceThan() 909 if (language[0] || o.language[0]) return (!o.language[0]); in HasHigherPrecedenceThan() 910 if (country[0] || o.country[0]) return (!o.country[0]); in HasHigherPrecedenceThan() [all …]
|
/frameworks/minikin/include/minikin/ |
D | Font.h | 41 inline bool operator==(const FontFakery& o) const { 42 return mFakeBold == o.mFakeBold && mFakeItalic == o.mFakeItalic; 44 inline bool operator!=(const FontFakery& o) const { return !(*this == o); } 52 inline bool operator==(const FakedFont& o) const { 53 return font == o.font && fakery == o.fakery; 55 inline bool operator!=(const FakedFont& o) const { return !(*this == o); } 101 Font(Font&& o) = default; 102 Font& operator=(Font&& o) = default; 104 Font& operator=(const Font& o) { 105 mTypeface = o.mTypeface; [all …]
|
/frameworks/av/media/libeffects/loudness/common/core/ |
D | byte_swapper.h | 65 const char *o = (const char *)&val; 67 p[0] = o[1]; 68 p[1] = o[0]; 77 const char *o = (const char *)&val; 79 p[0] = o[3]; 80 p[1] = o[2]; 81 p[2] = o[1]; 82 p[3] = o[0]; 91 const char *o = (const char *)&val; 93 p[0] = o[7]; [all …]
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | local_response_normalization_v1_2.mod.py | 18 o = Output("op2", "TENSOR_FLOAT32", "{2, 2, 2, 6}") # output variable 23 Model("axis").Operation("LOCAL_RESPONSE_NORMALIZATION", i, 20, 9.0, 4.0, 0.5, axis).To(o) 25 o: [-.22, .12, .14, .24, -.14, .02] * 8 26 })).AddAllDimsAndAxis(i, o, axis).AddVariations("relaxed", "float16") 29 Model("axis").Operation("LOCAL_RESPONSE_NORMALIZATION", i, 2, 9.0, 4.0, 0.5, axis).To(o) 31 o: [-.26492569, .12510864, .14011213, .26726127, -.16178755, .0244266] * 8 32 })).AddAllDimsAndAxis(i, o, axis).AddVariations("relaxed", "float16") 35 Model().Operation("LOCAL_RESPONSE_NORMALIZATION", i, 2, 9.0, 4.0, 0.5).To(o) 37 o: [-.26492569, .12510864, .14011213, .26726127, -.16178755, .0244266] * 8 38 })).AddDims([1, 2, 3], i, o, includeDefault=False).AddVariations("relaxed", "float16")
|
D | softmax_v1_2.mod.py | 18 o = Output("op2", "TENSOR_FLOAT32", "{2, 2, 2, 5}") # output 0 variable 24 o: ("TENSOR_QUANT8_ASYMM", 1./256, 0) 30 o: [0.643914213228014, 38 o: [0.2] * 40 43 Model().Operation("SOFTMAX", i, 1.0).To(o) 44 Example(example1).AddVariations("relaxed", "float16", quant8).AddDims([1, 3], i, o) 46 Model().Operation("SOFTMAX", i, 0.000001).To(o) 47 Example(example2).AddVariations("relaxed", "float16", quant8).AddDims([1, 3], i, o) 51 Model("axis").Operation("SOFTMAX", i, 1.0, axis).To(o) 52 Example(example1).AddVariations("relaxed", "float16", quant8).AddAllDimsAndAxis(i, o, axis) [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageUserState.java | 90 public PackageUserState(PackageUserState o) { in PackageUserState() argument 91 ceDataInode = o.ceDataInode; in PackageUserState() 92 installed = o.installed; in PackageUserState() 93 stopped = o.stopped; in PackageUserState() 94 notLaunched = o.notLaunched; in PackageUserState() 95 hidden = o.hidden; in PackageUserState() 96 distractionFlags = o.distractionFlags; in PackageUserState() 97 suspended = o.suspended; in PackageUserState() 98 suspendingPackage = o.suspendingPackage; in PackageUserState() 99 dialogInfo = o.dialogInfo; in PackageUserState() [all …]
|
/frameworks/rs/cpp/util/ |
D | RefBase.h | 40 inline bool operator _op_ (const sp<T>& o) const { \ 41 return m_ptr _op_ o.m_ptr; \ 43 inline bool operator _op_ (const T* o) const { \ 44 return m_ptr _op_ o; \ 47 inline bool operator _op_ (const sp<U>& o) const { \ 48 return m_ptr _op_ o.m_ptr; \ 51 inline bool operator _op_ (const U* o) const { \ 52 return m_ptr _op_ o; \ 156 RefBase(const RefBase& o); 157 RefBase& operator=(const RefBase& o); [all …]
|
/frameworks/ml/nn/common/operations/ |
D | RNN.cpp | 183 for (uint32_t o = 0; o < num_units; o++) { in RNNStep() local 184 output_ptr_batch[o] = biasData[o]; in RNNStep() 188 for (uint32_t o = 0; o < num_units; o++) { in RNNStep() local 190 output_ptr_batch[o] += input_ptr_batch[i] * input_weights_ptr[i]; in RNNStep() 197 for (uint32_t o = 0; o < num_units; o++) { in RNNStep() local 199 output_ptr_batch[o] += aux_input_ptr_batch[i] * aux_input_weights_ptr[i]; in RNNStep() 206 for (uint32_t o = 0; o < num_units; o++) { in RNNStep() local 208 output_ptr_batch[o] += hidden_state_in_ptr_batch[h] * recurrent_weights_ptr[h]; in RNNStep() 214 for (uint32_t o = 0; o < num_units; o++) { in RNNStep() local 215 output_ptr_batch[o] = in RNNStep() [all …]
|
/frameworks/base/core/java/android/timezone/ |
D | CountryTimeZones.java | 69 public boolean equals(Object o) { in equals() argument 70 if (this == o) { in equals() 73 if (o == null || getClass() != o.getClass()) { in equals() 76 TimeZoneMapping that = (TimeZoneMapping) o; in equals() 123 public boolean equals(Object o) { in equals() argument 124 if (this == o) { in equals() 127 if (o == null || getClass() != o.getClass()) { in equals() 130 OffsetResult that = (OffsetResult) o; in equals() 275 public boolean equals(Object o) { in equals() argument 276 if (this == o) { in equals() [all …]
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | softmax_quant8_signed.mod.py | 59 o = Output("op2", "TENSOR_FLOAT32", "{2, 2, 2, 5}") # output 0 variable 65 o: ("TENSOR_QUANT8_ASYMM_SIGNED", 1./256, -128) 71 o: [0.643914213228014, 79 o: [0.2] * 40 84 Model().Operation("SOFTMAX", i, 1.0).To(o) 85 Example(example1).AddVariations(quant8_signed, includeDefault=False).AddDims([1, 3], i, o) 87 Model().Operation("SOFTMAX", i, 0.000001).To(o) 88 Example(example2).AddVariations(quant8_signed, includeDefault=False).AddDims([1, 3], i, o) 93 Model("axis").Operation("SOFTMAX", i, 1.0, axis).To(o) 94 Example(example1).AddVariations(quant8_signed, includeDefault=False).AddAllDimsAndAxis(i, o, axis) [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | NotifyingApp.java | 102 public boolean equals(Object o) { in equals() argument 103 if (this == o) return true; in equals() 104 if (o == null || getClass() != o.getClass()) return false; in equals() 105 NotifyingApp that = (NotifyingApp) o; in equals() 120 public int compareTo(NotifyingApp o) { in compareTo() argument 121 if (getLastNotified() == o.getLastNotified()) { in compareTo() 122 if (getUserId() == o.getUserId()) { in compareTo() 123 return getPackage().compareTo(o.getPackage()); in compareTo() 125 return Integer.compare(getUserId(), o.getUserId()); in compareTo() 128 return -Long.compare(getLastNotified(), o.getLastNotified()); in compareTo()
|
/frameworks/av/media/bufferpool/2.0/tests/ |
D | allocator.cpp | 46 static bool isValid(const native_handle_t * const o); 75 bool HandleAshmem::isValid(const native_handle_t * const o) { in isValid() argument 76 if (!o || memcmp(o, &cHeader, sizeof(cHeader))) { in isValid() 79 const HandleAshmem *other = static_cast<const HandleAshmem*>(o); in isValid() 168 const HandleAshmem *o = static_cast<const HandleAshmem*>(handle); in Fill() local 170 NULL, o->size(), PROT_READ|PROT_WRITE, MAP_SHARED, o->ashmemFd(), 0); in Fill() 173 for (size_t i = 0; i < o->size(); ++i) { in Fill() 176 munmap(ptr, o->size()); in Fill() 186 const HandleAshmem *o = static_cast<const HandleAshmem*>(handle); in Verify() local 188 NULL, o->size(), PROT_READ, MAP_SHARED, o->ashmemFd(), 0); in Verify() [all …]
|
/frameworks/av/media/bufferpool/1.0/vts/ |
D | allocator.cpp | 46 static bool isValid(const native_handle_t * const o); 75 bool HandleAshmem::isValid(const native_handle_t * const o) { in isValid() argument 76 if (!o || memcmp(o, &cHeader, sizeof(cHeader))) { in isValid() 79 const HandleAshmem *other = static_cast<const HandleAshmem*>(o); in isValid() 168 const HandleAshmem *o = static_cast<const HandleAshmem*>(handle); in Fill() local 170 NULL, o->size(), PROT_READ|PROT_WRITE, MAP_SHARED, o->ashmemFd(), 0); in Fill() 173 for (size_t i = 0; i < o->size(); ++i) { in Fill() 176 munmap(ptr, o->size()); in Fill() 186 const HandleAshmem *o = static_cast<const HandleAshmem*>(handle); in Verify() local 188 NULL, o->size(), PROT_READ, MAP_SHARED, o->ashmemFd(), 0); in Verify() [all …]
|
/frameworks/base/core/java/android/view/ |
D | WindowManager.java | 2892 public final int copyFrom(LayoutParams o) { in copyFrom() argument 2895 if (width != o.width) { in copyFrom() 2896 width = o.width; in copyFrom() 2899 if (height != o.height) { in copyFrom() 2900 height = o.height; in copyFrom() 2903 if (x != o.x) { in copyFrom() 2904 x = o.x; in copyFrom() 2907 if (y != o.y) { in copyFrom() 2908 y = o.y; in copyFrom() 2911 if (horizontalWeight != o.horizontalWeight) { in copyFrom() [all …]
|
/frameworks/compile/slang/lit-tests/bitcode_wrapper/ |
D | bitcode_wrapper_test.ll | 5 ; RUN: %llvm-rs-as -target-api 11 %s -o %t11 7 ; RUN: %llvm-rs-as -target-api 12 %s -o %t12 9 ; RUN: %llvm-rs-as -target-api 13 %s -o %t13 11 ; RUN: %llvm-rs-as -target-api 14 %s -o %t14 13 ; RUN: %llvm-rs-as -target-api 15 %s -o %t15 15 ; RUN: %llvm-rs-as -target-api 16 %s -o %t16 17 ; RUN: %llvm-rs-as -target-api 17 %s -o %t17 19 ; RUN: %llvm-rs-as -target-api 18 %s -o %t18 21 ; RUN: %llvm-rs-as -target-api 19 %s -o %t19 23 ; RUN: %llvm-rs-as -target-api 20 %s -o %t20 [all …]
|