/frameworks/libs/binary_translation/tools/nogrod/ |
D | dwarf_constants.h | 53 constexpr uint16_t DW_TAG_array_type = 0x01; 54 constexpr uint16_t DW_TAG_class_type = 0x02; 55 constexpr uint16_t DW_TAG_entry_point = 0x03; 56 constexpr uint16_t DW_TAG_enumeration_type = 0x04; 57 constexpr uint16_t DW_TAG_formal_parameter = 0x05; 59 constexpr uint16_t DW_TAG_imported_declaration = 0x08; 61 constexpr uint16_t DW_TAG_label = 0x0a; 62 constexpr uint16_t DW_TAG_lexical_block = 0x0b; 64 constexpr uint16_t DW_TAG_member = 0x0d; 66 constexpr uint16_t DW_TAG_pointer_type = 0x0f; [all …]
|
D | dwarf_info.h | 42 uint16_t tag); 50 [[nodiscard]] uint16_t tag() const { return tag_; } in tag() 60 [[nodiscard]] std::optional<std::string> GetStringAttribute(uint16_t attr_name) const; 61 [[nodiscard]] std::optional<uint64_t> GetUint64Attribute(uint16_t attr_name) const; 63 [[nodiscard]] uint64_t GetUint64AttributeOr(uint16_t attr_name, uint64_t default_value) const { in GetUint64AttributeOr() 67 [[nodiscard]] bool GetBoolAttributeOr(uint16_t attr_name, bool default_value) const; 75 uint16_t tag_; 84 uint16_t version,
|
/frameworks/libs/binary_translation/intrinsics/riscv64/ |
D | intrinsics_test.cc | 85 ASSERT_EQ(std::get<0>(Div<uint16_t>(uint16_t{32768}, uint16_t{0})), uint16_t{65535}); in TEST() 86 ASSERT_EQ(std::get<0>(Div<uint16_t>(uint16_t{32768}, uint16_t{1})), uint16_t{32768}); in TEST() 87 ASSERT_EQ(std::get<0>(Div<uint16_t>(uint16_t{32768}, uint16_t{2})), uint16_t{16384}); in TEST() 121 ASSERT_EQ(std::get<0>(Roundoff<int16_t>(RNU, int16_t{-250}, uint16_t{2})), int16_t{-62}); in TEST() 122 ASSERT_EQ(std::get<0>(Roundoff<uint16_t>(RNU, uint16_t{242}, uint16_t{2})), uint16_t{61}); in TEST() 123 ASSERT_EQ(std::get<0>(Roundoff<uint16_t>(RNE, uint16_t{242}, uint16_t{2})), uint16_t{60}); in TEST() 124 ASSERT_EQ(std::get<0>(Roundoff<uint16_t>(RDN, uint16_t{242}, uint16_t{2})), uint16_t{60}); in TEST() 125 ASSERT_EQ(std::get<0>(Roundoff<uint16_t>(ROD, uint16_t{242}, uint16_t{2})), uint16_t{61}); in TEST() 126 ASSERT_EQ(std::get<0>(Roundoff<uint16_t>(RNU, uint16_t{191}, uint16_t{2})), uint16_t{48}); in TEST() 127 ASSERT_EQ(std::get<0>(Roundoff<uint16_t>(RNE, uint16_t{191}, uint16_t{2})), uint16_t{48}); in TEST() [all …]
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Component.h | 47 uint32_t *dst, const uint16_t *srcY, 48 const uint16_t *srcU, const uint16_t *srcV, 53 void convertYUV420Planar16ToYV12(uint8_t *dstY, uint8_t *dstU, uint8_t *dstV, const uint16_t *srcY, 54 const uint16_t *srcU, const uint16_t *srcV, size_t srcYStride, 59 void convertYUV420Planar16ToP010(uint16_t *dstY, uint16_t *dstUV, const uint16_t *srcY, 60 const uint16_t *srcU, const uint16_t *srcV, size_t srcYStride, 65 void convertP010ToYUV420Planar16(uint16_t *dstY, uint16_t *dstU, uint16_t *dstV, 66 const uint16_t *srcY, const uint16_t *srcUV, 71 void convertRGBA1010102ToYUV420Planar16(uint16_t* dstY, uint16_t* dstU, uint16_t* dstV, 75 void convertPlanar16ToY410OrRGBA1010102(uint8_t* dst, const uint16_t* srcY, const uint16_t* srcU, [all …]
|
/frameworks/av/media/libeffects/testlibs/ |
D | EffectReverb.h | 126 uint16_t m_zApOut; // delay offset for ap out 130 uint16_t m_zApIn; // delay offset for ap in 138 uint16_t m_zDelay[REVERB_MAX_NUM_REFLECTIONS]; // delay offset for ap out 160 uint16_t m_nMaxExcursion; //28 193 …uint16_t m_nBaseIndex; // base index for circular bu… 202 uint16_t m_zD0In; // delay offset for delay line D0 in 209 uint16_t m_zD1In; // delay offset for delay line D1 in 212 uint16_t m_zD0Self; // self feeds forward d0 --> d0 214 uint16_t m_zD1Cross; // cross feeds across d1 --> d0 216 uint16_t m_zD1Self; // self feeds forward d1 --> d1 [all …]
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffWriter.h | 77 TiffWriter(KeyedVector<uint16_t, const TagDefinition_t*>* enabledDefinitions, 144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd); 161 status_t buildEntry(uint16_t tag, uint32_t count, const T* data, 182 virtual sp<TiffEntry> getEntry(uint16_t tag, uint32_t ifd) const; 187 virtual void removeEntry(uint16_t tag, uint32_t ifd); 204 virtual TagType getDefaultType(uint16_t tag) const; 210 virtual uint32_t getDefaultCount(uint16_t tag) const; 220 virtual bool checkIfDefined(uint16_t tag) const; 226 virtual const char* getTagName(uint16_t tag) const; 243 static sp<TiffEntry> uncheckedBuildEntry(uint16_t tag, TagType type, [all …]
|
/frameworks/minikin/include/minikin/ |
D | U16StringPiece.h | 29 U16StringPiece(const uint16_t* data, uint32_t length) : mData(data), mLength(length) {} in U16StringPiece() 30 U16StringPiece(const std::vector<uint16_t>& v) // Intentionally not explicit. in U16StringPiece() 33 U16StringPiece(uint16_t const (&data)[length]) : mData(data), mLength(length) {} in U16StringPiece() 38 inline const uint16_t* data() const { return mData; } in data() 43 inline const uint16_t& at(uint32_t pos) const { return mData[pos]; } in at() 44 inline const uint16_t& operator[](uint32_t pos) const { return mData[pos]; } 50 inline bool hasChar(uint16_t c) const { in hasChar() 51 const uint16_t* end = mData + mLength; in hasChar() 59 const uint16_t* mData;
|
D | Font.h | 71 uint16_t bits() const { return mBits; } in bits() 77 static constexpr uint16_t MASK_FAKE_BOLD = 1u; 78 static constexpr uint16_t MASK_FAKE_ITALIC = 1u << 1; 79 static constexpr uint16_t MASK_HAS_WGHT_ADJUSTMENT = 1u << 2; 80 static constexpr uint16_t MASK_HAS_ITAL_ADJUSTMENT = 1u << 3; 81 static constexpr uint16_t MASK_ITAL_ADJUSTMENT = 1u << 4; 82 static constexpr uint16_t MASK_WGHT_ADJUSTMENT = 0b1111111111u << 5; 83 static constexpr uint16_t WGHT_ADJUSTMENT_SHIFT = 5; 85 uint16_t pack(bool isFakeBold, bool isFakeItalic, int16_t wghtAdjustment, in pack() 87 uint16_t bits = 0u; in pack() [all …]
|
D | SparseBitSet.h | 87 static const uint16_t noZeroPage = 0xFFFF; 100 uint16_t mZeroPageIndex; 103 uint16_t mIsMapped; 110 const uint16_t* indices() const { in indices() 111 return reinterpret_cast<const uint16_t*>(mArray + mBitmapsCount); in indices() 113 uint16_t* indices() { return reinterpret_cast<uint16_t*>(mArray + mBitmapsCount); } in indices() 118 static_assert(sizeof(uint16_t) == 2); in calcSize()
|
D | FontStyle.h | 29 enum class Weight : uint16_t { 51 : FontStyle(static_cast<uint16_t>(weight), slant) {} in FontStyle() 52 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle() 54 mWeight = reader->read<uint16_t>(); in FontStyle() 59 writer->write<uint16_t>(mWeight); in writeTo() 63 constexpr uint16_t weight() const { return mWeight; } in weight() 71 uint16_t mWeight;
|
D | Hyphenator.h | 128 constexpr uint16_t HYPHEN_STR_ZWJ[] = {CHAR_ZWJ}; 129 constexpr uint16_t HYPHEN_STR_HYPHEN[] = {CHAR_HYPHEN}; 130 constexpr uint16_t HYPHEN_STR_ARMENIAN_HYPHEN[] = {CHAR_ARMENIAN_HYPHEN}; 131 constexpr uint16_t HYPHEN_STR_MAQAF[] = {CHAR_MAQAF}; 132 constexpr uint16_t HYPHEN_STR_UCAS_HYPHEN[] = {CHAR_UCAS_HYPHEN}; 133 constexpr uint16_t HYPHEN_STR_ZWJ_AND_HYPHEN[] = {CHAR_ZWJ, CHAR_HYPHEN}; 134 constexpr std::pair<const uint16_t*, size_t> EMPTY_HYPHEN_STR(nullptr, 0); 137 inline std::pair<const uint16_t*, size_t> getHyphenString(StartHyphenEdit hyph) { in getHyphenString() 147 inline std::pair<const uint16_t*, size_t> getHyphenString(EndHyphenEdit hyph) { in getHyphenString() 261 HyphenationType alphabetLookup(uint16_t* alpha_codes, const U16StringPiece& word) const; [all …]
|
/frameworks/minikin/tests/unittest/ |
D | HyphenatorTest.cpp | 32 const uint16_t HYPHEN_MINUS = 0x002D; 33 const uint16_t SOFT_HYPHEN = 0x00AD; 34 const uint16_t MIDDLE_DOT = 0x00B7; 35 const uint16_t GREEK_LOWER_ALPHA = 0x03B1; 36 const uint16_t ARMENIAN_AYB = 0x0531; 37 const uint16_t HEBREW_ALEF = 0x05D0; 38 const uint16_t ARABIC_ALEF = 0x0627; 39 const uint16_t ARABIC_BEH = 0x0628; 40 const uint16_t ARABIC_ZWARAKAY = 0x0659; 41 const uint16_t MALAYALAM_KA = 0x0D15; [all …]
|
D | BufferTest.cpp | 30 writer->write<uint16_t>(0xCDEF); in writeTo() 36 uint16_t* uint16Array = writer->reserve<uint16_t>(2 * sizeof(uint16_t)); in writeTo() 59 ASSERT_EQ(reader.read<uint16_t>(), 0xCDEFu); in TEST() 68 const uint16_t* uint16Array = reader.map<uint16_t>(4); in TEST() 89 reader.read<uint16_t>(); in TEST() 96 reader.map<uint16_t>(4); in TEST()
|
D | CmapCoverageTest.cpp | 30 static constexpr uint16_t VS_PLATFORM_ID = 0; 31 static constexpr uint16_t VS_ENCODING_ID = 5; 38 size_t writeU16(uint16_t x, uint8_t* out, size_t offset) { in writeU16() 45 return writeU16(static_cast<uint16_t>(sx), out, offset); in writeI16() 66 static std::vector<uint8_t> buildCmapFormat4Table(const std::vector<uint16_t>& ranges) { in buildCmapFormat4Table() 67 uint16_t segmentCount = ranges.size() / 2 + 1 /* +1 for end marker */; in buildCmapFormat4Table() 73 const size_t finalLength = sizeof(uint16_t) * numOfUint16; in buildCmapFormat4Table() 81 const uint16_t searchRange = 2 * (1 << static_cast<int>(floor(log2(segmentCount)))); in buildCmapFormat4Table() 89 size_t startCountHead = head + segmentCount * sizeof(uint16_t) + 2 /* padding */; in buildCmapFormat4Table() 90 size_t idDeltaHead = startCountHead + segmentCount * sizeof(uint16_t); in buildCmapFormat4Table() [all …]
|
/frameworks/native/libs/cputimeinstate/fuzz/cputimeinstate_fuzzer/ |
D | cputimeinstate_fuzzer.cpp | 27 static const uint16_t MAX_VEC_SIZE = 500; 34 uint16_t aggregationKey = fdp.ConsumeIntegral<uint16_t>(); in LLVMFuzzerTestOneInput() 36 std::vector<uint16_t> aggregationKeys; in LLVMFuzzerTestOneInput() 37 uint16_t aggregationKeysSize = fdp.ConsumeIntegralInRange<size_t>(0, MAX_VEC_SIZE); in LLVMFuzzerTestOneInput() 38 for (uint16_t i = 0; i < aggregationKeysSize; i++) { in LLVMFuzzerTestOneInput() 39 aggregationKeys.push_back(fdp.ConsumeIntegral<uint16_t>()); in LLVMFuzzerTestOneInput()
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | EvdevInjector.h | 77 int ConfigureKey(uint16_t key); 82 int ConfigureAbs(uint16_t abs_type, int32_t min, int32_t max, int32_t fuzz, 93 int ConfigureRel(uint16_t rel_type); 100 int Send(uint16_t type, uint16_t code, int32_t value); 102 int SendKey(uint16_t code, int32_t value); 103 int SendAbs(uint16_t code, int32_t value); 104 int SendRel(uint16_t code, int32_t value); 129 int EnableEventType(uint16_t type); 138 std::unordered_set<uint16_t> enabled_event_types_;
|
/frameworks/av/media/mtp/ |
D | MtpTypes.h | 28 typedef uint16_t MtpOperationCode; 29 typedef uint16_t MtpResponseCode; 30 typedef uint16_t MtpEventCode; 34 typedef uint16_t MtpPropertyCode; 35 typedef uint16_t MtpDataType; 36 typedef uint16_t MtpObjectFormat; 58 typedef std::vector<uint16_t> UInt16List;
|
D | MtpPacket.h | 52 uint16_t getContainerCode() const; 53 void setContainerCode(uint16_t code); 55 uint16_t getContainerType() const; 68 uint16_t getUInt16(int offset) const; 70 void putUInt16(int offset, uint16_t value);
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_ColorSpace.cpp | 43 static float halfToFloat(uint16_t bits) { in halfToFloat() 52 static uint16_t halfMantissa(uint16_t h) { in halfMantissa() 56 static uint16_t halfExponent(uint16_t h) { in halfExponent() 60 static uint16_t halfSign(uint16_t h) { in halfSign() 69 static float halfToFloat(uint16_t bits) { in halfToFloat() 107 float r = halfToFloat((uint16_t)(color >> 48 & 0xffff)); in convertColorLong() 108 float g = halfToFloat((uint16_t)(color >> 32 & 0xffff)); in convertColorLong() 109 float b = halfToFloat((uint16_t)(color >> 16 & 0xffff)); in convertColorLong()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_KernelSingleProcessCpuThreadReader.cpp | 32 static constexpr uint16_t DEFAULT_THREAD_AGGREGATION_KEY = 0; 33 static constexpr uint16_t SELECTED_THREAD_AGGREGATION_KEY = 1; 55 virtual bool startAggregatingTaskCpuTimes(pid_t, uint16_t) = 0; 63 virtual std::optional<std::unordered_map<uint16_t, std::vector<std::vector<uint64_t>>>> 64 getAggregatedTaskCpuFreqTimes(pid_t, const std::vector<uint16_t> &); 90 bool startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey) { in startAggregatingTaskCpuTimes() 94 std::optional<std::unordered_map<uint16_t, std::vector<std::vector<uint64_t>>>> 95 getAggregatedTaskCpuFreqTimes(pid_t pid, const std::vector<uint16_t> &aggregationKeys) { in getAggregatedTaskCpuFreqTimes() 116 bool startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey); 118 std::optional<std::unordered_map<uint16_t, std::vector<std::vector<uint64_t>>>> [all …]
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 47 constexpr uint16_t kNeutralUVBitDepth10 = 512; 84 void convertYUV420Planar16ToY410(uint32_t *dst, const uint16_t *srcY, const uint16_t *srcU, in convertYUV420Planar16ToY410() 85 const uint16_t *srcV, size_t srcYStride, size_t srcUStride, in convertYUV420Planar16ToY410() 91 uint16_t *ySrcTop = (uint16_t *)srcY; in convertYUV420Planar16ToY410() 92 uint16_t *ySrcBot = (uint16_t *)(srcY + srcYStride); in convertYUV420Planar16ToY410() 93 uint16_t *uSrc = (uint16_t *)srcU; in convertYUV420Planar16ToY410() 94 uint16_t *vSrc = (uint16_t *)srcV; in convertYUV420Planar16ToY410() 250 uint32_t *dst, const uint16_t *srcY, const uint16_t *srcU, in convertYUV420Planar16ToRGBA1010102() 251 const uint16_t *srcV, size_t srcYStride, size_t srcUStride, in convertYUV420Planar16ToRGBA1010102() 271 uint16_t *ySrcTop = (uint16_t *)srcY; in convertYUV420Planar16ToRGBA1010102() [all …]
|
/frameworks/av/media/libmedia/ |
D | CharacterEncodingDetectorTables.h | 19 const uint16_t frequent_zhCN[] = { 538 const uint16_t frequent_zhTW[] = { 1057 const uint16_t frequent_ja[] = { 1576 const uint16_t frequent_ko[] = {
|
/frameworks/minikin/tests/util/ |
D | UnicodeUtils.cpp | 32 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, in ParseUnicode() 46 buf[output_ix++] = (uint16_t)src[input_ix++]; in ParseUnicode() 95 std::vector<uint16_t> parseUnicodeStringWithOffset(const std::string& in, size_t* offset) { in parseUnicodeStringWithOffset() 96 std::unique_ptr<uint16_t[]> buffer(new uint16_t[in.size()]); in parseUnicodeStringWithOffset() 99 return std::vector<uint16_t>(buffer.get(), buffer.get() + result_size); in parseUnicodeStringWithOffset() 102 std::vector<uint16_t> parseUnicodeString(const std::string& in) { in parseUnicodeString() 106 std::vector<uint16_t> utf8ToUtf16(const std::string& text) { in utf8ToUtf16() 107 std::vector<uint16_t> result; in utf8ToUtf16()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | ToneGenerator.h | 284 uint16_t waveFreq[TONEGEN_MAX_WAVES+1]; 285 uint16_t loopCnt; 286 uint16_t loopIndx; 306 uint16_t mCurSegment; // Current segment index in ToneDescriptor segments[] 307 uint16_t mCurCount; // Current sequence repeat count 308 volatile uint16_t mState; // ToneGenerator state (tone_state) 309 uint16_t mRegion; 313 uint16_t mLoopCounter; // Current tone loopback count 342 WaveGenerator(uint32_t samplingRate, uint16_t frequency, 361 KeyedVector<uint16_t, WaveGenerator *> mWaveGens; // list of active wave generators.
|
/frameworks/av/cmds/screenrecord/ |
D | FontBitmap.h | 11 static const uint16_t yoffset[]; 12 static const uint16_t glyphWidth[]; 6544 const uint16_t FontBitmap::glyphWidth[] = { 6558 const uint16_t FontBitmap::yoffset[] = {
|