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

  /frameworks/base/tools/aapt2/util/
Files.cpp 40 using ::android::FileMap;
165 Maybe<FileMap> MmapPath(const std::string& path, std::string* out_error) {
183 FileMap filemap; local
185 // mmap doesn't like a length of 0. Instead we return an empty FileMap.
186 return std::move(filemap);
189 if (!filemap.create(path.c_str(), fd, 0, filestats.st_size, true)) {
195 return std::move(filemap);
  /system/core/fastboot/
protocol.cpp 45 #include <utils/FileMap.h>
204 android::FileMap filemap; local
207 if (!filemap.create(NULL, fd, offset, len, true)) {
211 if (_command_write_data(transport, filemap.getDataPtr(), len) < 0) {
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
_hotshot.c 76 PyObject *filemap; member in struct:__anon5758
776 obj = PyDict_GetItem(self->filemap, fcode->co_filename);
788 if (PyDict_SetItem(self->filemap, fcode->co_filename, obj)) {
1165 Py_XDECREF(self->filemap);
    [all...]
  /external/python/cpython2/Modules/
_hotshot.c 76 PyObject *filemap; member in struct:__anon30230
780 obj = PyDict_GetItem(self->filemap, fcode->co_filename);
792 if (PyDict_SetItem(self->filemap, fcode->co_filename, obj)) {
1169 Py_XDECREF(self->filemap);
    [all...]
  /external/libmtp/src/
libmtp.c 292 filemap_t *filemap; local
294 filemap = (filemap_t *)malloc(sizeof(filemap_t));
296 if( filemap != NULL ) {
297 filemap->description = NULL;
298 filemap->id = LIBMTP_FILETYPE_UNKNOWN;
299 filemap->ptp_id = PTP_OFC_Undefined;
300 filemap->next = NULL;
303 return filemap;
    [all...]

Completed in 304 milliseconds