Searched refs:uint16_t (Results 101 - 125 of 1145) sorted by relevance

1234567891011>>

/external/mdnsresponder/mDNSShared/
H A Ddnssd_ipc.c81 void put_uint16(uint16_t s, char **ptr)
85 *ptr += sizeof(uint16_t);
88 uint16_t get_uint16(const char **ptr, const char *end)
90 if (!*ptr || *ptr + sizeof(uint16_t) > end)
98 *ptr += sizeof(uint16_t);
99 return((uint16_t) ((uint16_t)p[0] << 8 | p[1]));
H A Ddnssd_clientlib.c39 // disable warning "conversion from <data> to uint16_t"
73 uint16_t txtLen,
169 uint16_t buflen; // Length of buffer
170 uint16_t datalen; // Length currently in use
171 uint16_t malloced; // Non-zero if buffer was allocated via malloc()
186 uint16_t bufferLen,
191 txtRec->buflen = buffer ? bufferLen : (uint16_t)0;
228 txtRec->buflen = (uint16_t)(newlen);
263 uint16_t DNSSD_API TXTRecordGetLength (const TXTRecordRef *txtRecord) { return(txtRec->datalen); }
274 uint16_t txtLe
[all...]
/external/skia/include/core/
H A DSkEndian.h32 static inline uint16_t SkEndianSwap16(U16CPU value) {
33 SkASSERT(value == (uint16_t)value);
34 return static_cast<uint16_t>((value >> 8) | (value << 8));
36 template<uint16_t N> struct SkTEndianSwap16 {
37 static const uint16_t value = static_cast<uint16_t>((N >> 8) | ((N & 0xFF) << 8));
43 static inline void SkEndianSwap16s(uint16_t array[], int count) {
/external/libmtp/src/
H A Dptp.h51 uint16_t Code;
80 #define PTP_USB_BULK_HDR_LEN (2*sizeof(uint32_t)+2*sizeof(uint16_t))
87 uint16_t type;
88 uint16_t code;
108 uint16_t type;
109 uint16_t code;
676 uint16_t StandardVersion;
678 uint16_t VendorExtensionVersion;
680 uint16_t FunctionalMode;
682 uint16_t *OperationsSupporte
[all...]
/external/srtp/crypto/replay/
H A Drdbx.c130 uint16_t local_seq = (uint16_t) (low32(*local));
133 uint16_t local_seq = (uint16_t) *local;
138 uint16_t guess_seq = (uint16_t) (low32(*guess));
141 uint16_t guess_seq = (uint16_t) *guess;
357 return s - (uint16_t) low32(rdbx->index);
359 return s - (uint16_t) rdb
[all...]
/external/kernel-headers/original/linux/mtd/
H A Dcfi.h99 uint16_t P_ID;
100 uint16_t P_ADR;
101 uint16_t A_ID;
102 uint16_t A_ADR;
116 uint16_t InterfaceDesc;
117 uint16_t MaxBufWriteSize;
139 uint16_t BlkStatusRegMask;
143 uint16_t ProtRegAddr;
151 uint16_t FactGroups;
153 uint16_t UserGroup
[all...]
/external/libsepol/include/sepol/policydb/
H A Davtab.h47 uint16_t source_type;
48 uint16_t target_type;
49 uint16_t target_class;
61 uint16_t specified; /* what fields are specified */
84 uint16_t mask; /* mask to compute hash func */
/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsContext3D.cpp47 uint8_t convertColor16LittleTo8(uint16_t value)
52 uint8_t convertColor16BigTo8(uint16_t value)
361 void unpackRGBA16LittleToRGBA8(const uint16_t* source, uint8_t* destination)
369 void unpackRGBA16BigToRGBA8(const uint16_t* source, uint8_t* destination)
385 void unpackRGB16LittleToRGBA8(const uint16_t* source, uint8_t* destination)
393 void unpackRGB16BigToRGBA8(const uint16_t* source, uint8_t* destination)
417 void unpackARGB16LittleToRGBA8(const uint16_t* source, uint8_t* destination)
425 void unpackARGB16BigToRGBA8(const uint16_t* source, uint8_t* destination)
449 void unpackBGRA16LittleToRGBA8(const uint16_t* source, uint8_t* destination)
457 void unpackBGRA16BigToRGBA8(const uint16_t* sourc
[all...]
/external/icu4c/test/perf/unisetperf/draft/
H A Dbitset.cpp32 uint16_t values[0x800];
33 uint16_t reverse[0x400];
34 uint16_t count;
46 uint16_t map(int64_t key) {
69 uint16_t countKeys() const { return count; }
76 uint16_t i;
120 uint16_t zero=bitHash->map(0);
137 uint16_t all=bitHash->map(INT64_C(0xffffffffffffffff));
190 uint16_t index[0x400];
/external/skia/src/core/
H A DSkSpriteBlitter_RGB16.cpp23 static inline void D16_S32A_Blend_Pixel_helper(uint16_t* dst, SkPMColor sc,
25 uint16_t dc = *dst;
58 uint16_t* SK_RESTRICT dst = fDevice->getAddr16(x, y);
59 const uint16_t* SK_RESTRICT src = fSource->getAddr16(x - fLeft,
66 dst = (uint16_t*)((char*)dst + dstRB);
67 src = (const uint16_t*)((const char*)src + srcRB);
74 uint16_t dc = *dst; \
82 #define SkSPRITE_DST_TYPE uint16_t
83 #define SkSPRITE_SRC_TYPE uint16_t
96 uint16_t d
[all...]
H A DSkUtils.cpp40 void sk_memset16_portable(uint16_t dst[], uint16_t value, int count) {
50 *dst++ = (uint16_t)value;
57 *dst++ = (uint16_t)value;
71 dst = (uint16_t*)dst32;
89 *dst = (uint16_t)value;
111 static void sk_memset16_stub(uint16_t dst[], uint16_t value, int count) {
281 int SkUTF16_CountUnichars(const uint16_t src[]) {
297 int SkUTF16_CountUnichars(const uint16_t sr
[all...]
/external/skia/src/utils/
H A DSkOSFile.cpp12 static uint16_t* concat_to_16(const char src[], const char suffix[])
16 uint16_t* dst = (uint16_t*)sk_malloc_throw((len + len2) * sizeof(uint16_t));
40 fStr = (uint16_t*)sk_malloc_throw((len + 1) * sizeof(uint16_t));
79 static bool is_magic_dir(const uint16_t dir[])
101 if ((dataPtr->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) && !is_magic_dir((uint16_t*)dataPtr->cFileName))
114 name->setUTF16((uint16_t*)dataPtr->cFileName);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDIE.h34 uint16_t Attribute;
38 uint16_t Form;
40 DIEAbbrevData(uint16_t A, uint16_t F) : Attribute(A), Form(F) {}
43 uint16_t getAttribute() const { return Attribute; }
44 uint16_t getForm() const { return Form; }
57 uint16_t Tag;
61 uint16_t ChildrenFlag;
72 DIEAbbrev(uint16_t T, uint16_t
[all...]
/external/mtpd/
H A Dpptp.c75 static uint16_t local;
76 static uint16_t remote;
77 static uint16_t state;
91 uint16_t length;
92 uint16_t type;
95 uint16_t message;
96 uint16_t reserved;
99 uint16_t protocol_version;
104 uint16_t channels;
105 uint16_t firmware_revisio
[all...]
/external/libnl-headers/netlink/netfilter/
H A Dct.h94 extern void nfnl_ct_set_src_port(struct nfnl_ct *, int, uint16_t);
96 extern uint16_t nfnl_ct_get_src_port(const struct nfnl_ct *, int);
98 extern void nfnl_ct_set_dst_port(struct nfnl_ct *, int, uint16_t);
100 extern uint16_t nfnl_ct_get_dst_port(const struct nfnl_ct *, int);
102 extern void nfnl_ct_set_icmp_id(struct nfnl_ct *, int, uint16_t);
104 extern uint16_t nfnl_ct_get_icmp_id(const struct nfnl_ct *, int);
/external/skia/emoji/
H A DEmojiFont.cpp145 uint16_t EmojiFont::UnicharToGlyph(int32_t unichar) {
149 uint16_t relative = unichar - GMOJI_PUA_MIN;
150 int index = SkTSearch<uint16_t>(gGmojiPUA, GMOJI_PUA_COUNT, relative,
151 sizeof(uint16_t));
162 SkScalar EmojiFont::GetAdvanceWidth(uint16_t glyphID, const SkPaint& paint) {
183 void EmojiFont::Draw(SkCanvas* canvas, uint16_t glyphID,
/external/webkit/Source/WebCore/platform/android/
H A DPopupMenuAndroid.cpp114 static uint16_t* stringConverter(const WTF::String& text)
117 uint16_t* itemName = new uint16_t[length+1];
118 itemName[0] = (uint16_t)length;
119 uint16_t* firstChar = &(itemName[1]);
130 SkTDArray<const uint16_t*> names;
/external/srtp/crypto/math/
H A Dstat.c27 uint16_t ones_count;
48 uint16_t f[16] = {
82 uint16_t runs[6] = { 0, 0, 0, 0, 0, 0 };
83 uint16_t gaps[6] = { 0, 0, 0, 0, 0, 0 };
84 uint16_t lo_value[6] = { 2315, 1114, 527, 240, 103, 103 };
85 uint16_t hi_value[6] = { 2685, 1386, 723, 384, 209, 209 };
87 uint16_t mask;
200 uint16_t f[16] = {
207 uint16_t runs[6] = { 0, 0, 0, 0, 0, 0 };
208 uint16_t gap
[all...]
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DHarfbuzzSkia.cpp74 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), reinterpret_cast<uint16_t*>(glyphs));
79 uint16_t value;
81 memcpy(&value, reinterpret_cast<char*>(glyphs) + sizeof(uint16_t) * i, sizeof(uint16_t));
97 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[numGlyphs]);
102 paint.getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(advances));
123 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[lengt
[all...]
/external/clang/test/CodeGen/
H A D2009-01-21-InvalidIterator.c4 typedef unsigned short int uint16_t; typedef
7 typedef uint16_t Elf64_Half;
/external/kernel-headers/original/linux/
H A Drpmsg_omx.h134 uint16_t desc; /* descriptor, and omx service status */
135 uint16_t msg_id; /* message id */
/external/libnfc-nxp/src/
H A DphOsalNfc.h60 // uint16_t Size;/**< Size of the datablock*/
88 uint16_t reason;
129 uint16_t reason);
/external/libnl-headers/netlink/
H A Dnetlink-kernel.h37 uint16_t nlmsg_type;
42 uint16_t nlmsg_flags;
/external/qemu/
H A Dioport-user.c32 void cpu_outw(pio_addr_t addr, uint16_t val)
50 uint16_t cpu_inw(pio_addr_t addr)
H A Dioport.h47 void cpu_outw(pio_addr_t addr, uint16_t val);
50 uint16_t cpu_inw(pio_addr_t addr);

Completed in 525 milliseconds

1234567891011>>