Searched refs:plugin_memory_allocate (Results 1 – 8 of 8) sorted by relevance
24 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function66 info->plugin_memory_allocate = plugin_memory_allocate; in TF_InitPlugin()70 plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0]))); in TF_InitPlugin()
35 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function391 plugin_memory_allocate(num_entries * sizeof((*entries)[0]))); in GetChildren()410 plugin_memory_allocate(TF_RANDOM_ACCESS_FILE_OPS_SIZE)); in ProvideFilesystemSupportFor()415 plugin_memory_allocate(TF_WRITABLE_FILE_OPS_SIZE)); in ProvideFilesystemSupportFor()424 plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE)); in ProvideFilesystemSupportFor()431 plugin_memory_allocate(TF_FILESYSTEM_OPS_SIZE)); in ProvideFilesystemSupportFor()452 info->plugin_memory_allocate = plugin_memory_allocate; in TF_InitPlugin()456 plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0]))); in TF_InitPlugin()
33 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function701 plugin_memory_allocate(num_entries * sizeof((*entries)[0]))); in GetChildren()725 plugin_memory_allocate(TF_RANDOM_ACCESS_FILE_OPS_SIZE)); in ProvideFilesystemSupportFor()730 plugin_memory_allocate(TF_WRITABLE_FILE_OPS_SIZE)); in ProvideFilesystemSupportFor()739 plugin_memory_allocate(TF_FILESYSTEM_OPS_SIZE)); in ProvideFilesystemSupportFor()762 info->plugin_memory_allocate = plugin_memory_allocate; in TF_InitPlugin()766 plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0]))); in TF_InitPlugin()
72 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function681 char* buffer = static_cast<char*>(plugin_memory_allocate(metadata->size())); in NewReadOnlyMemoryRegionFromFile()1068 plugin_memory_allocate(num_entries * sizeof((*entries)[0]))); in GetChildren()1145 plugin_memory_allocate(TF_RANDOM_ACCESS_FILE_OPS_SIZE)); in ProvideFilesystemSupportFor()1150 plugin_memory_allocate(TF_WRITABLE_FILE_OPS_SIZE)); in ProvideFilesystemSupportFor()1154 plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE)); in ProvideFilesystemSupportFor()1161 plugin_memory_allocate(TF_FILESYSTEM_OPS_SIZE)); in ProvideFilesystemSupportFor()1186 info->plugin_memory_allocate = plugin_memory_allocate; in TF_InitPlugin()1190 plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0]))); in TF_InitPlugin()
269 info->plugin_memory_allocate, info->plugin_memory_free)); in RegisterFileSystem()291 if (info->plugin_memory_allocate == nullptr) in ValidatePluginMemoryRoutines()
50 std::function<void*(size_t)> plugin_memory_allocate, in ModularFileSystem() argument57 plugin_memory_allocate_(std::move(plugin_memory_allocate)), in ModularFileSystem()
1062 void* (*plugin_memory_allocate)(size_t size); member
62 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function1205 plugin_memory_allocate(num_entries * sizeof((*entries)[0]))); in GetChildren()1224 plugin_memory_allocate(TF_RANDOM_ACCESS_FILE_OPS_SIZE)); in ProvideFilesystemSupportFor()1229 plugin_memory_allocate(TF_WRITABLE_FILE_OPS_SIZE)); in ProvideFilesystemSupportFor()1238 plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE)); in ProvideFilesystemSupportFor()1245 plugin_memory_allocate(TF_FILESYSTEM_OPS_SIZE)); in ProvideFilesystemSupportFor()1268 info->plugin_memory_allocate = plugin_memory_allocate; in TF_InitPlugin()1272 plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0]))); in TF_InitPlugin()