Home
last modified time | relevance | path

Searched refs:ByteStringView (Results 1 – 25 of 116) sorted by relevance

12345

/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.h33 ByteStringView bsFuncName,
36 ByteStringView bsFuncName,
39 ByteStringView bsFuncName,
42 ByteStringView bsFuncName,
45 ByteStringView bsFuncName,
48 ByteStringView bsFuncName,
51 ByteStringView bsFuncName,
54 ByteStringView bsFuncName,
57 ByteStringView bsFuncName,
60 ByteStringView bsFuncName,
[all …]
Dcfxjse_value.h51 void SetString(ByteStringView szString);
59 bool GetObjectProperty(ByteStringView szPropName, CFXJSE_Value* lpPropValue);
60 bool SetObjectProperty(ByteStringView szPropName, CFXJSE_Value* lpPropValue);
62 bool DeleteObjectProperty(ByteStringView szPropName);
63 bool HasObjectOwnProperty(ByteStringView szPropName, bool bUseTypeGetter);
64 bool SetObjectOwnProperty(ByteStringView szPropName,
Dcfxjse_engine.h47 ByteStringView szPropName,
50 ByteStringView szPropName,
53 ByteStringView szPropName,
56 ByteStringView szPropName,
62 ByteStringView szPropName,
65 ByteStringView szPropName,
117 ByteStringView szPropName,
Dfxjse.h46 ByteStringView szFuncName,
49 ByteStringView szPropName,
52 ByteStringView szPropName,
83 void FXJSE_ThrowMessage(ByteStringView utf8Message);
Dcfxjse_formcalc_context.cpp325 std::pair<bool, uint32_t> PatternStringType(ByteStringView bsPattern) { in PatternStringType()
418 ByteStringView bsLocale) { in LocaleFromString()
426 WideString FormatFromString(LocaleIface* pLocale, ByteStringView bsFormat) { in FormatFromString()
450 ByteStringView bsLocale, in GetLocalDateTimeFormat()
772 int32_t DateString2Num(ByteStringView bsDate) { in DateString2Num()
838 auto cmpFunc = [](const XFA_FMHtmlReserveCode& iter, ByteStringView val) { in HTMLSTR2Code()
1178 ByteString TrillionUS(ByteStringView bsData) { in TrillionUS()
1179 static const ByteStringView pUnits[] = {"zero", "one", "two", "three", in TrillionUS()
1182 static const ByteStringView pCapUnits[] = {"Zero", "One", "Two", "Three", in TrillionUS()
1185 static const ByteStringView pTens[] = { in TrillionUS()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamcontentparser_unittest.cpp9 EXPECT_EQ(ByteStringView("BitsPerComponent"), in TEST()
11 ByteStringView("BPC"))); in TEST()
12 EXPECT_EQ(ByteStringView("Width"), in TEST()
14 ByteStringView("W"))); in TEST()
15 EXPECT_EQ(ByteStringView(""), in TEST()
17 ByteStringView(""))); in TEST()
18 EXPECT_EQ(ByteStringView(""), in TEST()
20 ByteStringView("NoInList"))); in TEST()
22 EXPECT_EQ(ByteStringView(""), in TEST()
24 ByteStringView("WW"))); in TEST()
[all …]
Dcpdf_streamcontentparser.h63 static ByteStringView FindKeyAbbreviationForTesting(ByteStringView abbr);
64 static ByteStringView FindValueAbbreviationForTesting(ByteStringView abbr);
84 void AddNameParam(ByteStringView bsName);
85 void AddNumberParam(ByteStringView str);
98 void OnOperator(ByteStringView op);
/external/pdfium/core/fxcrt/
Dbytestring.h59 explicit ByteString(ByteStringView bstrc);
60 ByteString(ByteStringView str1, ByteStringView str2);
61 ByteString(const std::initializer_list<ByteStringView>& list);
81 ByteStringView AsStringView() const { in AsStringView()
82 return ByteStringView(raw_str(), GetLength()); in AsStringView()
117 int Compare(ByteStringView str) const;
118 bool EqualNoCase(ByteStringView str) const;
121 bool operator==(ByteStringView str) const;
125 bool operator!=(ByteStringView str) const { return !(*this == str); }
129 bool operator<(ByteStringView str) const;
[all …]
Dbytestring_unittest.cpp122 ByteStringView v_empty; in TEST()
123 ByteStringView v_a("a"); in TEST()
124 ByteStringView v_abc("abc"); in TEST()
125 ByteStringView v_def("def"); in TEST()
256 ByteStringView null_string_c; in TEST()
257 ByteStringView empty_string_c(""); in TEST()
271 ByteStringView byte_string_c_same1("hello"); in TEST()
275 ByteStringView byte_string_c1("he"); in TEST()
276 ByteStringView byte_string_c2("hellp"); in TEST()
277 ByteStringView byte_string_c3("hellod"); in TEST()
[all …]
Dbytestring.cpp145 ByteString::ByteString(ByteStringView bstrc) { in ByteString()
152 ByteString::ByteString(ByteStringView str1, ByteStringView str2) { in ByteString()
166 ByteString::ByteString(const std::initializer_list<ByteStringView>& list) { in ByteString()
202 ByteString& ByteString::operator=(ByteStringView str) { in operator =()
244 ByteString& ByteString::operator+=(ByteStringView str) { in operator +=()
262 bool ByteString::operator==(ByteStringView str) const { in operator ==()
298 bool ByteString::operator<(ByteStringView str) const { in operator <()
312 bool ByteString::EqualNoCase(ByteStringView str) const { in EqualNoCase()
549 Optional<size_t> ByteString::Find(ByteStringView subStr, size_t start) const { in Find()
625 size_t ByteString::Replace(ByteStringView pOld, ByteStringView pNew) { in Replace()
[all …]
Dfx_string_unittest.cpp38 EXPECT_EQ(L"", FX_UTF8Decode(ByteStringView())); in TEST()
289 std::vector<ByteStringView> result; in TEST()
290 result = fxcrt::Split(ByteStringView(""), ','); in TEST()
294 result = fxcrt::Split(ByteStringView("a"), ','); in TEST()
298 result = fxcrt::Split(ByteStringView(","), ','); in TEST()
303 result = fxcrt::Split(ByteStringView("a,"), ','); in TEST()
308 result = fxcrt::Split(ByteStringView(",b"), ','); in TEST()
313 result = fxcrt::Split(ByteStringView("a,b"), ','); in TEST()
318 result = fxcrt::Split(ByteStringView("a,b,"), ','); in TEST()
324 result = fxcrt::Split(ByteStringView("a,,"), ','); in TEST()
[all …]
Dfx_string.h22 WideString FX_UTF8Decode(ByteStringView bsStr);
24 float StringToFloat(ByteStringView str);
28 double StringToDouble(ByteStringView str);
Dfx_string.cpp25 WideString FX_UTF8Decode(ByteStringView bsStr) { in FX_UTF8Decode()
48 T StringTo(ByteStringView strc, in StringTo()
140 float StringToFloat(ByteStringView strc) { in StringToFloat()
153 double StringToDouble(ByteStringView strc) { in StringToDouble()
Dcfx_utf8encoder.h24 ByteStringView GetResult() const { in GetResult()
25 return ByteStringView(m_Buffer.data(), m_Buffer.size()); in GetResult()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapparser.h23 void ParseWord(ByteStringView word);
25 static CIDSet CharsetFromOrdering(ByteStringView ordering);
42 void HandleCid(ByteStringView word);
43 void HandleCodeSpaceRange(ByteStringView word);
45 static uint32_t GetCode(ByteStringView word);
46 static Optional<CPDF_CMap::CodeRange> GetCodeRange(ByteStringView first,
47 ByteStringView second);
Dcpdf_cmapparser.cpp22 ByteStringView CMap_GetString(ByteStringView word) { in CMap_GetString()
24 return ByteStringView(); in CMap_GetString()
37 void CPDF_CMapParser::ParseWord(ByteStringView word) { in ParseWord()
80 void CPDF_CMapParser::HandleCid(ByteStringView word) { in HandleCid()
111 void CPDF_CMapParser::HandleCodeSpaceRange(ByteStringView word) { in HandleCodeSpaceRange()
143 uint32_t CPDF_CMapParser::GetCode(ByteStringView word) { in GetCode()
167 ByteStringView first, in GetCodeRange()
168 ByteStringView second) { in GetCodeRange()
203 CIDSet CPDF_CMapParser::CharsetFromOrdering(ByteStringView ordering) { in CharsetFromOrdering()
Dcpdf_tounicodemap.cpp75 pdfium::Optional<uint32_t> CPDF_ToUnicodeMap::StringToCode(ByteStringView str) { in StringToCode()
93 WideString CPDF_ToUnicodeMap::StringToWideString(ByteStringView str) { in StringToWideString()
122 ByteStringView word = parser.GetWord(); in Load()
147 ByteStringView word = pParser->GetWord(); in HandleBeginBFChar()
161 ByteStringView lowcode_str = pParser->GetWord(); in HandleBeginBFRange()
169 ByteStringView highcode_str = pParser->GetWord(); in HandleBeginBFRange()
177 ByteStringView start = pParser->GetWord(); in HandleBeginBFRange()
Dcpdf_cmap.h59 uint32_t GetNextChar(ByteStringView pString, size_t* pOffset) const;
60 size_t CountChar(ByteStringView pString) const;
81 explicit CPDF_CMap(ByteStringView bsPredefinedName);
Dcpdf_font.h67 ByteStringView fontname);
87 virtual uint32_t GetNextChar(ByteStringView pString, size_t* pOffset) const;
88 virtual size_t CountChar(ByteStringView pString) const;
110 uint32_t GetStringWidth(ByteStringView pString);
/external/pdfium/core/fpdfdoc/
Dcpdf_metadata_unittest.cpp19 stream->SetData(ByteStringView(data).raw_span()); in TEST()
36 stream->SetData(ByteStringView(data).raw_span()); in TEST()
53 stream->SetData(ByteStringView(data).raw_span()); in TEST()
70 stream->SetData(ByteStringView(data).raw_span()); in TEST()
88 stream->SetData(ByteStringView(data).raw_span()); in TEST()
102 stream->SetData(ByteStringView(data).raw_span()); in TEST()
118 stream->SetData(ByteStringView(data).raw_span()); in TEST()
148 stream->SetData(ByteStringView(data).raw_span()); in TEST()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_simple_parser.cpp16 ByteStringView CPDF_SimpleParser::GetWord() { in GetWord()
22 return ByteStringView(); in GetWord()
27 return ByteStringView(); in GetWord()
36 return ByteStringView(); in GetWord()
Dcpdf_syntax_parser.h54 bool BackwardsSearchToWord(ByteStringView word, FX_FILESIZE limit);
55 FX_FILESIZE FindTag(ByteStringView tag);
90 ByteStringView tag,
94 FX_FILESIZE FindWordPos(ByteStringView word);
/external/pdfium/xfa/fxfa/parser/
Dxfa_basic_data.h38 ByteStringView XFA_ElementToName(XFA_Element elem);
41 ByteStringView XFA_AttributeToName(XFA_Attribute attr);
44 ByteStringView XFA_AttributeValueToName(XFA_AttributeValue item);
/external/pdfium/testing/
Dxfa_js_embedder_test.h35 bool Execute(ByteStringView input);
36 bool ExecuteSilenceFailure(ByteStringView input);
47 bool ExecuteHelper(ByteStringView input);
Dxfa_js_embedder_test.cpp74 bool XFAJSEmbedderTest::Execute(ByteStringView input) { in Execute()
89 bool XFAJSEmbedderTest::ExecuteSilenceFailure(ByteStringView input) { in ExecuteSilenceFailure()
93 bool XFAJSEmbedderTest::ExecuteHelper(ByteStringView input) { in ExecuteHelper()

12345