| /external/pdfium/core/fpdfapi/page/ |
| D | cpdf_streamcontentparser_unittest.cpp | 9 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 …]
|
| D | cpdf_streamcontentparser.h | 65 static ByteStringView FindKeyAbbreviationForTesting(ByteStringView abbr); 66 static ByteStringView FindValueAbbreviationForTesting(ByteStringView abbr); 88 void AddNameParam(ByteStringView bsName); 89 void AddNumberParam(ByteStringView str); 106 void OnOperator(ByteStringView op);
|
| /external/pdfium/core/fxcrt/ |
| D | bytestring.h | 63 explicit ByteString(ByteStringView bstrc); 64 ByteString(ByteStringView str1, ByteStringView str2); 65 ByteString(const std::initializer_list<ByteStringView>& list); 87 ByteStringView AsStringView() const { in AsStringView() 88 return ByteStringView(raw_str(), GetLength()); in AsStringView() 123 int Compare(ByteStringView str) const; 124 bool EqualNoCase(ByteStringView str) const; 127 bool operator==(ByteStringView str) const; 131 bool operator!=(ByteStringView str) const { return !(*this == str); } 135 bool operator<(ByteStringView str) const; [all …]
|
| D | bytestring_unittest.cpp | 132 ByteString string1(ByteStringView("abc")); in TEST() 134 string1 = ByteStringView(""); in TEST() 136 string1 = ByteStringView("def"); in TEST() 146 ByteStringView v_empty; in TEST() 147 ByteStringView v_a("a"); in TEST() 148 ByteStringView v_abc("abc"); in TEST() 149 ByteStringView v_def("def"); in TEST() 242 EXPECT_TRUE(pdfium::Contains(str_set, ByteStringView("hello"))); in TEST() 245 EXPECT_FALSE(pdfium::Contains(str_set, ByteStringView("goodbye"))); in TEST() 293 ByteStringView null_string_c; in TEST() [all …]
|
| D | bytestring.cpp | 144 ByteString::ByteString(ByteStringView bstrc) { in ByteString() 151 ByteString::ByteString(ByteStringView str1, ByteStringView str2) { in ByteString() 165 ByteString::ByteString(const std::initializer_list<ByteStringView>& list) { in ByteString() 209 ByteString& ByteString::operator=(ByteStringView str) { in operator =() 251 ByteString& ByteString::operator+=(ByteStringView str) { in operator +=() 269 bool ByteString::operator==(ByteStringView str) const { in operator ==() 305 bool ByteString::operator<(ByteStringView str) const { in operator <() 319 bool ByteString::EqualNoCase(ByteStringView str) const { in EqualNoCase() 559 absl::optional<size_t> ByteString::Find(ByteStringView subStr, in Find() 637 size_t ByteString::Replace(ByteStringView pOld, ByteStringView pNew) { in Replace() [all …]
|
| D | fx_string_unittest.cpp | 39 EXPECT_EQ(L"", FX_UTF8Decode(ByteStringView())); in TEST() 290 std::vector<ByteStringView> result; in TEST() 291 result = fxcrt::Split(ByteStringView(""), ','); in TEST() 295 result = fxcrt::Split(ByteStringView("a"), ','); in TEST() 299 result = fxcrt::Split(ByteStringView(","), ','); in TEST() 304 result = fxcrt::Split(ByteStringView("a,"), ','); in TEST() 309 result = fxcrt::Split(ByteStringView(",b"), ','); in TEST() 314 result = fxcrt::Split(ByteStringView("a,b"), ','); in TEST() 319 result = fxcrt::Split(ByteStringView("a,b,"), ','); in TEST() 325 result = fxcrt::Split(ByteStringView("a,,"), ','); in TEST() [all …]
|
| D | fx_string.cpp | 26 WideString FX_UTF8Decode(ByteStringView bsStr) { in FX_UTF8Decode() 43 T StringTo(ByteStringView strc, pdfium::span<const T> fractional_scales) { in StringTo() 133 float StringToFloat(ByteStringView strc) { in StringToFloat() 145 double StringToDouble(ByteStringView strc) { in StringToDouble()
|
| D | fx_string.h | 24 WideString FX_UTF8Decode(ByteStringView bsStr); 26 float StringToFloat(ByteStringView str); 30 double StringToDouble(ByteStringView str);
|
| D | cfx_utf8encoder.h | 24 ByteStringView GetResult() const { in GetResult() 25 return ByteStringView(m_Buffer.data(), m_Buffer.size()); in GetResult()
|
| /external/pdfium/core/fpdfapi/font/ |
| D | cpdf_cmapparser.h | 23 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); 47 ByteStringView first, 48 ByteStringView second);
|
| D | cpdf_cmapparser.cpp | 24 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() 113 void CPDF_CMapParser::HandleCodeSpaceRange(ByteStringView word) { in HandleCodeSpaceRange() 145 uint32_t CPDF_CMapParser::GetCode(ByteStringView word) { in GetCode() 169 ByteStringView first, in GetCodeRange() 170 ByteStringView second) { in GetCodeRange() 205 CIDSet CPDF_CMapParser::CharsetFromOrdering(ByteStringView ordering) { in CharsetFromOrdering()
|
| D | cpdf_tounicodemap.cpp | 81 absl::optional<uint32_t> CPDF_ToUnicodeMap::StringToCode(ByteStringView str) { in StringToCode() 99 WideString CPDF_ToUnicodeMap::StringToWideString(ByteStringView str) { in StringToWideString() 128 ByteStringView word = parser.GetWord(); in Load() 152 ByteStringView word = pParser->GetWord(); in HandleBeginBFChar() 166 ByteStringView lowcode_str = pParser->GetWord(); in HandleBeginBFRange() 174 ByteStringView highcode_str = pParser->GetWord(); in HandleBeginBFRange() 182 ByteStringView start = pParser->GetWord(); in HandleBeginBFRange()
|
| D | cpdf_cmap.h | 66 uint32_t GetNextChar(ByteStringView pString, size_t* pOffset) const; 67 size_t CountChar(ByteStringView pString) const; 88 explicit CPDF_CMap(ByteStringView bsPredefinedName);
|
| /external/pdfium/fxjs/xfa/ |
| D | cfxjse_formcalc_context.h | 86 ByteStringView bsDate, 87 ByteStringView bsFormat, 88 ByteStringView bsLocale); 90 ByteStringView bsDate, 91 ByteStringView bsFormat, 92 ByteStringView bsLocale); 94 ByteStringView bsTime, 95 ByteStringView bsFormat, 96 ByteStringView bsLocale); 99 ByteStringView bsLocale, [all …]
|
| D | cfxjse_engine.h | 85 ByteStringView szPropName); 88 ByteStringView szPropName, 93 ByteStringView szPropName); 96 ByteStringView szPropName, 103 ByteStringView szPropName, 107 ByteStringView szPropName, 188 ByteStringView szPropName, 191 ByteStringView szPropName,
|
| D | cfxjse_value.h | 55 void SetString(v8::Isolate* pIsolate, ByteStringView szString); 66 ByteStringView szPropName, 69 ByteStringView szPropName, 74 void DeleteObjectProperty(v8::Isolate* pIsolate, ByteStringView szPropName); 76 ByteStringView szPropName,
|
| D | fxjse.h | 61 ByteStringView szPropName); 64 ByteStringView szPropName, 69 ByteStringView szPropName, 94 void FXJSE_ThrowMessage(v8::Isolate* pIsolate, ByteStringView utf8Message);
|
| /external/pdfium/core/fpdfdoc/ |
| D | cpdf_metadata_unittest.cpp | 19 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/ |
| D | cpdf_object_stream_unittest.cpp | 40 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 …]
|
| D | fpdf_parser_utility.h | 48 ByteString PDF_NameDecode(ByteStringView orig); 58 bool ValidateDictType(const CPDF_Dictionary* dict, ByteStringView type); 63 ByteStringView type); 69 bool ValidateDictOptionalType(const CPDF_Dictionary* dict, ByteStringView type);
|
| D | cpdf_simple_parser.cpp | 16 ByteStringView CPDF_SimpleParser::GetWord() { in GetWord() 22 return ByteStringView(); in GetWord() 27 return ByteStringView(); in GetWord() 36 return ByteStringView(); in GetWord()
|
| D | cpdf_syntax_parser.h | 64 bool BackwardsSearchToWord(ByteStringView word, FX_FILESIZE limit); 65 FX_FILESIZE FindTag(ByteStringView tag); 104 ByteStringView tag, 108 FX_FILESIZE FindWordPos(ByteStringView word);
|
| /external/pdfium/fxjs/ |
| D | fxv8.h | 43 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/ |
| D | xfa_js_embedder_test.h | 36 bool Execute(ByteStringView input); 37 bool ExecuteSilenceFailure(ByteStringView input); 40 bool ExecuteHelper(ByteStringView input);
|
| /external/pdfium/xfa/fxfa/parser/ |
| D | xfa_basic_data.h | 56 ByteStringView XFA_ElementToName(XFA_Element elem); 59 ByteStringView XFA_AttributeToName(XFA_Attribute attr); 62 ByteStringView XFA_AttributeValueToName(XFA_AttributeValue item);
|