Home
last modified time | relevance | path

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

123456

/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.h69 static ByteStringView FindKeyAbbreviationForTesting(ByteStringView abbr);
70 static ByteStringView FindValueAbbreviationForTesting(ByteStringView abbr);
89 void AddNameParam(ByteStringView bsName);
90 void AddNumberParam(ByteStringView str);
107 void OnOperator(ByteStringView op);
/external/pdfium/core/fxcrt/
Dbytestring.h53 explicit ByteString(ByteStringView bstrc);
54 ByteString(ByteStringView str1, ByteStringView str2);
55 ByteString(const std::initializer_list<ByteStringView>& list);
58 int Compare(ByteStringView str) const;
59 bool EqualNoCase(ByteStringView str) const;
62 bool operator==(ByteStringView str) const;
66 bool operator!=(ByteStringView str) const { return !(*this == str); }
70 bool operator<(ByteStringView str) const;
74 ByteString& operator=(ByteStringView str);
83 ByteString& operator+=(ByteStringView str);
[all …]
Dbytestring_unittest.cpp151 ByteString string1(ByteStringView("abc")); in TEST()
153 string1 = ByteStringView(""); in TEST()
155 string1 = ByteStringView("def"); in TEST()
165 ByteStringView v_empty; in TEST()
166 ByteStringView v_a("a"); in TEST()
167 ByteStringView v_abc("abc"); in TEST()
168 ByteStringView v_def("def"); in TEST()
261 EXPECT_TRUE(pdfium::Contains(str_set, ByteStringView("hello"))); in TEST()
264 EXPECT_FALSE(pdfium::Contains(str_set, ByteStringView("goodbye"))); in TEST()
312 ByteStringView null_string_c; in TEST()
[all …]
Dbytestring.cpp106 ByteString::ByteString(ByteStringView bstrc) { in ByteString()
112 ByteString::ByteString(ByteStringView str1, ByteStringView str2) { in ByteString()
125 ByteString::ByteString(const std::initializer_list<ByteStringView>& list) { in ByteString()
159 ByteString& ByteString::operator=(ByteStringView str) { in operator =()
201 ByteString& ByteString::operator+=(ByteStringView str) { in operator +=()
222 bool ByteString::operator==(ByteStringView str) const { in operator ==()
264 bool ByteString::operator<(ByteStringView str) const { in operator <()
281 bool ByteString::EqualNoCase(ByteStringView str) const { in EqualNoCase()
346 int ByteString::Compare(ByteStringView str) const { in Compare()
381 std::ostream& operator<<(std::ostream& os, ByteStringView str) { in operator <<()
[all …]
Dfx_string_unittest.cpp281 std::vector<ByteStringView> result; in TEST()
282 result = fxcrt::Split(ByteStringView(""), ','); in TEST()
286 result = fxcrt::Split(ByteStringView("a"), ','); in TEST()
290 result = fxcrt::Split(ByteStringView(","), ','); in TEST()
295 result = fxcrt::Split(ByteStringView("a,"), ','); in TEST()
300 result = fxcrt::Split(ByteStringView(",b"), ','); in TEST()
305 result = fxcrt::Split(ByteStringView("a,b"), ','); in TEST()
310 result = fxcrt::Split(ByteStringView("a,b,"), ','); in TEST()
316 result = fxcrt::Split(ByteStringView("a,,"), ','); in TEST()
322 result = fxcrt::Split(ByteStringView(",,a"), ','); in TEST()
[all …]
Dfx_string.cpp103 T StringTo(ByteStringView strc) { in StringTo()
116 ByteStringView sub_strc = strc.Substr(start, len - start); in StringTo()
130 float StringToFloat(ByteStringView strc) { in StringToFloat()
138 double StringToDouble(ByteStringView strc) { in StringToDouble()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_simple_parser.h22 ByteStringView GetWord();
30 ByteStringView GetDataToCurrentPosition(uint32_t start_position) const;
36 ByteStringView HandleName();
37 ByteStringView HandleBeginAngleBracket();
38 ByteStringView HandleEndAngleBracket();
39 ByteStringView HandleParentheses();
40 ByteStringView HandleNonDelimiter();
Dcpdf_syntax_parser_unittest.cpp31 ByteStringView(data).unsigned_span())); in TEST()
39 ByteStringView(data).unsigned_span())); in TEST()
47 ByteStringView(data).unsigned_span())); in TEST()
55 ByteStringView(data).unsigned_span())); in TEST()
63 ByteStringView(data).unsigned_span())); in TEST()
71 ByteStringView(data).unsigned_span())); in TEST()
79 ByteStringView(data).unsigned_span())); in TEST()
97 ByteStringView(data).unsigned_span())); in TEST()
105 ByteStringView(data).unsigned_span())); in TEST()
113 ByteStringView(data).unsigned_span())); in TEST()
[all …]
Dcpdf_simple_parser.cpp21 ByteStringView CPDF_SimpleParser::GetWord() { in GetWord()
24 return ByteStringView(); in GetWord()
49 ByteStringView CPDF_SimpleParser::GetDataToCurrentPosition( in GetDataToCurrentPosition()
51 return ByteStringView( in GetDataToCurrentPosition()
88 ByteStringView CPDF_SimpleParser::HandleName() { in HandleName()
98 return ByteStringView(); in HandleName()
101 ByteStringView CPDF_SimpleParser::HandleBeginAngleBracket() { in HandleBeginAngleBracket()
120 ByteStringView CPDF_SimpleParser::HandleEndAngleBracket() { in HandleEndAngleBracket()
128 ByteStringView CPDF_SimpleParser::HandleParentheses() { in HandleParentheses()
142 ByteStringView CPDF_SimpleParser::HandleNonDelimiter() { in HandleNonDelimiter()
Dcpdf_object_stream_unittest.cpp40 ByteStringView contents_view(kNormalStreamContent); in TEST()
84 ByteStringView contents_view(kNormalStreamContent); in TEST()
96 ByteStringView contents_view(kNormalStreamContent); in TEST()
108 ByteStringView contents_view(kNormalStreamContent); in TEST()
120 ByteStringView contents_view(kNormalStreamContent); in TEST()
131 ByteStringView contents_view(kNormalStreamContent); in TEST()
143 ByteStringView contents_view(kNormalStreamContent); in TEST()
155 ByteStringView contents_view(kNormalStreamContent); in TEST()
167 ByteStringView contents_view(kNormalStreamContent); in TEST()
178 ByteStringView contents_view(kNormalStreamContent); in TEST()
[all …]
Dfpdf_parser_utility.h63 ByteString PDF_NameDecode(ByteStringView orig);
73 bool ValidateDictType(const CPDF_Dictionary* dict, ByteStringView type);
78 ByteStringView type);
84 bool ValidateDictOptionalType(const CPDF_Dictionary* dict, ByteStringView type);
Dcpdf_syntax_parser.h65 bool BackwardsSearchToWord(ByteStringView word, FX_FILESIZE limit);
66 FX_FILESIZE FindTag(ByteStringView tag);
105 ByteStringView tag,
109 FX_FILESIZE FindWordPos(ByteStringView word);
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmapparser.h24 void ParseWord(ByteStringView word);
26 static CIDSet CharsetFromOrdering(ByteStringView ordering);
43 void HandleCid(ByteStringView word);
44 void HandleCodeSpaceRange(ByteStringView word);
46 static uint32_t GetCode(ByteStringView word);
48 ByteStringView first,
49 ByteStringView second);
Dcpdf_cmapparser.cpp24 ByteStringView CMap_GetString(ByteStringView word) { in CMap_GetString()
26 return ByteStringView(); in CMap_GetString()
39 void CPDF_CMapParser::ParseWord(ByteStringView word) { in ParseWord()
82 void CPDF_CMapParser::HandleCid(ByteStringView word) { in HandleCid()
110 void CPDF_CMapParser::HandleCodeSpaceRange(ByteStringView word) { in HandleCodeSpaceRange()
142 uint32_t CPDF_CMapParser::GetCode(ByteStringView word) { in GetCode()
166 ByteStringView first, in GetCodeRange()
167 ByteStringView second) { in GetCodeRange()
202 CIDSet CPDF_CMapParser::CharsetFromOrdering(ByteStringView ordering) { in CharsetFromOrdering()
Dcpdf_tounicodemap.cpp82 std::optional<uint32_t> CPDF_ToUnicodeMap::StringToCode(ByteStringView input) { in StringToCode()
91 ByteStringView str; in StringToCode()
121 WideString CPDF_ToUnicodeMap::StringToWideString(ByteStringView str) { in StringToWideString()
150 ByteStringView word = parser.GetWord(); in Load()
174 ByteStringView word = pParser->GetWord(); in HandleBeginBFChar()
188 ByteStringView lowcode_str = pParser->GetWord(); in HandleBeginBFRange()
196 ByteStringView highcode_str = pParser->GetWord(); in HandleBeginBFRange()
204 ByteStringView start = pParser->GetWord(); in HandleBeginBFRange()
/external/pdfium/core/fpdfdoc/
Dcpdf_metadata_unittest.cpp19 pdfium::MakeRetain<CPDF_Stream>(ByteStringView(data).unsigned_span()); in TEST()
36 pdfium::MakeRetain<CPDF_Stream>(ByteStringView(data).unsigned_span()); in TEST()
53 pdfium::MakeRetain<CPDF_Stream>(ByteStringView(data).unsigned_span()); in TEST()
70 pdfium::MakeRetain<CPDF_Stream>(ByteStringView(data).unsigned_span()); in TEST()
88 pdfium::MakeRetain<CPDF_Stream>(ByteStringView(data).unsigned_span()); in TEST()
102 pdfium::MakeRetain<CPDF_Stream>(ByteStringView(data).unsigned_span()); in TEST()
135 pdfium::MakeRetain<CPDF_Stream>(ByteStringView(kData).unsigned_span()); in TEST()
151 pdfium::MakeRetain<CPDF_Stream>(ByteStringView(data).unsigned_span()); in TEST()
181 pdfium::MakeRetain<CPDF_Stream>(ByteStringView(data).unsigned_span()); in TEST()
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.h88 ByteStringView bsDate,
89 ByteStringView bsFormat,
90 ByteStringView bsLocale);
92 ByteStringView bsDate,
93 ByteStringView bsFormat,
94 ByteStringView bsLocale);
96 ByteStringView bsTime,
97 ByteStringView bsFormat,
98 ByteStringView bsLocale);
101 ByteStringView bsLocale,
[all …]
Dcfxjse_engine.h90 ByteStringView szPropName);
93 ByteStringView szPropName,
98 ByteStringView szPropName);
101 ByteStringView szPropName,
108 ByteStringView szPropName,
112 ByteStringView szPropName,
193 ByteStringView szPropName,
196 ByteStringView szPropName,
Dcfxjse_value.h55 void SetString(v8::Isolate* pIsolate, ByteStringView szString);
66 ByteStringView szPropName,
69 ByteStringView szPropName,
74 void DeleteObjectProperty(v8::Isolate* pIsolate, ByteStringView szPropName);
76 ByteStringView szPropName,
Dfxjse.h62 ByteStringView szPropName);
65 ByteStringView szPropName,
70 ByteStringView szPropName,
94 void FXJSE_ThrowMessage(v8::Isolate* pIsolate, ByteStringView utf8Message);
/external/pdfium/core/fdrm/
Dfx_crypt_unittest.cpp24 return GenerateMD5Base16(ByteStringView(str).unsigned_span()); in CRYPT_MD5String()
170 CRYPT_MD5Update(&ctx, ByteStringView("abc").unsigned_span()); in TEST()
183 CRYPT_SHA1Generate(ByteStringView(kInput).unsigned_span()); in TEST()
194 CRYPT_SHA1Generate(ByteStringView(kInput).unsigned_span()); in TEST()
205 CRYPT_SHA1Generate(ByteStringView(kInput).unsigned_span()); in TEST()
215 CRYPT_SHA256Generate(ByteStringView(kInput).unsigned_span()); in TEST()
227 CRYPT_SHA256Generate(ByteStringView(kInput).unsigned_span()); in TEST()
240 CRYPT_SHA256Generate(ByteStringView(kInput).unsigned_span()); in TEST()
300 ByteStringView foobar = "foobar"; in TEST()
404 ByteStringView foobar = "foobar"; in TEST()
[all …]
/external/pdfium/fxjs/
Dfxv8.h43 ByteStringView str);
77 ByteStringView bsUTF8PropertyName);
83 ByteStringView bsUTF8PropertyName);
86 ByteStringView bsUTF8PropertyName,
90 ByteStringView bsUTF8PropertyName,
94 ByteStringView bsUTF8PropertyName);
105 void ThrowExceptionHelper(v8::Isolate* pIsolate, ByteStringView str);
/external/pdfium/testing/
Dxfa_js_embedder_test.h36 bool Execute(ByteStringView input);
37 bool ExecuteSilenceFailure(ByteStringView input);
40 bool ExecuteHelper(ByteStringView input);
/external/pdfium/xfa/fxfa/parser/
Dxfa_basic_data.h57 ByteStringView XFA_ElementToName(XFA_Element elem);
60 ByteStringView XFA_AttributeToName(XFA_Attribute attr);
63 ByteStringView XFA_AttributeValueToName(XFA_AttributeValue item);

123456