Home
last modified time | relevance | path

Searched refs:uint16_t (Results 1 – 25 of 233) sorted by relevance

12345678910

/frameworks/base/libs/hwui/font/
DCacheTexture.h49 uint16_t mX;
50 uint16_t mY;
51 uint16_t mWidth;
52 uint16_t mHeight;
56 CacheBlock(uint16_t x, uint16_t y, uint16_t width, uint16_t height): in CacheBlock()
76 CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount);
94 inline uint16_t getWidth() const { in getWidth()
98 inline uint16_t getHeight() const { in getHeight()
106 inline uint32_t getOffset(uint16_t x, uint16_t y) const { in getOffset()
141 inline uint16_t getGlyphCount() const { in getGlyphCount()
[all …]
DFontUtil.h44 typedef uint16_t glyph_t;
47 #define GET_GLYPH(text) nextGlyph((const uint16_t**) &text)
50 static inline glyph_t nextGlyph(const uint16_t** srcPtr) { in nextGlyph()
51 const uint16_t* src = *srcPtr; in nextGlyph()
60 #define GET_GLYPH(text) SkUTF16_NextUnichar((const uint16_t**) &text)
/frameworks/av/media/libeffects/testlibs/
DEffectReverb.h126 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
193uint16_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/
DTiffWriter.h77 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/av/media/mtp/
DMtpTypes.h29 typedef uint16_t MtpOperationCode;
30 typedef uint16_t MtpResponseCode;
31 typedef uint16_t MtpEventCode;
35 typedef uint16_t MtpPropertyCode;
36 typedef uint16_t MtpDataType;
37 typedef uint16_t MtpObjectFormat;
59 typedef Vector<uint16_t> UInt16List;
DMtpStringBuffer.cpp40 MtpStringBuffer::MtpStringBuffer(const uint16_t* src) in MtpStringBuffer()
103 void MtpStringBuffer::set(const uint16_t* src) { in set()
105 uint16_t ch; in set()
133 uint16_t ch; in readFromPacket()
161 uint16_t ch; in writeToPacket()
162 uint16_t ch1 = *src++; in writeToPacket()
168 uint16_t ch2 = *src++; in writeToPacket()
172 uint16_t ch2 = *src++; in writeToPacket()
173 uint16_t ch3 = *src++; in writeToPacket()
DMtpPacket.h48 uint16_t getContainerCode() const;
49 void setContainerCode(uint16_t code);
51 uint16_t getContainerType() const;
64 uint16_t getUInt16(int offset) const;
66 void putUInt16(int offset, uint16_t value);
DMtpPacket.cpp94 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()
DMtpStorageInfo.h29 uint16_t mStorageType;
30 uint16_t mFileSystemType;
31 uint16_t mAccessCapability;
DMtpDeviceInfo.h28 uint16_t mStandardVersion;
30 uint16_t mVendorExtensionVersion;
32 uint16_t mFunctionalMode;
/frameworks/minikin/include/minikin/
DHyphenator.h32 std::unordered_map<uint16_t, Trie> succ;
38 static Hyphenator* load(const uint16_t* patternData, size_t size);
45 void hyphenate(std::vector<uint8_t>* result, const uint16_t* word, size_t len);
48 void addPattern(const uint16_t* pattern, size_t size);
50 void hyphenateSoft(std::vector<uint8_t>* result, const uint16_t* word, size_t len);
/frameworks/minikin/libs/minikin/
DHyphenator.cpp35 static const uint16_t CHAR_SOFT_HYPHEN = 0x00AD;
37 void Hyphenator::addPattern(const uint16_t* pattern, size_t size) { in addPattern()
38 vector<uint16_t> word; in addPattern()
49 uint16_t c = pattern[i]; in addPattern()
74 void Hyphenator::hyphenateSoft(vector<uint8_t>* result, const uint16_t* word, size_t len) { in hyphenateSoft()
81 void Hyphenator::hyphenate(vector<uint8_t>* result, const uint16_t* word, size_t len) { in hyphenate()
89 uint16_t c; in hyphenate()
136 uint16_t c = (k == 0 || k == len + 1) ? '.' : word[k - 1]; in hyphenate()
152 Hyphenator* Hyphenator::load(const uint16_t *patternData, size_t size) { in load()
DAnalyzeStyle.cpp32 const uint16_t kItalicFlag = (1 << 0); in analyzeStyle()
36 uint16_t weightClass = readU16(os2_data, kUsWeightClassOffset); in analyzeStyle()
38 uint16_t fsSelection = readU16(os2_data, kFsSelectionOffset); in analyzeStyle()
/frameworks/av/media/libmedia/
DCharacterEncodingDetectorTables.h19 const uint16_t frequent_zhCN[] = {
538 const uint16_t frequent_zhTW[] = {
1057 const uint16_t frequent_ja[] = {
1576 const uint16_t frequent_ko[] = {
/frameworks/native/cmds/servicemanager/
Dservice_manager.c26 const char *str8(const uint16_t *x, size_t x_len) in str8()
46 int str16eq(const uint16_t *a, const char *b) in str16eq()
110 static int svc_can_register(const uint16_t *name, size_t name_len, pid_t spid) in svc_can_register()
122 static int svc_can_find(const uint16_t *name, size_t name_len, pid_t spid) in svc_can_find()
135 uint16_t name[0];
140 struct svcinfo *find_svc(const uint16_t *s16, size_t len) in find_svc()
146 !memcmp(s16, si->name, len * sizeof(uint16_t))) { in find_svc()
164 uint16_t svcmgr_id[] = {
170 uint32_t do_find_service(struct binder_state *bs, const uint16_t *s, size_t len, uid_t uid, pid_t s… in do_find_service()
195 const uint16_t *s, size_t len, in do_add_service()
[all …]
/frameworks/native/opengl/libagl/
Ddxt.cpp158 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 …]
Dmipmap.cpp58 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()
/frameworks/av/cmds/screenrecord/
DFontBitmap.h11 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/include/androidfw/
DResourceTypes.h45 static_assert(sizeof(char16_t) == sizeof(uint16_t), "char16_t is not 16 bits");
46 static_assert(alignof(char16_t) == alignof(uint16_t), "char16_t is not 16-bit aligned");
195 uint16_t type;
200 uint16_t headerSize;
260 uint16_t size;
643 uint16_t attributeStart;
646 uint16_t attributeSize;
651 uint16_t attributeCount;
654 uint16_t idIndex;
657 uint16_t classIndex;
[all …]
/frameworks/av/media/img_utils/src/
DTiffWriter.cpp28 KeyedVector<uint16_t, const TagDefinition_t*> TiffWriter::buildTagMap( in buildTagMap()
30 KeyedVector<uint16_t, const TagDefinition_t*> map; in buildTagMap()
45 KeyedVector<uint16_t, const TagDefinition_t*> TiffWriter::sTagMaps[] = {
54 TiffWriter::TiffWriter(KeyedVector<uint16_t, const TagDefinition_t*>* enabledDefinitions, in TiffWriter() argument
153 const TagDefinition_t* TiffWriter::lookupDefinition(uint16_t tag) const { in lookupDefinition()
169 sp<TiffEntry> TiffWriter::getEntry(uint16_t tag, uint32_t ifd) const { in getEntry()
178 void TiffWriter::removeEntry(uint16_t tag, uint32_t ifd) { in removeEntry()
186 uint16_t tag = entry->getTag(); in addEntry()
256 uint16_t subIfdTag; in addSubIfd()
311 TagType TiffWriter::getDefaultType(uint16_t tag) const { in getDefaultType()
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp944 uint16_t upper_inst = *(reinterpret_cast<uint16_t*>(&pReloc.target())); in thm_jump19()
945 uint16_t lower_inst = *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1); in thm_jump19()
976 *(reinterpret_cast<uint16_t*>(&pReloc.target())) = upper_inst; in thm_jump19()
977 *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1) = lower_inst; in thm_jump19()
1051 uint16_t upper_inst = *(reinterpret_cast<uint16_t*>(&pReloc.target())); in thm_call()
1052 uint16_t lower_inst = *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1); in thm_call()
1100 *(reinterpret_cast<uint16_t*>(&pReloc.target())) = upper_inst; in thm_call()
1101 *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1) = lower_inst; in thm_call()
1203 uint16_t upper_inst = *(reinterpret_cast<uint16_t*>(&pReloc.target())); in thm_movw_abs_nc()
1204 uint16_t lower_inst = *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1); in thm_movw_abs_nc()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DELFReaderIf.h98 ResolveInfo::Type getSymType(uint8_t pInfo, uint16_t pShndx) const;
100 ResolveInfo::Desc getSymDesc(uint16_t pShndx, const Input& pInput) const;
103 uint16_t pShndx,
107 uint16_t pShndx,
111 uint16_t pShndx,
/frameworks/native/include/input/
DInputDevice.h37 uint16_t bus;
38 uint16_t vendor;
39 uint16_t product;
40 uint16_t version;
53 uint16_t nonce;
/frameworks/compile/libbcc/include/bcinfo/
DBitcodeWrapper.h35 uint16_t CompilerVersionTag;
36 uint16_t CompilerVersionLen;
38 uint16_t OptimizationLevelTag;
39 uint16_t OptimizationLevelLen;
/frameworks/compile/mclinker/lib/LD/
DDiagnosticInfos.cpp27 uint16_t ID;
29 uint16_t DescriptionLen;
44 { diag::ENUM, CLASS, STR_SIZE(ADDRDESC, uint16_t), ADDRDESC } \
62 { diag::ENUM, CLASS, STR_SIZE(LOCDESC, uint16_t), LOCDESC } \
84 static_cast<uint16_t>(pID), DiagnosticEngine::None, 0, 0}; in getDiagInfo()

12345678910