Home
last modified time | relevance | path

Searched refs:utf8_to_ucs2 (Results 1 - 3 of 3) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-icu-transcode.js36 const utf8_to_ucs2 = buffer.transcode(utf8, 'utf8', 'ucs2');
39 assert.deepStrictEqual(ucs2, utf8_to_ucs2);
41 utf8_to_ucs2.toString('ucs2'));
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dms_funcs.c17 * utf8_to_ucs2 - Convert UTF-8 string to UCS-2 encoding
25 static int utf8_to_ucs2(const u8 *utf8_string, size_t utf8_string_len, in utf8_to_ucs2() function
116 if (utf8_to_ucs2(password, password_len, buf, max_len, &len) < 0) in nt_password_hash()
440 if (utf8_to_ucs2(password, password_len, pw_block, 512, &ucs2_len) < 0 in encrypt_pw_block_with_password_hash()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dms_funcs.c17 * utf8_to_ucs2 - Convert UTF-8 string to UCS-2 encoding
25 static int utf8_to_ucs2(const u8 *utf8_string, size_t utf8_string_len, in utf8_to_ucs2() function
116 if (utf8_to_ucs2(password, password_len, buf, max_len, &len) < 0) in nt_password_hash()
440 if (utf8_to_ucs2(password, password_len, pw_block, 512, &ucs2_len) < 0 in encrypt_pw_block_with_password_hash()

Completed in 3 milliseconds