/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 59 loc_eng_data_p->nmea_cb(now, pNmea, length); in loc_eng_nmea_send() 82 int length = 0; in loc_eng_nmea_put_checksum() local 88 length++; in loc_eng_nmea_put_checksum() 91 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum() 92 return (length + checksumLength); in loc_eng_nmea_put_checksum() 121 int length = 0; in loc_eng_nmea_generate_pos() local 157 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos() 159 if (length < 0 || length >= lengthRemaining) in loc_eng_nmea_generate_pos() 164 pMarker += length; in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 53 void loc_eng_nmea_send(char *pNmea, int length, loc_eng_data_s_type *loc_eng_data_p) in loc_eng_nmea_send() argument 59 loc_eng_data_p->nmea_cb(now, pNmea, length); in loc_eng_nmea_send() 82 int length = 0; in loc_eng_nmea_put_checksum() local 88 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() 96 return (length + checksumLength + 1); in loc_eng_nmea_put_checksum() 131 int length = 0; in loc_eng_nmea_generate_pos() local 165 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos() 167 if (length < 0 || length >= lengthRemaining) in loc_eng_nmea_generate_pos() 172 pMarker += length; in loc_eng_nmea_generate_pos() [all …]
|
D | loc_eng_dmn_conn_glue_msg.c | 214 int length; in loc_eng_dmn_conn_glue_msgflush() local 218 length = loc_eng_dmn_conn_glue_piperead(msgqid, buf, 128); in loc_eng_dmn_conn_glue_msgflush() 220 } while(length); in loc_eng_dmn_conn_glue_msgflush() 221 return length; in loc_eng_dmn_conn_glue_msgflush()
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 53 void loc_eng_nmea_send(char *pNmea, int length, loc_eng_data_s_type *loc_eng_data_p) in loc_eng_nmea_send() argument 59 loc_eng_data_p->nmea_cb(now, pNmea, length); in loc_eng_nmea_send() 82 int length = 0; in loc_eng_nmea_put_checksum() local 88 length++; in loc_eng_nmea_put_checksum() 91 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum() 92 return (length + checksumLength); in loc_eng_nmea_put_checksum() 127 int length = 0; in loc_eng_nmea_generate_pos() local 160 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos() 162 if (length < 0 || length >= lengthRemaining) in loc_eng_nmea_generate_pos() 167 pMarker += length; in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8994/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() 132 int length = 0; in loc_eng_nmea_generate_pos() local 165 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos() 167 if (length < 0 || length >= lengthRemaining) in loc_eng_nmea_generate_pos() 172 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 63 loc_eng_data_p->nmea_cb(now, pNmea, length); in loc_eng_nmea_send() 86 int length = 0; in loc_eng_nmea_put_checksum() local 92 length++; in loc_eng_nmea_put_checksum() 95 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum() 96 return (length + checksumLength); in loc_eng_nmea_put_checksum() 131 int length = 0; in loc_eng_nmea_generate_pos() local 164 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos() 166 if (length < 0 || length >= lengthRemaining) in loc_eng_nmea_generate_pos() 171 pMarker += length; in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8084/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 63 loc_eng_data_p->nmea_cb(now, pNmea, length); in loc_eng_nmea_send() 86 int length = 0; in loc_eng_nmea_put_checksum() local 92 length++; in loc_eng_nmea_put_checksum() 95 int checksumLength = snprintf(pNmea,(maxSize-length-1),"*%02X\r\n", checksum); in loc_eng_nmea_put_checksum() 96 return (length + checksumLength); in loc_eng_nmea_put_checksum() 125 int length = 0; in loc_eng_nmea_generate_pos() local 161 length = snprintf(pMarker, lengthRemaining, "$GPGSA,A,%c,", fixType); in loc_eng_nmea_generate_pos() 163 if (length < 0 || length >= lengthRemaining) in loc_eng_nmea_generate_pos() 168 pMarker += length; in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | nan_ind.cpp | 244 outputTlv.length); in getNanMatch() 247 if (outputTlv.length > NAN_MAX_SERVICE_NAME_LEN) { in getNanMatch() 248 outputTlv.length = NAN_MAX_SERVICE_NAME_LEN; in getNanMatch() 250 event->service_specific_info_len = outputTlv.length; in getNanMatch() 252 outputTlv.length); in getNanMatch() 255 if (outputTlv.length > NAN_MAX_MATCH_FILTER_LEN) { in getNanMatch() 256 outputTlv.length = NAN_MAX_MATCH_FILTER_LEN; in getNanMatch() 258 event->sdf_match_filter_len = outputTlv.length; in getNanMatch() 260 outputTlv.length); in getNanMatch() 263 if (outputTlv.length > sizeof(event->addr)) { in getNanMatch() [all …]
|
D | rb_wrapper.cpp | 88 wifi_error ring_buffer_write(struct rb_info *rb_info, u8 *buf, size_t length, in ring_buffer_write() argument 93 status = rb_write(rb_info->rb_ctx, buf, length, 0, record_length); in ring_buffer_write() 97 status = rb_write(rb_info->rb_ctx, buf, length, 0, record_length); in ring_buffer_write() 99 ALOGE("Failed to rewrite %zu bytes to rb %s with error %d", length, in ring_buffer_write() 104 ALOGE("Failed to write %zu bytes to rb %s with error %d", length, in ring_buffer_write() 121 size_t length = 0; in push_out_rb_data() local 124 buf = rb_get_read_buf(rb_info->rb_ctx, &length); in push_out_rb_data() 134 length, &rbs); in push_out_rb_data()
|
/hardware/interfaces/graphics/composer/2.1/default/ |
D | ComposerClient.h | 136 uint16_t length); 138 bool parseSelectDisplay(uint16_t length); 139 bool parseSelectLayer(uint16_t length); 140 bool parseSetColorTransform(uint16_t length); 141 bool parseSetClientTarget(uint16_t length); 142 bool parseSetOutputBuffer(uint16_t length); 143 bool parseValidateDisplay(uint16_t length); 144 bool parsePresentOrValidateDisplay(uint16_t length); 145 bool parseAcceptDisplayChanges(uint16_t length); 146 bool parsePresentDisplay(uint16_t length); [all …]
|
D | ComposerClient.cpp | 530 uint16_t length = 0; in parse() local 533 if (!beginCommand(&command, &length)) { in parse() 537 bool parsed = parseCommand(command, length); in parse() 542 command, length); in parse() 551 IComposerClient::Command command, uint16_t length) { in parseCommand() argument 554 return parseSelectDisplay(length); in parseCommand() 556 return parseSelectLayer(length); in parseCommand() 558 return parseSetColorTransform(length); in parseCommand() 560 return parseSetClientTarget(length); in parseCommand() 562 return parseSetOutputBuffer(length); in parseCommand() [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/qcom/display/msm8996/sdm/libs/core/ |
D | dump_impl.cpp | 37 DisplayError DumpInterface::GetDump(char *buffer, uint32_t length) { in GetDump() argument 38 if (!buffer || !length) { in GetDump() 43 DumpImpl::AppendString(buffer, length, "\n-------- Snapdragon Display Manager --------"); in GetDump() 45 DumpImpl::dump_list_[i]->AppendDump(buffer, length); in GetDump() 47 DumpImpl::AppendString(buffer, length, "\n\n"); in GetDump() 60 void DumpImpl::AppendString(char *buffer, uint32_t length, const char *format, ...) { in AppendString() argument 63 if ((filled + 1) >= length) { in AppendString() 70 vsnprintf(buffer, length - filled -1, format, list); in AppendString()
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | dump_impl.cpp | 37 DisplayError DumpInterface::GetDump(char *buffer, uint32_t length) { in GetDump() argument 38 if (!buffer || !length) { in GetDump() 43 DumpImpl::AppendString(buffer, length, "\n-------- Snapdragon Display Manager --------"); in GetDump() 45 DumpImpl::dump_list_[i]->AppendDump(buffer, length); in GetDump() 47 DumpImpl::AppendString(buffer, length, "\n\n"); in GetDump() 60 void DumpImpl::AppendString(char *buffer, uint32_t length, const char *format, ...) { in AppendString() argument 63 if ((filled + 1) >= length) { in AppendString() 70 vsnprintf(buffer, length - filled -1, format, list); in AppendString()
|
/hardware/qcom/gps/msm8998/gnss/ |
D | GnssAdapter.cpp | 628 uint32_t length = 0; in gnssUpdateConfigCommand() local 635 length = snprintf(serverUrl, sizeof(serverUrl), "%s:%u", in gnssUpdateConfigCommand() 640 if (sizeof(serverUrl) > length) { in gnssUpdateConfigCommand() 641 err = mApi.setServer(serverUrl, length); in gnssUpdateConfigCommand() 1943 GnssAdapter::reportNmeaEvent(const char* nmea, size_t length, bool fromUlp) in reportNmeaEvent() argument 1949 if (mUlpProxy->reportNmea(nmea, length)) { in reportNmeaEvent() 1960 size_t length) : in reportNmeaEvent() 1963 mNmea(new char[length]), in reportNmeaEvent() 1964 mLength(length) { in reportNmeaEvent() 1965 memcpy((void*)mNmea, (void*)nmea, length); in reportNmeaEvent() [all …]
|
/hardware/google/apf/ |
D | apf_run.c | 30 int length = strlen(input); in parse_hex() local 31 if (length & 1) { in parse_hex() 35 length >>= 1; in parse_hex() 36 *output = malloc(length); in parse_hex() 38 fprintf(stderr, "Out of memory, tried to allocate %d\n", length); in parse_hex() 41 for (int i = 0; i < length; i++) { in parse_hex() 50 return length; in parse_hex()
|
/hardware/libhardware/tests/keymaster/ |
D | keymaster_test.cpp | 44 explicit 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(keymaster0_device_t** dev, uint8_t* bytes, size_t length) : in UniqueKey() argument [all …]
|
/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/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/interfaces/bluetooth/1.0/default/ |
D | hci_protocol.cc | 29 size_t HciProtocol::WriteSafely(int fd, const uint8_t* data, size_t length) { in WriteSafely() argument 31 while (length > 0) { in WriteSafely() 33 TEMP_FAILURE_RETRY(write(fd, data + transmitted_length, length)); in WriteSafely() 47 length -= ret; in WriteSafely()
|
/hardware/interfaces/gnss/1.0/default/ |
D | GnssDebug.cpp | 47 size_t length = mGnssDebugIface->get_internal_state(buffer, kMaxDebugStrLen); in getDebugData() local 48 length = std::max(length, kMaxDebugStrLen); in getDebugData() 49 buffer[length] = '\0'; in getDebugData()
|
/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()
|