Home
last modified time | relevance | path

Searched refs:Utf8Value (Results 1 – 21 of 21) sorted by relevance

/external/skia/experimental/SkV8Example/
DGlobal.cpp18 static const char* to_cstring(const v8::String::Utf8Value& value) { in to_cstring()
35 v8::String::Utf8Value exception(tryCatch->Exception()); in reportException()
44 v8::String::Utf8Value filename(message->GetScriptOrigin().ResourceName()); in reportException()
50 v8::String::Utf8Value sourceline(message->GetSourceLine()); in reportException()
63 v8::String::Utf8Value stackTrace(tryCatch->StackTrace()); in reportException()
93 v8::String::Utf8Value str(args[i]); in Print()
169 v8::String::Utf8Value str(result); in TimeOutProc()
DJsContext.cpp20 static const char* to_cstring(const v8::String::Utf8Value& value) { in to_cstring()
100 v8::String::Utf8Value str(result); in onDraw()
/external/v8/src/extensions/
Dtrigger-failure-extension.cc23 if (strcmp(*v8::String::Utf8Value(str), "triggerCheckFalse") == 0) { in GetNativeFunctionTemplate()
27 } else if (strcmp(*v8::String::Utf8Value(str), "triggerAssertFalse") == 0) { in GetNativeFunctionTemplate()
32 CHECK_EQ(0, strcmp(*v8::String::Utf8Value(str), "triggerSlowAssertFalse")); in GetNativeFunctionTemplate()
Dexternalize-string-extension.cc47 if (strcmp(*v8::String::Utf8Value(str), "externalizeString") == 0) { in GetNativeFunctionTemplate()
51 DCHECK(strcmp(*v8::String::Utf8Value(str), "isOneByteString") == 0); in GetNativeFunctionTemplate()
Dignition-statistics-extension.cc18 DCHECK_EQ(strcmp(*v8::String::Utf8Value(name), "getIgnitionDispatchCounters"), in GetNativeFunctionTemplate()
Dstatistics-extension.cc20 DCHECK(strcmp(*v8::String::Utf8Value(str), "getV8Statistics") == 0); in GetNativeFunctionTemplate()
/external/v8/samples/
Dshell.cc101 const char* ToCString(const v8::String::Utf8Value& value) { in ToCString()
150 v8::String::Utf8Value str(args[i]); in Print()
169 v8::String::Utf8Value file(args[0]); in Read()
193 v8::String::Utf8Value file(args[i]); in Load()
364 v8::String::Utf8Value str(result); in ExecuteString()
376 v8::String::Utf8Value exception(try_catch->Exception()); in ReportException()
385 v8::String::Utf8Value filename(message->GetScriptOrigin().ResourceName()); in ReportException()
391 v8::String::Utf8Value sourceline( in ReportException()
409 v8::String::Utf8Value stack_trace(stack_trace_string); in ReportException()
Dprocess.cc149 String::Utf8Value value(arg); in LogCallback()
224 String::Utf8Value error(try_catch.Exception()); in ExecuteScript()
234 String::Utf8Value error(try_catch.Exception()); in ExecuteScript()
298 String::Utf8Value error(try_catch.Exception()); in Process()
370 String::Utf8Value utf8_value(value); in ObjectToString()
Dhello-world.cc51 String::Utf8Value utf8(result); in main()
/external/v8/src/
Dd8-posix.cc166 String::Utf8Value prog(arg0); in Init()
184 String::Utf8Value utf8_arg(arg); in Init()
554 String::Utf8Value directory(args[0]); in ChangeDirectory()
668 String::Utf8Value directory(args[0]); in MakeDirectory()
688 String::Utf8Value directory(args[0]); in RemoveDirectory()
708 String::Utf8Value var(args[0]); in SetEnvironment()
709 String::Utf8Value value(args[1]); in SetEnvironment()
738 String::Utf8Value var(args[0]); in UnsetEnvironment()
Dd8.cc259 String::Utf8Value str(v->ToString(context).ToLocalChecked()); in UpdateIncludedCategoriesList()
272 String::Utf8Value str(v8_string); in GetTraceRecordMode()
370 const char* Shell::ToCString(const v8::String::Utf8Value& value) { in ToCString()
494 v8::String::Utf8Value str(result); in ExecuteString()
499 v8::String::Utf8Value str(Stringify(isolate, result)); in ExecuteString()
510 String::Utf8Value utf8(v8_str); in ToSTLString()
950 v8::String::Utf8Value str(str_obj); in WriteToFile()
979 String::Utf8Value file(args[0]); in Read()
1033 String::Utf8Value file(args[i]); in Load()
1086 String::Utf8Value script(args[0]); in WorkerNew()
[all …]
Di18n.cc47 v8::String::Utf8Value utf8_string( in ExtractStringSetting()
727 v8::String::Utf8Value bcp47_locale(v8::Utils::ToLocal(locale)); in InitializeDateTimeFormat()
790 v8::String::Utf8Value bcp47_locale(v8::Utils::ToLocal(locale)); in InitializeNumberFormat()
853 v8::String::Utf8Value bcp47_locale(v8::Utils::ToLocal(locale)); in InitializeCollator()
912 v8::String::Utf8Value bcp47_locale(v8::Utils::ToLocal(locale)); in InitializeBreakIterator()
Dd8.h327 static const char* ToCString(const v8::String::Utf8Value& value);
Dapi.cc8594 String::Utf8Value::Utf8Value(v8::Local<v8::Value> obj) in Utf8Value() function in v8::String::Utf8Value
8612 String::Utf8Value::~Utf8Value() { in ~Utf8Value()
/external/pdfium/fxjs/
Dcfxjse_class.cpp136 v8::String::Utf8Value szPropName(hPropName); in DynPropGetterAdapter_MethodCallback()
234 v8::String::Utf8Value szPropName(property); in NamedPropertyQueryCallback()
255 v8::String::Utf8Value szPropName(property); in NamedPropertyDeleterCallback()
270 v8::String::Utf8Value szPropName(property); in NamedPropertyGetterCallback()
288 v8::String::Utf8Value szPropName(property); in NamedPropertySetterCallback()
Dcfxjse_arguments.cpp41 v8::String::Utf8Value szStringVal(hString); in GetUTF8String()
Dfxjs_v8.cpp479 v8::String::Utf8Value error(try_catch.Exception()); in Execute()
486 v8::String::Utf8Value error(try_catch.Exception()); in Execute()
714 v8::String::Utf8Value s(pValue->ToString(context).ToLocalChecked()); in ToWideString()
Dcfxjse_value.cpp471 v8::String::Utf8Value hStringVal(hString); in ToString()
/external/pdfium/fpdfsdk/javascript/
DJS_Define.h326 v8::String::Utf8Value utf8_value(property); in JSSpecialPropQuery()
348 v8::String::Utf8Value utf8_value(property); in JSSpecialPropGet()
377 v8::String::Utf8Value utf8_value(property); in JSSpecialPropPut()
403 v8::String::Utf8Value utf8_value(property); in JSSpecialPropDel()
/external/v8/src/runtime/
Druntime-i18n.cc77 v8::String::Utf8Value locale_id(v8::Utils::ToLocal(locale_id_str)); in RUNTIME_FUNCTION()
196 v8::String::Utf8Value utf8_locale_id( in RUNTIME_FUNCTION()
540 v8::String::Utf8Value utf8_date(v8::Utils::ToLocal(date_string)); in RUNTIME_FUNCTION()
630 v8::String::Utf8Value utf8_number(v8::Utils::ToLocal(number_string)); in RUNTIME_FUNCTION()
/external/v8/include/
Dv8.h2622 class V8_EXPORT Utf8Value {
2624 explicit Utf8Value(Local<v8::Value> obj);
2625 ~Utf8Value();
2631 Utf8Value(const Utf8Value&) = delete;
2632 void operator=(const Utf8Value&) = delete;