Lines Matching full:url
10 //! QR code, the start of the URL is encoded as binary, and the
13 //! The binary data must be a valid URL parameter, so the easiest way is
20 //! valid URL parameter, so the website can do the reverse, to get the
874 /// * `url`: The base URL of the QR code. It will be encoded as Binary segment.
875 /// * `data`: A pointer to the binary data, to be encoded. if URL is NULL, it
877 /// efficiently as a numeric segment, and appended to the URL.
889 /// * `url` must be null or point at a nul-terminated string.
896 url: *const kernel::ffi::c_char, in drm_panic_qr_generate()
912 if url.is_null() { in drm_panic_qr_generate()
921 // SAFETY: The caller ensures that `url` is a valid pointer to a in drm_panic_qr_generate()
923 let url_cstr: &CStr = unsafe { CStr::from_char_ptr(url) }; in drm_panic_qr_generate()
940 /// * `url_len`: Length of the URL.
959 // Binary segment (URL) 4 + 16 bits, numeric segment (kmsg) 4 + 12 bits => 5 bytes. in drm_panic_qr_max_data_size()