OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DataPack
(Results
1 - 19
of
19
) 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_EXPORT
DataPack
: public ResourceHandle {
32
DataPack
(ui::ScaleFactor scale_factor);
33
virtual ~
DataPack
();
75
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::PlatformFile file) {
90
DLOG(ERROR) << "Failed to mmap
datapack
";
91
UMA_HISTOGRAM_ENUMERATION("
DataPack
.Load", INIT_FAILED_FROM_FILE
[
all
...]
data_pack_unittest.cc
16
: public testing::TestWithParam<
DataPack
::TextEncodingType> {
34
DataPack
pack(SCALE_FACTOR_100P);
72
DataPack
pack(SCALE_FACTOR_100P);
97
DataPack
::BINARY));
99
DataPack
::UTF8));
101
DataPack
::UTF16));
109
DataPack
pack(SCALE_FACTOR_100P);
130
ASSERT_TRUE(
DataPack
::WritePack(file, resources, GetParam()));
133
DataPack
pack(SCALE_FACTOR_100P);
resource_bundle.cc
143
scoped_ptr<
DataPack
> data_pack(
144
new
DataPack
(SCALE_FACTOR_100P));
196
scoped_ptr<
DataPack
> data_pack(
197
new
DataPack
(scale_factor));
256
scoped_ptr<
DataPack
> data_pack(
257
new
DataPack
(SCALE_FACTOR_100P));
273
scoped_ptr<
DataPack
> data_pack(
274
new
DataPack
(SCALE_FACTOR_100P));
278
data_pack.reset(new
DataPack
(ui::SCALE_FACTOR_NONE));
283
new
DataPack
(ui::SCALE_FACTOR_NONE))
[
all
...]
resource_bundle.h
36
class
DataPack
;
291
void AddDataPack(
DataPack
* data_pack);
resource_bundle_unittest.cc
119
// Creates
datapack
at |path| with a single bitmap at resource ID 3
139
DataPack
::WritePack(path, resources, ui::
DataPack
::BINARY);
371
scoped_ptr<
DataPack
> locale_pack_;
/external/chromium_org/chrome_frame/
simple_resource_loader.h
22
class
DataPack
;
65
ui::
DataPack
** data_pack,
77
ui::
DataPack
* data_pack_;
simple_resource_loader.cc
177
ui::
DataPack
** data_pack,
210
scoped_ptr<ui::
DataPack
> cur_data_pack(
211
new ui::
DataPack
(ui::SCALE_FACTOR_100P));
249
if (data_pack_->GetTextEncodingType() == ui::
DataPack
::UTF16) {
252
} else if (data_pack_->GetTextEncodingType() == ui::
DataPack
::UTF8) {
/external/chromium_org/content/test/
test_content_client.h
29
ui::
DataPack
data_pack_;
/external/chromium_org/tools/grit/grit/format/
data_pack.py
145
class
DataPack
(object):
147
DataPack
.ReadDataPack = staticmethod(ReadDataPack)
148
DataPack
.WriteDataPackToString = staticmethod(WriteDataPackToString)
149
DataPack
.WriteDataPack = staticmethod(WriteDataPack)
150
DataPack
.RePack = staticmethod(RePack)
/external/chromium/chrome/browser/themes/
browser_theme_pack.h
23
class
DataPack
;
26
// An optimized representation of a theme, backed by a mmapped
DataPack
.
98
// The type passed to base::
DataPack
::WritePack.
173
scoped_ptr<ui::
DataPack
> data_pack_;
217
// image data that needs to be written to the
DataPack
during WriteToDisk()
browser_theme_pack.cc
30
// IDs that are in the
DataPack
won't clash with the positive integer
267
// be byte-copied directly into the finished
DataPack
. This should contain the
373
pack->data_pack_.reset(new ui::
DataPack
);
390
// TODO(erg): Check endianess once
DataPack
works on the other endian.
451
return ui::
DataPack
::WritePack(path, resources);
526
<< " from saved
DataPack
.";
586
// is that ui::
DataPack
removes this same check.
593
#error
DataPack
assumes little endian
[
all
...]
/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
49
// IDs that are in the
DataPack
won't clash with the positive integer
400
// be byte-copied directly into the finished
DataPack
. This should contain the
709
new ui::
DataPack
(ui::SCALE_FACTOR_NONE));
726
// TODO(erg): Check endianess once
DataPack
works on the other endian.
815
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/chrome_frame/test/
simple_resource_loader_test.cc
24
ui::
DataPack
* data_pack = NULL;
/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
146
data_pack.
DataPack
.RePack(output, inputs)
Completed in 1068 milliseconds