Searched refs:cacheFileSize (Results 1 - 1 of 1) sorted by relevance

/macosx-10.10.1/dyld-353.2.1/launch-cache/
H A Dupdate_dyld_shared_cache.cpp1448 uint32_t cacheFileSize = stat_buf.st_size; local
1449 uint32_t cacheAllocatedSize = pageAlign(cacheFileSize);
1452 throwf("can't vm_allocate cache of size %u", cacheFileSize);
1455 ssize_t readResult = pread(fd, mappingAddr, cacheFileSize, 0);
1456 if ( readResult != cacheFileSize )
1457 throwf("can't read all of existing cache file (%lu of %u): %s", readResult, cacheFileSize, path);
2511 uint32_t cacheFileSize = 0; local
2514 if ( end > cacheFileSize )
2515 cacheFileSize = end;
2517 if ( vm_allocate(mach_task_self(), (vm_address_t*)(&inMemoryCache), cacheFileSize, VM_FLAGS_ANYWHER
[all...]

Completed in 187 milliseconds