/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/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 | 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/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() 56 const uint16_t* mData;
|
D | FontStyle.h | 25 enum class Weight : uint16_t { 47 : FontStyle(static_cast<uint16_t>(weight), slant) {} in FontStyle() 48 constexpr FontStyle(uint16_t weight, Slant slant) : mWeight(weight), mSlant(slant) {} in FontStyle() 50 constexpr uint16_t weight() const { return mWeight; } in weight() 62 uint16_t mWeight;
|
/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);
|
D | MtpPacket.cpp | 94 uint16_t MtpPacket::getUInt16(int offset) const { in getUInt16() 95 return ((uint16_t)mBuffer[offset + 1] << 8) | (uint16_t)mBuffer[offset]; in getUInt16() 103 void MtpPacket::putUInt16(int offset, uint16_t value) { in putUInt16() 115 uint16_t MtpPacket::getContainerCode() const { in getContainerCode() 119 void MtpPacket::setContainerCode(uint16_t code) { in setContainerCode() 123 uint16_t MtpPacket::getContainerType() const { in getContainerType()
|
/frameworks/rs/rsov/compiler/spirit/ |
D | instructions.h | 37 template <typename T> uint16_t WordCount(T) { return 1; } in WordCount() 39 inline uint16_t WordCount(PairLiteralIntegerIdRef) { return 2; } in WordCount() 40 inline uint16_t WordCount(PairIdRefLiteralInteger) { return 2; } in WordCount() 41 inline uint16_t WordCount(PairIdRefIdRef) { return 2; } in WordCount() 42 inline uint16_t WordCount(const std::string &operand) { in WordCount() 60 virtual uint16_t getWordCount() const = 0; 145 uint16_t getOpCode() const { return mCodeAndCount.mOpCode; } in getOpCode() 148 uint16_t mFixedWordCount; 149 uint16_t mRemainingWordCount;
|
D | core_defs.h | 62 : mOpCode((uint16_t)codeAndCount), in OpCodeAndWordCount() 65 : mOpCode((uint16_t)opcode), mWordCount((uint16_t)wordCount) {} in OpCodeAndWordCount() 71 uint16_t mOpCode; 72 uint16_t mWordCount;
|
/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 | 31 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, in ParseUnicode() 45 buf[output_ix++] = (uint16_t)src[input_ix++]; in ParseUnicode() 94 std::vector<uint16_t> parseUnicodeStringWithOffset(const std::string& in, size_t* offset) { in parseUnicodeStringWithOffset() 95 std::unique_ptr<uint16_t[]> buffer(new uint16_t[in.size()]); in parseUnicodeStringWithOffset() 98 return std::vector<uint16_t>(buffer.get(), buffer.get() + result_size); in parseUnicodeStringWithOffset() 101 std::vector<uint16_t> parseUnicodeString(const std::string& in) { in parseUnicodeString() 105 std::vector<uint16_t> utf8ToUtf16(const std::string& text) { in utf8ToUtf16() 106 std::vector<uint16_t> result; in utf8ToUtf16()
|
D | UnicodeUtils.h | 25 void ParseUnicode(uint16_t* buf, size_t buf_size, const char* src, size_t* result_size, 28 std::vector<uint16_t> parseUnicodeStringWithOffset(const std::string& in, size_t* offset); 29 std::vector<uint16_t> parseUnicodeString(const std::string& in); 32 std::vector<uint16_t> utf8ToUtf16(const std::string& text);
|
/frameworks/av/media/libaudioclient/include/media/ |
D | ToneGenerator.h | 266 uint16_t waveFreq[TONEGEN_MAX_WAVES+1]; 267 uint16_t loopCnt; 268 uint16_t loopIndx; 289 uint16_t mCurSegment; // Current segment index in ToneDescriptor segments[] 290 uint16_t mCurCount; // Current sequence repeat count 291 volatile uint16_t mState; // ToneGenerator state (tone_state) 292 uint16_t mRegion; 296 uint16_t mLoopCounter; // Current tone loopback count 324 WaveGenerator(uint32_t samplingRate, uint16_t frequency, 343 KeyedVector<uint16_t, WaveGenerator *> mWaveGens; // list of active wave generators.
|
/frameworks/av/include/media/ |
D | ToneGenerator.h | 266 uint16_t waveFreq[TONEGEN_MAX_WAVES+1]; 267 uint16_t loopCnt; 268 uint16_t loopIndx; 289 uint16_t mCurSegment; // Current segment index in ToneDescriptor segments[] 290 uint16_t mCurCount; // Current sequence repeat count 291 volatile uint16_t mState; // ToneGenerator state (tone_state) 292 uint16_t mRegion; 296 uint16_t mLoopCounter; // Current tone loopback count 324 WaveGenerator(uint32_t samplingRate, uint16_t frequency, 343 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[] = {
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | RawPrintVisitor.cpp | 56 print(static_cast<uint16_t>(header.GetTargetPackageId()), "target package id"); in visit() 64 print(static_cast<uint16_t>(type_entry.GetTargetTypeId()), "target type"); in visit() 65 print(static_cast<uint16_t>(type_entry.GetOverlayTypeId()), "overlay type"); in visit() 66 print(static_cast<uint16_t>(type_entry.GetEntryCount()), "entry count"); in visit() 67 print(static_cast<uint16_t>(type_entry.GetEntryOffset()), "entry offset"); in visit() 69 for (uint16_t i = 0; i < type_entry.GetEntryCount(); i++) { in visit() 93 void RawPrintVisitor::print(uint16_t value, const char* fmt, ...) { in print() 102 offset_ += sizeof(uint16_t); in print()
|
D | BinaryStreamVisitor.cpp | 27 void BinaryStreamVisitor::Write16(uint16_t value) { in Write16() 28 uint16_t x = htodl(value); in Write16() 29 stream_.write(reinterpret_cast<char*>(&x), sizeof(uint16_t)); in Write16() 67 const uint16_t entryCount = type_entry.GetEntryCount(); in visit() 73 for (uint16_t i = 0; i < entryCount; i++) { in visit()
|
/frameworks/minikin/libs/minikin/ |
D | FontUtils.cpp | 25 static uint16_t readU16(const uint8_t* data, size_t offset) { in readU16() 37 const uint16_t kItalicFlag = (1 << 0); in analyzeStyle() 41 uint16_t weightClass = readU16(os2_data, kUsWeightClassOffset); in analyzeStyle() 43 uint16_t fsSelection = readU16(os2_data, kFsSelectionOffset); in analyzeStyle() 60 const uint16_t majorVersion = readU16(fvar_data, kMajorVersionOffset); in analyzeAxes() 61 const uint16_t minorVersion = readU16(fvar_data, kMinorVersionOffset); in analyzeAxes()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayIdentification.cpp | 36 constexpr uint16_t kFallbackEdidManufacturerId = 0; 37 constexpr uint16_t kVirtualEdidManufacturerId = 0xffffu; 61 char getPnpLetter(uint16_t id) { in getPnpLetter() 69 uint16_t DisplayId::manufacturerId() const { in manufacturerId() 70 return static_cast<uint16_t>(value >> 40); in manufacturerId() 73 DisplayId DisplayId::fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t displayNameHash) { in fromEdid() 96 if (edid.size() < kManufacturerOffset + sizeof(uint16_t)) { in parseEdid() 102 const uint16_t manufacturerId = in parseEdid() 168 std::optional<PnpId> getPnpId(uint16_t manufacturerId) { in getPnpId()
|
/frameworks/native/opengl/libagl/ |
D | mipmap.cpp | 58 uint16_t const * src = (uint16_t const *)base->data; in buildAPyramid() 59 uint16_t* dst = (uint16_t*)cur.data; in buildAPyramid() 81 uint16_t const * src = (uint16_t const *)base->data; in buildAPyramid() 82 uint16_t* dst = (uint16_t*)cur.data; in buildAPyramid() 157 uint16_t const * src = (uint16_t const *)base->data; in buildAPyramid() 158 uint16_t* dst = (uint16_t*)cur.data; in buildAPyramid()
|
D | dxt.cpp | 158 uint16_t color0 = colors & 0xffff; in DXT1HasAlpha() 159 uint16_t color1 = colors >> 16; in DXT1HasAlpha() 204 uint16_t c[4]; in decodeDXT1() 208 uint16_t prev_color0 = 0x0000; in decodeDXT1() 209 uint16_t prev_color1 = 0x0000; in decodeDXT1() 211 uint16_t* rowPtr = (uint16_t*)surface; in decodeDXT1() 213 uint16_t *blockPtr = rowPtr; in decodeDXT1() 224 uint16_t color0 = colors & 0xffff; in decodeDXT1() 225 uint16_t color1 = colors >> 16; in decodeDXT1() 286 uint16_t* blockRowPtr = blockPtr; in decodeDXT1() [all …]
|
/frameworks/native/cmds/servicemanager/ |
D | service_manager.c | 32 const char *str8(const uint16_t *x, size_t x_len) in str8() 52 int str16eq(const uint16_t *a, const char *b) in str16eq() 116 static int svc_can_register(const uint16_t *name, size_t name_len, pid_t spid, const char* sid, uid… in svc_can_register() 133 static int svc_can_find(const uint16_t *name, size_t name_len, pid_t spid, const char* sid, uid_t u… in svc_can_find() 147 uint16_t name[0]; 152 struct svcinfo *find_svc(const uint16_t *s16, size_t len) in find_svc() 158 !memcmp(s16, si->name, len * sizeof(uint16_t))) { in find_svc() 176 uint16_t svcmgr_id[] = { 182 uint32_t do_find_service(const uint16_t *s, size_t len, uid_t uid, pid_t spid, const char* sid) in do_find_service() 206 int do_add_service(struct binder_state *bs, const uint16_t *s, size_t len, uint32_t handle, in do_add_service() [all …]
|