#include <embedder_resources.h>
Definition at line 22 of file embedder_resources.h.
◆ EmbedderResources()
◆ Path()
const char * flutter::EmbedderResources::Path |
( |
int |
idx | ) |
|
Definition at line 32 of file embedder_resources.cc.
32 {
34 ResourcesEntry* entry = At(idx);
35 if (entry == nullptr) {
36 return nullptr;
37 }
39 return entry->path_;
40}
#define FML_DCHECK(condition)
◆ ResourceLookup()
int flutter::EmbedderResources::ResourceLookup |
( |
const char * |
path, |
|
|
const char ** |
resource |
|
) |
| |
Definition at line 20 of file embedder_resources.cc.
20 {
21 for (
int i = 0; resources_table_[
i].
path_ !=
nullptr;
i++) {
22 const ResourcesEntry& entry = resources_table_[
i];
23 if (strcmp(
path, entry.path_) == 0) {
26 return entry.length_;
27 }
28 }
30}
static SkString resource(SkPDFResourceType type, int index)
static const int kNoSuchInstance
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
◆ kNoSuchInstance
const int flutter::EmbedderResources::kNoSuchInstance = -1 |
|
static |
The documentation for this class was generated from the following files: