Home
last modified time | relevance | path

Searched refs:entry_size (Results 1 – 12 of 12) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Ddisk_cache.c483 unsigned entry_size = compressed_size + sizeof(*entry); in blob_put_compressed() local
485 cache->blob_put_cb(key, CACHE_KEY_SIZE, entry, entry_size); in blob_put_compressed()
507 signed long entry_size = in blob_get_compressed() local
511 if (!entry_size) { in blob_get_compressed()
522 unsigned compressed_size = entry_size - sizeof(*entry); in blob_get_compressed()
Dmesa_cache_db.c972 unsigned entry_size = blob_file_size(entries[i]->size); in mesa_cache_db_eviction_score() local
979 double entry_score = entry_size * entry_scale; in mesa_cache_db_eviction_score()
982 eviction_size -= entry_size; in mesa_cache_db_eviction_score()
/hardware/interfaces/camera/common/default/
DExif.cpp867 size_t entry_size = buffer.length(); in setString() local
870 entry_size++; in setString()
873 addVariableLengthEntry(ifd, tag, format, entry_size, entry_size); in setString()
878 memcpy(entry->data, buffer.c_str(), entry_size); in setString()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DExifUtils.cpp886 size_t entry_size = buffer.length(); in SetString() local
889 entry_size++; in SetString()
892 AddVariableLengthEntry(ifd, tag, format, entry_size, entry_size); in SetString()
897 memcpy(entry->data, buffer.c_str(), entry_size); in SetString()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dwifilogger_diag.cpp143 rbe->entry_size = size; in update_connectivity_ring_buf()
817 rb_entry_hdr.entry_size = length; in process_firmware_prints()
1247 u16 entry_size; in process_wakelock_event() local
1250 entry_size = sizeof(wifi_power_event) + in process_wakelock_event()
1254 len_ring_buffer_entry = sizeof(wifi_ring_buffer_entry) + entry_size; in process_wakelock_event()
1281 pRingBufferEntry->entry_size = entry_size; in process_wakelock_event()
1393 pRingBufferEntry->entry_size = size - sizeof(wifi_ring_buffer_entry); in update_stats_to_ring_buf()
1609 index += pRingBufferEntry->entry_size; in populate_rx_aggr_stats()
1611 pRingBufferEntry->entry_size); in populate_rx_aggr_stats()
1622 + pRingBufferEntry->entry_size); in populate_rx_aggr_stats()
[all …]
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dwifilogger_diag.cpp142 rbe->entry_size = size; in update_connectivity_ring_buf()
815 rb_entry_hdr.entry_size = length; in process_firmware_prints()
1241 u16 entry_size; in process_wakelock_event() local
1244 entry_size = sizeof(wifi_power_event) + in process_wakelock_event()
1248 len_ring_buffer_entry = sizeof(wifi_ring_buffer_entry) + entry_size; in process_wakelock_event()
1275 pRingBufferEntry->entry_size = entry_size; in process_wakelock_event()
1382 pRingBufferEntry->entry_size = size - sizeof(wifi_ring_buffer_entry); in update_stats_to_ring_buf()
1598 index += pRingBufferEntry->entry_size; in populate_rx_aggr_stats()
1600 pRingBufferEntry->entry_size); in populate_rx_aggr_stats()
1611 + pRingBufferEntry->entry_size); in populate_rx_aggr_stats()
[all …]
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dwifi_logger.h247 u16 entry_size; // the size of payload excluding the header. member
/hardware/google/camera/common/hal/utils/
Dutils.cc443 size_t entry_size = type_size * old_entry.count; in IsSessionParameterCompatible() local
444 int32_t cmp = memcmp(new_entry.data.u8, old_entry.data.u8, entry_size); in IsSessionParameterCompatible()
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dcache_test.cpp1183 const unsigned int entry_size = 512; in test_multipart_eviction() local
1184 uint8_t blobs[7][entry_size]; in test_multipart_eviction()
1195 unsigned int entry_file_size = entry_size; in test_multipart_eviction()
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dwifi_logger.cpp1164 buffer_entry->entry_size, &status); in handleEvent()
1174 if (cur_off + sizeof(*entry_hdr) + entry_hdr->entry_size > buffer_size) { in handleEvent()
1179 sizeof(*entry_hdr), entry_hdr->entry_size, status.name); in handleEvent()
1186 entry_hdr->entry_size, &status); in handleEvent()
1188 cur_off += sizeof(*entry_hdr) + entry_hdr->entry_size; in handleEvent()
1191 …y_hdr = (wifi_ring_buffer_entry *)((char *)entry_hdr + sizeof(*entry_hdr) + entry_hdr->entry_size); in handleEvent()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_logger.cpp1242 if (cur_off + sizeof(*entry_hdr) + entry_hdr->entry_size > buffer_size) { in handleEvent()
1247 sizeof(*entry_hdr), entry_hdr->entry_size, status.name); in handleEvent()
1254 entry_hdr->entry_size, &status); in handleEvent()
1256 cur_off += sizeof(*entry_hdr) + entry_hdr->entry_size; in handleEvent()
1259 …y_hdr = (wifi_ring_buffer_entry *)((char *)entry_hdr + sizeof(*entry_hdr) + entry_hdr->entry_size); in handleEvent()
/hardware/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp2888 printMsg(", Size: %d bytes\n", buffer_entry->entry_size); in onRingBufferData()
2898 fwrite(pBuff, 1, buffer_entry->entry_size, w_fp); in onRingBufferData()
2941 char *end = (char *)connect_event + buffer_entry->entry_size; in onRingBufferData()