Home
last modified time | relevance | path

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

/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader.cc695 std::string range_spec = in ParseContentRange() local
697 size_t dash_offset = range_spec.find("-"); in ParseContentRange()
698 size_t slash_offset = range_spec.find("/"); in ParseContentRange()
701 slash_offset < dash_offset || slash_offset + 1 == range_spec.length()) { in ParseContentRange()
704 if (!base::StringToInt64(range_spec.substr(0, dash_offset), in ParseContentRange()
706 !base::StringToInt64(range_spec.substr(dash_offset + 1, in ParseContentRange()
711 if (slash_offset == range_spec.length() - 2 && in ParseContentRange()
712 range_spec[slash_offset + 1] == '*') { in ParseContentRange()
715 if (!base::StringToInt64(range_spec.substr(slash_offset + 1), in ParseContentRange()