Home
last modified time | relevance | path

Searched refs:u16 (Results 1 – 25 of 34) sorted by relevance

12

/system/core/libpixelflinger/
Dcol32cb16blend_neon.S46 vmov.u16 q15, #256 // create alpha constant
48 vmov.u16 q14, #0x1f // create blue mask
64 vsub.u16 q3, q15, q3 // invert alpha
78 vshr.u16 q8, q10, #11 // shift dst red0 to low 5 bits
80 vshl.u16 q9, q10, #5 // shift dst green0 to top 6 bits
82 vshr.u16 q9, q9, #10 // shift dst green0 to low 6 bits
83 vmul.u16 q8, q8, q3 // multiply dst red0 by src alpha
84 vshl.u16 q12, q11, #5 // shift dst green1 to top 6 bits
85 vmul.u16 q9, q9, q3 // multiply dst green0 by src alpha
86 vshr.u16 q13, q11, #11 // shift dst red1 to low 5 bits
[all …]
/system/extras/ext4_utils/
Dcontents.h27 u16 mode;
28 u16 uid;
29 u16 gid;
40 int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtime);
Dcrc16.c14 static u16 crc16_tab[] = {
49 u16 ext4_crc16(u16 crc_in, const void *buf, int size) in ext4_crc16()
52 u16 crc = crc_in; in ext4_crc16()
Dext4_utils.h81 typedef unsigned short int u16; typedef
91 u16 bg_free_blocks_count;
92 u16 bg_free_inodes_count;
93 u16 bg_used_dirs_count;
94 u16 bg_flags;
96 u16 bg_reserved16;
97 u16 bg_checksum;
154 u16 ext4_crc16(u16 crc_in, const void *buf, int size);
Dallocate.h58 u16 flags;
59 u16 used_dirs;
82 u16 get_directories(int bg);
83 u16 get_bg_flags(int bg);
Dcontents.c68 u16 rec_len = 8 + EXT4_ALIGN(name_len, 4); in add_dentry()
247 int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtime) in inode_set_permissions()
Dext4_utils.c59 u16 time_mid;
60 u16 time_hi_and_version;
63 u16 node0_1;
499 u16 crc; in ext4_update_free()
/system/core/libsparse/
Dsparse_defs.h25 #define __le16 u16
29 #define __be16 u16
33 #define __u16 u16
39 typedef unsigned short int u16; typedef
/system/bt/stack/include/
Dbt_types.h239 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} argument
252 #define STREAM_TO_UINT16(u16, p) {u16 = ((UINT16)(*(p)) + (((UINT16)(*((p) + 1))) << 8)); (p) += 2;} argument
273 #define UINT16_TO_FIELD(p, u16) {*(UINT8 *)(p) = (UINT8)(u16); *((UINT8 *)(p)+1) = (UINT8)((u16) >>… argument
282 #define UINT16_TO_BE_STREAM(p, u16) {*(p)++ = (UINT8)((u16) >> 8); *(p)++ = (UINT8)(u16);} argument
288 #define BE_STREAM_TO_UINT16(u16, p) {u16 = (UINT16)(((UINT16)(*(p)) << 8) + (UINT16)(*((p) + 1))); … argument
305 #define UINT16_TO_BE_FIELD(p, u16) {*(UINT8 *)(p) = (UINT8)((u16) >> 8); *((UINT8 *)(p)+1) = (UINT8… argument
Dhcimsgs.h616 #define HCID_GET_HANDLE(u16) (UINT16)((u16) & HCI_DATA_HANDLE_MASK) argument
620 #define HCID_GET_EVENT(u16) (UINT8)(((u16) >> HCI_DATA_EVENT_OFFSET) & HCI_DATA_EVENT_MASK) argument
624 #define HCID_GET_BCAST(u16) (UINT8)(((u16) >> HCI_DATA_BCAST_OFFSET) & HCI_DATA_BCAST_MASK) argument
/system/bt/stack/sdp/
Dsdp_api.c355 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16; in SDP_FindServiceUUIDInRec()
389 p_uuid->uu.uuid16 = p_extra_sattr->attr_value.v.u16; in SDP_FindServiceUUIDInRec()
405 p_uuid->uu.uuid16 = p_attr->attr_value.v.u16; in SDP_FindServiceUUIDInRec()
515 p_sattr->attr_value.v.u16, service_uuid); in SDP_FindServiceInDb()
518 …if( (p_sattr->attr_value.v.u16==UUID_SERVCLASS_HDP_SOURCE) || ( p_sattr->attr_value.v.u16==UUID_SE… in SDP_FindServiceInDb()
529 && p_sattr->attr_value.v.u16 == service_uuid))) in SDP_FindServiceInDb()
550 … && ((p_extra_sattr->attr_value.v.u16 == service_uuid) || (service_uuid == 0))) in SDP_FindServiceInDb()
565 && ((p_attr->attr_value.v.u16 == service_uuid) || service_uuid == 0)) in SDP_FindServiceInDb()
743 && (p_sattr->attr_value.v.u16 == layer_uuid)) in sdp_fill_proto_elem()
756 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u16; in sdp_fill_proto_elem()
[all …]
Dsdp_utils.c583 UINT16 u16; in sdpu_get_len_from_type() local
608 BE_STREAM_TO_UINT16 (u16, p); in sdpu_get_len_from_type()
609 *p_len = u16; in sdpu_get_len_from_type()
781 return (BOOLEAN)(p_btuuid->uu.uuid16 == p_attr->attr_value.v.u16); in sdpu_compare_uuid_with_attr()
Dsdp_discovery.c910 BE_STREAM_TO_UINT16 (p_attr->attr_value.v.u16, p); in add_attr()
925 BE_STREAM_TO_UINT16 (p_attr->attr_value.v.u16, p); in add_attr()
933 p_attr->attr_value.v.u16 = (UINT16) p_attr->attr_value.v.u32; in add_attr()
945 BE_STREAM_TO_UINT16 (p_attr->attr_value.v.u16, p); in add_attr()
/system/bt/bta/sdp/
Dbta_sdp_act.c81 uint16_t u16; in shorten_sdp_uuid() local
82 memcpy(&u16, &u->uu.uuid128[2], sizeof(u16)); in shorten_sdp_uuid()
83 su.uu.uuid16 = ntohs(u16); in shorten_sdp_uuid()
129 record->mns.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_mns_sdp_record()
182 record->mas.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_mas_sdp_record()
228 record->pse.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_pse_sdp_record()
264 record->ops.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_ops_sdp_record()
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
Dtypes.h26 typedef unsigned short u16; typedef
Devent.h90 u16 offset;
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Dtypes.h14 typedef unsigned short u16; typedef
Dheader.h146 struct dso *pos, u16 misc,
/system/bt/stack/hid/
Dhidh_api.c186 p_nvi->rel_num = p_attr->attr_value.v.u16; in hidh_search_callback()
201 p_nvi->hpars_ver = p_attr->attr_value.v.u16; in hidh_search_callback()
207 p_nvi->sup_timeout = p_attr->attr_value.v.u16; in hidh_search_callback()
213 p_nvi->ssr_max_latency = p_attr->attr_value.v.u16; in hidh_search_callback()
221 p_nvi->ssr_min_tout = p_attr->attr_value.v.u16; in hidh_search_callback()
/system/bt/btif/src/
Dbtif_gatt_util.c201 UINT16 u16; in get_uuid16() local
203 STREAM_TO_UINT16(u16, p); in get_uuid16()
204 return u16; in get_uuid16()
/system/bt/bta/hf_client/
Dbta_hf_client_sdp.c259 bta_hf_client_cb.scb.peer_features = p_attr->attr_value.v.u16; in bta_hf_client_sdp_find_attr()
271 if (p_attr->attr_value.v.u16 == 0x01) in bta_hf_client_sdp_find_attr()
/system/bt/bta/av/
Dbta_av_act.c376 UINT16 u16; in bta_av_group_navi_supported() local
382 BE_STREAM_TO_UINT16(u16, p_ptr); in bta_av_group_navi_supported()
388 if (u16 <= AVRC_PDU_PREV_GROUP) in bta_av_group_navi_supported()
393 if (u16 <= AVRC_PDU_PREV_GROUP) in bta_av_group_navi_supported()
731 UINT16 u16; in bta_av_chk_notif_evt_id() local
734 BE_STREAM_TO_UINT16 (u16, p); in bta_av_chk_notif_evt_id()
736 if ((u16 != 5) || (p_vendor->vendor_len != 9)) in bta_av_chk_notif_evt_id()
772 UINT16 u16; in bta_av_proc_meta_cmd() local
806 BE_STREAM_TO_UINT16 (u16, p); in bta_av_proc_meta_cmd()
807 if ((u16 != 1) || (p_vendor->vendor_len != 5)) in bta_av_proc_meta_cmd()
[all …]
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/
Dperf.h192 u16 stack_dump_size;
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/
Dperf.h233 u16 stack_dump_size;
/system/bt/bta/hl/
Dbta_hl_sdp.c67 p_list->list_elem[list_cnt].data_type = p_sattr->attr_value.v.u16; in bta_hl_fill_sup_feature_list()
612 && ( (p_sattr->attr_value.v.u16 == UUID_SERVCLASS_HDP_SINK) || in bta_hl_find_sink_or_src_srv_class_in_db()
613 (p_sattr->attr_value.v.u16 == UUID_SERVCLASS_HDP_SOURCE)) ) in bta_hl_find_sink_or_src_srv_class_in_db()

12