/aosp_15_r20/external/pdfium/core/fxcrt/ |
H A 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 …]
|
H A 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 …]
|
H A D | bytestring.cpp | 143 ByteString::ByteString(ByteStringView bstrc) { in ByteString() 150 ByteString::ByteString(ByteStringView str1, ByteStringView str2) { in ByteString() 164 ByteString::ByteString(const std::initializer_list<ByteStringView>& list) { in ByteString() 208 ByteString& ByteString::operator=(ByteStringView str) { in operator =() 250 ByteString& ByteString::operator+=(ByteStringView str) { in operator +=() 268 bool ByteString::operator==(ByteStringView str) const { in operator ==() 304 bool ByteString::operator<(ByteStringView str) const { in operator <() 318 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 …]
|
H A D | fx_string_unittest.cpp | 68 EXPECT_EQ(L"", FX_UTF8Decode(ByteStringView())); in TEST() 375 std::vector<ByteStringView> result; in TEST() 376 result = fxcrt::Split(ByteStringView(""), ','); in TEST() 380 result = fxcrt::Split(ByteStringView("a"), ','); in TEST() 384 result = fxcrt::Split(ByteStringView(","), ','); in TEST() 389 result = fxcrt::Split(ByteStringView("a,"), ','); in TEST() 394 result = fxcrt::Split(ByteStringView(",b"), ','); in TEST() 399 result = fxcrt::Split(ByteStringView("a,b"), ','); in TEST() 404 result = fxcrt::Split(ByteStringView("a,b,"), ','); in TEST() 410 result = fxcrt::Split(ByteStringView("a,,"), ','); in TEST() [all …]
|
H A D | widestring.h | 70 [[nodiscard]] static WideString FromASCII(ByteStringView str); 71 [[nodiscard]] static WideString FromLatin1(ByteStringView str); 72 [[nodiscard]] static WideString FromDefANSI(ByteStringView str); 73 [[nodiscard]] static WideString FromUTF8(ByteStringView str); 212 bool EqualsASCII(ByteStringView that) const { in EqualsASCII() 215 bool EqualsASCIINoCase(ByteStringView that) const { in EqualsASCIINoCase()
|
/aosp_15_r20/external/pdfium/core/fpdfapi/page/ |
H A 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 …]
|
H A 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);
|
/aosp_15_r20/external/pdfium/fxjs/xfa/ |
H A D | cfxjse_formcalc_context.h | 87 ByteStringView bsDate, 88 ByteStringView bsFormat, 89 ByteStringView bsLocale); 91 ByteStringView bsDate, 92 ByteStringView bsFormat, 93 ByteStringView bsLocale); 95 ByteStringView bsTime, 96 ByteStringView bsFormat, 97 ByteStringView bsLocale); 100 ByteStringView bsLocale, [all …]
|
H A 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,
|
H A 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,
|
H A D | fxjse.h | 62 ByteStringView szPropName); 65 ByteStringView szPropName, 70 ByteStringView szPropName, 95 void FXJSE_ThrowMessage(v8::Isolate* pIsolate, ByteStringView utf8Message);
|
H A D | cfxjse_formcalc_context_embeddertest.cpp | 26 void ExecuteExpectError(ByteStringView input) { in ExecuteExpectError() 30 void ExecuteExpectNull(ByteStringView input) { in ExecuteExpectNull() 37 void ExecuteExpectBool(ByteStringView input, bool expected) { in ExecuteExpectBool() 50 void ExecuteExpectInt32(ByteStringView input, int32_t expected) { in ExecuteExpectInt32() 60 void ExecuteExpectFloat(ByteStringView input, float expected) { in ExecuteExpectFloat() 70 void ExecuteExpectFloatNear(ByteStringView input, float expected) { in ExecuteExpectFloatNear() 83 void ExecuteExpectNaN(ByteStringView input) { in ExecuteExpectNaN() 92 void ExecuteExpectString(ByteStringView input, const char* expected) { in ExecuteExpectString()
|
/aosp_15_r20/external/pdfium/core/fpdfapi/parser/ |
H A 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 …]
|
H A 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);
|
H A 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()
|
H A 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);
|
H A D | cpdf_syntax_parser.cpp | 554 PDF_NameDecode(ByteStringView(m_WordBuffer + 1, m_WordSize - 1))); in GetObjectBodyInternal() 659 FX_FILESIZE CPDF_SyntaxParser::FindWordPos(ByteStringView word) { in FindWordPos() 673 const ByteStringView kEndStreamStr("endstream"); in FindStreamEndPos() 674 const ByteStringView kEndObjStr("endobj"); in FindStreamEndPos() 740 const ByteStringView kEndStreamStr("endstream"); in ReadStream() 741 const ByteStringView kEndObjStr("endobj"); in ReadStream() 841 ByteStringView tag, in IsWholeWord() 867 bool CPDF_SyntaxParser::BackwardsSearchToWord(ByteStringView word, in BackwardsSearchToWord() 901 FX_FILESIZE CPDF_SyntaxParser::FindTag(ByteStringView tag) { in FindTag()
|
/aosp_15_r20/external/pdfium/core/fpdfdoc/ |
H A 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() 135 stream->SetData(ByteStringView(kData).raw_span()); in TEST() 151 stream->SetData(ByteStringView(data).raw_span()); in TEST() 181 stream->SetData(ByteStringView(data).raw_span()); in TEST()
|
/aosp_15_r20/external/pdfium/core/fpdfapi/font/ |
H A 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()
|
H A 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);
|
H A D | cpdf_tounicodemap.cpp | 82 absl::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()
|
H A D | cpdf_cmap.cpp | 209 const PredefinedCMap* GetPredefinedCMap(ByteStringView cmapid) { in GetPredefinedCMap() 284 ByteStringView bsName) { in FindEmbeddedCMap() 294 CPDF_CMap::CPDF_CMap(ByteStringView bsPredefinedName) in CPDF_CMap() 325 ByteStringView word = syntax.GetWord(); in CPDF_CMap() 361 uint32_t CPDF_CMap::GetNextChar(ByteStringView pString, size_t* pOffset) const { in GetNextChar() 426 size_t CPDF_CMap::CountChar(ByteStringView pString) const { in CountChar()
|
/aosp_15_r20/external/pdfium/fxjs/ |
H A 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);
|
H A D | fxv8.cpp | 84 ByteStringView str) { in NewStringHelper() 123 return WideString::FromUTF8(ByteStringView(*s, s.length())); in ToWideString() 210 ByteStringView bsUTF8PropertyName) { in ReentrantGetObjectPropertyHelper() 246 ByteStringView bsUTF8PropertyName) { in ReentrantHasObjectOwnPropertyHelper() 259 ByteStringView bsUTF8PropertyName, in ReentrantSetObjectOwnPropertyHelper() 272 ByteStringView bsUTF8PropertyName, in ReentrantPutObjectPropertyHelper() 285 ByteStringView bsUTF8PropertyName) { in ReentrantDeleteObjectPropertyHelper() 329 void ThrowExceptionHelper(v8::Isolate* pIsolate, ByteStringView str) { in ThrowExceptionHelper()
|
/aosp_15_r20/external/pdfium/core/fxge/android/ |
H A D | cfpf_skiafontmgr.cpp | 127 uint32_t FPF_SKIANormalizeFontName(ByteStringView bsFamily) { in FPF_SKIANormalizeFontName() 137 uint32_t FPF_SKIAGetFamilyHash(ByteStringView bsFamily, in FPF_SKIAGetFamilyHash() 155 bool FPF_SkiaMaybeSymbol(ByteStringView bsFacename) { in FPF_SkiaMaybeSymbol() 161 bool FPF_SkiaMaybeArabic(ByteStringView bsFacename) { in FPF_SkiaMaybeArabic() 243 CFPF_SkiaFont* CFPF_SkiaFontMgr::CreateFont(ByteStringView bsFamilyname, in CreateFont() 325 RetainPtr<CFX_Face> CFPF_SkiaFontMgr::GetFontFace(ByteStringView bsFile, in GetFontFace()
|