Home
last modified time | relevance | path

Searched refs:ToWideString (Results 1 – 25 of 34) sorted by relevance

12

/external/pdfium/xfa/fgas/crt/
Dcfgas_decimal_unittest.cpp13 EXPECT_EQ(L"0", empty.ToWideString()); in TEST()
21 EXPECT_STREQ(L"2147483647", big.ToWideString().c_str()); in TEST()
22 EXPECT_STREQ(L"-2147483648", small.ToWideString().c_str()); in TEST()
28 EXPECT_STREQ(L"4294967295", big.ToWideString().c_str()); in TEST()
29 EXPECT_STREQ(L"0", small.ToWideString().c_str()); in TEST()
35 EXPECT_STREQ(L"18446744073709551615", big.ToWideString().c_str()); in TEST()
36 EXPECT_STREQ(L"0", small.ToWideString().c_str()); in TEST()
40 WideString big = CFGAS_Decimal(powf(2.0f, 95.0f), 0).ToWideString(); in TEST()
47 WideString tiny = CFGAS_Decimal(1e20f, 0).ToWideString(); in TEST()
52 WideString teeny = CFGAS_Decimal(1e14f, 4).ToWideString(); in TEST()
[all …]
Dcfgas_decimal.h21 WideString ToWideString() const;
/external/pdfium/fxjs/xfa/
Dcjx_packet.cpp45 attributeValue = element->GetAttribute(runtime->ToWideString(params[0])); in getAttribute()
59 element->SetAttribute(runtime->ToWideString(params[1]), in setAttribute()
60 runtime->ToWideString(params[0])); in setAttribute()
73 WideString name = runtime->ToWideString(params[0]); in removeAttribute()
92 ->CreateNode<CFX_XMLText>(pValue->ToWideString())); in content()
Dcjx_model.cpp47 name = runtime->ToWideString(params[1]); in createNode()
51 nameSpace = runtime->ToWideString(params[2]); in createNode()
53 WideString tagName = runtime->ToWideString(params[0]); in createNode()
84 nameSpace = runtime->ToWideString(params[0]); in isCompatibleNS()
Dcjx_hostpseudomodel.cpp181 hDoc->GetDocEnvironment()->SetTitle(hDoc, pValue->ToWideString()); in title()
259 WideString URL = runtime->ToWideString(params[0]); in gotoURL()
291 pObject, runtime->ToWideString(params[0]).AsStringView(), in openList()
317 question = runtime->ToWideString(params[0]); in response()
321 title = runtime->ToWideString(params[1]); in response()
325 defaultAnswer = runtime->ToWideString(params[2]); in response()
355 expression = runtime->ToWideString(params[0]); in resetData()
439 pObject, runtime->ToWideString(params[0]).AsStringView(), in setFocus()
484 message = runtime->ToWideString(params[0]); in messageBox()
488 title = runtime->ToWideString(params[1]); in messageBox()
[all …]
Dcjx_field.cpp61 WideString eventString = runtime->ToWideString(params[0]); in execEvent()
131 WideString value = runtime->ToWideString(params[0]); in boundItem()
219 label = runtime->ToWideString(params[0]); in addItem()
223 value = runtime->ToWideString(params[1]); in addItem()
260 wsNewText = pValue->ToWideString(); in defaultValue()
310 node->SetValue(XFA_VALUEPICTURE_Edit, pValue->ToWideString()); in editValue()
331 node->SetValue(XFA_VALUEPICTURE_Display, pValue->ToWideString()); in formattedValue()
Dcjx_exclgroup.cpp43 execSingleEventByName(runtime->ToWideString(params[0]).AsStringView(), in execEvent()
105 runtime->ToWideString(params[0]).AsStringView(), true); in selectedMember()
126 node->SetSelectedMemberByValue(pValue->ToWideString().AsStringView(), true, in defaultValue()
Dcjx_node.cpp199 WideString expression = runtime->ToWideString(params[0]); in getAttribute()
210 WideString expression = runtime->ToWideString(params[0]); in getElement()
233 WideString expression = runtime->ToWideString(params[0]); in isPropertySpecified()
387 !runtime->ToWideString(params[0]).EqualsASCII("pretty")) { in saveXML()
431 WideString attributeValue = runtime->ToWideString(params[0]); in setAttribute()
432 WideString attribute = runtime->ToWideString(params[1]); in setAttribute()
Dcjx_subform.cpp43 execSingleEventByName(runtime->ToWideString(params[0]).AsStringView(), in execEvent()
94 SetCData(XFA_Attribute::Locale, pValue->ToWideString(), true, true); in locale()
Dcjx_draw.cpp46 WideString wsNewValue = pValue->ToWideString(); in defaultValue()
Dcjx_treelist.cpp42 runtime->ToWideString(params[0]).AsStringView()); in namedItem()
Dcjx_object.cpp1084 WideString wsValue = pValue->ToWideString(); in ScriptAttributeString()
1174 std::tie(r, g, b) = StrToRGB(pValue->ToWideString()); in ScriptSomFontColor()
1200 std::tie(r, g, b) = StrToRGB(pValue->ToWideString()); in ScriptSomFillColor()
1225 std::tie(r, g, b) = StrToRGB(pValue->ToWideString()); in ScriptSomBorderColor()
1262 WideString wsThickness = pValue->ToWideString(); in ScriptSomBorderWidth()
1284 validate->SetScriptMessageText(pValue->ToWideString()); in ScriptSomMessage()
1287 validate->SetFormatMessageText(pValue->ToWideString()); in ScriptSomMessage()
1290 validate->SetNullMessageText(pValue->ToWideString()); in ScriptSomMessage()
1370 wsNewValue = pValue->ToWideString(); in ScriptSomDefaultValue()
1460 validate->SetNullTest(pValue->ToWideString()); in ScriptSomMandatory()
Dcjx_tree.cpp42 WideString expression = runtime->ToWideString(params[0]); in resolveNode()
92 ResolveNodeList(pValue.get(), runtime->ToWideString(params[0]), in resolveNodes()
Dcfxjse_value.h41 WideString ToWideString() const { in ToWideString() function
/external/pdfium/fxjs/
Dcfx_v8_unittest.cpp46 EXPECT_EQ(L"", cfx_v8()->ToWideString(empty)); in TEST_F()
74 EXPECT_EQ(L"null", cfx_v8()->ToWideString(nullz)); in TEST_F()
89 EXPECT_EQ(L"undefined", cfx_v8()->ToWideString(undef)); in TEST_F()
104 EXPECT_EQ(L"true", cfx_v8()->ToWideString(boolz)); in TEST_F()
113 EXPECT_EQ(L"false", cfx_v8()->ToWideString(boolz)); in TEST_F()
128 EXPECT_EQ(L"42.1", cfx_v8()->ToWideString(num)); in TEST_F()
143 EXPECT_EQ(L"123", cfx_v8()->ToWideString(str)); in TEST_F()
152 EXPECT_EQ(L"123", cfx_v8()->ToWideString(str2)); in TEST_F()
167 EXPECT_NE(L"", cfx_v8()->ToWideString(date)); // exact format varies. in TEST_F()
194 EXPECT_EQ(L",,,12", cfx_v8()->ToWideString(array)); in TEST_F()
[all …]
Dcjs_app.cpp231 swMsg += pRuntime->ToWideString(pRuntime->GetArrayElement(carray, i)); in alert()
235 swMsg = pRuntime->ToWideString(newParams[0]); in alert()
248 swTitle = pRuntime->ToWideString(newParams[3]); in alert()
300 WideString script = pRuntime->ToWideString(params[0]); in setInterval()
328 WideString script = pRuntime->ToWideString(params[0]); in setTimeOut()
432 cTo = pRuntime->ToWideString(newParams[1]); in mailMsg()
441 cCc = pRuntime->ToWideString(newParams[2]); in mailMsg()
445 cBcc = pRuntime->ToWideString(newParams[3]); in mailMsg()
449 cSubject = pRuntime->ToWideString(newParams[4]); in mailMsg()
453 cMsg = pRuntime->ToWideString(newParams[5]); in mailMsg()
[all …]
Dcjs_util.cpp106 WideString unsafe_fmt_string = L'S' + pRuntime->ToWideString(params[0]); in printf()
144 pRuntime->ToWideString(params[i]).c_str()); in printf()
213 pRuntime->ToWideString(params[0]).c_str(); in printd()
272 pRuntime->NewString(StringPrintx(pRuntime->ToWideString(params[0]), in printx()
273 pRuntime->ToWideString(params[1])) in printx()
372 WideString sFormat = pRuntime->ToWideString(params[0]); in scand()
373 WideString sDate = pRuntime->ToWideString(params[1]); in scand()
Dcjs_document.cpp248 WideString wideName = pRuntime->ToWideString(params[0]); in getField()
324 cTo = pRuntime->ToWideString(newParams[1]); in mailDoc()
328 cCc = pRuntime->ToWideString(newParams[2]); in mailDoc()
332 cBcc = pRuntime->ToWideString(newParams[3]); in mailDoc()
336 cSubject = pRuntime->ToWideString(newParams[4]); in mailDoc()
340 cMsg = pRuntime->ToWideString(newParams[5]); in mailDoc()
374 cTo = pRuntime->ToWideString(newParams[1]); in mailForm()
378 cCc = pRuntime->ToWideString(newParams[2]); in mailForm()
382 cBcc = pRuntime->ToWideString(newParams[3]); in mailForm()
386 cSubject = pRuntime->ToWideString(newParams[4]); in mailForm()
[all …]
Dcjs_publicmethods.cpp321 WideString wsStr = pRuntime->ToWideString(val); in AF_MakeArrayFromList()
603 WideString wstrCurrency = pRuntime->ToWideString(params[4]); in AFNumber_Format()
891 WideString sFormat = pRuntime->ToWideString(params[0]); in AFDate_FormatEx()
969 WideString sFormat = pRuntime->ToWideString(params[0]); in AFDate_KeystrokeEx()
1095 WideString wstrMask = pRuntime->ToWideString(params[0]); in AFSpecial_KeystrokeEx()
1227 WideString sValue = pRuntime->ToWideString(params[0]); in AFParseDateEx()
1228 WideString sFormat = pRuntime->ToWideString(params[1]); in AFParseDateEx()
1245 WideString sFunction = pRuntime->ToWideString(params[0]); in AFSimple()
1268 WideString ws = pRuntime->ToWideString(params[0]); in AFMakeNumber()
1288 WideString sFunction = pRuntime->ToWideString(params[0]); in AFSimple_Calculate()
[all …]
Dcfx_v8.cpp40 result.push_back(ToWideString(val->Get(context, i).ToLocalChecked())); in GetObjectPropertyNames()
165 WideString CFX_V8::ToWideString(v8::Local<v8::Value> pValue) { in ToWideString() function in CFX_V8
Dcjs_annot.cpp90 WideString annotName = pRuntime->ToWideString(vp); in set_name()
Dcfx_v8.h38 WideString ToWideString(v8::Local<v8::Value> pValue);
Dcjs_event.cpp71 wChange = pRuntime->ToWideString(vp); in set_change()
309 pEvent->Value() = pRuntime->ToWideString(vp); in set_value()
Dcjs_color.cpp93 pRuntime->ToWideString(pRuntime->GetArrayElement(array, 0)); in ConvertArrayToPWLColor()
279 WideString sDestSpace = pRuntime->ToWideString(params[1]); in convert()
/external/pdfium/testing/
Dxfa_js_embedder_test.cpp84 if (msg.IsString() && !msg.ToWideString().IsEmpty()) in Execute()
85 fprintf(stderr, "JS ERROR: %ls\n", msg.ToWideString().c_str()); in Execute()

12