Home
last modified time | relevance | path

Searched refs:Utf8Length (Results 1 – 15 of 15) sorted by relevance

/third_party/node/test/js-native-api/test_string/
Dtest.js20 assert.strictEqual(test_string.Utf8Length(empty), 0);
37 assert.strictEqual(test_string.Utf8Length(str1), 11);
54 assert.strictEqual(test_string.Utf8Length(str2), 62);
71 assert.strictEqual(test_string.Utf8Length(str3), 27);
88 assert.strictEqual(test_string.Utf8Length(str4), 62);
105 assert.strictEqual(test_string.Utf8Length(str5), 126);
117 assert.strictEqual(test_string.Utf8Length(str6), 14);
Dtest_string.c310 static napi_value Utf8Length(napi_env env, napi_callback_info info) { in Utf8Length() function
407 DECLARE_NODE_API_PROPERTY("Utf8Length", Utf8Length), in Init()
/third_party/node/deps/v8/src/wasm/
Dwasm-module-sourcemap.cc69 auto file_name_sz = file_name->Utf8Length(v8_isolate); in WasmModuleSourceMap()
84 int mappings_sz = mappings->Utf8Length(v8_isolate); in WasmModuleSourceMap()
/third_party/node/benchmark/napi/function_args/
Dbinding.cc24 const int32_t length = str->Utf8Length(args.GetIsolate()) + 1; in CallWithString()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-trace.cc51 len = local->Utf8Length(v8_isolate); in MaybeUtf8()
/third_party/node/deps/v8/src/third_party/vtune/
Dvtune-jit.cc206 new char[script_name->Utf8Length(event->isolate) + 1]); in event_handler()
/third_party/node/src/
Dnode_buffer.cc708 str_length = str_obj->Utf8Length(env->isolate()); in Fill()
794 args.GetReturnValue().Set(args[0].As<String>()->Utf8Length(env->isolate())); in ByteLengthUtf8()
1170 size_t length = str->Utf8Length(isolate); in EncodeUtf8String()
Dstring_bytes.cc450 return Just<size_t>(str->Utf8Length(isolate)); in Size()
Djs_native_api_v8.cc2360 *result = val.As<v8::String>()->Utf8Length(env->isolate); in napi_get_value_string_utf8()
/third_party/node/deps/v8/include/
Dv8-primitive.h142 int Utf8Length(Isolate* isolate) const;
/third_party/node/src/crypto/
Dcrypto_util.cc413 size_t size = str->Utf8Length(env->isolate()); in SetFipsCrypto()
/third_party/cef/libcef/renderer/
Dv8_impl.cc475 int len = str->Utf8Length(); in GetCefString()
495 int len = str->Utf8Length(); in GetCefString()
/third_party/node/deps/v8/src/web-snapshot/
Dweb-snapshot.cc451 int length = api_string->Utf8Length(v8_isolate); in SerializeString()
/third_party/node/deps/v8/src/api/
Dapi.cc5532 int String::Utf8Length(Isolate* isolate) const { in Utf8Length() function in v8::String
9622 length_ = str->Utf8Length(isolate); in Utf8Value()
/third_party/node/doc/changelogs/
DCHANGELOG_V10.md2541 …ithub.com/nodejs/node/commit/5f44ce8b8b)] - **deps**: backport String::Utf8Length with isolate (Mi…
2632 …ps://github.com/nodejs/node/commit/332b035a96)] - **src**: use String::Utf8Length with isolate (Mi…