/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fpdfdoc/ |
H A D | cpdf_nametree_unittest.cpp | 92 CPDF_NameTree name_tree(pRootDict.Get()); in TEST() local 94 name_tree.LookupValueAndName(0, &storedName); in TEST() 111 CPDF_NameTree name_tree(pRootDict.Get()); in TEST() local 142 CPDF_NameTree name_tree(pRootDict.Get()); in TEST() local 175 CPDF_NameTree name_tree(pRootDict.Get()); in TEST() local 184 ASSERT_TRUE(name_tree.LookupValue(L"4.txt")); in TEST() 190 ASSERT_TRUE(name_tree.LookupValue(L"6.txt")); in TEST() 202 ASSERT_TRUE(name_tree.LookupValue(L"0.txt")); in TEST() 249 CPDF_NameTree name_tree(pRootDict.Get()); in TEST() local 270 ASSERT_TRUE(name_tree.LookupValue(L"9.txt")); in TEST() [all …]
|
H A D | cpdf_link.cpp | 31 CPDF_NameTree name_tree(pDoc, "Dests"); in GetDest() local 32 return CPDF_Dest(name_tree.LookupNamedDest(pDoc, pDest->GetUnicodeText())); in GetDest()
|
H A D | cpdf_bookmark.cpp | 56 CPDF_NameTree name_tree(pDocument, "Dests"); in GetDest() local 58 name_tree.LookupNamedDest(pDocument, pDest->GetUnicodeText())); in GetDest()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fpdfdoc/ |
H A D | cpdf_nametree_unittest.cpp | 91 std::unique_ptr<CPDF_NameTree> name_tree = in TEST() local 94 name_tree->LookupValueAndName(0, &storedName); in TEST() 111 std::unique_ptr<CPDF_NameTree> name_tree = in TEST() local 143 std::unique_ptr<CPDF_NameTree> name_tree = in TEST() local 177 std::unique_ptr<CPDF_NameTree> name_tree = in TEST() local 187 ASSERT_TRUE(name_tree->LookupValue(L"4.txt")); in TEST() 193 ASSERT_TRUE(name_tree->LookupValue(L"6.txt")); in TEST() 205 ASSERT_TRUE(name_tree->LookupValue(L"0.txt")); in TEST() 252 std::unique_ptr<CPDF_NameTree> name_tree = in TEST() local 274 ASSERT_TRUE(name_tree->LookupValue(L"9.txt")); in TEST() [all …]
|
/dports/print/qpdf/qpdf-10.5.0/examples/ |
H A D | pdf-name-number-tree.cc | 63 auto name_tree = QPDFNameTreeObjectHelper::newEmpty(qpdf); in main() local 64 auto name_tree_oh = name_tree.getObjectHandle(); in main() 71 auto iter = name_tree.insert( in main() 86 for (auto i: name_tree) in main() 112 std::cout << "Has Q?: " << name_tree.hasName("Q") << std::endl; in main() 113 std::cout << "Has W?: " << name_tree.hasName("W") << std::endl; in main() 120 iter = name_tree.find("Q"); in main() 123 iter = name_tree.find("W"); in main() 126 iter = name_tree.find("W", true); in main() 133 std::cout << "Has P?: " << name_tree.hasName("P") << std::endl; in main() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fpdfdoc/ |
H A D | cpdf_docjsactions.cpp | 15 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in CountJSActions() local 16 return name_tree.GetCount(); in CountJSActions() 22 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in GetJSAction() local 23 CPDF_Object* pAction = name_tree.LookupValue(index, csName); in GetJSAction() 30 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in GetJSAction() local 31 CPDF_Object* pAction = name_tree.LookupValue(csName); in GetJSAction() 38 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in FindJSAction() local 39 return name_tree.GetIndex(csName); in FindJSAction()
|
H A D | cpdf_link.cpp | 22 CPDF_NameTree name_tree(pDoc, "Dests"); in GetDest() local 23 return CPDF_Dest(name_tree.LookupNamedDest(pDoc, pDest->GetString())); in GetDest()
|
H A D | cpdf_bookmark.cpp | 63 CPDF_NameTree name_tree(pDocument, "Dests"); in GetDest() local 64 return CPDF_Dest(name_tree.LookupNamedDest(pDocument, pDest->GetString())); in GetDest()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/fpdfsdk/ |
H A D | fpdf_attachment.cpp | 59 auto name_tree = CPDF_NameTree::Create(pDoc, "EmbeddedFiles"); in FPDFDoc_GetAttachmentCount() local 60 return name_tree ? name_tree->GetCount() : 0; in FPDFDoc_GetAttachmentCount() 73 auto name_tree = in FPDFDoc_AddAttachment() local 75 if (!name_tree) in FPDFDoc_AddAttachment() 85 if (!name_tree->AddValueAndName(pFile->MakeReference(pDoc), wsName)) in FPDFDoc_AddAttachment() 97 auto name_tree = CPDF_NameTree::Create(pDoc, "EmbeddedFiles"); in FPDFDoc_GetAttachment() local 98 if (!name_tree || static_cast<size_t>(index) >= name_tree->GetCount()) in FPDFDoc_GetAttachment() 103 name_tree->LookupValueAndName(index, &csName)); in FPDFDoc_GetAttachment() 112 auto name_tree = CPDF_NameTree::Create(pDoc, "EmbeddedFiles"); in FPDFDoc_DeleteAttachment() local 113 if (!name_tree || static_cast<size_t>(index) >= name_tree->GetCount()) in FPDFDoc_DeleteAttachment() [all …]
|
H A D | fpdf_javascript.cpp | 26 auto name_tree = CPDF_NameTree::Create(doc, "JavaScript"); in FPDFDoc_GetJavaScriptActionCount() local 27 return name_tree ? name_tree->GetCount() : 0; in FPDFDoc_GetJavaScriptActionCount() 36 auto name_tree = CPDF_NameTree::Create(doc, "JavaScript"); in FPDFDoc_GetJavaScriptAction() local 37 if (!name_tree || static_cast<size_t>(index) >= name_tree->GetCount()) in FPDFDoc_GetJavaScriptAction() 42 ToDictionary(name_tree->LookupValueAndName(index, &name)); in FPDFDoc_GetJavaScriptAction()
|
/dports/www/p5-HTML5-DOM/HTML5-DOM-1.25/third_party/modest/source/mycss/namespace/ |
H A D | init.c | 115 ns_stylesheet->name_tree = mctree_create(14); in mycss_namespace_stylesheet_init() 116 if(ns_stylesheet->name_tree == NULL) in mycss_namespace_stylesheet_init() 148 mctree_clean(ns_stylesheet->name_tree); in mycss_namespace_stylesheet_clean() 169 ns_stylesheet->name_tree = mctree_destroy(ns_stylesheet->name_tree); in mycss_namespace_stylesheet_destroy() 239 const char * mycss_namespace_name_by_id(mycss_namespace_t* ns, mctree_t* name_tree, size_t ns_id, s… in mycss_namespace_name_by_id() argument 246 mycss_namespace_entry_t *entry = (mycss_namespace_entry_t*)(name_tree->nodes[ ns_id ].value); in mycss_namespace_name_by_id() 254 const char * mycss_namespace_name_by_entry(mycss_namespace_entry_t* ns_entry, mctree_t* name_tree, … in mycss_namespace_name_by_entry() argument 278 mycss_namespace_entry_t * mycss_namespace_entry_by_name(mycss_namespace_t *ns, mctree_t* name_tree,… in mycss_namespace_entry_by_name() argument 285 idx = mctree_search_lowercase(name_tree, ns_name, length); in mycss_namespace_entry_by_name() 287 idx = mctree_search(name_tree, ns_name, length); in mycss_namespace_entry_by_name() [all …]
|
H A D | init.h | 53 const char * mycss_namespace_name_by_id(mycss_namespace_t* ns, mctree_t* name_tree, size_t ns_id, s… 54 mycss_namespace_entry_t * mycss_namespace_entry_by_name(mycss_namespace_t *ns, mctree_t* name_tree,… 55 const char * mycss_namespace_name_by_entry(mycss_namespace_entry_t* ns_entry, mctree_t* name_tree, …
|
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fpdfdoc/ |
H A D | doc_action.cpp | 40 CPDF_NameTree name_tree(pDoc, "Dests"); in GetDest() local 41 return CPDF_Dest(name_tree.LookupNamedDest(pDoc, pDest->GetString())); in GetDest() 239 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in CountJSActions() local 240 return name_tree.GetCount(); in CountJSActions() 245 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in GetJSAction() local 246 CPDF_Object* pAction = name_tree.LookupValue(index, csName); in GetJSAction() 254 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in GetJSAction() local 255 CPDF_Object* pAction = name_tree.LookupValue(csName); in GetJSAction() 263 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in FindJSAction() local 264 return name_tree.GetIndex(csName); in FindJSAction()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/ |
H A D | fpdf_attachment.cpp | 97 CPDF_NameTree name_tree(pDoc, "EmbeddedFiles"); in FPDFDoc_AddAttachment() local 98 if (!name_tree.AddValueAndName(pFile->MakeReference(pDoc), wsName)) { in FPDFDoc_AddAttachment() 111 CPDF_NameTree name_tree(pDoc, "EmbeddedFiles"); in FPDFDoc_GetAttachment() local 112 if (static_cast<size_t>(index) >= name_tree.GetCount()) in FPDFDoc_GetAttachment() 117 name_tree.LookupValueAndName(index, &csName)); in FPDFDoc_GetAttachment() 126 CPDF_NameTree name_tree(pDoc, "EmbeddedFiles"); in FPDFDoc_DeleteAttachment() local 127 if (static_cast<size_t>(index) >= name_tree.GetCount()) in FPDFDoc_DeleteAttachment() 130 return name_tree.DeleteValueAndName(index); in FPDFDoc_DeleteAttachment()
|
H A D | fpdf_javascript.cpp | 33 CPDF_NameTree name_tree(doc, "JavaScript"); in FPDFDoc_GetJavaScriptAction() local 34 if (static_cast<size_t>(index) >= name_tree.GetCount()) in FPDFDoc_GetJavaScriptAction() 39 ToDictionary(name_tree.LookupValueAndName(index, &name)); in FPDFDoc_GetJavaScriptAction()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/testing/fuzzers/ |
H A D | pdf_nametree_fuzzer.cc | 57 std::unique_ptr<CPDF_NameTree> name_tree = in LLVMFuzzerTestOneInput() local 65 name_tree->AddValueAndName(std::move(obj), name); in LLVMFuzzerTestOneInput() 70 name_tree->DeleteValueAndName(i); in LLVMFuzzerTestOneInput() 73 name_tree->DeleteValueAndName(0); in LLVMFuzzerTestOneInput()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/common/ |
H A D | message_bundle.cc | 133 const base::DictionaryValue* name_tree; in GetMessageValue() local 134 if (!name_value.GetAsDictionary(&name_tree)) { in GetMessageValue() 139 if (!name_tree->GetString(kMessageKey, value)) { in GetMessageValue() 146 if (!GetPlaceholders(*name_tree, key, &placeholders, error)) in GetMessageValue() 158 bool MessageBundle::GetPlaceholders(const base::DictionaryValue& name_tree, in GetPlaceholders() argument 162 if (!name_tree.HasKey(kPlaceholdersKey)) in GetPlaceholders() 166 if (!name_tree.GetDictionary(kPlaceholdersKey, &placeholders_tree)) { in GetPlaceholders()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/common/ |
H A D | message_bundle.cc | 133 const base::DictionaryValue* name_tree; in GetMessageValue() local 134 if (!name_value.GetAsDictionary(&name_tree)) { in GetMessageValue() 139 if (!name_tree->GetString(kMessageKey, value)) { in GetMessageValue() 146 if (!GetPlaceholders(*name_tree, key, &placeholders, error)) in GetMessageValue() 158 bool MessageBundle::GetPlaceholders(const base::DictionaryValue& name_tree, in GetPlaceholders() argument 162 if (!name_tree.HasKey(kPlaceholdersKey)) in GetPlaceholders() 166 if (!name_tree.GetDictionary(kPlaceholdersKey, &placeholders_tree)) { in GetPlaceholders()
|
/dports/www/p5-HTML5-DOM/HTML5-DOM-1.25/third_party/modest/include/mycss/namespace/ |
H A D | init.h | 53 const char * mycss_namespace_name_by_id(mycss_namespace_t* ns, mctree_t* name_tree, size_t ns_id, s… 54 mycss_namespace_entry_t * mycss_namespace_entry_by_name(mycss_namespace_t *ns, mctree_t* name_tree,… 55 const char * mycss_namespace_name_by_entry(mycss_namespace_entry_t* ns_entry, mctree_t* name_tree, …
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-winsrepl.c | 366 proto_tree *name_tree = NULL; in dissect_winsrepl_wins_name() local 383 name_tree = proto_tree_add_subtree_format(sub_tree, winsrepl_tvb, winsrepl_offset, -1, in dissect_winsrepl_wins_name() 386 name_tree = proto_tree_add_subtree(winsrepl_tree, winsrepl_tvb, winsrepl_offset, -1, in dissect_winsrepl_wins_name() 392 …ti = proto_tree_add_uint(name_tree, hf_winsrepl_name_len, winsrepl_tvb, winsrepl_offset, 4, name_l… in dissect_winsrepl_wins_name() 409 netbios_add_name("Name", name_tvb, 0, name_tree); in dissect_winsrepl_wins_name() 427 …proto_tree_add_bitmask(name_tree, winsrepl_tvb, winsrepl_offset, hf_winsrepl_name_flags, ett_winsr… in dissect_winsrepl_wins_name() 432 …proto_tree_add_item(name_tree, hf_winsrepl_name_group_flag, winsrepl_tvb, winsrepl_offset, 4, ENC_… in dissect_winsrepl_wins_name() 436 …proto_tree_add_item(name_tree, hf_winsrepl_name_version_id, winsrepl_tvb, winsrepl_offset, 8, ENC_… in dissect_winsrepl_wins_name() 444 …proto_tree_add_item(name_tree, hf_winsrepl_ip_ip, winsrepl_tvb, winsrepl_offset, 4, ENC_BIG_ENDIAN… in dissect_winsrepl_wins_name() 453 winsrepl_offset, name_tree, in dissect_winsrepl_wins_name() [all …]
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-winsrepl.c | 366 proto_tree *name_tree = NULL; in dissect_winsrepl_wins_name() local 383 name_tree = proto_tree_add_subtree_format(sub_tree, winsrepl_tvb, winsrepl_offset, -1, in dissect_winsrepl_wins_name() 386 name_tree = proto_tree_add_subtree(winsrepl_tree, winsrepl_tvb, winsrepl_offset, -1, in dissect_winsrepl_wins_name() 392 …ti = proto_tree_add_uint(name_tree, hf_winsrepl_name_len, winsrepl_tvb, winsrepl_offset, 4, name_l… in dissect_winsrepl_wins_name() 409 netbios_add_name("Name", name_tvb, 0, name_tree); in dissect_winsrepl_wins_name() 427 …proto_tree_add_bitmask(name_tree, winsrepl_tvb, winsrepl_offset, hf_winsrepl_name_flags, ett_winsr… in dissect_winsrepl_wins_name() 432 …proto_tree_add_item(name_tree, hf_winsrepl_name_group_flag, winsrepl_tvb, winsrepl_offset, 4, ENC_… in dissect_winsrepl_wins_name() 436 …proto_tree_add_item(name_tree, hf_winsrepl_name_version_id, winsrepl_tvb, winsrepl_offset, 8, ENC_… in dissect_winsrepl_wins_name() 444 …proto_tree_add_item(name_tree, hf_winsrepl_ip_ip, winsrepl_tvb, winsrepl_offset, 4, ENC_BIG_ENDIAN… in dissect_winsrepl_wins_name() 453 winsrepl_offset, name_tree, in dissect_winsrepl_wins_name() [all …]
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-winsrepl.c | 366 proto_tree *name_tree = NULL; 383 name_tree = proto_tree_add_subtree_format(sub_tree, winsrepl_tvb, winsrepl_offset, -1, 386 name_tree = proto_tree_add_subtree(winsrepl_tree, winsrepl_tvb, winsrepl_offset, -1, 392 …ti = proto_tree_add_uint(name_tree, hf_winsrepl_name_len, winsrepl_tvb, winsrepl_offset, 4, name_l… 409 netbios_add_name("Name", name_tvb, 0, name_tree); 427 …proto_tree_add_bitmask(name_tree, winsrepl_tvb, winsrepl_offset, hf_winsrepl_name_flags, ett_winsr… 432 …proto_tree_add_item(name_tree, hf_winsrepl_name_group_flag, winsrepl_tvb, winsrepl_offset, 4, ENC_… 436 …proto_tree_add_item(name_tree, hf_winsrepl_name_version_id, winsrepl_tvb, winsrepl_offset, 8, ENC_… 444 …proto_tree_add_item(name_tree, hf_winsrepl_ip_ip, winsrepl_tvb, winsrepl_offset, 4, ENC_BIG_ENDIAN… 453 winsrepl_offset, name_tree, [all …]
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-winsrepl.c | 366 proto_tree *name_tree = NULL; in dissect_winsrepl_wins_name() local 383 name_tree = proto_tree_add_subtree_format(sub_tree, winsrepl_tvb, winsrepl_offset, -1, in dissect_winsrepl_wins_name() 386 name_tree = proto_tree_add_subtree(winsrepl_tree, winsrepl_tvb, winsrepl_offset, -1, in dissect_winsrepl_wins_name() 392 …ti = proto_tree_add_uint(name_tree, hf_winsrepl_name_len, winsrepl_tvb, winsrepl_offset, 4, name_l… in dissect_winsrepl_wins_name() 409 netbios_add_name("Name", name_tvb, 0, name_tree); in dissect_winsrepl_wins_name() 427 …proto_tree_add_bitmask(name_tree, winsrepl_tvb, winsrepl_offset, hf_winsrepl_name_flags, ett_winsr… in dissect_winsrepl_wins_name() 432 …proto_tree_add_item(name_tree, hf_winsrepl_name_group_flag, winsrepl_tvb, winsrepl_offset, 4, ENC_… in dissect_winsrepl_wins_name() 436 …proto_tree_add_item(name_tree, hf_winsrepl_name_version_id, winsrepl_tvb, winsrepl_offset, 8, ENC_… in dissect_winsrepl_wins_name() 444 …proto_tree_add_item(name_tree, hf_winsrepl_ip_ip, winsrepl_tvb, winsrepl_offset, 4, ENC_BIG_ENDIAN… in dissect_winsrepl_wins_name() 453 winsrepl_offset, name_tree, in dissect_winsrepl_wins_name() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/xfa/fxfa/ |
H A D | cxfa_ffdoc.cpp | 278 auto name_tree = CPDF_NameTree::Create(m_pPDFDoc.Get(), "XFAImages"); in GetPDFNamedImage() local 279 size_t count = name_tree ? name_tree->GetCount() : 0; in GetPDFNamedImage() 283 CPDF_Object* pObject = name_tree->LookupValue(WideString(wsName)); in GetPDFNamedImage() 287 CPDF_Object* pTempObject = name_tree->LookupValueAndName(i, &wsTemp); in GetPDFNamedImage()
|
/dports/cad/pcb/pcb-4.2.0/src/ |
H A D | move.c | 159 if (Data && Data->name_tree[n]) in MoveElementLowLevel() 160 r_delete_entry (PCB->Data->name_tree[n], (BoxType *)text); in MoveElementLowLevel() 162 if (Data && Data->name_tree[n]) in MoveElementLowLevel() 184 if (PCB->Data->name_tree[n]) in MoveElementName() 185 r_delete_entry (PCB->Data->name_tree[n], (BoxType *)text); in MoveElementName() 187 if (PCB->Data->name_tree[n]) in MoveElementName() 188 r_insert_entry (PCB->Data->name_tree[n], (BoxType *)text, 0); in MoveElementName() 198 if (PCB->Data->name_tree[n]) in MoveElementName() 199 r_delete_entry (PCB->Data->name_tree[n], (BoxType *)text); in MoveElementName() 201 if (PCB->Data->name_tree[n]) in MoveElementName() [all …]
|