Home
last modified time | relevance | path

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

/netbsd/src/external/bsd/libevent/dist/sample/
Dhttp-server.c190 char *decoded_path; in send_document_cb() local
216 decoded_path = evhttp_uridecode(path, 0, NULL); in send_document_cb()
217 if (decoded_path == NULL) in send_document_cb()
223 if (strstr(decoded_path, "..")) in send_document_cb()
226 len = strlen(decoded_path)+strlen(o->docroot)+2; in send_document_cb()
231 evutil_snprintf(whole_path, len, "%s/%s", o->docroot, decoded_path); in send_document_cb()
283 decoded_path, /* XXX html-escape this. */ in send_document_cb()
286 decoded_path /* XXX html-escape this */); in send_document_cb()
313 const char *type = guess_content_type(decoded_path); in send_document_cb()
339 if (decoded_path) in send_document_cb()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dsolib-rocm.c456 std::string decoded_path; in rocm_bfd_iovec_open() local
457 decoded_path.reserve (path.length ()); in rocm_bfd_iovec_open()
465 decoded_path += std::stoi (std::string (hex_digits), 0, 16); in rocm_bfd_iovec_open()
469 decoded_path += path[i]; in rocm_bfd_iovec_open()
532 int fd = info->fd_cache.open (decoded_path, &target_errno); in rocm_bfd_iovec_open()