Searched refs:btoa (Results 1 - 20 of 20) sorted by relevance
/third_party/node/test/fixtures/wpt/html/webappapis/atob/ |
H A D | base64.any.js | 2 * 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 D | shared.js | 88 if (typeof btoa !== 'function') { 95 return btoa(string);
|
/third_party/node/deps/undici/src/lib/fileapi/ |
H A D | util.js | 16 const { btoa } = require('buffer') 250 dataURL += btoa(decoder.write(chunk)) 253 dataURL += btoa(decoder.end())
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
H A D | util.js | 20 // btoa(String.fromCharCode.apply(null, bytes)); 32 return btoa(result);
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngstest.c | 2615 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 D | percent-encoding.window.js | 26 // 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 D | any.js | 60 return tsProtoGlobalThis.btoa(bin.join(""));
|
H A D | descriptor.js | 1303 return tsProtoGlobalThis.btoa(bin.join(""));
|
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/ |
H A D | envelope.js | 84 return tsProtoGlobalThis.btoa(bin.join(""));
|
H A D | sigstore_rekor.js | 162 return tsProtoGlobalThis.btoa(bin.join(""));
|
H A D | events.js | 161 return tsProtoGlobalThis.btoa(bin.join(""));
|
H A D | sigstore_common.js | 567 return tsProtoGlobalThis.btoa(bin.join(""));
|
H A D | sigstore_verification.js | 319 return tsProtoGlobalThis.btoa(bin.join(""));
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/ |
H A D | okp_importKey.https.any.js | 192 var base64String = btoa(binaryString);
|
H A D | symmetric_importKey.https.any.js | 171 var base64String = btoa(binaryString);
|
H A D | ec_importKey.https.any.js | 217 var base64String = btoa(binaryString);
|
H A D | rsa_importKey.https.any.js | 215 var base64String = btoa(binaryString);
|
/third_party/node/test/common/ |
H A D | index.js | 42 btoa, 278 btoa,
|
/third_party/node/lib/ |
H A D | buffer.js | 1263 function btoa(input) { function 1386 btoa,
|
/third_party/node/test/fixtures/wpt/common/security-features/resources/ |
H A D | common.sub.js | 1189 return 'data:text/javascript;base64,' + btoa(source);
|
Completed in 15 milliseconds