Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/testing/runner/
DCppVariant.cpp87 uint32_t len = this_value->UTF8Length; in isEqual()
88 return len == other_value->UTF8Length in isEqual()
222 value.stringValue.UTF8Length); in toString()
289 NPVARIANT_TO_STRING(indexValue).UTF8Length); in toStringVector()
/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()
/external/chromium_org/webkit/renderer/
Dcpp_variant.cc62 uint32_t len = this_value->UTF8Length; in isEqual()
63 return (len == other_value->UTF8Length && in isEqual()
186 value.stringValue.UTF8Length); in ToString()
Dcpp_variant_unittest.cc23 (*std_string).assign(chars, np.value.stringValue.UTF8Length); in MakeStdString()
/external/chromium/webkit/glue/
Dcpp_variant.cc60 uint32_t len = this_value->UTF8Length; in isEqual()
61 return (len == other_value->UTF8Length && in isEqual()
184 value.stringValue.UTF8Length); in ToString()
Dcpp_variant_unittest.cc21 (*std_string).assign(chars, np.value.stringValue.UTF8Length); in MakeStdString()
/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/remoting/host/plugin/
Dhost_plugin_utils.cc24 return std::string(np_string.UTF8Characters, np_string.UTF8Length); in StringFromNPVariant()
/external/chromium_org/third_party/WebKit/Source/testing/plugin/Tests/
DNPRuntimeRemoveProperty.cpp121 arguments[1].value.stringValue.UTF8Length); in invoke()
/external/chromium_org/third_party/WebKit/Source/testing/plugin/
DPluginObject.cpp251 size_t length = NPVARIANT_TO_STRING(*variant).UTF8Length; in createCStringFromNPVariant()
779 char* result = static_cast<char*>(malloc(string.UTF8Length + 1)); in toCString()
780 memcpy(result, string.UTF8Characters, string.UTF8Length); in toCString()
781 result[string.UTF8Length] = '\0'; in toCString()
806 size_t written = fwrite(contentsString.UTF8Characters, contentsString.UTF8Length, 1, tempFile); in testPostURLFile()
811 NPError error = browser->posturl(obj->npp, url, target, pathString.UTF8Length, path, true); in testPostURLFile()
891 script.UTF8Length = strlen("javascript:window.testRunner.notifyDone();"); in notifyTestCompletion()
DPluginTest.cpp254 npScript.UTF8Length = strlen(script); in executeScript()
Dmain.cpp396 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.cc142 NPVARIANT_TO_STRING(*variant).UTF8Length); in NPVariantToPPVar()
Dmessage_channel.cc364 NPVARIANT_TO_STRING(*variant).UTF8Length)), in NPVariantToPPVar()
/external/chromium_org/content/renderer/browser_plugin/
Dbrowser_plugin_bindings.cc51 return std::string(np_string.UTF8Characters, np_string.UTF8Length); in StringFromNPVariant()

12