/external/chromium_org/ui/base/resource/ |
D | data_pack.cc | 66 DataPack::DataPack(ui::ScaleFactor scale_factor) in DataPack() function in ui::DataPack 72 DataPack::~DataPack() { in ~DataPack() 75 bool DataPack::LoadFromPath(const base::FilePath& path) { in LoadFromPath() 87 bool DataPack::LoadFromFile(base::PlatformFile file) { in LoadFromFile() 99 bool DataPack::LoadImpl() { in LoadImpl() 165 bool DataPack::HasResource(uint16 resource_id) const { in HasResource() 170 bool DataPack::GetStringPiece(uint16 resource_id, in GetStringPiece() 180 #error DataPack assumes little endian in GetStringPiece() 197 base::RefCountedStaticMemory* DataPack::GetStaticMemory( in GetStaticMemory() 207 ResourceHandle::TextEncodingType DataPack::GetTextEncodingType() const { in GetTextEncodingType() [all …]
|
D | data_pack_unittest.cc | 16 : public testing::TestWithParam<DataPack::TextEncodingType> { 34 DataPack pack(SCALE_FACTOR_100P); in TEST() 72 DataPack pack(SCALE_FACTOR_100P); in TEST() 97 DataPack::BINARY)); 99 DataPack::UTF8)); 101 DataPack::UTF16)); 109 DataPack pack(SCALE_FACTOR_100P); in TEST() 130 ASSERT_TRUE(DataPack::WritePack(file, resources, GetParam())); in TEST_P() 133 DataPack pack(SCALE_FACTOR_100P); in TEST_P()
|
D | data_pack.h | 30 class UI_EXPORT DataPack : public ResourceHandle { 32 DataPack(ui::ScaleFactor scale_factor); 33 virtual ~DataPack(); 75 DISALLOW_COPY_AND_ASSIGN(DataPack);
|
D | resource_bundle.cc | 170 scoped_ptr<DataPack> data_pack( in InitSharedInstanceWithPakFile() 171 new DataPack(SCALE_FACTOR_100P)); in InitSharedInstanceWithPakFile() 224 scoped_ptr<DataPack> data_pack( in AddDataPackFromFile() 225 new DataPack(scale_factor)); in AddDataPackFromFile() 284 scoped_ptr<DataPack> data_pack( in LoadLocaleResources() 285 new DataPack(SCALE_FACTOR_100P)); in LoadLocaleResources() 301 scoped_ptr<DataPack> data_pack(new DataPack(SCALE_FACTOR_100P)); in LoadTestResources() 305 data_pack.reset(new DataPack(ui::SCALE_FACTOR_NONE)); in LoadTestResources() 309 locale_resources_data_.reset(new DataPack(ui::SCALE_FACTOR_NONE)); in LoadTestResources() 602 scoped_ptr<DataPack> data_pack( in AddDataPackFromPathInternal() [all …]
|
D | resource_bundle.h | 36 class DataPack; variable 292 void AddDataPack(DataPack* data_pack);
|
D | resource_bundle_unittest.cc | 139 DataPack::WritePack(path, resources, ui::DataPack::BINARY); in CreateDataPackWithSingleBitmap() 377 scoped_ptr<DataPack> locale_pack_;
|
/external/chromium_org/chrome_frame/ |
D | simple_resource_loader.h | 22 class DataPack; variable 65 ui::DataPack** data_pack, 77 ui::DataPack* data_pack_;
|
D | simple_resource_loader.cc | 177 ui::DataPack** data_pack, in LoadLocalePack() 210 scoped_ptr<ui::DataPack> cur_data_pack( in LoadLocalePack() 211 new ui::DataPack(ui::SCALE_FACTOR_100P)); in LoadLocalePack() 249 if (data_pack_->GetTextEncodingType() == ui::DataPack::UTF16) { in GetLocalizedResource() 252 } else if (data_pack_->GetTextEncodingType() == ui::DataPack::UTF8) { in GetLocalizedResource()
|
/external/chromium_org/tools/grit/grit/format/ |
D | data_pack.py | 145 class DataPack(object): class 147 DataPack.ReadDataPack = staticmethod(ReadDataPack) 148 DataPack.WriteDataPackToString = staticmethod(WriteDataPackToString) 149 DataPack.WriteDataPack = staticmethod(WriteDataPack) 150 DataPack.RePack = staticmethod(RePack)
|
/external/chromium_org/chrome/tools/mac_helpers/ |
D | infoplist_strings_util.mm | 58 ui::DataPack* LoadResourceDataPack(const char* dir_path, 61 ui::DataPack* resource_pack = NULL; 68 resource_pack = new ui::DataPack(ui::SCALE_FACTOR_100P); 79 NSString* LoadStringFromDataPack(ui::DataPack* data_pack, 87 if (data_pack->GetTextEncodingType() == ui::DataPack::UTF8) { 93 } else if (data_pack->GetTextEncodingType() == ui::DataPack::UTF16) { 224 scoped_ptr<ui::DataPack> branded_data_pack(
|
/external/chromium/chrome/browser/themes/ |
D | browser_theme_pack.h | 23 class DataPack; variable 173 scoped_ptr<ui::DataPack> data_pack_;
|
D | browser_theme_pack.cc | 373 pack->data_pack_.reset(new ui::DataPack); in BuildFromDataPack() 451 return ui::DataPack::WritePack(path, resources); in WriteToDisk() 593 #error DataPack assumes little endian in BuildHeader()
|
/external/chromium_org/content/test/ |
D | test_content_client.h | 29 ui::DataPack data_pack_;
|
/external/chromium_org/chrome/browser/themes/ |
D | browser_theme_pack.h | 36 class DataPack; variable 212 scoped_ptr<ui::DataPack> data_pack_;
|
D | browser_theme_pack.cc | 707 new ui::DataPack(ui::SCALE_FACTOR_NONE)); in BuildFromDataPack() 813 return ui::DataPack::WritePack(path, resources, ui::DataPack::BINARY); in WriteToDisk() 945 #error DataPack assumes little endian in BuildHeader()
|
/external/chromium_org/chrome_frame/test/ |
D | simple_resource_loader_test.cc | 24 ui::DataPack* data_pack = NULL; in TEST()
|
/external/chromium_org/remoting/tools/build/ |
D | remoting_copy_locales.py | 95 data_pack.DataPack.RePack(output, inputs)
|
/external/chromium_org/tools/grit/grit/gather/ |
D | chrome_scaled_image_unittest.py | 49 return set(data_pack.DataPack.ReadDataPack(pakname).resources.values())
|
/external/chromium_org/chrome/tools/build/ |
D | repack_locales.py | 146 data_pack.DataPack.RePack(output, inputs)
|