Lines Matching refs:string_view
36 virtual ZipError AddToMap(std::string_view name, const uint8_t* start) = 0;
40 virtual std::pair<ZipError, uint64_t> GetCdEntryOffset(std::string_view name,
47 virtual std::pair<std::string_view, uint64_t> Next(const uint8_t* cd_start) = 0;
65 const std::string_view ToStringView(const uint8_t* start) const { in ToStringView()
66 return std::string_view{reinterpret_cast<const char*>(start + name_offset), name_length}; in ToStringView()
77 ZipError AddToMap(std::string_view name, const uint8_t* start) override;
78 std::pair<ZipError, uint64_t> GetCdEntryOffset(std::string_view name,
81 std::pair<std::string_view, uint64_t> Next(const uint8_t* cd_start) override;
102 ZipError AddToMap(std::string_view name, const uint8_t* start) override;
103 std::pair<ZipError, uint64_t> GetCdEntryOffset(std::string_view name,
106 std::pair<std::string_view, uint64_t> Next(const uint8_t* cd_start) override;
111 std::map<std::string_view, uint64_t> entry_table_;
113 std::map<std::string_view, uint64_t>::iterator iterator_;