Home
last modified time | relevance | path

Searched refs:NewFromUtf8 (Results 1 – 24 of 24) sorted by relevance

/external/v8/src/
Dd8-posix.cc170 String::NewFromUtf8(isolate, message, NewStringType::kNormal) in Init()
189 String::NewFromUtf8(isolate, message, NewStringType::kNormal) in Init()
230 String::NewFromUtf8(args.GetIsolate(), in GetTimeouts()
243 String::NewFromUtf8(args.GetIsolate(), in GetTimeouts()
291 String::NewFromUtf8(isolate, strerror(err), NewStringType::kNormal) in ChildLaunchedOK()
312 String::NewFromUtf8(isolate, strerror(errno), NewStringType::kNormal) in GetStdout()
328 String::NewFromUtf8(isolate, "Timed out waiting for output", in GetStdout()
343 String::NewFromUtf8(isolate, buffer, NewStringType::kNormal, length) in GetStdout()
392 String::NewFromUtf8(isolate, in WaitForChild()
406 String::NewFromUtf8(isolate, message, NewStringType::kNormal) in WaitForChild()
[all …]
Dd8.cc243 String::NewFromUtf8(isolate, message, NewStringType::kNormal) in Throw()
298 String::NewFromUtf8(isolate, json_str, NewStringType::kNormal) in FillTraceConfig()
368 String::NewFromUtf8(isolate, property, NewStringType::kNormal) in GetValue()
752 String::NewFromUtf8(isolate, file_name.c_str(), NewStringType::kNormal) in FetchModuleTree()
837 String::NewFromUtf8(isolate, "url", NewStringType::kNormal) in HostInitializeImportMetaObject()
839 Local<String> url = String::NewFromUtf8(isolate, specifier_it->second.c_str(), in HostInitializeImportMetaObject()
1329 String::NewFromUtf8(isolate, "", NewStringType::kNormal).ToLocalChecked(); in ReadFromStdin()
1344 String::NewFromUtf8(isolate, buffer, NewStringType::kNormal, length) in ReadFromStdin()
1350 String::NewFromUtf8(isolate, buffer, in ReadFromStdin()
1356 String::NewFromUtf8(isolate, buffer, NewStringType::kNormal, in ReadFromStdin()
[all …]
Dasync-hooks-wrapper.cc51 String::NewFromUtf8( in UnwrapHook()
94 String::NewFromUtf8(isolate, "Invalid arguments passed to createHook", in CreateHook()
108 String::NewFromUtf8(isolate, #name, NewStringType::kNormal) \ in CreateHook()
195 String::NewFromUtf8(isolate_, "AsyncHook", NewStringType::kNormal) in Initialize()
202 String::NewFromUtf8(isolate_, "enable", v8::NewStringType::kNormal) in Initialize()
206 String::NewFromUtf8(isolate_, "disable", v8::NewStringType::kNormal) in Initialize()
261 String::NewFromUtf8(hooks->isolate_, "PROMISE", in PromiseHookDispatch()
Dd8-console.cc54 v8::String::NewFromUtf8(isolate_, "console.assert failed", in Assert()
Dapi.cc6603 Local<String> String::NewFromUtf8(Isolate* isolate, in NewFromUtf8() function in v8::String
6607 NEW_STRING(isolate, String, NewFromUtf8, char, data, in NewFromUtf8()
6613 MaybeLocal<String> String::NewFromUtf8(Isolate* isolate, const char* data, in NewFromUtf8() function in v8::String
6615 NEW_STRING(isolate, String, NewFromUtf8, char, data, type, length); in NewFromUtf8()
/external/v8/samples/
Dshell.cc112 v8::String::NewFromUtf8(isolate, "print", v8::NewStringType::kNormal) in CreateShellContext()
116 global->Set(v8::String::NewFromUtf8( in CreateShellContext()
120 global->Set(v8::String::NewFromUtf8( in CreateShellContext()
124 global->Set(v8::String::NewFromUtf8( in CreateShellContext()
129 v8::String::NewFromUtf8(isolate, "version", v8::NewStringType::kNormal) in CreateShellContext()
164 v8::String::NewFromUtf8(args.GetIsolate(), "Bad parameters", in Read()
171 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", in Read()
178 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", in Read()
195 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", in Load()
202 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", in Load()
[all …]
Dprocess.cc186 global->Set(String::NewFromUtf8(GetIsolate(), "log", NewStringType::kNormal) in Initialize()
213 String::NewFromUtf8(GetIsolate(), "Process", NewStringType::kNormal) in Initialize()
280 String::NewFromUtf8(GetIsolate(), "options", NewStringType::kNormal) in InstallMaps()
288 String::NewFromUtf8(GetIsolate(), "output", NewStringType::kNormal) in InstallMaps()
417 String::NewFromUtf8(info.GetIsolate(), value.c_str(), in MapGet()
516 String::NewFromUtf8(info.GetIsolate(), path.c_str(), in GetPath()
528 String::NewFromUtf8(info.GetIsolate(), path.c_str(), in GetReferrer()
539 String::NewFromUtf8(info.GetIsolate(), path.c_str(), in GetHost()
551 String::NewFromUtf8(info.GetIsolate(), path.c_str(), in GetUserAgent()
566 String::NewFromUtf8(isolate, "path", NewStringType::kInternalized) in MakeRequestTemplate()
[all …]
Dhello-world.cc40 v8::String::NewFromUtf8(isolate, "'Hello' + ', World!'", in main()
80 v8::String::NewFromUtf8(isolate, csource, v8::NewStringType::kNormal) in main()
/external/v8/src/extensions/
Dexternalize-string-extension.cc64 v8::String::NewFromUtf8( in Externalize()
79 v8::String::NewFromUtf8( in Externalize()
90 v8::String::NewFromUtf8(args.GetIsolate(), in Externalize()
113 v8::String::NewFromUtf8(args.GetIsolate(), in Externalize()
125 v8::String::NewFromUtf8( in IsOneByte()
Dstatistics-extension.cc31 v8::String::NewFromUtf8(isolate, name, NewStringType::kNormal) in AddCounter()
42 v8::String::NewFromUtf8(isolate, name, NewStringType::kNormal) in AddNumber()
54 v8::String::NewFromUtf8(isolate, name, NewStringType::kNormal) in AddNumber64()
/external/pdfium/fxjs/
Dcfxjse_context.cpp55 v8::String::NewFromUtf8(pIsolate, "name")); in CreateReturnValue()
59 hReturnValue->Set(0, v8::String::NewFromUtf8(pIsolate, "Error")); in CreateReturnValue()
62 v8::String::NewFromUtf8(pIsolate, "message")); in CreateReturnValue()
68 hReturnValue->Set(0, v8::String::NewFromUtf8(pIsolate, "Error")); in CreateReturnValue()
178 v8::String::NewFromUtf8(pIsolate, "global", v8::NewStringType::kNormal) in Create()
233 v8::String::NewFromUtf8(m_pIsolate, szScript); in ExecuteScript()
254 v8::Local<v8::Script> hWrapper = v8::Script::Compile(v8::String::NewFromUtf8( in ExecuteScript()
Dcfxjse_value.cpp60 v8::Local<v8::String> hMessage = v8::String::NewFromUtf8( in FXJSE_ThrowMessage()
130 v8::String::NewFromUtf8(m_pIsolate, szPropName.unterminated_c_str(), in SetObjectProperty()
146 hObject.As<v8::Object>()->Get(v8::String::NewFromUtf8( in GetObjectProperty()
186 hObject.As<v8::Object>()->Delete(v8::String::NewFromUtf8( in DeleteObjectProperty()
200 v8::Local<v8::String> hKey = v8::String::NewFromUtf8( in HasObjectOwnProperty()
224 v8::String::NewFromUtf8(m_pIsolate, szPropName.unterminated_c_str(), in SetObjectOwnProperty()
250 v8::String::NewFromUtf8(m_pIsolate, in SetFunctionBind()
423 v8::Local<v8::Value> hValue = v8::String::NewFromUtf8( in SetString()
Dcfxjse_class.cpp63 info.GetReturnValue().Set(v8::String::NewFromUtf8( in Context_GlobalObjToString()
90 v8::MaybeLocal<v8::String> str = v8::String::NewFromUtf8( in DynPropGetterAdapter_MethodCallback()
125 1, v8::String::NewFromUtf8( in DynPropGetterAdapter()
248 v8::String::NewFromUtf8(pIsolate, lpClassDefinition->name)); in Create()
262 v8::String::NewFromUtf8(pIsolate, lpClassDefinition->methods[i].name), in Create()
274 hObjectTemplate->Set(v8::String::NewFromUtf8(pIsolate, "toString"), fun); in Create()
Dcjs_runtime.cpp239 v8::String::NewFromUtf8(GetIsolate(), utf8Name.unterminated_c_str(), in GetValueByName()
262 v8::String::NewFromUtf8(pIsolate, utf8Name.unterminated_c_str(), in SetValueByName()
Dcfxjse_runtimedata.cpp31 v8::String::NewFromUtf8(pIsolate, "global", v8::NewStringType::kNormal) in Create()
DJS_Define.cpp221 ->Get(context, v8::String::NewFromUtf8(pIsolate, "Date", in JS_DateParse()
227 v = o->Get(context, v8::String::NewFromUtf8(pIsolate, "parse", in JS_DateParse()
Dfxjs_v8.cpp88 v8::String::NewFromUtf8(isolate, "global", v8::NewStringType::kNormal) in CFXJS_ObjDefinition()
138 v8::String::NewFromUtf8(pIsolate, "global", v8::NewStringType::kNormal) in GetGlobalObjectTemplate()
Dcjs_v8.cpp117 return v8::String::NewFromUtf8(pIsolate, str.unterminated_c_str(), in NewString()
/external/v8/src/interpreter/
Dinterpreter.cc284 v8::String::NewFromUtf8(isolate, to_name.c_str(), in GetDispatchCountersObject()
296 v8::String::NewFromUtf8(isolate, from_name.c_str(), in GetDispatchCountersObject()
/external/v8/src/snapshot/
Dmksnapshot.cc287 if (!v8::String::NewFromUtf8(isolate, utf8_source, v8::NewStringType::kNormal) in RunExtraCode()
292 v8::String::NewFromUtf8(isolate, name, v8::NewStringType::kNormal) in RunExtraCode()
/external/v8/src/inspector/
Dstring-util.cc36 return v8::String::NewFromUtf8(isolate, str, v8::NewStringType::kInternalized) in toV8StringInternalized()
Dinjected-script.cc315 isolate, v8::String::NewFromUtf8(isolate, privateKeyName, in create()
789 isolate, v8::String::NewFromUtf8(isolate, privateKeyName, in fromInjectedScriptHost()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc172 return v8::String::NewFromUtf8(isolate, s.data(), v8::String::kNormalString, s.size()); in ASCIIStringToV8String()
186 return v8::String::NewFromUtf8(isolate, ascii, v8::String::kNormalString, length); in ASCIILiteralToV8String()
/external/v8/include/
Dv8.h2883 Local<String> NewFromUtf8(Isolate* isolate, const char* data,
2889 static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromUtf8(
10049 Set(String::NewFromUtf8(isolate, name, NewStringType::kInternalized)