Lines Matching refs:len

296     for (int i = 0, len = qs < 0 ? used : qs; i < len; ++i) {  in burl_normalize_path()  local
302 while (i < len && s[i] != '/') ++i; in burl_normalize_path()
385 static void burl_append_encode_nde (buffer * const b, const char * const str, const size_t len) in burl_append_encode_nde() argument
390 char * const p = buffer_string_prepare_append(b, len*3); in burl_append_encode_nde()
393 for (unsigned int i = 0; i < len; ++i, ++j) { in burl_append_encode_nde()
419 static void burl_append_encode_psnde (buffer * const b, const char * const str, const size_t len) in burl_append_encode_psnde() argument
424 char * const p = buffer_string_prepare_append(b, len*3); in burl_append_encode_psnde()
427 for (unsigned int i = 0; i < len; ++i, ++j) { in burl_append_encode_psnde()
453 static void burl_append_encode_all (buffer * const b, const char * const str, const size_t len) in burl_append_encode_all() argument
458 char * const p = buffer_string_prepare_append(b, len*3); in burl_append_encode_all()
460 for (unsigned int i = 0; i < len; ++i, ++j) { in burl_append_encode_all()
496 void burl_append (buffer * const b, const char * const str, const size_t len, const int flags) in burl_append() argument
500 if (0 == len) return; in burl_append()
503 buffer_append_string_len(b, str, len); in burl_append()
510 buffer_append_string_len(b, str, len); in burl_append()
513 burl_append_encode_all(b, str, len); in burl_append()
516 burl_append_encode_nde(b, str, len); in burl_append()
519 burl_append_encode_psnde(b, str, len); in burl_append()
523 buffer_append_base64_encode_no_padding(b, s, len, BASE64_URL); in burl_append()
526 buffer_append_base64_decode(b, str, len, BASE64_URL); in burl_append()