/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/ |
D | mkvparser.cpp | 27 long long mkvparser::ReadUInt(IMkvReader* pReader, long long pos, long& len) in ReadUInt() argument 43 len = 1; in ReadUInt() 63 ++len; in ReadUInt() 73 for (int i = 1; i < len; ++i) in ReadUInt() 79 len = 1; in ReadUInt() 85 len = 1; in ReadUInt() 101 long& len) in GetUIntLength() argument 112 len = 1; in GetUIntLength() 134 ++len; in GetUIntLength() 335 long len; in ParseElementHeader() local [all …]
|
/hardware/libhardware_legacy/qemu/ |
D | qemu.c | 55 qemu_fd_write( int fd, const char* cmd, int len ) in qemu_fd_write() argument 59 len2 = write(fd, cmd, len); in qemu_fd_write() 65 qemu_fd_read( int fd, char* buff, int len ) in qemu_fd_read() argument 69 len2 = read(fd, buff, len); in qemu_fd_read() 257 int len; in qemu_command_vformat() local 262 len = vsnprintf(buffer+4, buffer_size-4, format, args); in qemu_command_vformat() 263 if (len >= buffer_size-4) in qemu_command_vformat() 266 snprintf(header, sizeof header, "%04x", len); in qemu_command_vformat() 268 return len + 4; in qemu_command_vformat() 302 qemu_control_send(const char* cmd, int len) in qemu_control_send() argument [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 59 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktcopy() argument 63 if (len < 0) in pktcopy() 64 len = 4096; /* "infinite" */ in pktcopy() 77 for (; p && len; p = PKTNEXT(osh, p)) { in pktcopy() 78 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktcopy() 81 len -= n; in pktcopy() 91 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktfrombuf() argument 106 for (; p && len; p = PKTNEXT(osh, p)) { in pktfrombuf() 107 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktfrombuf() 110 len -= n; in pktfrombuf() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
D | mkvparser.cpp | 32 long long mkvparser::ReadUInt(IMkvReader* pReader, long long pos, long& len) in ReadUInt() argument 48 len = 1; in ReadUInt() 68 ++len; in ReadUInt() 78 for (int i = 1; i < len; ++i) in ReadUInt() 84 len = 1; in ReadUInt() 90 len = 1; in ReadUInt() 106 long& len) in GetUIntLength() argument 117 len = 1; in GetUIntLength() 139 ++len; in GetUIntLength() 340 long len; in ParseElementHeader() local [all …]
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
D | netlink.h | 87 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) argument 90 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) argument 91 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) argument 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(… argument 95 …e NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct … argument 96 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument 167 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) argument
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
D | netlink.h | 79 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) argument 81 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) argument 82 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) argument 84 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument 88 (nlh)->nlmsg_len <= (len)) 89 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument 180 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) argument
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 84 inv_error_t inv_write_cal(unsigned char *cal, size_t len) in inv_write_cal() argument 90 if (len <= 0) { in inv_write_cal() 94 MPL_LOGV("cal data size to write = %d", len); in inv_write_cal() 101 bytesWritten = fwrite(cal, 1, len, fp); in inv_write_cal() 102 if (bytesWritten != len) { in inv_write_cal() 104 bytesWritten, len); in inv_write_cal() 137 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len) in inv_load_cal_V0() argument 149 result = inv_load_mpl_states(calData, len); in inv_load_cal_V0() 176 inv_error_t inv_load_cal_V1(unsigned char *calData, size_t len) in inv_load_cal_V1() argument 197 int len = 0; in inv_load_cal() local [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 84 inv_error_t inv_write_cal(unsigned char *cal, size_t len) in inv_write_cal() argument 90 if (len <= 0) { in inv_write_cal() 94 MPL_LOGV("cal data size to write = %d", len); in inv_write_cal() 101 bytesWritten = fwrite(cal, 1, len, fp); in inv_write_cal() 102 if (bytesWritten != len) { in inv_write_cal() 104 bytesWritten, len); in inv_write_cal() 137 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len) in inv_load_cal_V0() argument 149 result = inv_load_mpl_states(calData, len); in inv_load_cal_V0() 176 inv_error_t inv_load_cal_V1(unsigned char *calData, size_t len) in inv_load_cal_V1() argument 197 int len = 0; in inv_load_cal() local [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/src/ |
D | halloc.c | 58 void * halloc(void * ptr, size_t len) in halloc() argument 72 if (! len) in halloc() 75 p = allocator(0, len + sizeof_hblock); in halloc() 91 if (len) in halloc() 93 p = allocator(p, len + sizeof_hblock); in halloc() 144 void * h_malloc(size_t len) in h_malloc() argument 146 return halloc(0, len); in h_malloc() 149 void * h_calloc(size_t n, size_t len) in h_calloc() argument 151 void * ptr = halloc(0, len*=n); in h_calloc() 152 return ptr ? memset(ptr, 0, len) : NULL; in h_calloc() [all …]
|
/hardware/qcom/display/msm8084/libqservice/ |
D | IQHDMIClient.cpp | 57 void onCECMessageRecieved(char *msg, ssize_t len) in onCECMessageRecieved() argument 61 data.writeInt32(len); in onCECMessageRecieved() 62 void *buf = data.writeInplace(len); in onCECMessageRecieved() 63 memcpy(buf, msg, len); in onCECMessageRecieved() 84 ssize_t len = data.readInt32(); in onTransact() local 86 if(len >= 0 && len <= (ssize_t) data.dataAvail()) { in onTransact() 87 msg = data.readInplace(len); in onTransact() 90 len = 0; in onTransact() 92 onCECMessageRecieved((char*) msg, len); in onTransact()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
D | p2p.h | 43 uint8 len; /* IE length */ member 88 uint8 len[2]; /* SE length not including eltId, len fields */ member 115 uint8 len[2]; /* SE length not including eltId, len fields */ member 123 uint8 len[2]; /* SE length not including eltId, len fields */ member 132 uint8 len[2]; /* SE length not including eltId, len fields */ member 142 uint8 len[2]; /* SE length not including eltId, len fields */ member 150 uint8 len[2]; /* SE length not including eltId, len fields */ member 159 uint8 len[2]; /* SE length not including eltId, len fields */ member 169 uint8 len[2]; /* SE length not including eltId, len fields */ member 205 uint8 len[2]; /* length not including eltId, len fields */ member [all …]
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayUtils.cpp | 330 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 338 strlcat(buf, str, len); in getDump() 339 getDump(buf, len, "\tsrc", ov.src); in getDump() 340 getDump(buf, len, "\tsrc_rect", ov.src_rect); in getDump() 341 getDump(buf, len, "\tdst_rect", ov.dst_rect); in getDump() 344 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 351 strlcat(buf, str_src, len); in getDump() 354 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 360 strlcat(buf, str_rect, len); in getDump() 363 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument [all …]
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayUtils.cpp | 337 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 345 strlcat(buf, str, len); in getDump() 346 getDump(buf, len, "\tsrc", ov.src); in getDump() 347 getDump(buf, len, "\tsrc_rect", ov.src_rect); in getDump() 348 getDump(buf, len, "\tdst_rect", ov.dst_rect); in getDump() 351 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 358 strlcat(buf, str_src, len); in getDump() 361 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 367 strlcat(buf, str_rect, len); in getDump() 370 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 131 long len; in inv_load_mpl_states() local 133 len = length; // Important so we get negative numbers in inv_load_mpl_states() 134 if (data == NULL || len == 0) in inv_load_mpl_states() 136 if (len < sizeof(struct data_header_t)) in inv_load_mpl_states() 141 len = MIN(hd->size, len); in inv_load_mpl_states() 142 len = hd->size; in inv_load_mpl_states() 143 len -= sizeof(struct data_header_t); in inv_load_mpl_states() 145 checksum = inv_checksum(data, len); in inv_load_mpl_states() 149 while (len > (long)sizeof(struct data_header_t)) { in inv_load_mpl_states() 153 len -= sizeof(struct data_header_t); in inv_load_mpl_states() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 131 long len; in inv_load_mpl_states() local 133 len = length; // Important so we get negative numbers in inv_load_mpl_states() 134 if (data == NULL || len == 0) in inv_load_mpl_states() 136 if (len < sizeof(struct data_header_t)) in inv_load_mpl_states() 141 len = MIN(hd->size, len); in inv_load_mpl_states() 142 len = hd->size; in inv_load_mpl_states() 143 len -= sizeof(struct data_header_t); in inv_load_mpl_states() 145 checksum = inv_checksum(data, len); in inv_load_mpl_states() 149 while (len > (long)sizeof(struct data_header_t)) { in inv_load_mpl_states() 153 len -= sizeof(struct data_header_t); in inv_load_mpl_states() [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayUtils.cpp | 406 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 414 strlcat(buf, str, len); in getDump() 415 getDump(buf, len, "\tsrc", ov.src); in getDump() 416 getDump(buf, len, "\tsrc_rect", ov.src_rect); in getDump() 417 getDump(buf, len, "\tdst_rect", ov.dst_rect); in getDump() 420 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 427 strlcat(buf, str_src, len); in getDump() 430 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 436 strlcat(buf, str_rect, len); in getDump() 439 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument [all …]
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/utils/ |
D | Dump.cpp | 24 Dump::Dump(char *buf, int len) in Dump() argument 26 mLen(len) in Dump() 38 int len; in append() local 45 len = vsnprintf(mBuf, mLen, fmt, ap); in append() 48 mLen -= len; in append() 49 mBuf += len; in append()
|
/hardware/intel/img/hwcomposer/merrifield/common/utils/ |
D | Dump.cpp | 24 Dump::Dump(char *buf, int len) in Dump() argument 26 mLen(len) in Dump() 38 int len; in append() local 45 len = vsnprintf(mBuf, mLen, fmt, ap); in append() 48 mLen -= len; in append() 49 mBuf += len; in append()
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayUtils.cpp | 329 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 337 getDump(buf, len, "\tsrc(msmfb_img)", ov.src); in getDump() 338 getDump(buf, len, "\tsrc_rect(mdp_rect)", ov.src_rect); in getDump() 339 getDump(buf, len, "\tdst_rect(mdp_rect)", ov.dst_rect); in getDump() 342 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 352 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 361 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 368 getDump(buf, len, "\tdata(msmfb_data)", ov.data); in getDump() 371 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument 381 void getDump(char *buf, size_t len, const char *prefix, in getDump() argument [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/ |
D | halloc.h | 23 void * halloc (void * block, size_t len); 29 void * h_malloc (size_t len); 30 void * h_calloc (size_t n, size_t len); 31 void * h_realloc(void * p, size_t len); 38 typedef void * (* realloc_t)(void * ptr, size_t len);
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | gscan_event_handler.cpp | 260 u32 len = 0; in gscan_parse_hotlist_ap_results() local 299 len = nla_len(tb2[ in gscan_parse_hotlist_ap_results() 301 len = in gscan_parse_hotlist_ap_results() 302 sizeof(results->ssid) <= len ? sizeof(results->ssid) : len; in gscan_parse_hotlist_ap_results() 305 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_SSID]), len); in gscan_parse_hotlist_ap_results() 315 len = nla_len( in gscan_parse_hotlist_ap_results() 317 len = in gscan_parse_hotlist_ap_results() 318 sizeof(results->bssid) <= len ? sizeof(results->bssid) : len; in gscan_parse_hotlist_ap_results() 321 tb2[QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_BSSID]), len); in gscan_parse_hotlist_ap_results() 398 u32 len = 0; in gscan_get_significant_change_results() local [all …]
|
/hardware/ti/omap4-aah/ion/ |
D | ion_test.c | 18 size_t len = 1024*1024, align = 0; variable 41 ret = ion_alloc(*fd, len, align, alloc_flags, handle); in _ion_alloc_test() 95 len = height * stride; in ion_map_test() 96 ret = ion_map(fd, handle, len, prot, map_flags, 0, &ptr, &map_fd); in ion_map_test() 103 for (i = 0; i < len; i++) { in ion_map_test() 106 for (i = 0; i < len; i++) in ion_map_test() 114 munmap(ptr, len); in ion_map_test() 121 munmap(ptr, len); in ion_map_test() 125 _ion_alloc_test(len, align, flags, &fd, &handle); in ion_map_test() 127 ret = ion_map(fd, handle, len, prot, flags, 0, &ptr, &map_fd); in ion_map_test() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/ |
D | EbmlWriter.c | 63 int len; in Ebml_WriteID() local 66 len = 4; in Ebml_WriteID() 68 len = 3; in Ebml_WriteID() 70 len = 2; in Ebml_WriteID() 72 len = 1; in Ebml_WriteID() 74 Ebml_Serialize(glob, (void *)&class_id, sizeof(class_id), len); in Ebml_WriteID() 117 unsigned char len = 0x88; in Ebml_SerializeFloat() local 120 Ebml_Serialize(glob, &len, sizeof(len), 1); in Ebml_SerializeFloat()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_uevents.cpp | 56 static bool getPanelResetStatus(hwc_context_t* ctx, const char* strUdata, int len) in getPanelResetStatus() argument 60 while(((iter_str - strUdata) <= len) && (*iter_str)) { in getPanelResetStatus() 75 static int getConnectedState(const char* strUdata, int len) in getConnectedState() argument 78 while(((iter_str - strUdata) <= len) && (*iter_str)) { in getConnectedState() 88 static void handle_uevent(hwc_context_t* ctx, const char* udata, int len) in handle_uevent() argument 90 bool bpanelReset = getPanelResetStatus(ctx, udata, len); in handle_uevent() 102 int switch_state = getConnectedState(udata, len); in handle_uevent() 211 int len = 0; in uevent_loop() local 223 len = uevent_next_event(udata, (int)sizeof(udata) - 2); in uevent_loop() 224 handle_uevent(ctx, udata, len); in uevent_loop()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_treewriter.h | 26 int len; member 32 const vp9_prob *probs, int bits, int len, in vp9_write_tree() argument 35 const int bit = (bits >> --len) & 1; in vp9_write_tree() 38 } while (len); in vp9_write_tree() 44 vp9_write_tree(w, tree, probs, token->value, token->len, 0); in vp9_write_token()
|