Home
last modified time | relevance | path

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

1234567891011

/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 …]
/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.h49 uint16_t getContainerCode() const;
50 void setContainerCode(uint16_t code);
52 uint16_t getContainerType() const;
65 uint16_t getUInt16(int offset) const;
67 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;
/frameworks/minikin/include/minikin/
DHyphenator.h35 static Hyphenator* load(const uint16_t* patternData, size_t size);
42 void hyphenate(std::vector<uint8_t>* result, const uint16_t* word, size_t len);
53 void hyphenateSoft(uint8_t* result, const uint16_t* word, size_t len);
57 bool alphabetLookup(uint16_t* alpha_codes, const uint16_t* word, size_t len);
60 void hyphenateFromCodes(uint8_t* result, const uint16_t* codes, size_t len);
DLayout.h93 void doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
96 static float measureText(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
138 static float doLayoutRunCached(const uint16_t* buf, size_t runStart, size_t runLength,
143 static float doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
148 void doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize,
/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/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/native/cmds/servicemanager/
Dservice_manager.c34 const char *str8(const uint16_t *x, size_t x_len) in str8()
54 int str16eq(const uint16_t *a, const char *b) in str16eq()
123 static int svc_can_register(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) in svc_can_register()
140 static int svc_can_find(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) in svc_can_find()
153 uint16_t name[0];
158 struct svcinfo *find_svc(const uint16_t *s16, size_t len) in find_svc()
164 !memcmp(s16, si->name, len * sizeof(uint16_t))) { in find_svc()
182 uint16_t svcmgr_id[] = {
188 uint32_t do_find_service(const uint16_t *s, size_t len, uid_t uid, pid_t spid) in do_find_service()
213 const uint16_t *s, size_t len, in do_add_service()
[all …]
/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/minikin/libs/minikin/
DHyphenator.cpp35 static const uint16_t CHAR_SOFT_HYPHEN = 0x00AD;
113 void Hyphenator::hyphenate(vector<uint8_t>* result, const uint16_t* word, size_t len) { in hyphenate()
119 uint16_t alpha_codes[MAX_HYPHENATED_SIZE]; in hyphenate()
132 void Hyphenator::hyphenateSoft(uint8_t* result, const uint16_t* word, size_t len) { in hyphenateSoft()
139 bool Hyphenator::alphabetLookup(uint16_t* alpha_codes, const uint16_t* word, size_t len) { in alphabetLookup()
149 uint16_t c = word[i]; in alphabetLookup()
168 uint16_t c = word[i]; in alphabetLookup()
190 void Hyphenator::hyphenateFromCodes(uint8_t* result, const uint16_t* codes, size_t len) { in hyphenateFromCodes()
202 uint16_t c = codes[j]; in hyphenateFromCodes()
DCmapCoverage.cpp143 const uint16_t kUnicodePlatformId = 0; in getCoverage()
144 const uint16_t kMicrosoftPlatformId = 3; in getCoverage()
145 const uint16_t kUnicodeBmpEncodingId = 1; in getCoverage()
146 const uint16_t kVariationSequencesEncodingId = 5; in getCoverage()
147 const uint16_t kUnicodeUcs4EncodingId = 10; in getCoverage()
159 uint16_t platformId = readU16(cmap_data, kHeaderSize + i * kTableSize + kPlatformIdOffset); in getCoverage()
160 uint16_t encodingId = readU16(cmap_data, kHeaderSize + i * kTableSize + kEncodingIdOffset); in getCoverage()
185 uint16_t format = readU16(cmap_data, offset); in getCoverage()
DWordBreaker.cpp41 void WordBreaker::setText(const uint16_t* data, size_t size) { in setText()
72 static bool isBreakValid(const uint16_t* buf, size_t bufEnd, size_t i) { in isBreakValid()
121 static bool breakAfter(uint16_t c) { in breakAfter()
126 static bool breakBefore(uint16_t c) { in breakBefore()
139 uint16_t c = mText[i]; in next()
170 uint16_t lastChar = mText[mLast]; in next()
180 uint16_t thisChar = mText[i]; in next()
/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/base/include/androidfw/
DResourceTypes.h48 static_assert(sizeof(char16_t) == sizeof(uint16_t), "char16_t is not 16 bits");
49 static_assert(alignof(char16_t) == alignof(uint16_t), "char16_t is not 16-bit aligned");
198 uint16_t type;
203 uint16_t headerSize;
263 uint16_t size;
649 uint16_t attributeStart;
652 uint16_t attributeSize;
657 uint16_t attributeCount;
660 uint16_t idIndex;
663 uint16_t classIndex;
[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()
977 *(reinterpret_cast<uint16_t*>(&pReloc.target())) = upper_inst; in thm_jump19()
978 *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1) = lower_inst; in thm_jump19()
1052 uint16_t upper_inst = *(reinterpret_cast<uint16_t*>(&pReloc.target())); in thm_call()
1053 uint16_t lower_inst = *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1); in thm_call()
1102 *(reinterpret_cast<uint16_t*>(&pReloc.target())) = upper_inst; in thm_call()
1103 *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1) = lower_inst; in thm_call()
1205 uint16_t upper_inst = *(reinterpret_cast<uint16_t*>(&pReloc.target())); in thm_movw_abs_nc()
1206 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/minikin/tests/
DWordBreakerTests.cpp39 uint16_t buf[] = {'h', 'e', 'l', 'l' ,'o', ' ', 'w', 'o', 'r', 'l', 'd'}; in TEST_F()
57 uint16_t buf[] = {'h', 'e', 'l', 0x00AD, 'l' ,'o', ' ', 'w', 'o', 'r', 'l', 'd'}; in TEST_F()
73 uint16_t buf[] = {'U', 'S', 0x00A2, ' ', 'J', 'P', 0x00A5}; // US¢ JP¥ in TEST_F()
89 uint16_t buf[] = {0x1004, 0x103A, 0x1039, 0x1000, 0x102C}; // NGA, ASAT, VIRAMA, KA, UU in TEST_F()
102 uint16_t buf[] = { in TEST_F()
131 uint16_t buf[] = { in TEST_F()
148 uint16_t buf[] = {0x00A1, 0x00A1, 'h', 'e', 'l', 'l' ,'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', in TEST_F()
165 uint16_t buf[] = {'f', 'o', 'o', '@', 'e', 'x', 'a', 'm', 'p', 'l', 'e', '.', 'c', 'o', 'm', in TEST_F()
184 uint16_t buf[] = {'m', 'a', 'i', 'l', 't', 'o', ':', 'f', 'o', 'o', '@', in TEST_F()
208 uint16_t buf[] = {'f', 'o', 'o', '@', 'e', 'x', 'a', 'm', 'p', 'l', 'e', '.', 'c', 'o', 'm', in TEST_F()
[all …]
/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/mclinker/lib/LD/
DDiagnosticInfos.cpp27 uint16_t ID;
29 uint16_t DescriptionLen;
44 { diag::ENUM, CLASS, STR_SIZE(ADDRDESC, uint16_t), ADDRDESC } \
63 { diag::ENUM, CLASS, STR_SIZE(LOCDESC, uint16_t), LOCDESC } \
86 static_cast<uint16_t>(pID), DiagnosticEngine::None, 0, 0}; in getDiagInfo()

1234567891011