Home
last modified time | relevance | path

Searched refs:plugin_memory_allocate (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/windows/
Dwindows_filesystem.cc24 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function
66 info->plugin_memory_allocate = plugin_memory_allocate; in TF_InitPlugin()
70 plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0]))); in TF_InitPlugin()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/
Dposix_filesystem.cc35 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function
391 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()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/hadoop/
Dhadoop_filesystem.cc33 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function
701 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()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dgcs_filesystem.cc72 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function
681 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()
/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem_registration.cc269 info->plugin_memory_allocate, info->plugin_memory_free)); in RegisterFileSystem()
291 if (info->plugin_memory_allocate == nullptr) in ValidatePluginMemoryRoutines()
Dmodular_filesystem.h50 std::function<void*(size_t)> plugin_memory_allocate, in ModularFileSystem() argument
57 plugin_memory_allocate_(std::move(plugin_memory_allocate)), in ModularFileSystem()
Dfilesystem_interface.h1062 void* (*plugin_memory_allocate)(size_t size); member
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/s3/
Ds3_filesystem.cc62 static void* plugin_memory_allocate(size_t size) { return calloc(1, size); } in plugin_memory_allocate() function
1205 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()