Home
last modified time | relevance | path

Searched refs:btoa (Results 1 - 20 of 20) sorted by relevance

/third_party/node/test/fixtures/wpt/html/webappapis/atob/
H A Dbase64.any.js2 * btoa() as defined by the HTML5 spec, which mostly just references RFC4648.
8 // "The btoa() method must throw an INVALID_CHARACTER_ERR exception if the
75 // "The btoa() method must throw an INVALID_CHARACTER_ERR exception if the
81 assert_throws_dom("InvalidCharacterError", function() { btoa(input); },
86 assert_equals(btoa(input), mybtoa(input));
87 assert_equals(atob(btoa(input)), String(input), "atob(btoa(input)) must be the same as String(input)");
91 // This one is thrown in because IE9 seems to fail atob(btoa()) on it. Or
92 // possibly to fail btoa(). I actually can't tell what's happening here,
114 return ["btoa("
[all...]
/third_party/jsframework/runtime/main/util/
H A Dshared.js88 if (typeof btoa !== 'function') {
95 return btoa(string);
/third_party/node/deps/undici/src/lib/fileapi/
H A Dutil.js16 const { btoa } = require('buffer')
250 dataURL += btoa(decoder.write(chunk))
253 dataURL += btoa(decoder.end())
/third_party/skia/modules/canvaskit/htmlcanvas/
H A Dutil.js20 // btoa(String.fromCharCode.apply(null, bytes));
32 return btoa(result);
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dpngstest.c2615 int btoa[4]={0,0,0,0}; in compare_two_images() local
2804 * out how, recording the result in the btoa array, which says where in in compare_two_images()
2805 * 'a' to find each channel of 'b'. If alpha was added then btoa[alpha] in compare_two_images()
2814 * 'bchannels' is a flag for matching formats. btoa[x] says, for each in compare_two_images()
2822 /* Hence the btoa array. */ in compare_two_images()
2824 btoa[bloc[i]] = aloc[i]; /* may be '4' for alpha */ in compare_two_images()
2847 btoa[3] = btoa[2] = btoa[1] = btoa[ in compare_two_images()
[all...]
/third_party/node/test/fixtures/wpt/url/
H A Dpercent-encoding.window.js26 // not use btoa directly as that only works with code points in the range U+0000 to U+00FF,
31 const encoded = self.btoa(byteString);
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/
H A Dany.js60 return tsProtoGlobalThis.btoa(bin.join(""));
H A Ddescriptor.js1303 return tsProtoGlobalThis.btoa(bin.join(""));
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/
H A Denvelope.js84 return tsProtoGlobalThis.btoa(bin.join(""));
H A Dsigstore_rekor.js162 return tsProtoGlobalThis.btoa(bin.join(""));
H A Devents.js161 return tsProtoGlobalThis.btoa(bin.join(""));
H A Dsigstore_common.js567 return tsProtoGlobalThis.btoa(bin.join(""));
H A Dsigstore_verification.js319 return tsProtoGlobalThis.btoa(bin.join(""));
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
H A Dokp_importKey.https.any.js192 var base64String = btoa(binaryString);
H A Dsymmetric_importKey.https.any.js171 var base64String = btoa(binaryString);
H A Dec_importKey.https.any.js217 var base64String = btoa(binaryString);
H A Drsa_importKey.https.any.js215 var base64String = btoa(binaryString);
/third_party/node/test/common/
H A Dindex.js42 btoa,
278 btoa,
/third_party/node/lib/
H A Dbuffer.js1263 function btoa(input) { function
1386 btoa,
/third_party/node/test/fixtures/wpt/common/security-features/resources/
H A Dcommon.sub.js1189 return 'data:text/javascript;base64,' + btoa(source);

Completed in 15 milliseconds