Home
last modified time | relevance | path

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

/external/v8/src/
Dd8-posix.cc171 String::NewFromUtf8(isolate, message, NewStringType::kNormal) in Init()
190 String::NewFromUtf8(isolate, message, NewStringType::kNormal) in Init()
231 String::NewFromUtf8(args.GetIsolate(), in GetTimeouts()
244 String::NewFromUtf8(args.GetIsolate(), in GetTimeouts()
292 String::NewFromUtf8(isolate, strerror(err), NewStringType::kNormal) in ChildLaunchedOK()
313 String::NewFromUtf8(isolate, strerror(errno), NewStringType::kNormal) in GetStdout()
329 String::NewFromUtf8(isolate, "Timed out waiting for output", in GetStdout()
344 String::NewFromUtf8(isolate, buffer, NewStringType::kNormal, length) in GetStdout()
393 String::NewFromUtf8(isolate, in WaitForChild()
407 String::NewFromUtf8(isolate, message, NewStringType::kNormal) in WaitForChild()
[all …]
Dd8.cc225 String::NewFromUtf8(isolate, message, NewStringType::kNormal) in Throw()
274 String::NewFromUtf8(isolate, json_str, NewStringType::kNormal) in FillTraceConfig()
344 String::NewFromUtf8(isolate, property, NewStringType::kNormal) in GetValue()
695 String::NewFromUtf8(isolate, file_name.c_str(), NewStringType::kNormal) in FetchModuleTree()
1075 String::NewFromUtf8(isolate, "", NewStringType::kNormal).ToLocalChecked(); in ReadFromStdin()
1090 String::NewFromUtf8(isolate, buffer, NewStringType::kNormal, length) in ReadFromStdin()
1096 String::NewFromUtf8(isolate, buffer, NewStringType::kNormal, in ReadFromStdin()
1101 String::NewFromUtf8(isolate, buffer, NewStringType::kNormal, in ReadFromStdin()
1123 String::NewFromUtf8(args.GetIsolate(), *file, in Load()
1248 String::NewFromUtf8(args.GetIsolate(), V8::GetVersion(), in Version()
[all …]
Dapi.cc461 if (!String::NewFromUtf8(isolate, utf8_source, NewStringType::kNormal) in RunExtraCode()
466 String::NewFromUtf8(isolate, name, NewStringType::kNormal) in RunExtraCode()
6688 Local<String> String::NewFromUtf8(Isolate* isolate, in NewFromUtf8() function in v8::String
6692 NEW_STRING(isolate, String, NewFromUtf8, char, data, in NewFromUtf8()
6698 MaybeLocal<String> String::NewFromUtf8(Isolate* isolate, const char* data, in NewFromUtf8() function in v8::String
6700 NEW_STRING(isolate, String, NewFromUtf8, char, data, type, length); in NewFromUtf8()
/external/v8/samples/
Dshell.cc113 v8::String::NewFromUtf8(isolate, "print", v8::NewStringType::kNormal) in CreateShellContext()
117 global->Set(v8::String::NewFromUtf8( in CreateShellContext()
121 global->Set(v8::String::NewFromUtf8( in CreateShellContext()
125 global->Set(v8::String::NewFromUtf8( in CreateShellContext()
130 v8::String::NewFromUtf8(isolate, "version", v8::NewStringType::kNormal) in CreateShellContext()
165 v8::String::NewFromUtf8(args.GetIsolate(), "Bad parameters", in Read()
172 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", in Read()
179 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", in Read()
196 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", in Load()
203 v8::String::NewFromUtf8(args.GetIsolate(), "Error loading file", in Load()
[all …]
Dprocess.cc163 global->Set(String::NewFromUtf8(GetIsolate(), "log", NewStringType::kNormal) in Initialize()
190 String::NewFromUtf8(GetIsolate(), "Process", NewStringType::kNormal) in Initialize()
256 String::NewFromUtf8(GetIsolate(), "options", NewStringType::kNormal) in InstallMaps()
264 String::NewFromUtf8(GetIsolate(), "output", NewStringType::kNormal) in InstallMaps()
394 String::NewFromUtf8(info.GetIsolate(), value.c_str(), in MapGet()
493 String::NewFromUtf8(info.GetIsolate(), path.c_str(), in GetPath()
505 String::NewFromUtf8(info.GetIsolate(), path.c_str(), in GetReferrer()
516 String::NewFromUtf8(info.GetIsolate(), path.c_str(), in GetHost()
528 String::NewFromUtf8(info.GetIsolate(), path.c_str(), in GetUserAgent()
543 String::NewFromUtf8(isolate, "path", NewStringType::kInternalized) in MakeRequestTemplate()
[all …]
Dhello-world.cc41 String::NewFromUtf8(isolate, "'Hello' + ', World!'", in main()
/external/v8/src/extensions/
Dexternalize-string-extension.cc63 v8::String::NewFromUtf8( in Externalize()
78 v8::String::NewFromUtf8( in Externalize()
89 v8::String::NewFromUtf8(args.GetIsolate(), in Externalize()
119 v8::String::NewFromUtf8(args.GetIsolate(), in Externalize()
131 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()
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()
Dcfxjse_runtimedata.cpp31 v8::String::NewFromUtf8(pIsolate, "global", v8::NewStringType::kNormal) in Create()
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/inspector/
Dinjected-script-native.cc21 m_isolate, v8::String::NewFromUtf8(m_isolate, privateKeyName, in setOnInjectedScriptHost()
33 isolate, v8::String::NewFromUtf8(isolate, privateKeyName, in fromInjectedScriptHost()
Dstring-util.cc33 return v8::String::NewFromUtf8(isolate, str, v8::NewStringType::kInternalized) in toV8StringInternalized()
Dv8-debugger.cc676 v8::String::NewFromUtf8(m_isolate, DebuggerScript_js, in compileDebuggerScript()
/external/v8/tools/
Dparser-shell.cc70 source_handle = v8::String::NewFromUtf8( in RunBaselineParser()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc174 return v8::String::NewFromUtf8(isolate, s.data(), v8::String::kNormalString, s.size()); in ASCIIStringToV8String()
188 return v8::String::NewFromUtf8(isolate, ascii, v8::String::kNormalString, length); in ASCIILiteralToV8String()
/external/v8/src/interpreter/
Dinterpreter.cc359 v8::String::NewFromUtf8(isolate, to_name.c_str(), in GetDispatchCountersObject()
371 v8::String::NewFromUtf8(isolate, from_name.c_str(), in GetDispatchCountersObject()
/external/v8/include/
Dv8.h2542 Local<String> NewFromUtf8(Isolate* isolate, const char* data,
2548 static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromUtf8(
9122 Set(String::NewFromUtf8(isolate, name, NewStringType::kInternalized)