Home
last modified time | relevance | path

Searched refs:DataPack (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/ui/base/resource/
Ddata_pack.cc66 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 …]
Ddata_pack_unittest.cc16 : 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()
Ddata_pack.h30 class UI_EXPORT DataPack : public ResourceHandle {
32 DataPack(ui::ScaleFactor scale_factor);
33 virtual ~DataPack();
75 DISALLOW_COPY_AND_ASSIGN(DataPack);
Dresource_bundle.cc170 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 …]
Dresource_bundle.h36 class DataPack; variable
292 void AddDataPack(DataPack* data_pack);
Dresource_bundle_unittest.cc139 DataPack::WritePack(path, resources, ui::DataPack::BINARY); in CreateDataPackWithSingleBitmap()
377 scoped_ptr<DataPack> locale_pack_;
/external/chromium_org/chrome_frame/
Dsimple_resource_loader.h22 class DataPack; variable
65 ui::DataPack** data_pack,
77 ui::DataPack* data_pack_;
Dsimple_resource_loader.cc177 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/
Ddata_pack.py145 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/
Dinfoplist_strings_util.mm58 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/
Dbrowser_theme_pack.h23 class DataPack; variable
173 scoped_ptr<ui::DataPack> data_pack_;
Dbrowser_theme_pack.cc373 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/
Dtest_content_client.h29 ui::DataPack data_pack_;
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack.h36 class DataPack; variable
212 scoped_ptr<ui::DataPack> data_pack_;
Dbrowser_theme_pack.cc707 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/
Dsimple_resource_loader_test.cc24 ui::DataPack* data_pack = NULL; in TEST()
/external/chromium_org/remoting/tools/build/
Dremoting_copy_locales.py95 data_pack.DataPack.RePack(output, inputs)
/external/chromium_org/tools/grit/grit/gather/
Dchrome_scaled_image_unittest.py49 return set(data_pack.DataPack.ReadDataPack(pakname).resources.values())
/external/chromium_org/chrome/tools/build/
Drepack_locales.py146 data_pack.DataPack.RePack(output, inputs)