/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 54 void loc_eng_nmea_send(char *pNmea, int length, loc_eng_data_s_type *loc_eng_data_p) in loc_eng_nmea_send() argument 60 loc_eng_data_p->nmea_cb(now, pNmea, length); in loc_eng_nmea_send() 83 int length = 0; in loc_eng_nmea_put_checksum() local 89 length++; in loc_eng_nmea_put_checksum() 92 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum() 93 return (length + checksumLength); in loc_eng_nmea_put_checksum() 122 int length = 0; in loc_eng_nmea_generate_pos() local 158 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos() 160 if (length < 0 || length >= lengthRemaining) in loc_eng_nmea_generate_pos() 165 pMarker += length; in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 57 void loc_eng_nmea_send(char *pNmea, int length, loc_eng_data_s_type *loc_eng_data_p) in loc_eng_nmea_send() argument 64 loc_eng_data_p->nmea_cb(now, pNmea, length); in loc_eng_nmea_send() 87 int length = 0; in loc_eng_nmea_put_checksum() local 93 length++; in loc_eng_nmea_put_checksum() 96 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum() 97 return (length + checksumLength); in loc_eng_nmea_put_checksum() 126 int length = 0; in loc_eng_nmea_generate_pos() local 162 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos() 164 if (length < 0 || length >= lengthRemaining) in loc_eng_nmea_generate_pos() 169 pMarker += length; in loc_eng_nmea_generate_pos() [all …]
|
/hardware/invensense/60xx/mlsdk/platform/linux/ |
D | mlsl_linux_mpu.c | 279 unsigned short length, in inv_serial_write() argument 291 msg.length = length; in inv_serial_write() 296 data[0], length, result); in inv_serial_write() 302 for (ii = 0; ii < length; ii++) { in inv_serial_write() 307 data[0], length, data_buff); in inv_serial_write() 316 unsigned short length, in inv_serial_read() argument 328 msg.length = length; in inv_serial_read() 335 result, registerAddr, length); in inv_serial_read() 341 for (ii = 0; ii < length; ii++) { in inv_serial_read() 346 registerAddr, length, data_buff); in inv_serial_read() [all …]
|
/hardware/intel/common/libva/va/x11/ |
D | va_dristr.h | 62 CARD16 length B16; 70 CARD32 length B32; 84 CARD16 length B16; 93 CARD32 length B32; 109 CARD16 length B16; 118 CARD32 length B32; 131 CARD16 length B16; 141 CARD32 length B32; 154 CARD16 length B16; 162 CARD16 length B16; [all …]
|
D | va_dri2str.h | 69 CARD16 length B16; 79 CARD32 length B32; 92 CARD16 length B16; 102 CARD32 length B32; 115 CARD16 length B16; 125 CARD32 length B32; 138 CARD16 length B16; 146 CARD16 length B16; 154 CARD16 length B16; 164 CARD32 length B32; [all …]
|
/hardware/libhardware/tests/keymaster/ |
D | keymaster_test.cpp | 44 UniqueBlob(size_t length) : in UniqueBlob() argument 45 mLength(length) { in UniqueBlob() 48 UniqueBlob(uint8_t* bytes, size_t length) : in UniqueBlob() argument 49 UniquePtr<uint8_t[]>(bytes), mLength(length) { in UniqueBlob() 53 if (other.length() != mLength) { in operator ==() 69 size_t length() const { in length() function in android::UniqueBlob 80 const size_t length = blob.mLength; in operator <<() local 81 stream << "Blob length=" << length << " < "; in operator <<() 84 for (size_t i = 0; i < length; i++) { in operator <<() 95 UniqueKey(keymaster_device_t** dev, uint8_t* bytes, size_t length) : in UniqueKey() argument [all …]
|
/hardware/invensense/60xx/mlsdk/mllite/ |
D | mldl.c | 153 unsigned short length, in inv_get_mpu_memory_original() argument 163 if (offset >= localDmpMemorySize || (offset + length) > localDmpMemorySize) { in inv_get_mpu_memory_original() 167 memcpy(buffer, &localDmpMemory[offset], length); in inv_get_mpu_memory_original() 733 unsigned short length, unsigned char *buffer) in inv_get_mpu_memory_one_bank() argument 739 ((memAddr + length) > MPU_MEM_BANK_SIZE) || (NULL == buffer)) { in inv_get_mpu_memory_one_bank() 744 memcpy(buffer, &mldlCfg.ram[bank][memAddr], length); in inv_get_mpu_memory_one_bank() 748 ((bank << 8) | memAddr), length, buffer); in inv_get_mpu_memory_one_bank() 778 unsigned short length, in inv_set_mpu_memory_one_bank() argument 785 ((memAddr + length) > MPU_MEM_BANK_SIZE) || (NULL == buffer)) { in inv_set_mpu_memory_one_bank() 789 different = memcmp(&mldlCfg.ram[bank][memAddr], buffer, length); in inv_set_mpu_memory_one_bank() [all …]
|
D | mldl.h | 137 unsigned short length, 140 unsigned short length, 143 unsigned short length, 152 unsigned short length, 167 unsigned short length, 171 unsigned short length,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_resize.c | 312 static void down2_symeven(const uint8_t *const input, int length, in down2_symeven() argument 320 int l2 = (length - filter_len_half); in down2_symeven() 325 for (i = 0; i < length; i += 2) { in down2_symeven() 329 input[(i + 1 + j >= length ? length - 1 : i + 1 + j)]) * in down2_symeven() 355 for (; i < length; i += 2) { in down2_symeven() 359 input[(i + 1 + j >= length ? length - 1 : i + 1 + j)]) * in down2_symeven() 368 static void down2_symodd(const uint8_t *const input, int length, in down2_symodd() argument 376 int l2 = (length - filter_len_half + 1); in down2_symodd() 381 for (i = 0; i < length; i += 2) { in down2_symodd() 385 input[(i + j >= length ? length - 1 : i + j)]) * in down2_symodd() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/ |
D | nestegg.c | 145 size_t length; member 291 size_t length; member 514 ne_io_read(nestegg_io * io, void * buffer, size_t length) in ne_io_read() argument 516 return io->read(buffer, length, io->userdata); in ne_io_read() 526 ne_io_read_skip(nestegg_io * io, size_t length) in ne_io_read_skip() argument 532 while (length > 0) { in ne_io_read_skip() 533 get = length < sizeof(buf) ? length : sizeof(buf); in ne_io_read_skip() 537 length -= get; in ne_io_read_skip() 550 ne_bare_read_vint(nestegg_io * io, uint64_t * value, uint64_t * length, enum vint_mask maskflag) in ne_bare_read_vint() argument 568 if (length) in ne_bare_read_vint() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
D | mlsl.h | 122 unsigned short length, 139 unsigned short length, 161 unsigned short length, 181 unsigned short length, 197 unsigned short length, 213 unsigned short length,
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
D | mlsl.h | 122 unsigned short length, 139 unsigned short length, 161 unsigned short length, 181 unsigned short length, 197 unsigned short length, 213 unsigned short length,
|
/hardware/invensense/60xx/libsensors_iio/software/core/driver/include/ |
D | mlsl.h | 122 unsigned short length, 139 unsigned short length, 161 unsigned short length, 181 unsigned short length, 197 unsigned short length, 213 unsigned short length,
|
/hardware/invensense/60xx/mlsdk/platform/include/ |
D | mlsl.h | 137 unsigned short length, 154 unsigned short length, 173 unsigned short length, 190 unsigned short length, 205 unsigned short length, 220 unsigned short length,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
D | mkvmuxerutil.cpp | 295 const int32 length = strlen(value); in WriteEbmlElement() local 296 if (WriteUInt(writer, length)) in WriteEbmlElement() 299 if (writer->Write(value, length)) in WriteEbmlElement() 326 uint64 length, in WriteSimpleBlock() argument 333 if (!data || length < 1) in WriteSimpleBlock() 354 const int32 size = static_cast<int32>(length) + 4; in WriteSimpleBlock() 371 if (writer->Write(data, static_cast<uint32>(length))) in WriteSimpleBlock() 375 GetUIntSize(kMkvSimpleBlock) + GetCodedUIntSize(size) + 4 + length; in WriteSimpleBlock() 396 uint64 length, in WriteMetadataBlock() argument 409 const uint64 block_payload_size = 4 + length; in WriteMetadataBlock() [all …]
|
D | mkvmuxer.cpp | 141 bool Frame::Init(const uint8* frame, uint64 length) { in Init() argument 143 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT in Init() 149 length_ = length; in Init() 155 bool Frame::AddAdditionalData(const uint8* additional, uint64 length, in AddAdditionalData() argument 158 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT in AddAdditionalData() 164 additional_length_ = length; in AddAdditionalData() 412 bool ContentEncoding::SetEncryptionID(const uint8* id, uint64 length) { in SetEncryptionID() argument 413 if (!id || length < 1) in SetEncryptionID() 419 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT in SetEncryptionID() 423 memcpy(enc_key_id_, id, static_cast<size_t>(length)); in SetEncryptionID() [all …]
|
D | mkvwriter.cpp | 29 int32 MkvWriter::Write(const void* buffer, uint32 length) { in Write() argument 33 if (length == 0) in Write() 39 const size_t bytes_written = fwrite(buffer, 1, length, file_); in Write() 41 return (bytes_written == length) ? 0 : -1; in Write()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/ |
D | diff.py | 20 def __init__(self, filename, offset, length): argument 23 self.length = length 32 assert l+1 <= self.length 35 return len(self.lines) == self.length 38 return item >= self.offset and item <= self.offset + self.length - 1 73 max(self.left.length, self.right.length))
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 243 inv_error_t inv_store_cal(unsigned char *calData, size_t length) in inv_store_cal() argument 314 size_t length; in inv_store_calibration() local 316 result = inv_get_mpl_state_size(&length); in inv_store_calibration() 317 calData = (unsigned char *)inv_malloc(length); in inv_store_calibration() 320 "aborting\n", length); in inv_store_calibration() 324 MPL_LOGI("mpl state size = %d", length); in inv_store_calibration() 327 result = inv_save_mpl_states(calData, length); in inv_store_calibration() 338 result = inv_write_cal(calData, length); in inv_store_calibration()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 244 inv_error_t inv_store_cal(unsigned char *calData, size_t length) in inv_store_cal() argument 314 size_t length; in inv_store_calibration() local 316 result = inv_get_mpl_state_size(&length); in inv_store_calibration() 317 calData = (unsigned char *)inv_malloc(length); in inv_store_calibration() 320 "aborting\n", length); in inv_store_calibration() 323 MPL_LOGV("inv_get_mpl state size = %d", length); in inv_store_calibration() 326 result = inv_save_mpl_states(calData, length); in inv_store_calibration() 336 result = inv_write_cal(calData, length); in inv_store_calibration()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 244 inv_error_t inv_store_cal(unsigned char *calData, size_t length) in inv_store_cal() argument 314 size_t length; in inv_store_calibration() local 316 result = inv_get_mpl_state_size(&length); in inv_store_calibration() 317 calData = (unsigned char *)inv_malloc(length); in inv_store_calibration() 320 "aborting\n", length); in inv_store_calibration() 323 MPL_LOGV("inv_get_mpl state size = %d", length); in inv_store_calibration() 326 result = inv_save_mpl_states(calData, length); in inv_store_calibration() 336 result = inv_write_cal(calData, length); in inv_store_calibration()
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
D | queue.c | 27 queue->length = 0; in __queue_init() 60 queue->length++; in __queue_push_head() 75 queue->length++; in queue_push_head() 90 queue->length++; in __queue_push_tail() 107 queue->length++; in queue_push_tail() 120 queue->length--; in __queue_pop_head() 149 queue->length--; in __queue_pop_tail() 205 return queue->length; in queue_length()
|
/hardware/ti/omap4-aah/ion/ |
D | ion.c | 108 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, in ion_map() argument 122 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); in ion_map() 169 int ion_map_cacheable(int fd, struct ion_handle *handle, size_t length, int prot, in ion_map_cacheable() argument 184 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); in ion_map_cacheable() 192 int ion_flush_cached(int fd, struct ion_handle *handle, size_t length, in ion_flush_cached() argument 198 .size = length, in ion_flush_cached() 203 int ion_inval_cached(int fd, struct ion_handle *handle, size_t length, in ion_inval_cached() argument 209 .size = length, in ion_inval_cached()
|
/hardware/ti/omap4-aah/system-core-headers-ti/ion/ |
D | ion.h | 37 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, 41 int ion_map_cacheable(int fd, struct ion_handle *handle, size_t length, 43 int ion_flush_cached(int fd, struct ion_handle *handle, size_t length, 45 int ion_inval_cached(int fd, struct ion_handle *handle, size_t length,
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioUtil.cpp | 152 int length = 0; in getHDMIAudioSinkCaps() local 156 memcpy(&length, data, sizeof(int)); in getHDMIAudioSinkCaps() 158 ALOGV("Total length is %d",length); in getHDMIAudioSinkCaps() 162 while (length >= MIN_AUDIO_DESC_LENGTH && count < MAX_SHORT_AUDIO_DESC_CNT) { in getHDMIAudioSinkCaps() 167 length -= MIN_AUDIO_DESC_LENGTH; in getHDMIAudioSinkCaps() 232 int length = 0; in getSpeakerAllocation() local 236 memcpy(&length, data, sizeof(int)); in getSpeakerAllocation() 237 ALOGV("Total length is %d",length); in getSpeakerAllocation()
|