Home
last modified time | relevance | path

Searched refs:FromUTF16LE (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdf_doc_embeddertest.cpp379 EXPECT_EQ(WideString(L"A Good Beginning"), WideString::FromUTF16LE(buf, 16)); in TEST_F()
393 EXPECT_EQ(WideString(L"A Good Ending"), WideString::FromUTF16LE(buf, 13)); in TEST_F()
411 EXPECT_EQ(WideString(L"A Good Beginning"), WideString::FromUTF16LE(buf, 16)); in TEST_F()
467 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedCreator))); in TEST_F()
473 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedCreationDate))); in TEST_F()
478 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedModDate))); in TEST_F()
489 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedTitle))); in TEST_F()
502 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedModDate))); in TEST_F()
513 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedModDate))); in TEST_F()
545 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedPageLabel0))); in TEST_F()
[all …]
Dfpdf_structtree_embeddertest.cpp67 WideString::FromUTF16LE(buffer, FXSYS_len(kExpected))); in TEST_F()
126 WideString::FromUTF16LE(buffer, FXSYS_len(kExpected))); in TEST_F()
164 WideString::FromUTF16LE(buffer, FXSYS_len(kExpected))); in TEST_F()
175 WideString::FromUTF16LE(buffer, FXSYS_len(kChildExpected))); in TEST_F()
Dcpdfsdk_formfillenvironment.cpp139 return WideString::FromUTF16LE(reinterpret_cast<uint16_t*>(pBuff.data()), in GetLanguage()
161 return WideString::FromUTF16LE(reinterpret_cast<uint16_t*>(pBuff.data()), in GetPlatform()
529 WideString::FromUTF16LE(reinterpret_cast<FPDF_WIDESTRING>(response.str), in PostRequestURL()
Dcpdfsdk_helpers.cpp201 return WideString::FromUTF16LE(wide_string, in WideStringFromFPDFWideString()
Dfpdf_dataavail_embeddertest.cpp323 WideString::FromUTF16LE(buffer, FXSYS_len(kExpectedValue))); in TEST_F()
Dfpdf_formfill_embeddertest.cpp128 EXPECT_EQ(expected_string, WideString::FromUTF16LE(buf.data(), num_chars)); in CheckSelection()
142 EXPECT_EQ(expected_string, WideString::FromUTF16LE(buf.data(), num_chars)); in CheckFocusedFieldText()
/external/pdfium/testing/fuzzers/
Dpdf_cjs_util_fuzzer.cc12 WideString input = WideString::FromUTF16LE(short_data, short_size); in LLVMFuzzerTestOneInput()
18 WideString input1 = WideString::FromUTF16LE(short_data, short_len1); in LLVMFuzzerTestOneInput()
20 WideString::FromUTF16LE(short_data + short_len1, short_len2); in LLVMFuzzerTestOneInput()
Dpdf_fx_date_helpers_fuzzer.cc17 WideString input1 = WideString::FromUTF16LE(short_data, short_len1); in LLVMFuzzerTestOneInput()
19 WideString::FromUTF16LE(short_data + short_len1, short_len2); in LLVMFuzzerTestOneInput()
Dpdf_cfx_barcode_fuzzer.cc28 WideString content = WideString::FromUTF16LE( in LLVMFuzzerTestOneInput()
Dpdf_bidi_fuzzer.cc29 WideString::FromUTF16LE(reinterpret_cast<const unsigned short*>(data), in LLVMFuzzerTestOneInput()
Dpdf_nametree_fuzzer.cc30 names.push_back(WideString::FromUTF16LE( in GetNames()
/external/pdfium/xfa/fwl/
Dcfwl_edit_embeddertest.cpp59 EXPECT_STREQ(L"defgh", WideString::FromUTF16LE(buf, len).c_str()); in TEST_F()
83 EXPECT_STREQ(L"defgh", WideString::FromUTF16LE(buf, len).c_str()); in TEST_F()
/external/pdfium/testing/
Dfx_string_testhelpers.cpp39 WideString::FromUTF16LE(wstr, WideString::WStringLength(wstr)); in GetPlatformString()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_context.cpp326 return WideString::FromUTF16LE(reinterpret_cast<uint16_t*>(pBuff.data()), in Response()
Dcpdfxfa_docenvironment.cpp491 WideString wPath = WideString::FromUTF16LE( in ExportData()
/external/pdfium/core/fxcrt/
Dwidestring.h67 static WideString FromUTF16LE(const unsigned short* str,
Dwidestring.cpp935 WideString WideString::FromUTF16LE(const unsigned short* wstr, size_t wlen) { in FromUTF16LE() function in fxcrt::WideString
/external/pdfium/fxjs/
Dcjs_app.cpp554 WideString::FromUTF16LE(reinterpret_cast<uint16_t*>(pBuff.data()), in response()
/external/pdfium/core/fxge/win32/
Dfx_win32_device.cpp593 WideString wsName = WideString::FromUTF16LE(pName, len); in MapFont()