Home
last modified time | relevance | path

Searched refs:Base64Mode (Results 1 – 4 of 4) sorted by relevance

/third_party/node/src/
Dbase64.h15 enum class Base64Mode { enum
28 static inline const char* base64_select_table(Base64Mode mode) { in base64_select_table()
30 case Base64Mode::NORMAL: return base64_table; in base64_select_table()
31 case Base64Mode::URL: return base64_table_url; in base64_select_table()
38 Base64Mode mode = Base64Mode::NORMAL) {
39 return mode == Base64Mode::NORMAL
63 Base64Mode mode = Base64Mode::NORMAL);
Dbase64-inl.h127 Base64Mode mode) { in base64_encode()
166 if (mode == Base64Mode::NORMAL) { in base64_encode()
177 if (mode == Base64Mode::NORMAL) in base64_encode()
Dstring_bytes.cc701 size_t dlen = base64_encoded_size(buflen, Base64Mode::URL); in Encode()
708 size_t written = base64_encode(buf, buflen, dst, dlen, Base64Mode::URL); in Encode()
/third_party/node/test/cctest/
Dtest_base64.cc52 base64_encode(string, strlen(string), buffer, len, node::Base64Mode::URL); in TEST()