Searched refs:Utf8Length (Results 1 – 9 of 9) sorted by relevance
/third_party/node/test/js-native-api/test_string/ |
D | test.js | 13 assert.strictEqual(test_string.Utf8Length(empty), 0); 23 assert.strictEqual(test_string.Utf8Length(str1), 11); 33 assert.strictEqual(test_string.Utf8Length(str2), 62); 43 assert.strictEqual(test_string.Utf8Length(str3), 27); 53 assert.strictEqual(test_string.Utf8Length(str4), 62); 63 assert.strictEqual(test_string.Utf8Length(str5), 126); 71 assert.strictEqual(test_string.Utf8Length(str6), 14);
|
D | test_string.c | 185 static napi_value Utf8Length(napi_env env, napi_callback_info info) { in Utf8Length() function 276 DECLARE_NAPI_PROPERTY("Utf8Length", Utf8Length), in Init()
|
/third_party/node/benchmark/napi/function_args/ |
D | binding.cc | 24 const int32_t length = str->Utf8Length(args.GetIsolate()) + 1; in CallWithString()
|
/third_party/node/src/ |
D | node_buffer.cc | 607 str_length = str_obj->Utf8Length(env->isolate()); in Fill() 701 args.GetReturnValue().Set(args[0].As<String>()->Utf8Length(env->isolate())); in ByteLengthUtf8() 1077 size_t length = str->Utf8Length(isolate); in EncodeUtf8String()
|
D | string_bytes.cc | 468 return Just<size_t>(str->Utf8Length(isolate)); in Size()
|
D | js_native_api_v8.cc | 2216 *result = val.As<v8::String>()->Utf8Length(env->isolate); in napi_get_value_string_utf8()
|
D | node_crypto.cc | 2900 size_t size = str->Utf8Length(env->isolate()); in FromString()
|
/third_party/cef/libcef/renderer/ |
D | v8_impl.cc | 475 int len = str->Utf8Length(); in GetCefString() 495 int len = str->Utf8Length(); in GetCefString()
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V10.md | 2273 …ithub.com/nodejs/node/commit/5f44ce8b8b)] - **deps**: backport String::Utf8Length with isolate (Mi… 2364 …ps://github.com/nodejs/node/commit/332b035a96)] - **src**: use String::Utf8Length with isolate (Mi…
|