Home
last modified time | relevance | path

Searched refs:utf8 (Results 1 – 7 of 7) sorted by relevance

/ark/js_runtime/ecmascript/tests/
Dconcurrent_sweep_test.cpp55 const uint8_t *utf8 = reinterpret_cast<const uint8_t *>("test"); in TEST_F() local
56 JSHandle<EcmaString> test1(thread, EcmaString::CreateFromUtf8(utf8, 4, vm, true)); in TEST_F()
60 JSHandle<EcmaString> test2(thread, EcmaString::CreateFromUtf8(utf8, 4, vm, true)); in TEST_F()
/ark/js_runtime/ecmascript/base/
Dutf_helper.cpp219 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() argument
221 return utf::MUtf8ToUtf16Size(utf8, utf8Len); in Utf8ToUtf16Size()
Dutf_helper.h72 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len);
/ark/ts2abc/test262/
Deshost.patch180 +PandaAgent.runtime = fs.readFileSync(runtimePath.for('panda'), 'utf8');
Dharness.patch180 + fs.appendFile(save_file,data,'utf8',function(err){
/ark/js_runtime/ecmascript/napi/
Djsnapi.cpp668 Local<StringRef> StringRef::NewFromUtf8(const EcmaVM *vm, const char *utf8, int length) in NewFromUtf8() argument
672 JSHandle<JSTaggedValue> current(factory->NewFromString(utf8)); in NewFromUtf8()
675 …JSHandle<JSTaggedValue> current(factory->NewFromUtf8(reinterpret_cast<const uint8_t *>(utf8), leng… in NewFromUtf8()
/ark/js_runtime/ecmascript/napi/include/
Djsnapi.h389 static Local<StringRef> NewFromUtf8(const EcmaVM *vm, const char *utf8, int length = -1);