Searched refs:range_spec (Results 1 – 1 of 1) sorted by relevance
701 std::string range_spec = in ParseContentRange() local703 size_t dash_offset = range_spec.find("-"); in ParseContentRange()704 size_t slash_offset = range_spec.find("/"); in ParseContentRange()707 slash_offset < dash_offset || slash_offset + 1 == range_spec.length()) { in ParseContentRange()710 if (!base::StringToInt64(range_spec.substr(0, dash_offset), in ParseContentRange()712 !base::StringToInt64(range_spec.substr(dash_offset + 1, in ParseContentRange()717 if (slash_offset == range_spec.length() - 2 && in ParseContentRange()718 range_spec[slash_offset + 1] == '*') { in ParseContentRange()721 if (!base::StringToInt64(range_spec.substr(slash_offset + 1), in ParseContentRange()