HomeSort by relevance Sort by last modified time
    Searched refs:DataPack (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/ui/base/resource/
data_pack.h 5 // DataPack represents a read-only view onto an on-disk file that contains
30 class UI_BASE_EXPORT DataPack : public ResourceHandle {
32 DataPack(ui::ScaleFactor scale_factor);
33 virtual ~DataPack();
79 DISALLOW_COPY_AND_ASSIGN(DataPack);
data_pack.cc 66 DataPack::DataPack(ui::ScaleFactor scale_factor)
72 DataPack::~DataPack() {
75 bool DataPack::LoadFromPath(const base::FilePath& path) {
78 DLOG(ERROR) << "Failed to mmap datapack";
79 UMA_HISTOGRAM_ENUMERATION("DataPack.Load", INIT_FAILED,
87 bool DataPack::LoadFromFile(base::File file) {
92 bool DataPack::LoadFromFileRegion(
97 DLOG(ERROR) << "Failed to mmap datapack";
    [all...]
data_pack_unittest.cc 18 : public testing::TestWithParam<DataPack::TextEncodingType> {
38 DataPack pack(SCALE_FACTOR_100P);
73 DataPack pack(SCALE_FACTOR_100P);
112 DataPack pack(SCALE_FACTOR_100P);
136 DataPack::BINARY));
138 DataPack::UTF8));
140 DataPack::UTF16));
147 DataPack pack(SCALE_FACTOR_100P);
168 ASSERT_TRUE(DataPack::WritePack(file, resources, GetParam()));
171 DataPack pack(SCALE_FACTOR_100P)
    [all...]
resource_bundle.cc 183 scoped_ptr<DataPack> data_pack(new DataPack(SCALE_FACTOR_100P));
253 scoped_ptr<DataPack> data_pack(
254 new DataPack(scale_factor));
308 scoped_ptr<DataPack> data_pack(
309 new DataPack(SCALE_FACTOR_100P));
327 scoped_ptr<DataPack> data_pack(new DataPack(scale_factor));
331 data_pack.reset(new DataPack(ui::SCALE_FACTOR_NONE));
335 locale_resources_data_.reset(new DataPack(ui::SCALE_FACTOR_NONE))
    [all...]
resource_bundle.h 37 class DataPack;
317 void AddDataPack(DataPack* data_pack);
resource_bundle_unittest.cc 123 // Creates datapack at |path| with a single bitmap at resource ID 3
142 DataPack::WritePack(path, resources, ui::DataPack::BINARY);
410 scoped_ptr<DataPack> locale_pack_;
  /external/chromium_org/content/test/
test_content_client.h 29 ui::DataPack data_pack_;
  /external/chromium_org/tools/grit/grit/format/
data_pack.py 186 class DataPack(object):
188 DataPack.ReadDataPack = staticmethod(ReadDataPack)
189 DataPack.WriteDataPackToString = staticmethod(WriteDataPackToString)
190 DataPack.WriteDataPack = staticmethod(WriteDataPack)
191 DataPack.RePack = staticmethod(RePack)
  /external/chromium_org/chrome/browser/themes/
browser_theme_pack.h 36 class DataPack;
39 // An optimized representation of a theme, backed by a mmapped DataPack.
99 // The type passed to ui::DataPack::WritePack.
212 scoped_ptr<ui::DataPack> data_pack_;
259 // image data that needs to be written to the DataPack during WriteToDisk()
browser_theme_pack.cc 48 // IDs that are in the DataPack won't clash with the positive integer
423 // be byte-copied directly into the finished DataPack. This should contain the
725 new ui::DataPack(ui::SCALE_FACTOR_NONE));
742 // TODO(erg): Check endianess once DataPack works on the other endian.
831 return ui::DataPack::WritePack(path, resources, ui::DataPack::BINARY);
    [all...]
  /external/chromium_org/tools/grit/grit/gather/
interface.py 85 '''Returns the data to be added to the DataPack for this node or None if
86 this node does not add a DataPack entry.
chrome_scaled_image_unittest.py 49 return set(data_pack.DataPack.ReadDataPack(pakname).resources.values())
  /external/chromium_org/chromecast/tools/build/
chromecast_repack_locales.py 84 data_pack.DataPack.RePack(output, inputs)
  /external/chromium_org/remoting/tools/build/
remoting_copy_locales.py 95 data_pack.DataPack.RePack(output, inputs)
  /external/chromium_org/chrome/tools/build/
repack_locales.py 181 data_pack.DataPack.RePack(output, inputs, whitelist_file=WHITELIST)

Completed in 378 milliseconds