Lines Matching refs:dylib_command
398 size += sizeof(dylib_command) + pointerAlign(_file.installName.size() + 1); in loadCommandsSize()
441 size += sizeof(dylib_command) + pointerAlign(dep.path.size()+1); in loadCommandsSize()
834 dylib_command *dc = reinterpret_cast<dylib_command*>(lc); in writeLoadCommands()
836 uint32_t size = sizeof(dylib_command) + pointerAlign(path.size() + 1); in writeLoadCommands()
839 dc->dylib.name = sizeof(dylib_command); // offset in writeLoadCommands()
846 memcpy(lc + sizeof(dylib_command), path.begin(), path.size()); in writeLoadCommands()
847 lc[sizeof(dylib_command) + path.size()] = '\0'; in writeLoadCommands()
962 dylib_command* dc = reinterpret_cast<dylib_command*>(lc); in writeLoadCommands()
963 uint32_t size = sizeof(dylib_command) + pointerAlign(dep.path.size()+1); in writeLoadCommands()
966 dc->dylib.name = sizeof(dylib_command); // offset in writeLoadCommands()
973 memcpy(lc+sizeof(dylib_command), dep.path.begin(), dep.path.size()); in writeLoadCommands()
974 lc[sizeof(dylib_command)+dep.path.size()] = '\0'; in writeLoadCommands()