Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
Dnpruntime.cpp260 variant->value.stringValue.UTF8Length = 0; in _NPN_ReleaseVariantValue()
333 variant->value.stringValue.UTF8Length = value->UTF8Length; in _NPN_InitializeVariantWithStringCopy()
334 …stringValue.UTF8Characters = reinterpret_cast<NPUTF8*>(malloc(sizeof(NPUTF8) * value->UTF8Length)); in _NPN_InitializeVariantWithStringCopy()
335 …iant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * value->UTF8Length); in _NPN_InitializeVariantWithStringCopy()
DV8NPUtils.cpp97 …rn v8::String::NewFromUtf8(isolate, src.UTF8Characters, v8::String::kNormalString, src.UTF8Length); in convertNPVariantToV8Object()
DNPV8Object.cpp353 String script = String::fromUTF8(npScript->UTF8Characters, npScript->UTF8Length); in _NPN_EvaluateHelper()
/external/chromium_org/content/test/plugin/
Dplugin_npobject_lifetime_test.cc60 script.UTF8Length = static_cast<uint32_t>(strlen(script.UTF8Characters)); in TimerProc()
164 script_string.UTF8Length = in TimerProc()
Dplugin_private_test.cc42 href_var.value.stringValue.UTF8Length); in New()
Dplugin_get_javascript_url_test.cc88 script_string.UTF8Length = static_cast<unsigned int>(script.length()); in TimerProc()
Dplugin_windowed_test.cc92 script_string.UTF8Length = in Destroy()
Dplugin_test.cc104 script_string.UTF8Length = static_cast<unsigned int>(script.length()); in SignalTestCompleted()
Dplugin_geturl_test.cc174 script_string.UTF8Length = static_cast<unsigned int>(script.length()); in NewStream()
/external/chromium_org/content/child/npapi/
Dnpobject_util.cc177 if (variant.value.stringValue.UTF8Length) { in CreateNPVariantParam()
179 variant.value.stringValue.UTF8Length); in CreateNPVariantParam()
259 result->value.stringValue.UTF8Length = static_cast<int>(size); in CreateNPVariant()
Dnpobject_stub.cc407 script_string.UTF8Length = static_cast<unsigned int>(script.length()); in OnEvaluate()
Dnpobject_proxy.cc482 script->UTF8Characters, script->UTF8Length); in NPNEvaluate()
/external/chromium_org/content/shell/tools/plugin/Tests/
DNPRuntimeRemoveProperty.cpp125 arguments[1].value.stringValue.UTF8Length); in invoke()
/external/chromium_org/content/shell/tools/plugin/
DPluginObject.cpp241 size_t length = NPVARIANT_TO_STRING(*variant).UTF8Length; in createCStringFromNPVariant()
885 char* result = static_cast<char*>(malloc(string.UTF8Length + 1)); in toCString()
886 memcpy(result, string.UTF8Characters, string.UTF8Length); in toCString()
887 result[string.UTF8Length] = '\0'; in toCString()
917 contentsString.UTF8Characters, contentsString.UTF8Length, 1, tempFile); in testPostURLFile()
923 obj->npp, url, target, pathString.UTF8Length, path, true); in testPostURLFile()
1020 script.UTF8Length = strlen("javascript:window.testRunner.notifyDone();"); in notifyTestCompletion()
DPluginTest.cpp240 npScript.UTF8Length = strlen(script); in executeScript()
Dmain.cpp404 npScript.UTF8Length = strlen(script); in executeScript()
/external/chromium_org/third_party/npapi/bindings/
Dnpruntime.h91 uint32_t UTF8Length; member
/external/chromium_org/content/renderer/pepper/
Dnpapi_glue.cc141 NPVARIANT_TO_STRING(*variant).UTF8Length); in NPVariantToPPVar()
Dpepper_plugin_instance_impl.cc2384 np_script.UTF8Length = script_string->value().length(); in ExecuteScript()
/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_bindings.cc51 return std::string(np_string.UTF8Characters, np_string.UTF8Length); in StringFromNPVariant()
/external/chromium_org/content/browser/android/java/
Djava_bound_object.cc450 NPVARIANT_TO_STRING(variant).UTF8Length)).Release(); in CoerceJavaScriptStringToJavaValue()