HomeSort by relevance Sort by last modified time
    Searched refs:chrsz (Results 1 - 5 of 5) sorted by null

  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
crypto-sha1.js 16 var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */ variable
22 function hex_sha1(s){return binb2hex(core_sha1(str2binb(s),s.length * chrsz));}
23 function b64_sha1(s){return binb2b64(core_sha1(str2binb(s),s.length * chrsz));}
24 function str_sha1(s){return binb2str(core_sha1(str2binb(s),s.length * chrsz));}
111 if(bkey.length > 16) bkey = core_sha1(bkey, key.length * chrsz);
120 var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz);
150 var mask = (1 << chrsz) - 1;
151 for(var i = 0; i < str.length * chrsz; i += chrsz)
152 bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (32 - chrsz - i%32)
    [all...]
crypto-md5.js 16 var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */ variable
22 function hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz));}
23 function b64_md5(s){ return binl2b64(core_md5(str2binl(s), s.length * chrsz));}
24 function str_md5(s){ return binl2str(core_md5(str2binl(s), s.length * chrsz));}
165 if(bkey.length > 16) bkey = core_md5(bkey, key.length * chrsz);
174 var hash = core_md5(ipad.concat(str2binl(data)), 512 + data.length * chrsz);
199 * If chrsz is ASCII, characters >255 have their hi-byte silently ignored.
204 var mask = (1 << chrsz) - 1;
205 for(var i = 0; i < str.length * chrsz; i += chrsz)
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
crypto-sha1.js 16 var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */ variable
22 function hex_sha1(s){return binb2hex(core_sha1(str2binb(s),s.length * chrsz));}
23 function b64_sha1(s){return binb2b64(core_sha1(str2binb(s),s.length * chrsz));}
24 function str_sha1(s){return binb2str(core_sha1(str2binb(s),s.length * chrsz));}
111 if(bkey.length > 16) bkey = core_sha1(bkey, key.length * chrsz);
120 var hash = core_sha1(ipad.concat(str2binb(data)), 512 + data.length * chrsz);
150 var mask = (1 << chrsz) - 1;
151 for(var i = 0; i < str.length * chrsz; i += chrsz)
152 bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (32 - chrsz - i%32)
    [all...]
crypto-md5.js 16 var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */ variable
22 function hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz));}
23 function b64_md5(s){ return binl2b64(core_md5(str2binl(s), s.length * chrsz));}
24 function str_md5(s){ return binl2str(core_md5(str2binl(s), s.length * chrsz));}
165 if(bkey.length > 16) bkey = core_md5(bkey, key.length * chrsz);
174 var hash = core_md5(ipad.concat(str2binl(data)), 512 + data.length * chrsz);
199 * If chrsz is ASCII, characters >255 have their hi-byte silently ignored.
204 var mask = (1 << chrsz) - 1;
205 for(var i = 0; i < str.length * chrsz; i += chrsz)
    [all...]
  /frameworks/base/tools/aapt/
StringPool.cpp 353 #define ENCODE_LENGTH(str, chrsz, strSize) \
355 size_t maxMask = 1 << ((chrsz*8)-1); \
358 *str++ = maxMask | ((strSize>>(chrsz*8))&maxSize); \

Completed in 1584 milliseconds