Home
last modified time | relevance | path

Searched refs:name_length (Results 1 – 5 of 5) sorted by relevance

/system/libziparchive/
Dzip_cd_entry_map.h63 uint16_t name_length; member
66 return std::string_view{reinterpret_cast<const char*>(start + name_offset), name_length}; in ToStringView()
Dzip_cd_entry_map.cc81 hash_table_[ent].name_length = static_cast<uint16_t>(name.size()); in AddToMap()
Dzip_archive.cc805 auto name_length = static_cast<uint16_t>(entryName.size()); in FindEntry() local
806 if (lfh->file_name_length != name_length) { in FindEntry()
808 std::string(entryName).c_str(), lfh->file_name_length, name_length); in FindEntry()
817 if (__builtin_add_overflow(name_offset, name_length, &name_end) || name_end > cd_offset) { in FindEntry()
823 name_buf.resize(name_length); in FindEntry()
/system/bt/stack/avdt/
Davdt_scb_act.cc380 uint8_t name_length; in avdt_scb_hdl_report() local
389 BE_STREAM_TO_UINT8(name_length, p); in avdt_scb_hdl_report()
390 if (name_length > len - 2 || name_length > AVDT_MAX_CNAME_SIZE) { in avdt_scb_hdl_report()
393 BE_STREAM_TO_ARRAY(p, &(report.cname[0]), name_length); in avdt_scb_hdl_report()
/system/bt/btif/src/
Dbtif_storage.cc206 int name_length = prop->len > BTM_MAX_LOC_BD_NAME_LEN in prop2cfg() local
209 strncpy(value, (char*)prop->val, name_length); in prop2cfg()
210 value[name_length] = '\0'; in prop2cfg()