Lines Matching refs:uri_length
92 bool IntoTwoByte(int index, bool is_uri, int uri_length, in IntoTwoByte() argument
94 for (int k = index; k < uri_length; k++) { in IntoTwoByte()
98 if (k + 2 >= uri_length || in IntoTwoByte()
111 if (number_of_continuation_bytes > 3 || k + 3 >= uri_length) { in IntoTwoByte()
143 int uri_length = uri->length(); in IntoOneAndTwoByte() local
144 for (int k = 0; k < uri_length; k++) { in IntoOneAndTwoByte()
148 if (k + 2 >= uri_length || in IntoOneAndTwoByte()
156 return IntoTwoByte(k, is_uri, uri_length, &uri_content, in IntoOneAndTwoByte()
164 return IntoTwoByte(k, is_uri, uri_length, &uri_content, in IntoOneAndTwoByte()
276 int uri_length = uri->length(); in Encode() local
278 buffer.reserve(uri_length); in Encode()
284 for (int k = 0; k < uri_length; k++) { in Encode()
288 if (k < uri_length) { in Encode()