/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_object_avail.cpp | 31 uint32_t obj_num) in CPDF_ObjectAvail() argument 34 root_(pdfium::MakeRetain<CPDF_Reference>(holder, obj_num)) { in CPDF_ObjectAvail() 84 const uint32_t obj_num = objects_to_check.top(); in CheckObjects() local 87 if (HasObjectParsed(obj_num)) in CheckObjects() 90 if (!checked_objects.insert(obj_num).second) in CheckObjects() 94 const CPDF_Object* direct = holder_->GetOrParseIndirectObject(obj_num); in CheckObjects() 100 non_parsed_objects_.push(obj_num); in CheckObjects() 103 parsed_objnums_.insert(obj_num); in CheckObjects() 150 bool CPDF_ObjectAvail::HasObjectParsed(uint32_t obj_num) const { in HasObjectParsed() 151 return parsed_objnums_.count(obj_num) > 0; in HasObjectParsed()
|
D | cpdf_cross_ref_table.cpp | 35 void CPDF_CrossRefTable::AddCompressed(uint32_t obj_num, in AddCompressed() argument 37 if (obj_num >= CPDF_Parser::kMaxObjectNumber || in AddCompressed() 43 auto& info = objects_info_[obj_num]; in AddCompressed() 57 void CPDF_CrossRefTable::AddNormal(uint32_t obj_num, in AddNormal() argument 60 if (obj_num >= CPDF_Parser::kMaxObjectNumber) { in AddNormal() 65 auto& info = objects_info_[obj_num]; in AddNormal() 79 void CPDF_CrossRefTable::SetFree(uint32_t obj_num) { in SetFree() argument 80 if (obj_num >= CPDF_Parser::kMaxObjectNumber) { in SetFree() 85 auto& info = objects_info_[obj_num]; in SetFree() 96 uint32_t obj_num) const { in GetObjectInfo() [all …]
|
D | cpdf_cross_ref_table.h | 49 void AddCompressed(uint32_t obj_num, uint32_t archive_obj_num); 50 void AddNormal(uint32_t obj_num, uint16_t gen_num, FX_FILESIZE pos); 51 void SetFree(uint32_t obj_num); 57 const ObjectInfo* GetObjectInfo(uint32_t obj_num) const;
|
D | cpdf_object_stream.cpp | 110 const uint32_t obj_num = syntax.GetDirectNum(); in Init() local 112 if (!obj_num) in Init() 115 objects_offsets_[obj_num] = obj_offset; in Init()
|
D | cpdf_object_avail.h | 28 uint32_t obj_num); 42 bool HasObjectParsed(uint32_t obj_num) const;
|
D | cpdf_parser.cpp | 465 obj_data.obj_num = objnum; in ParseAndAppendCrossRefSubsectionData() 550 m_CrossRefTable->SetFree(obj.obj_num); in MergeCrossRefObjectsData() 554 m_CrossRefTable->AddNormal(obj.obj_num, obj.info.gennum, obj.info.pos); in MergeCrossRefObjectsData() 557 m_CrossRefTable->AddCompressed(obj.obj_num, obj.info.archive_obj_num); in MergeCrossRefObjectsData() 618 const uint32_t obj_num = numbers[0].first; in RebuildCrossRef() local 633 if (obj_num < kMaxObjectNumber) { in RebuildCrossRef() 634 cross_ref_table->AddNormal(obj_num, gen_num, obj_pos); in RebuildCrossRef() 639 cross_ref_table->AddCompressed(it.first, obj_num); in RebuildCrossRef()
|
D | cpdf_array_unittest.cpp | 141 int obj_num = i * kNumOfRowElems + j + 1; in TEST() local 142 obj_holder->ReplaceIndirectObjectIfHigherGeneration(obj_num, in TEST() 144 arr_elem->InsertNewAt<CPDF_Reference>(j, obj_holder.get(), obj_num); in TEST()
|
D | cpdf_object_stream.h | 28 uint32_t obj_num() const { return obj_num_; } in obj_num() function
|
D | cpdf_crypto_handler.cpp | 285 const uint32_t obj_num = object->GetObjNum(); in DecryptObjectTree() local 312 str->SetString(Decrypt(obj_num, gen_num, str->GetString())); in DecryptObjectTree() 329 void* context = DecryptStart(obj_num, gen_num); in DecryptObjectTree()
|
D | cpdf_parser_unittest.cpp | 25 uint32_t obj_num) { in GetObjInfo() argument 26 const auto* info = parser.GetCrossRefTable()->GetObjectInfo(obj_num); in GetObjInfo()
|
D | cpdf_document_unittest.cpp | 246 const uint32_t obj_num = page_stub->GetObjNum(); in TEST_F() local 252 document.SetPageObjNum(test_page_num, obj_num); in TEST_F()
|
D | cpdf_hint_tables.cpp | 382 uint32_t obj_num = cur_obj_num.ValueOrDie(); in ReadSharedObjHintTable() local 387 m_SharedObjGroupInfos[i].m_dwStartObjNum = obj_num; in ReadSharedObjHintTable()
|
D | cpdf_parser.h | 140 uint32_t obj_num = 0; member
|
/external/toolchain-utils/binary_search_tool/test/ |
D | gen_obj.py | 60 obj_num = int(options.obj_num) 66 for i in range(obj_num): 67 if bad_to_gen > 0 and random.randint(1, obj_num) <= bad_obj_num: 73 t = random.randint(0, obj_num - 1) 91 obj_num = len(obj_list) 94 obj_num, bad_obj_num))
|
D | binary_search_tool_test.py | 28 obj_num = random.randint(100, 1000) 29 bad_obj_num = random.randint(obj_num // 100, obj_num // 20) 32 gen_obj.Main(['--obj_num', str(obj_num), '--bad_obj_num', str(bad_obj_num)])
|