Searched refs:Utf8Length (Results 1 – 15 of 15) sorted by relevance
/third_party/node/test/js-native-api/test_string/ |
D | test.js | 20 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);
|
D | test_string.c | 310 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/ |
D | wasm-module-sourcemap.cc | 69 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/ |
D | binding.cc | 24 const int32_t length = str->Utf8Length(args.GetIsolate()) + 1; in CallWithString()
|
/third_party/node/deps/v8/src/builtins/ |
D | builtins-trace.cc | 51 len = local->Utf8Length(v8_isolate); in MaybeUtf8()
|
/third_party/node/deps/v8/src/third_party/vtune/ |
D | vtune-jit.cc | 206 new char[script_name->Utf8Length(event->isolate) + 1]); in event_handler()
|
/third_party/node/src/ |
D | node_buffer.cc | 708 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()
|
D | string_bytes.cc | 450 return Just<size_t>(str->Utf8Length(isolate)); in Size()
|
D | js_native_api_v8.cc | 2360 *result = val.As<v8::String>()->Utf8Length(env->isolate); in napi_get_value_string_utf8()
|
/third_party/node/deps/v8/include/ |
D | v8-primitive.h | 142 int Utf8Length(Isolate* isolate) const;
|
/third_party/node/src/crypto/ |
D | crypto_util.cc | 413 size_t size = str->Utf8Length(env->isolate()); in SetFipsCrypto()
|
/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/deps/v8/src/web-snapshot/ |
D | web-snapshot.cc | 451 int length = api_string->Utf8Length(v8_isolate); in SerializeString()
|
/third_party/node/deps/v8/src/api/ |
D | api.cc | 5532 int String::Utf8Length(Isolate* isolate) const { in Utf8Length() function in v8::String 9622 length_ = str->Utf8Length(isolate); in Utf8Value()
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V10.md | 2541 …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…
|