code
stringlengths
3
10M
language
stringclasses
31 values
/Users/Matt/iOS/RoadInfo/DerivedData/RoadInfo/Build/Intermediates/RoadInfo.build/Debug-iphonesimulator/RoadInfo.build/Objects-normal/i386/ChristchurchEvent.o : /Users/Matt/iOS/RoadInfo/RoadInfo/ChristchurchEvent.swift /Users/Matt/iOS/RoadInfo/RoadInfo/URLConnection.swift /Users/Matt/iOS/RoadInfo/RoadInfo/EventViewController.swift /Users/Matt/iOS/RoadInfo/RoadInfo/XMLParser.swift /Users/Matt/iOS/RoadInfo/RoadInfo/MapController.swift /Users/Matt/iOS/RoadInfo/RoadInfo/Complex.swift /Users/Matt/iOS/RoadInfo/RoadInfo/NZMGConverter.swift /Users/Matt/iOS/RoadInfo/RoadInfo/Location.swift /Users/Matt/iOS/RoadInfo/RoadInfo/ChristchurchXML.swift /Users/Matt/iOS/RoadInfo/RoadInfo/RoadEvent.swift /Users/Matt/iOS/RoadInfo/RoadInfo/Annotation.swift /Users/Matt/iOS/RoadInfo/RoadInfo/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule /Users/Matt/iOS/RoadInfo/DerivedData/RoadInfo/Build/Intermediates/RoadInfo.build/Debug-iphonesimulator/RoadInfo.build/Objects-normal/i386/ChristchurchEvent~partial.swiftmodule : /Users/Matt/iOS/RoadInfo/RoadInfo/ChristchurchEvent.swift /Users/Matt/iOS/RoadInfo/RoadInfo/URLConnection.swift /Users/Matt/iOS/RoadInfo/RoadInfo/EventViewController.swift /Users/Matt/iOS/RoadInfo/RoadInfo/XMLParser.swift /Users/Matt/iOS/RoadInfo/RoadInfo/MapController.swift /Users/Matt/iOS/RoadInfo/RoadInfo/Complex.swift /Users/Matt/iOS/RoadInfo/RoadInfo/NZMGConverter.swift /Users/Matt/iOS/RoadInfo/RoadInfo/Location.swift /Users/Matt/iOS/RoadInfo/RoadInfo/ChristchurchXML.swift /Users/Matt/iOS/RoadInfo/RoadInfo/RoadEvent.swift /Users/Matt/iOS/RoadInfo/RoadInfo/Annotation.swift /Users/Matt/iOS/RoadInfo/RoadInfo/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule /Users/Matt/iOS/RoadInfo/DerivedData/RoadInfo/Build/Intermediates/RoadInfo.build/Debug-iphonesimulator/RoadInfo.build/Objects-normal/i386/ChristchurchEvent~partial.swiftdoc : /Users/Matt/iOS/RoadInfo/RoadInfo/ChristchurchEvent.swift /Users/Matt/iOS/RoadInfo/RoadInfo/URLConnection.swift /Users/Matt/iOS/RoadInfo/RoadInfo/EventViewController.swift /Users/Matt/iOS/RoadInfo/RoadInfo/XMLParser.swift /Users/Matt/iOS/RoadInfo/RoadInfo/MapController.swift /Users/Matt/iOS/RoadInfo/RoadInfo/Complex.swift /Users/Matt/iOS/RoadInfo/RoadInfo/NZMGConverter.swift /Users/Matt/iOS/RoadInfo/RoadInfo/Location.swift /Users/Matt/iOS/RoadInfo/RoadInfo/ChristchurchXML.swift /Users/Matt/iOS/RoadInfo/RoadInfo/RoadEvent.swift /Users/Matt/iOS/RoadInfo/RoadInfo/Annotation.swift /Users/Matt/iOS/RoadInfo/RoadInfo/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreLocation.swiftmodule
D
module doodle.main.undo_manager; class UndoManager : IUndoManager { this() { } void addObserver(IUndoObserver observer) { _observers.add(observer); } void removeObserver(IUndoObserver observer) { _observers.remove(observer); } void reset() { assert(!inTransaction()); _past.clear(); _future.clear(); foreach(IUndoObserver obs; _observers) { obs.canUndo(false, ""); obs.canRedo(false, ""); } } void undo() { assert(canUndo()); Transaction t = _past.pop(); t.undo(); _future.push(t); } void redo() { assert(canRedo()); Transaction t = _future.pop(); t.redo(); _past.push(t); } bool canUndo() { assert(!inTransaction()); return !_past.empty(); } bool canRedo() { assert(!inTransaction()); return !_future.empty(); } void beginTransaction(char[] description) { assert(!inTransaction()); _current_transaction = new Transaction(description); } void cancelTransaction() { assert(inTransaction()); _current_transaction.cancel(); _current_transaction = null; } void endTransaction() { assert(inTransaction()); _current_transaction.finalise(); if (!_future.empty()) { _future.clear(); foreach(IUndoObserver obs; _observers) { obs.canRedo(false, ""); } } _past.push(_current_transaction); foreach(IUndoObserver obs; _observers) { bs.canUndo(true, _current_transaction.name()); } _current_transaction = null; } // IUndoManager implementations: void addAction(Action action) { assert(inTransaction()); _current_transaction.add(action); } private { bool inTransaction() { return _current_transaction !is null; } class Transaction { enum State { Accumulating, Finalised, Canceled } this(char[] description) { _description = description; _state = Accumulating; } char[] description() { return _description; } void add(Action action) { assert(_state == State.Accumulating); _actions.addTail(action); } void finalise() { assert(_state == State.Accumulating); assert(!_actions.empty()); _finalised = true; } void cancel() { assert(_state == State.Accumulating); foreach_reverse(UndoAction ua; _actions) { ua.undo(); } } void redo() { assert(_finalised); foreach (UndoAction ua; _actions) { ua.redo(); } } void undo() { assert(_finalised); foreach_reverse(UndoAction ua; _actions) { ua.undo(); } } private { char[] _description; List!(Action) _actions; State _state; } } Transaction _current_transaction; Stack!(Transaction) _past; Stack!(Transaction) _future; Set!(IUndoObserver) _observers; } }
D
/******************************************************************************* Fake DMQ node Push request implementation. Copyright: Copyright (c) 2016-2017 dunnhumby Germany GmbH. All rights reserved. License: Boost Software License Version 1.0. See LICENSE.txt for details. *******************************************************************************/ module fakedmq.neo.request.Push; /******************************************************************************* Imports *******************************************************************************/ import dmqproto.node.neo.request.Push; import ocean.meta.types.Qualifiers; /******************************************************************************* Fake node implementation of the v2 Push request protocol. *******************************************************************************/ class PushImpl_v3 : PushProtocol_v3 { import fakedmq.Storage; import dmqproto.node.neo.request.core.IRequestResources; /*************************************************************************** Ensures that requested channels exist / can be created and can be written to. Params: resources = request resources channel_names = list of channel names to check Returns: "true" if all requested channels are available "false" otherwise ***************************************************************************/ override protected bool prepareChannels ( IRequestResources resources, in cstring[] channel_names ) { foreach ( channel; channel_names ) { if ( global_storage.getCreate(channel) is null ) return false; } return true; } /*************************************************************************** Push a record to the specified storage channel. Params: resources = request resources channel_name = channel to push to value = record value to push Returns: true if the record was pushed to the channel, false if it failed ***************************************************************************/ override protected bool pushToStorage ( IRequestResources resources, cstring channel_name, in void[] value ) { global_storage.getCreate(channel_name).push(value); return true; } }
D
/*------------------------------------------------------------------------- * * Copyright (c) 2003-2014, PostgreSQL Global Development Group * * *------------------------------------------------------------------------- */ module org.postgresql.util.MD5Digest; /** * MD5-based utility function to obfuscate passwords before network transmission. * * @author Jeremy Wohl */ //import java.security.MessageDigest; //import java.security.NoSuchAlgorithmException; public class MD5Digest { private this() { } /** * Encodes user/password/salt information in the following way: MD5(MD5(password + user) + salt) * * @param user The connecting user. * @param password The connecting user's password. * @param salt A four-salt sent by the server. * @return A 35-byte array, comprising the string "md5" and an MD5 digest. */ public static byte[] encode(byte user[], byte password[], byte salt[]) { import std.digest.md; MD5 md; //MessageDigest md; //byte[] temp_digest; //byte[] pass_digest; byte[] hex_digest = new byte[35]; //try { //md = MessageDigest.getInstance("MD5"); md.put(cast(ubyte[])password); md.put(cast(ubyte[])user); auto temp_digest = md.finish(); bytesToHex(cast(byte[])temp_digest, hex_digest, 0); md.put(cast(ubyte[])hex_digest[0 .. 32]); md.put(cast(ubyte[])salt); auto pass_digest = md.finish(); bytesToHex(cast(byte[])pass_digest, hex_digest, 3); hex_digest[0] = cast(byte) 'm'; hex_digest[1] = cast(byte) 'd'; hex_digest[2] = cast(byte) '5'; //} catch (NoSuchAlgorithmException e) { // throw new IllegalStateException("Unable to encode password with MD5", e); //} return hex_digest; } /* * Turn 16-byte stream into a human-readable 32-byte hex string */ private static void bytesToHex(byte[] bytes, byte[] hex, int offset) { immutable char lookup[] = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f']; int i; int c; int j; int pos = offset; for (i = 0; i < 16; i++) { c = bytes[i] & 0xFF; j = c >> 4; hex[pos++] = cast(byte) lookup[j]; j = (c & 0xF); hex[pos++] = cast(byte) lookup[j]; } } }
D
/Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallScaleRipple.o : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Presenter/NVActivityIndicatorViewable.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/NVActivityIndicatorShape.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/NVActivityIndicatorAnimationDelegate.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBlank.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Presenter/NVActivityIndicatorPresenter.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/NVActivityIndicatorView.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/Target\ Support\ Files/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallScaleRipple~partial.swiftmodule : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Presenter/NVActivityIndicatorViewable.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/NVActivityIndicatorShape.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/NVActivityIndicatorAnimationDelegate.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBlank.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Presenter/NVActivityIndicatorPresenter.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/NVActivityIndicatorView.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/Target\ Support\ Files/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/Objects-normal/x86_64/NVActivityIndicatorAnimationBallScaleRipple~partial.swiftdoc : /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseSync.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScalePulseOutRapid.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScale.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScale.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Presenter/NVActivityIndicatorViewable.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleMultiple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleRippleMultiple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotateMultiple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallScaleRipple.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/NVActivityIndicatorShape.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallRotateChase.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulseRise.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridPulse.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotatePulse.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallPulse.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/NVActivityIndicatorAnimationDelegate.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallRotate.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallClipRotate.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZag.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallTrianglePath.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBlank.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationPacman.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCircleStrokeSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationSemiCircleSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationSquareSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationTriangleSkewSpin.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationCubeTransition.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineSpinFadeLoader.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallSpinFadeLoader.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Presenter/NVActivityIndicatorPresenter.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationAudioEqualizer.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallGridBeat.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallBeat.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationBallZigZagDeflect.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationOrbit.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScalePulseOut.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/NVActivityIndicatorView.swift /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/NVActivityIndicatorView/Source/NVActivityIndicatorView/Animations/NVActivityIndicatorAnimationLineScaleParty.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Pods/Target\ Support\ Files/NVActivityIndicatorView/NVActivityIndicatorView-umbrella.h /Users/babaiholdings/Documents/AlchemintWalletiOS/AlchemintProject/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/NVActivityIndicatorView.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
/Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/LeanCloud.build/Objects-normal/x86_64/Object.o : /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Library/MD5.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/ACL.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/SMS.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Data.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/LeanCloud.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Role.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Runtime.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Engine.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Response.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Date.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Value.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/String.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Null.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Bool.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Extension.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Relation.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Operation.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Configuration.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Number.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Logger.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/ObjectProfiler.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/User.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/ObjectUpdater.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Error.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Object.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Result.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/CQLClient.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/RESTClient.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/GeoPoint.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Request.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/BatchRequest.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Array.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Dictionary.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Query.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Utility.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/mac/Desktop/Young心理/Pods/Target\ Support\ Files/LeanCloud/LeanCloud-umbrella.h /Users/mac/Desktop/Young心理/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/LeanCloud.build/unextended-module.modulemap /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/module.modulemap /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/LeanCloud.build/Objects-normal/x86_64/Object~partial.swiftmodule : /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Library/MD5.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/ACL.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/SMS.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Data.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/LeanCloud.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Role.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Runtime.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Engine.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Response.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Date.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Value.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/String.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Null.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Bool.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Extension.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Relation.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Operation.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Configuration.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Number.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Logger.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/ObjectProfiler.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/User.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/ObjectUpdater.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Error.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Object.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Result.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/CQLClient.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/RESTClient.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/GeoPoint.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Request.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/BatchRequest.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Array.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Dictionary.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Query.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Utility.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/mac/Desktop/Young心理/Pods/Target\ Support\ Files/LeanCloud/LeanCloud-umbrella.h /Users/mac/Desktop/Young心理/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/LeanCloud.build/unextended-module.modulemap /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/module.modulemap /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/LeanCloud.build/Objects-normal/x86_64/Object~partial.swiftdoc : /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Library/MD5.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/ACL.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/SMS.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Data.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/LeanCloud.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Role.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Runtime.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Engine.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Response.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Date.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Value.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/String.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Null.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Bool.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Extension.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Relation.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Operation.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Configuration.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Number.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Logger.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/ObjectProfiler.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/User.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/ObjectUpdater.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Error.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Object.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Result.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/CQLClient.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/RESTClient.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/GeoPoint.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Request.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/BatchRequest.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Array.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/DataType/Dictionary.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Query.swift /Users/mac/Desktop/Young心理/Pods/LeanCloud/Sources/Storage/Utility.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/mac/Desktop/Young心理/Pods/Target\ Support\ Files/LeanCloud/LeanCloud-umbrella.h /Users/mac/Desktop/Young心理/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Products/Debug-iphonesimulator/Alamofire/Alamofire.framework/Headers/Alamofire-Swift.h /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/LeanCloud.build/unextended-module.modulemap /Users/mac/Desktop/Young心理/DerivedData/Young心理/Build/Intermediates/Pods.build/Debug-iphonesimulator/Alamofire.build/module.modulemap
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2010-2011 by Rainer Schuetze, All Rights Reserved // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt module vdc.ast.node; import vdc.util; import vdc.semantic; import vdc.lexer; import vdc.ast.expr; import vdc.ast.type; import vdc.ast.mod; import vdc.ast.tmpl; import vdc.ast.decl; import vdc.ast.misc; import vdc.ast.writer; import vdc.logger; import vdc.interpret; import std.exception; import std.stdio; import std.string; import std.conv; import std.algorithm; import stdext.util; //version = COUNT; //version = NODE_ALLOC; version(COUNT) import visuald.windows; version(NODE_ALLOC) class NodeAllocData { enum kSize = 0x4000; byte* pos; private byte** data; private int numdata; byte* base() { return data[numdata-1]; } void moreData() { byte* arr = cast(byte*) gc_calloc(kSize, 0); // when appending to the array, ensure that no old reference is dangling byte** ndata = cast(byte**) gc_malloc((numdata + 1) * data[0].sizeof, 0); ndata[0..numdata] = data[0..numdata]; data[0..numdata] = null; ndata[numdata] = arr; gc_free(data); data = ndata; numdata++; pos = arr; } ~this() { destroy(false); // must not call back into GC } void destroy(bool free) { while(numdata > 0) { size_t sz; byte* beg = data[--numdata]; byte* end = beg + kSize; for(byte* p = beg; p < end && *cast(size_t*)p != 0; p += sz) { Node n = cast(Node) p; sz = n.classinfo.init.length; sz = (sz + 15) & ~15; assert(sz > 0); clear(n); // calls rt_finalize } if(free) gc_free(beg); data[numdata] = null; } if(data && free) gc_free(data); data = null; pos = null; } static NodeAllocData current; static NodeAllocData detachCurrent() { auto cur = current; current = null; return cur; } static void checkAlloc(size_t sz) { if(!current) current = new NodeAllocData; if(!current.pos) current.moreData(); if(current.pos + sz > current.base() + kSize) current.moreData(); } static void* alloc(size_t sz) { sz = (sz + 15) & ~15; checkAlloc(sz); void* p = current.pos; current.pos += sz; //if(current.pos < current.base() + kSize) // *cast(size_t*)current.pos = 0; return p; } } // moved out of Node due to regression http://d.puremagic.com/issues/show_bug.cgi?id=9101 mixin template ForwardCtor() { this() { // default constructor needed for clone() } this(ref const(TextSpan) _span) { super(_span); } this(Token tok) { super(tok); } this(TokenId _id, ref const(TextSpan) _span) { super(_id, _span); } } mixin template ForwardCtorTok() { this() {} // default constructor needed for clone() this(Token tok) { super(tok); } } mixin template ForwardCtorNoId() { this() {} // default constructor needed for clone() this(ref const(TextSpan) _span) { super(_span); } this(Token tok) { super(tok.span); } } class Node { TokenId id; Attribute attr; Annotation annotation; TextSpan span; // file extracted from parent module TextSpan fulspan; Node parent; Node[] members; // semantic data int semanticSearches; Scope scop; version(COUNT) static __gshared int countNodes; version(NODE_ALLOC) new(size_t sz) { assert(sz < NodeAllocData.kSize / 2); //return gc_malloc(sz, 1); // BlkAttr.FINALIZE void* p = NodeAllocData.alloc(sz); return p; } this() { version(COUNT) InterlockedIncrement(&countNodes); // default constructor needed for clone() } this(ref const(TextSpan) _span) { version(COUNT) InterlockedIncrement(&countNodes); fulspan = span = _span; } this(Token tok) { version(COUNT) InterlockedIncrement(&countNodes); id = tok.id; span = tok.span; fulspan = tok.span; } this(TokenId _id, ref const(TextSpan) _span) { version(COUNT) InterlockedIncrement(&countNodes); id = _id; fulspan = span = _span; } version(COUNT) ~this() { version(COUNT) InterlockedDecrement(&countNodes); } void reinit() { id = 0; attr = 0; annotation = 0; members.length = 0; clearSpan(); } final Node _cloneShallow() { Node n = static_cast!Node(this.classinfo.create()); n.id = id; n.attr = attr; n.annotation = annotation; n.span = span; n.fulspan = fulspan; return n; } Node clone() { Node n = _cloneShallow(); foreach(m; members) n.addMember(m.clone()); return n; } bool compare(const(Node) n) const { if(this.classinfo !is n.classinfo) return false; if(n.id != id || n.attr != attr || n.annotation != annotation) return false; // ignore span if(members.length != n.members.length) return false; for(int m = 0; m < members.length; m++) if(!members[m].compare(n.members[m])) return false; return true; } //////////////////////////////////////////////////////////// Node visit(DG)(DG dg) { if(!dg(this)) return this; for(int m = 0; m < members.length; m++) if(auto n = members[m].visit(dg)) return n; return null; } bool detachFromModule(Module mod) { return true; } void disconnect() { for(int m = 0; m < members.length; m++) members[m].disconnect(); for(int m = 0; m < members.length; m++) members[m].parent = null; members = members.init; } void free() { for(int m = 0; m < members.length; m++) members[m].free(); for(int m = 0; m < members.length; m++) members[m].parent = null; import core.memory; for(int m = 0; m < members.length; m++) GC.free(cast(void*) (members[m])); GC.free(cast(void*) (members.ptr)); members = members.init; } //////////////////////////////////////////////////////////// abstract void toD(CodeWriter writer) { writer(this.classinfo.name); writer.nl(); auto indent = CodeIndenter(writer); foreach(c; members) writer(c); } void toC(CodeWriter writer) { toD(writer); } //////////////////////////////////////////////////////////// static string genCheckState(string state) { return " if(" ~ state ~ "!= 0) return; " ~ state ~ " = 1; scope(exit) " ~ state ~ " = 2; "; } enum SemanticState { None, ExpandingNonScopeMembers, ExpandedNonScopeMembers, AddingSymbols, AddedSymbols, ResolvingSymbols, ResolvedSymbols, SemanticDone, } int semanticState; void expandNonScopeSimple(Scope sc, size_t i, size_t j) { Node[1] narray; for(size_t m = i; m < j; ) { Node n = members[m]; narray[0] = n; size_t mlen = members.length; Node[] nm = n.expandNonScopeBlock(sc, narray); assert(members.length == mlen); if(nm.length == 1 && nm[0] == n) { n.addSymbols(sc); assert(members.length == mlen); m++; } else { replaceMember(m, nm); assert(members.length == mlen + nm.length - 1); j += nm.length - 1; } } } void expandNonScopeBlocks(Scope sc) { if(semanticState >= SemanticState.ExpandingNonScopeMembers) return; // simple expansions semanticState = SemanticState.ExpandingNonScopeMembers; expandNonScopeSimple(sc, 0, members.length); // expansions with interpretation Node[1] narray; for(int m = 0; m < members.length; ) { Node n = members[m]; narray[0] = n; Node[] nm = n.expandNonScopeInterpret(sc, narray); if(nm.length == 1 && nm[0] == n) m++; else { replaceMember(m, nm); expandNonScopeSimple(sc, m, m + nm.length); } } semanticState = SemanticState.ExpandedNonScopeMembers; } Node[] expandNonScopeBlock(Scope sc, Node[] athis) { return athis; } Node[] expandNonScopeInterpret(Scope sc, Node[] athis) { return athis; } void addMemberSymbols(Scope sc) { if(semanticState >= SemanticState.AddingSymbols) return; scop = sc; expandNonScopeBlocks(scop); semanticState = SemanticState.AddedSymbols; } void addSymbols(Scope sc) { } bool createsScope() const { return false; } Scope enterScope(ref Scope nscope, Scope sc) { if(!nscope) { nscope = sc.pushClone(); nscope.node = this; addMemberSymbols(nscope); return nscope; } return sc.push(nscope); } Scope enterScope(Scope sc) { return enterScope(scop, sc); } final void semantic(Scope sc) { assert(sc); if(semanticState < SemanticState.SemanticDone) { logInfo("Scope(%s):semantic(%s=%s)", cast(void*)sc, this, cast(void*)this); LogIndent indent = LogIndent(1); _semantic(sc); semanticState = SemanticState.SemanticDone; } } void _semantic(Scope sc) { // throw new SemanticException(text(this, ".semantic not implemented")); foreach(m; members) m.semantic(sc); } Scope getScope() { if(scop) return scop; if(parent) { Scope sc = parent.getScope(); assert(sc); if(sc && createsScope()) sc = enterScope(sc); return sc; } return null; } Node resolve() { return null; } Type calcType() { return semanticErrorType(this, ".calcType not implemented"); } Value interpret(Context sc) { return semanticErrorValue(this, ".interpret not implemented"); } Value interpretCatch(Context sc) { try { return interpret(sc); } catch(InterpretException) { } return semanticErrorValue(this, ": interpretation stopped"); } ParameterList getParameterList() { return null; } ArgumentList getFunctionArguments() { return null; } bool isTemplate() { return false; } Node expandTemplate(Scope sc, TemplateArgumentList args) { return this; } //////////////////////////////////////////////////////////// version(COUNT) {} else // invariant does not work with destructor invariant() { if(!__ctfe) foreach(m; members) assert(m.parent is this); } void addMember(Node m) { assert(m.parent is null); members ~= m; m.parent = this; extendSpan(m.fulspan); } Node removeMember(Node m) { auto n = std.algorithm.countUntil(members, m); assert(n >= 0); return removeMember(n); } Node removeMember(size_t m) { Node n = members[m]; removeMember(m, 1); return n; } void removeMember(size_t m, size_t cnt) { assert(m >= 0 && m + cnt <= members.length); for (size_t i = 0; i < cnt; i++) members[m + i].parent = null; for (size_t n = m + cnt; n < members.length; n++) members[n - cnt] = members[n]; members.length = members.length - cnt; } Node[] removeAll() { for (size_t m = 0; m < members.length; m++) members[m].parent = null; Node[] nm = members; members = members.init; return nm; } void replaceMember(Node m, Node[] nm) { auto n = std.algorithm.countUntil(members, m); assert(n >= 0); replaceMember(n, nm); } void replaceMember(size_t m, Node[] nm) { if(m < members.length) members[m].parent = null; if(nm.length == 1 && m < members.length) members[m] = nm[0]; else members = members[0..m] ~ nm ~ members[m+1..$]; foreach(n; nm) n.parent = this; } T getMember(T = Node)(size_t idx) { if (idx < 0 || idx >= members.length) return null; return static_cast!T(members[idx]); } Module getModule() { Node n = this; while(n) { if(n.scop) return n.scop.mod; n = n.parent; } return null; } string getModuleFilename() { Module mod = getModule(); if(!mod) return null; return mod.filename; } void semanticError(T...)(T args) { semanticErrorLoc(getModuleFilename(), span.start, args); } ErrorValue semanticErrorValue(T...)(T args) { semanticErrorLoc(getModuleFilename(), span.start, args); return Singleton!(ErrorValue).get(); } ErrorType semanticErrorType(T...)(T args) { semanticErrorLoc(getModuleFilename(), span.start, args); return Singleton!(ErrorType).get(); } //////////////////////////////////////////////////////////// void extendSpan(ref const(TextSpan) _span) { if(_span.start < fulspan.start) fulspan.start = _span.start; if(_span.end > fulspan.end) fulspan.end = _span.end; } void limitSpan(ref const(TextSpan) _span) { if(_span.start > fulspan.start) fulspan.start = _span.start; if(_span.end < fulspan.end) fulspan.end = _span.end; } void clearSpan() { span.end.line = span.start.line; span.end.index = span.start.index; fulspan = span; } } class ParseRecoverNode : Node { mixin ForwardCtor!(); override void toD(CodeWriter writer) { string start = to!string(fulspan.start.line) ~ "," ~ to!string(fulspan.start.index); string end = to!string(fulspan.end.line) ~ "," ~ to!string(fulspan.end.index); writer("/+ syntax error: span = ", start, " - ", end, " +/"); writer.nl(); } override void _semantic(Scope sc) { } } interface CallableNode { Value interpretCall(Context sc); ParameterList getParameterList(); FunctionBody getFunctionBody(); } TextPos minimumTextPos(Node node) { version(all) return node.fulspan.start; else { TextPos start = node.span.start; while(node.members.length > 0) { if(compareTextSpanAddress(node.members[0].span.start.line, node.members[0].span.start.index, start.line, start.index) < 0) start = node.members[0].span.start; node = node.members[0]; } return start; } } TextPos maximumTextPos(Node node) { version(all) return node.fulspan.end; else { TextPos end = node.span.end; while(node.members.length > 0) { if(compareTextSpanAddress(node.members[$-1].span.end.line, node.members[$-1].span.start.index, end.line, end.index) > 0) end = node.members[$-1].span.end; node = node.members[$-1]; } return end; } } // prefer start bool nodeContains(Node node, in TextPos pos) { TextPos start = minimumTextPos(node); if(start > pos) return false; TextPos end = maximumTextPos(node); if(end <= pos) return false; return true; } bool nodeContains(Node node, in TextSpan* span) { TextPos start = minimumTextPos(node); if(start > span.start) return false; TextPos end = maximumTextPos(node); if(end < span.end) return false; return true; } // prefer end bool nodeContainsEnd(Node node, in TextPos* pos) { TextPos start = minimumTextPos(node); if(start >= *pos) return false; TextPos end = maximumTextPos(node); if(end < *pos) return false; return true; } // figure out whether the given range is between the children of a binary expression bool isBinaryOperator(Node root, int startLine, int startIndex, int endLine, int endIndex) { TextPos pos = TextPos(startIndex, startLine); if(!nodeContains(root, pos)) return false; L_loop: if(root.members.length == 2) { if(cast(BinaryExpression) root) if(maximumTextPos(root.members[0]) <= pos && minimumTextPos(root.members[1]) > pos) return true; } foreach(m; root.members) if(nodeContains(m, pos)) { root = m; goto L_loop; } return false; } Node getTextPosNode(Node root, in TextSpan* span, bool *inDotExpr) { if(!nodeContains(root, span)) return null; L_loop: foreach(m; root.members) if(nodeContains(m, span)) { root = m; goto L_loop; } if(inDotExpr) *inDotExpr = false; if(auto dotexpr = cast(DotExpression)root) { if(inDotExpr) { root = dotexpr.getExpression(); *inDotExpr = true; } } else if(auto id = cast(Identifier)root) { if(auto dotexpr = cast(DotExpression)id.parent) { if(dotexpr.getIdentifier() == id) { if(inDotExpr) { root = dotexpr.getExpression(); *inDotExpr = true; } else root = dotexpr; } } } return root; }
D
/// Please import core.sys.windows.com instead. This module will be deprecated in DMD 2.068. module mystd.c.windows.com; version (Windows): public import core.sys.windows.com;
D
/* This file is part of Sambamba. Copyright (C) 2017 Pjotr Prins <pjotr.prins@thebird.nl> Sambamba is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Sambamba is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ module bio2.bgzf; /** This is a new version of sambamba bgzf (under development). The new version is a prototype for new sambamba architecture using canonical D language features, including immutable and improved laziness and a more functional programming style. It should provide improved performance and minimize RAM use, as well as better composability. Authors: Pjotr Prins */ import core.stdc.string : memcpy; import std.bitmanip; import std.conv; import std.exception; import std.file; import std.stdio; import std.typecons; import std.zlib : calc_crc32 = crc32, ZlibException; import bio.bam.constants; import bio.core.bgzf.block; import bio.core.bgzf.constants; import bio.core.utils.zlib : inflateInit2, inflate, inflateEnd, Z_OK, Z_FINISH, Z_STREAM_END; import bio2.constants; class BgzfException : Exception { this(string msg) { super(msg); } } alias Nullable!ulong FilePos; alias immutable(uint) CRC32; alias BGZF_MAX_BLOCK_SIZE BLOCK_SIZE; alias ubyte[BLOCK_SIZE] BlockBuffer; @property ubyte read_ubyte(File f) { ubyte[1] ubyte1; // read buffer immutable ubyte[1] buf = f.rawRead(ubyte1); return buf[0]; } @property ushort read_ushort(File f) { ubyte[2] ubyte2; // read buffer immutable ubyte[2] buf = f.rawRead(ubyte2); return littleEndianToNative!ushort(buf); } @property uint read_uint(File f) { ubyte[4] ubyte4; // read buffer immutable ubyte[4] buf = f.rawRead(ubyte4); return littleEndianToNative!uint(buf); } /** Uncompress a zlib buffer (without header) */ ubyte[] deflate(ubyte[] uncompressed_buf, const ubyte[] compressed_buf, size_t uncompressed_size, CRC32 crc32) { assert(uncompressed_buf.length == BLOCK_SIZE); bio.core.utils.zlib.z_stream zs; zs.next_in = cast(typeof(zs.next_in))compressed_buf; zs.avail_in = to!uint(compressed_buf.length); auto err = inflateInit2(&zs, /* winbits = */-15); if (err != Z_OK) throw new ZlibException(err); zs.next_out = cast(typeof(zs.next_out))uncompressed_buf.ptr; zs.avail_out = cast(int)uncompressed_buf.length; scope(exit) { inflateEnd(&zs); } err = inflate(&zs, Z_FINISH); if (err != Z_STREAM_END) throw new ZlibException(err); assert(zs.total_out == uncompressed_size); uncompressed_buf.length = uncompressed_size; assert(crc32 == calc_crc32(0, uncompressed_buf[])); return uncompressed_buf; } /** BgzfReader is designed to run on a single thread. All it does is fetch block headers and data, so the thread should easily keep up with IO. All data processing is happening lazily in other threads. */ struct BgzfReader { File f; FilePos report_fpos; // for error handler - assumes one thread! this(string fn) { enforce(fn.isFile); f = File(fn,"r"); } @disable this(this); // BgzfReader does not have copy semantics; void throwBgzfException(string msg, string file = __FILE__, size_t line = __LINE__) { throw new BgzfException("Error reading BGZF block starting in "~f.name ~" @ " ~ to!string(report_fpos) ~ " (" ~ file ~ ":" ~ to!string(line) ~ "): " ~ msg); } void enforce1(bool check, lazy string msg, string file = __FILE__, int line = __LINE__) { if (!check) throwBgzfException(msg,file,line); } /** Reads the block header and returns the contained compressed data size with the file pointer positioned at the associated compressed data. */ size_t read_block_header() { ubyte[4] ubyte4; auto magic = f.rawRead(ubyte4); enforce1(magic.length == 4, "Premature end of file"); enforce1(magic[0..4] == BGZF_MAGIC,"Invalid file format: expected bgzf magic number"); ubyte[uint.sizeof + 2 * ubyte.sizeof] skip; f.rawRead(skip); // skip gzip info ushort gzip_extra_length = f.read_ushort(); immutable fpos1 = f.tell; size_t bsize = 0; while (f.tell < fpos1 + gzip_extra_length) { immutable subfield_id1 = f.read_ubyte(); immutable subfield_id2 = f.read_ubyte(); immutable subfield_len = f.read_ushort(); if (subfield_id1 == BAM_SI1 && subfield_id2 == BAM_SI2) { // BC identifier enforce(gzip_extra_length == 6); // FIXME: always picks first BC block bsize = 1+f.read_ushort(); // BLOCK size enforce1(subfield_len == 2, "BC subfield len should be 2"); break; } else { f.seek(subfield_len,SEEK_CUR); } enforce1(bsize!=0,"block size not found"); f.seek(fpos1+gzip_extra_length); // skip any extra subfields - note we don't check for second BC } immutable compressed_size = bsize - 1 - gzip_extra_length - 19; enforce1(compressed_size <= BLOCK_SIZE, "compressed size larger than allowed"); // stderr.writeln("[compressed] size ", compressed_size, " bytes starting block @ ", report_fpos); return compressed_size; } /** Fetch the compressed data part of the block and return it with the uncompressed size and CRC32. The file pointer is assumed to be at the start of the compressed data and will be at the end of that section after. */ Tuple!(ubyte[],immutable(uint),CRC32) read_compressed_data(ubyte[] buffer) { auto compressed_buf = f.rawRead(buffer); immutable CRC32 crc32 = f.read_uint(); immutable uncompressed_size = f.read_uint(); // stderr.writeln("[uncompressed] size ",uncompressed_size); return tuple(compressed_buf,uncompressed_size,crc32); } /** * Returns new tuple of the new file position, the compressed buffer and * the CRC32 o the uncompressed data. file pos is NULL when done */ Tuple!(FilePos,ubyte[],size_t,CRC32) read_compressed_block(FilePos fpos, ubyte[] buffer) { immutable start_offset = fpos; try { if (fpos.isNull) throwBgzfException("Trying to read past eof"); report_fpos = fpos; f.seek(fpos); immutable compressed_size = read_block_header(); auto ret = read_compressed_data(buffer[0..compressed_size]); auto compressed_buf = ret[0]; immutable uncompressed_size = ret[1]; immutable crc32 = ret[2]; if (uncompressed_size == 0) { // check for eof marker, rereading block header auto lastpos = f.tell(); f.seek(start_offset); ubyte[BGZF_EOF.length] buf; f.rawRead(buf); f.seek(lastpos); if (buf == BGZF_EOF) return tuple(FilePos(),compressed_buf,cast(ulong)0,crc32); // sets fpos to null } return tuple(FilePos(f.tell()),compressed_buf,cast(size_t)uncompressed_size,crc32); } catch (Exception e) { throwBgzfException(e.msg,e.file,e.line); } assert(0); // never reached } } /** Simple block iterator */ struct BgzfBlocks { BgzfReader bgzf; this(string fn) { bgzf = BgzfReader(fn); } @disable this(this); // disable copy semantics; int opApply(scope int delegate(ubyte[]) dg) { FilePos fpos = 0; try { while (!fpos.isNull) { BlockBuffer stack_buffer; auto res = bgzf.read_compressed_block(fpos,stack_buffer); fpos = res[0]; // point fpos to next block if (fpos.isNull) break; auto compressed_buf = res[1]; // same as stack_buffer auto uncompressed_size = res[2]; auto crc32 = res[3]; BlockBuffer uncompressed_buf; // call delegated function with new block dg(deflate(uncompressed_buf,compressed_buf,uncompressed_size,crc32)); } } catch (Exception e) { bgzf.throwBgzfException(e.msg,e.file,e.line); } return 0; } } Tuple!(size_t,FilePos) read_blockx(ref BgzfReader bgzf, FilePos fpos, ref ubyte[] uncompressed_buf) { BlockBuffer compressed_buf; auto res = bgzf.read_compressed_block(fpos,compressed_buf); fpos = res[0]; // point fpos to next block if (fpos.isNull) return tuple(cast(size_t)0,fpos); auto data = res[1]; assert(data.ptr == compressed_buf.ptr); size_t uncompressed_size = res[2]; auto crc32 = res[3]; deflate(uncompressed_buf,compressed_buf,uncompressed_size,crc32); return tuple(uncompressed_size,fpos); } import std.parallelism; int kick_off_reading_block_ahead(ubyte[] uncompressed_buf, ubyte[] compressed_buf, size_t uncompressed_size, CRC32 crc32) { // writeln("HEY " ~ to!string(uncompressed_size)); deflate(uncompressed_buf,compressed_buf,uncompressed_size,crc32); return -1; } /** */ struct BlockReadAhead { bool task_running = false, we_have_a_task = false; Task!(kick_off_reading_block_ahead, ubyte[], ubyte[], size_t, CRC32)* t; FilePos fpos2; size_t uncompressed_size2 = 0; BlockBuffer compressed_buf2; BlockBuffer uncompressed_buf2; private void read_next_block() { } private void add_deflate_task() { } private void copy_deflated_buffer() { } void setup_block_reader() { read_next_block(); add_deflate_task(); throw new Exception("NYI"); } Tuple!(size_t,FilePos) read_block(ref BgzfReader bgzf, FilePos fpos, ref ubyte[] uncompressed_buf) { assert(we_have_a_task); copy_deflated_buffer(); read_next_block(); add_deflate_task(); // return if (task_running) { int res = t.yieldForce; // writeln(res); task_running = false; memcpy(uncompressed_buf.ptr,compressed_buf2.ptr,uncompressed_size2); return tuple(uncompressed_size2, fpos2); } else { BlockBuffer compressed_buf; auto res = bgzf.read_compressed_block(fpos,compressed_buf); fpos = res[0]; // point fpos to next block if (fpos.isNull) return tuple(cast(size_t)0,fpos); auto data = res[1]; assert(data.ptr == compressed_buf.ptr); size_t uncompressed_size = res[2]; auto crc32 = res[3]; deflate(uncompressed_buf,compressed_buf,uncompressed_size,crc32); // now set up a new buffer auto res2 = bgzf.read_compressed_block(fpos,compressed_buf2); fpos2 = res[0]; // point fpos to next block if (!fpos2.isNull) { auto data2 = res2[1]; uncompressed_size2 = res2[2]; t = task!kick_off_reading_block_ahead(cast(ubyte[])uncompressed_buf2,cast(ubyte[])compressed_buf2,uncompressed_size2,res2[3]); t.executeInNewThread(); task_running = true; } return tuple(uncompressed_size,fpos); } } } /** */ struct BlockReadUnbuffered { void setup_block_reader() { } Tuple!(ubyte[], size_t, FilePos) read_block(ref BgzfReader bgzf, in FilePos fpos, ubyte[] uncompressed_buf) { BlockBuffer compressed_buf; auto res = bgzf.read_compressed_block(fpos,compressed_buf); auto fpos2 = res[0]; // point fpos to next block if (fpos.isNull) return tuple(uncompressed_buf,cast(size_t)0,fpos2); auto data = res[1]; assert(data.ptr == compressed_buf.ptr); size_t uncompressed_size = res[2]; auto crc32 = res[3]; auto buf = deflate(uncompressed_buf,compressed_buf,uncompressed_size,crc32); assert(buf.ptr == uncompressed_buf.ptr); return tuple(uncompressed_buf,uncompressed_size,fpos2); } } /** Streams bgzf data and fetch items by unit or buffer. These can go beyond the size of individual blocks(!) */ struct BgzfStream { BgzfReader bgzf; FilePos fpos; // track file position ubyte[] uncompressed_buf; // current data buffer size_t uncompressed_size; // current data buffer size Nullable!int block_pos; // position in block BlockReadUnbuffered blockread; this(string fn) { bgzf = BgzfReader(fn); uncompressed_buf = new ubyte[BLOCK_SIZE]; fpos = 0; } @disable this(this); // disable copy semantics; bool eof() { return fpos.isNull; } /** Fetch data into buffer. The size of the buffer can be larger than one or more multiple blocks */ ubyte[] fetch(ubyte[] buffer) { if (block_pos.isNull) { blockread.setup_block_reader(); auto res = blockread.read_block(bgzf,fpos,uncompressed_buf); // read first block assert(res[0].ptr == uncompressed_buf.ptr); uncompressed_size = res[1]; fpos = res[2]; block_pos = 0; } immutable buffer_length = buffer.length; size_t buffer_pos = 0; size_t remaining = buffer_length; while (remaining > 0) { if (block_pos + remaining < uncompressed_size) { // full copy assert(buffer_pos + remaining == buffer_length); memcpy(buffer[buffer_pos..buffer_pos+remaining].ptr,uncompressed_buf[block_pos..block_pos+remaining].ptr,remaining); block_pos += remaining; remaining = 0; } else { // read tail of buffer immutable tail = uncompressed_size - block_pos; memcpy(buffer[buffer_pos..buffer_pos+tail].ptr,uncompressed_buf[block_pos..uncompressed_size].ptr,tail); buffer_pos += tail; remaining -= tail; auto res = blockread.read_block(bgzf,fpos,uncompressed_buf); assert(res[0].ptr == uncompressed_buf.ptr); uncompressed_size = res[1]; fpos = res[2]; block_pos = 0; } } return buffer; } int read(T)() { // for integers ubyte[T.sizeof] buf; auto b = fetch(buf); return b.read!(T,Endian.littleEndian)(); } string read(T)(size_t len) { ubyte[] buf = new ubyte[len]; // heap allocation fetch(buf); return cast(T)buf; } T[] read(T)(T[] buffer) { return cast(T[])fetch(cast(ubyte[])buffer); }; }
D
module utf_bc.formats; import utf_bc.le_be; enum TextFormat{ ASCII, UTF_8, UTF_16LE, UTF_32LE, UTF_16BE, UTF_32BE, UCS_2LE, UCS_2BE, UCS_2 = (systemEndian == Endian.Little) ? UCS_2LE : UCS_2BE, UTF_16 = (systemEndian == Endian.Little) ? UTF_16LE : UTF_16BE, UTF_32 = (systemEndian == Endian.Little) ? UTF_32LE : UTF_32BE, UCS_4 = UTF_32, UCS_4BE = UTF_32BE, UCS_4LE = UTF_32LE, } enum FormatError{ None, CodeIsBig, UTF8_invlaidStartOctet, } enum MaxUnicodeCode = 1_112_064; enum isUTF_16(TextFormat format) = (format == TextFormat.UTF_16LE || format == TextFormat.UTF_16BE); enum isUTF_32(TextFormat format) = (format == TextFormat.UTF_32LE || format == TextFormat.UTF_32BE); enum isUCS_2(TextFormat format) = (format == TextFormat.UCS_2LE || format == TextFormat.UCS_2BE); alias isUCS_4 = isUTF_32; template getFormatEndian(TextFormat a){ enum getFormatEndian = { static if(a == TextFormat.UTF_16LE || a == TextFormat.UTF_32LE || a == TextFormat.UCS_2LE){ return Endian.Little; } else static if(a == TextFormat.UTF_16BE || a == TextFormat.UTF_32BE|| a == TextFormat.UCS_2BE){ return Endian.Big; } else static assert(0); }(); } alias typeForTextFormat(TextFormat format) = mixin({ if(isUTF_16!format || isUCS_2!format) return "wchar"; else if(isUTF_32!format) return "dchar"; else if(format == TextFormat.UTF_8 || format == TextFormat.ASCII) return "char"; else assert(0); }()); enum textFormatForType(Type) = { if(is(Type == wchar)) return TextFormat.UTF_16; else if(is(Type == dchar)) return TextFormat.UTF_32; else if(is(Type == char)) return TextFormat.UTF_8; else assert(0); }();
D
/Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Differ.build/Objects-normal/x86_64/Diff.o : /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Diff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedDiff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/NestedExtendedDiff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/NestedDiff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Patch.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/GenericPatch.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedPatch.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Diff+UIKit.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Patch+Sort.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/LinkedList.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Patch+Apply.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedPatch+Apply.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Target\ Support\ Files/Differ/Differ-umbrella.h /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Differ.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Differ.build/Objects-normal/x86_64/Diff~partial.swiftmodule : /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Diff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedDiff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/NestedExtendedDiff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/NestedDiff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Patch.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/GenericPatch.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedPatch.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Diff+UIKit.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Patch+Sort.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/LinkedList.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Patch+Apply.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedPatch+Apply.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Target\ Support\ Files/Differ/Differ-umbrella.h /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Differ.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Differ.build/Objects-normal/x86_64/Diff~partial.swiftdoc : /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Diff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedDiff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/NestedExtendedDiff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/NestedDiff.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Patch.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/GenericPatch.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedPatch.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Diff+UIKit.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Patch+Sort.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/LinkedList.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/Patch+Apply.swift /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Differ/Sources/Differ/ExtendedPatch+Apply.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Pods/Target\ Support\ Files/Differ/Differ-umbrella.h /Users/nikhilsridhar/Desktop/Dyce/DyceAppIOS/Build/Intermediates/Pods.build/Debug-iphonesimulator/Differ.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
/home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab4/os/target/debug/deps/aho_corasick-157883ace851d4c3.rmeta: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/ahocorasick.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/automaton.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/buffer.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/byte_frequencies.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/classes.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/dfa.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/error.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/nfa.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/mod.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/api.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/pattern.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/rabinkarp.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/mod.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/compile.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/runtime.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/vector.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/prefilter.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/state_id.rs /home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab4/os/target/debug/deps/libaho_corasick-157883ace851d4c3.rlib: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/ahocorasick.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/automaton.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/buffer.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/byte_frequencies.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/classes.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/dfa.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/error.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/nfa.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/mod.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/api.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/pattern.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/rabinkarp.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/mod.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/compile.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/runtime.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/vector.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/prefilter.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/state_id.rs /home/hustccc/OS_Tutorial_Summer_of_Code/rCore_Labs/Lab4/os/target/debug/deps/aho_corasick-157883ace851d4c3.d: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/lib.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/ahocorasick.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/automaton.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/buffer.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/byte_frequencies.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/classes.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/dfa.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/error.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/nfa.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/mod.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/api.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/pattern.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/rabinkarp.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/mod.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/compile.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/runtime.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/vector.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/prefilter.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/state_id.rs /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/lib.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/ahocorasick.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/automaton.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/buffer.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/byte_frequencies.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/classes.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/dfa.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/error.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/nfa.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/mod.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/api.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/pattern.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/rabinkarp.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/mod.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/compile.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/teddy/runtime.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/packed/vector.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/prefilter.rs: /home/hustccc/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/aho-corasick-0.7.13/src/state_id.rs:
D
const int SPL_Cost_InstantFireStorm = 25; const int SPL_Damage_InstantFireStorm = 100; instance Spell_Firestorm(C_Spell_Proto) { time_per_mana = 0; damage_per_level = SPL_Damage_InstantFireStorm; // изменить тип если нужно damagetype = DAM_MAGIC; // damagetype = DAM_FIRE; }; func int Spell_Logic_Firestorm(var int manaInvested) { if(Npc_GetActiveSpellIsScroll(self) && (self.attribute[ATR_MANA] >= SPL_Cost_Scroll)) { return SPL_SENDCAST; } else if(self.attribute[ATR_MANA] >= SPL_Cost_InstantFireStorm) { return SPL_SENDCAST; } else { return SPL_SENDSTOP; }; }; func void Spell_Cast_Firestorm() { if(Npc_GetActiveSpellIsScroll(self)) { self.attribute[ATR_MANA] -= SPL_Cost_Scroll; } else { self.attribute[ATR_MANA] -= SPL_Cost_InstantFireStorm; }; self.aivar[AIV_SelectSpell] += 1; };
D
void main() { import std.stdio, std.string, std.conv, std.algorithm; int n; rd(n); auto a = readln.split.to!(int[]); int s = 0; foreach (i; 0 .. n) { a[i] *= n; s += a[i]; } auto ave = s / n; int best_idx = 0; import std.math : abs; foreach (int i; 1 .. n) { if (abs(ave - a[best_idx]) > abs(ave - a[i])) { best_idx = i; } } writeln(best_idx); } void rd(T...)(ref T x) { import std.stdio : readln; import std.string : split; import std.conv : to; auto l = readln.split; assert(l.length == x.length); foreach (i, ref e; x) e = l[i].to!(typeof(e)); }
D
/* Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ module derelict.sdl2.image; private { import derelict.util.loader; import derelict.util.exception; import derelict.util.system; import derelict.sdl2.types; import derelict.sdl2.functions; static if( Derelict_OS_Windows ) enum libNames = "SDL2_image.dll"; else static if( Derelict_OS_Mac ) enum libNames = "../Frameworks/SDL2_image.framework/SDL2_image, /Library/Frameworks/SDL2_image.framework/SDL2_image, /System/Library/Frameworks/SDL2_image.framework/SDL2_image"; else static if( Derelict_OS_Posix ) enum libNames = "libSDL2_image.so, libSDL2_image-2.0.so, libSDL2_image-2.0.so.0, /usr/local/lib/libSDL2_image.so, /usr/local/lib/libSDL2_image-2.0.so, /usr/local/lib/libSDL2_image-2.0.so.0"; else static assert( 0, "Need to implement SDL2_image libNames for this operating system." ); } alias IMG_SetError = SDL_SetError; alias IMG_GetError = SDL_GetError; enum : Uint8 { SDL_IMAGE_MAJOR_VERSION = 2, SDL_IMAGE_MINOR_VERSION = 0, SDL_IMAGE_PATCHLEVEL = 0, } @nogc nothrow void SDL_IMAGE_VERSION( SDL_version* X ) { X.major = SDL_IMAGE_MAJOR_VERSION; X.minor = SDL_IMAGE_MINOR_VERSION; X.patch = SDL_IMAGE_PATCHLEVEL; } enum { IMG_INIT_JPG = 0x00000001, IMG_INIT_PNG = 0x00000002, IMG_INIT_TIF = 0x00000004, IMG_INIT_WEBP = 0x00000008, } extern( C ) @nogc nothrow { alias da_IMG_Init = int function( int ); alias da_IMG_Quit = int function(); alias da_IMG_Linked_Version = const( SDL_version )* function(); alias da_IMG_LoadTyped_RW = SDL_Surface* function( SDL_RWops*, int, const( char )* ); alias da_IMG_Load = SDL_Surface* function( const( char )* ); alias da_IMG_Load_RW = SDL_Surface* function( SDL_RWops*, int ); alias da_IMG_LoadTexture = SDL_Texture* function( SDL_Renderer*, const( char )* ); alias da_IMG_LoadTexture_RW = SDL_Texture* function( SDL_Renderer*, SDL_RWops*, int ); alias da_IMG_LoadTextureTyped_RW = SDL_Texture* function( SDL_Renderer*, SDL_RWops*, int, const( char )* ); alias da_IMG_isICO = int function( SDL_RWops* ); alias da_IMG_isCUR = int function( SDL_RWops* ); alias da_IMG_isBMP = int function( SDL_RWops* ); alias da_IMG_isGIF = int function( SDL_RWops* ); alias da_IMG_isJPG = int function( SDL_RWops* ); alias da_IMG_isLBM = int function( SDL_RWops* ); alias da_IMG_isPCX = int function( SDL_RWops* ); alias da_IMG_isPNG = int function( SDL_RWops* ); alias da_IMG_isPNM = int function( SDL_RWops* ); alias da_IMG_isTIF = int function( SDL_RWops* ); alias da_IMG_isXCF = int function( SDL_RWops* ); alias da_IMG_isXPM = int function( SDL_RWops* ); alias da_IMG_isXV = int function( SDL_RWops* ); alias da_IMG_isWEBP = int function( SDL_RWops* ); alias da_IMG_LoadICO_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadCUR_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadBMP_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadGIF_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadJPG_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadLBM_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadPCX_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadPNG_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadPNM_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadTGA_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadTIF_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadXCF_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadXPM_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadXV_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_LoadWEBP_RW = SDL_Surface* function( SDL_RWops* ); alias da_IMG_ReadXPMFromArray = SDL_Surface* function( char** ); alias da_IMG_SavePNG = int function( SDL_Surface*, const( char )* ); alias da_IMG_SavePNG_RW = int function( SDL_Surface*, SDL_RWops*, int ); } __gshared { da_IMG_Init IMG_Init; da_IMG_Quit IMG_Quit; da_IMG_Linked_Version IMG_Linked_Version; da_IMG_LoadTyped_RW IMG_LoadTyped_RW; da_IMG_Load IMG_Load; da_IMG_Load_RW IMG_Load_RW; da_IMG_LoadTexture IMG_LoadTexture; da_IMG_LoadTexture_RW IMG_LoadTexture_RW; da_IMG_LoadTextureTyped_RW IMG_LoadTextureTyped_RW; da_IMG_isICO IMG_isICO; da_IMG_isCUR IMG_isCUR; da_IMG_isBMP IMG_isBMP; da_IMG_isGIF IMG_isGIF; da_IMG_isJPG IMG_isJPG; da_IMG_isLBM IMG_isLBM; da_IMG_isPCX IMG_isPCX; da_IMG_isPNG IMG_isPNG; da_IMG_isPNM IMG_isPNM; da_IMG_isTIF IMG_isTIF; da_IMG_isXCF IMG_isXCF; da_IMG_isXPM IMG_isXPM; da_IMG_isXV IMG_isXV; da_IMG_isWEBP IMG_isWEBP; da_IMG_LoadICO_RW IMG_LoadICO_RW; da_IMG_LoadCUR_RW IMG_LoadCUR_RW; da_IMG_LoadBMP_RW IMG_LoadBMP_RW; da_IMG_LoadGIF_RW IMG_LoadGIF_RW; da_IMG_LoadJPG_RW IMG_LoadJPG_RW; da_IMG_LoadLBM_RW IMG_LoadLBM_RW; da_IMG_LoadPCX_RW IMG_LoadPCX_RW; da_IMG_LoadPNG_RW IMG_LoadPNG_RW; da_IMG_LoadPNM_RW IMG_LoadPNM_RW; da_IMG_LoadTGA_RW IMG_LoadTGA_RW; da_IMG_LoadTIF_RW IMG_LoadTIF_RW; da_IMG_LoadXCF_RW IMG_LoadXCF_RW; da_IMG_LoadXPM_RW IMG_LoadXPM_RW; da_IMG_LoadXV_RW IMG_LoadXV_RW; da_IMG_LoadWEBP_RW IMG_LoadWEBP_RW; da_IMG_ReadXPMFromArray IMG_ReadXPMFromArray; da_IMG_SavePNG IMG_SavePNG; da_IMG_SavePNG_RW IMG_SavePNG_RW; } class DerelictSDL2ImageLoader : SharedLibLoader { public this() { super( libNames ); } protected override void loadSymbols() { bindFunc( cast( void** )&IMG_Init, "IMG_Init" ); bindFunc( cast( void** )&IMG_Quit, "IMG_Quit" ); bindFunc( cast( void** )&IMG_Linked_Version, "IMG_Linked_Version" ); bindFunc( cast( void** )&IMG_LoadTyped_RW, "IMG_LoadTyped_RW" ); bindFunc( cast( void** )&IMG_Load, "IMG_Load" ); bindFunc( cast( void** )&IMG_Load_RW, "IMG_Load_RW" ); bindFunc( cast( void** )&IMG_LoadTexture, "IMG_LoadTexture" ); bindFunc( cast( void** )&IMG_LoadTexture_RW, "IMG_LoadTexture_RW" ); bindFunc( cast( void** )&IMG_LoadTextureTyped_RW, "IMG_LoadTextureTyped_RW" ); bindFunc( cast( void** )&IMG_isICO, "IMG_isICO" ); bindFunc( cast( void** )&IMG_isCUR, "IMG_isCUR" ); bindFunc( cast( void** )&IMG_isBMP, "IMG_isBMP" ); bindFunc( cast( void** )&IMG_isGIF, "IMG_isGIF" ); bindFunc( cast( void** )&IMG_isJPG, "IMG_isJPG" ); bindFunc( cast( void** )&IMG_isLBM, "IMG_isLBM" ); bindFunc( cast( void** )&IMG_isPCX, "IMG_isPCX" ); bindFunc( cast( void** )&IMG_isPNG, "IMG_isPNG" ); bindFunc( cast( void** )&IMG_isPNM, "IMG_isPNM" ); bindFunc( cast( void** )&IMG_isTIF, "IMG_isTIF" ); bindFunc( cast( void** )&IMG_isXCF, "IMG_isXCF" ); bindFunc( cast( void** )&IMG_isXPM, "IMG_isXPM" ); bindFunc( cast( void** )&IMG_isXV, "IMG_isXV" ); bindFunc( cast( void** )&IMG_isWEBP, "IMG_isWEBP" ); bindFunc( cast( void** )&IMG_LoadICO_RW, "IMG_LoadICO_RW" ); bindFunc( cast( void** )&IMG_LoadCUR_RW, "IMG_LoadCUR_RW" ); bindFunc( cast( void** )&IMG_LoadBMP_RW, "IMG_LoadBMP_RW" ); bindFunc( cast( void** )&IMG_LoadGIF_RW, "IMG_LoadGIF_RW" ); bindFunc( cast( void** )&IMG_LoadJPG_RW, "IMG_LoadJPG_RW" ); bindFunc( cast( void** )&IMG_LoadLBM_RW, "IMG_LoadLBM_RW" ); bindFunc( cast( void** )&IMG_LoadPCX_RW, "IMG_LoadPCX_RW" ); bindFunc( cast( void** )&IMG_LoadPNG_RW, "IMG_LoadPNG_RW" ); bindFunc( cast( void** )&IMG_LoadPNM_RW, "IMG_LoadPNM_RW" ); bindFunc( cast( void** )&IMG_LoadTGA_RW, "IMG_LoadTGA_RW" ); bindFunc( cast( void** )&IMG_LoadTIF_RW, "IMG_LoadTIF_RW" ); bindFunc( cast( void** )&IMG_LoadXCF_RW, "IMG_LoadXCF_RW" ); bindFunc( cast( void** )&IMG_LoadXPM_RW, "IMG_LoadXPM_RW" ); bindFunc( cast( void** )&IMG_LoadXV_RW, "IMG_LoadXV_RW" ); bindFunc( cast( void** )&IMG_isXV, "IMG_isXV" ); bindFunc( cast( void** )&IMG_LoadWEBP_RW, "IMG_LoadWEBP_RW" ); bindFunc( cast( void** )&IMG_SavePNG, "IMG_SavePNG" ); bindFunc( cast( void** )&IMG_SavePNG_RW, "IMG_SavePNG_RW" ); } } __gshared DerelictSDL2ImageLoader DerelictSDL2Image; shared static this() { DerelictSDL2Image = new DerelictSDL2ImageLoader(); }
D
// Written in the D programming language /** * Implementation of vector as a list of values. * Features: * $(OL * $(LI All vector actions is checked at compile time) * $(LI Vector contains only it's data, and nothing additional) * $(LI Almost all vector actions is `pure` and `nothrow`) * $(LI Vector can have one- and multiletter accessors) * ) * * Usage: * Create vector as in documentation below and treat it like a simple array (if * you want to take some data from vector or put it in) or number (if you need * to do some mathematical actions with vector). * * Vector can have accessor - a named property method returning one of vector * element. Accessor can be two types: * $(OL * $(LI One-letter accessor. To create vector with this type you should * create vector like that: * * auto vec = Vector!(int, 2, "xy")(10, 20); * * Then you can call vector accessor: * * assert (vec.x == 10); * ) * $(LI Multiletter accessor. To create vector with this type you should * create vector like that: * * auto vec = Vector!(int, 2, "col,row")(10, 20); * * Accessor delimiter in the accessors string should be ",". * Then you can call vector accessor: * * assert (vec.col == 10); * ) * ) * * Vector also has Orientation - a string that defines vector orientation: * `horizontal` or `vertical`. It is needed only when vector is converted to * matrix and by default is `horizontal`. * * Copyright: * Copyright Vlad Rindevich, 2014. * * License: * $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * * Authors: * Vlad Rindevich (rindevich.vs@gmail.com). */ module mathed.types.vector; public import mathed.utils.traits : isVector; private { import mathed.types.matrix : Matrix, DefaultInit, isMatrix, Matrix1i, Matrix3i; import std.traits : isNumeric; import std.array : appender, split; import std.conv : to; import std.string : format; } alias Vector!2 Vector2f; alias Vector!3 Vector3f; alias Vector!4 Vector4f; alias Vector!(2, int) Vector2i; alias Vector!(3, int) Vector3i; alias Vector!(4, int) Vector4i; alias Vector!(2, float, "xy") Planef; alias Vector!(3, float, "xyz") Stereof; alias Vector!(2, int, "xy") Planei; alias Vector!(3, int, "xyz") Stereoi; /** * Main vector interface. */ struct Vector (size_t Size, Type = float, string Accessors = "", string Orientation = "horizontal") if (Size > 0) { static assert (isAcceptableSize!(Accessors, Size), format (INACCEPTABLE_SIZE, CountAccessors (Accessors))); static assert (isAcceptableType!Orientation, format (INACCEPTABLE_TYPE, Orientation)); private { alias Vector!(Size, Type, Accessors, Orientation) Self; /* * Vector core array. */ static if (isNumeric!Type) Type[Size] data = mixin (DefaultInit (Size)); else Type[Size] data; // Gets the `Accessors` string alias Accessors accessors; // Gets vector orientation alias Orientation orientation; } /// Gets vector size (quantity of it's elements). alias Size size; /// Gets type of vector data alias Type type; unittest { auto v = Vector3i (1, 2, 3); assert (v.size == 3); } @trusted: /** * Vector default constructor. */ this (Type[Size] values...) pure nothrow { set (values); } static if (Accessors != "") mixin (AttrAccessor (Accessors, Size)); /// unittest { // Creating a vector with accessors auto v = Vector!(3, int, "xyz")(1, 2, 3); // Testing accessor methods. assert (v.x == 1); assert (v.y == 2); assert (v.z == 3); } /** * Sets all vector values in one action. */ void set (Type[Size] values...) pure nothrow { foreach (size_t index, ref element; data) element = values[index]; } /// unittest { // Creating vector auto v = Vector3i (1, 2, 3); // Change data in one action v.set (3, 2, 1); assert (v[0] == 3 && v[1] == 2 && v[2] == 1); } /** * Stringifies vector. */ string toString () { return data.to!string (); } unittest { auto v = Vector3i (1, 2, 3); auto str = v.to!string (); assert (str == "[1, 2, 3]"); } /** * Gets vector element. */ ref auto opIndex (size_t element) pure nothrow { return data[element]; } unittest { auto v = Vector3i (1, 2, 3); assert (v[1] == 2); } /** * Iterates vector. */ int opApply (int delegate (ref Type) foreach_) { int result; foreach (size_t index, ref element; data) { result = foreach_ (element); if (result) break; } return result; } /// ditto int opApply (int delegate (ref size_t, ref Type) foreach_) { int result; foreach (size_t index, ref element; data) { result = foreach_ (index, element); if (result) break; } return result; } /** * Inverses vector sign. */ auto opUnary(string op)() pure nothrow if( op == "-" ) in { static assert (isNumeric!Type, NOT_NUMERIC_FORBIDDEN); } body { return opBinary!"*" (-1); } /** * Processes vector addition and subtraction. */ Self opBinary (string op, SumType, alias string SumAccessors) (in Vector!(Size, SumType, SumAccessors, Orientation) summand) pure nothrow if ((op == "+" || op == "-") && is (SumType : Type)) in { static assert (isNumeric!Type, NOT_NUMERIC_FORBIDDEN); } body { Self newVector; foreach (size_t index, ref element; newVector.data) mixin ("element = data[index] " ~ op ~ " summand.data[index];"); return newVector; } /// ditto void opOpAssign (string op, SumType, alias string SumAccessors) (in Vector!(Size, SumType, SumAccessors, Orientation) summand) pure nothrow if ((op == "+" || op == "-") && is (SumType : Type)) in { static assert (isNumeric!Type, NOT_NUMERIC_FORBIDDEN); } body { this = opBinary!op (summand); } unittest { auto v = Vector3i (1, 2, 3); auto w = Vector3i (3, 2, 1); assert (v + w == Vector3i (4, 4, 4)); } /** * Processes vector multiplication and division with number. */ Self opBinary (string op, Number)(in Number num) pure nothrow if ((op == "*" || op == "/") && isNumeric!Number) in { static assert (isNumeric!Type, NOT_NUMERIC_FORBIDDEN); } body { Self newVector; foreach (size_t index, ref element; newVector.data) mixin ("element = data[index] " ~ op ~ " num;"); return newVector; } /// ditto Self opBinaryRight (string op, Number)(in Number num) pure nothrow if ((op == "*" || op == "/") && isNumeric!Number) in { static assert (isNumeric!Type, NOT_NUMERIC_FORBIDDEN); } body { return opBinary!op (num); } /// ditto void opOpAssign (string op, Number)(in Number num) pure nothrow if ((op == "*" || op == "/") && isNumeric!Number) in { static assert (isNumeric!Type, NOT_NUMERIC_FORBIDDEN); } body { this = opBinary!op (num); } unittest { auto v = Vector3i (1, 2, 3); assert (v * 2 == Vector3i (2, 4, 6)); v *= 2; assert (v == Vector3i (2, 4, 6)); } /** * Processes vector multiplication with another vector. Due to mathematical * restrictions that vector can be multiplied or divided only by * perpendicular vector, both vectors will be converted to matrix and * then processed. */ auto opBinary (string op, Factor)(Factor factor) pure nothrow if (op == "*" && isVector!Factor) in { static assert (isNumeric!Type, NOT_NUMERIC_FORBIDDEN); } body { return this.toMatrix () * factor.toMatrix (); } unittest { auto v = Vector3i (1, 2, 3); auto w = Vector!(3, int, "", "vertical") (1, 2, 3); assert (v * w == Matrix1i (14)); auto v2 = Vector!(3, int, "", "vertical") (1, 2, 3); auto w2 = Vector3i (1, 2, 3); auto equalMatrix = Matrix3i ( 1, 2, 3, 2, 4, 6, 3, 6, 9 ); assert (v2 * w2 == equalMatrix); } /** * Processes casting current vector to a new type of vector. Parametres that * can be cange are: vector type, accessors and orientation. */ NewType opCast (NewType)() pure nothrow if (isVector!NewType && NewType.size == Size && (is (NewType.type : Type) || is (Type : NewType.type))) in { static assert (isNumeric!Type, NOT_NUMERIC_FORBIDDEN); } body { NewType newVector; foreach (size_t index, ref element; newVector.data) element = cast(NewType.type) data[index]; return newVector; } /// ditto Vector!(Size, NewType, NewAccessors, NewOrientation) castTo (NewType, string NewAccessors = Accessors, string NewOrientation = Orientation)() if (is (NewType : Type) || is (Type : NewType)) in { static assert (isNumeric!Type, NOT_NUMERIC_FORBIDDEN); } body { return cast(Vector!(Size, NewType, NewAccessors, NewOrientation)) this; } unittest { auto v = Vector!(4, int)(1, 2, 3, 4); auto w = cast(Vector!4) v; auto x = v.castTo!double (); assert (is (w.type == float)); assert (is (x.type == double)); assert (is (typeof (w[0]) == float)); assert (is (typeof (x[0]) == double)); assert (isVector!w); assert (isVector!x); } /** * Casts vector to a string. */ string opCast (NewType)() if (is (NewType == string)) { return toString (); } /** * Converts vector to one-lined or one-columned matrix depending on * Orientation. */ auto toMatrix () pure nothrow { static if (Orientation == "vertical") return Matrix!(Size, 1, Type)(data); else return Matrix!(1, Size, Type)(data); } /** * Transposes vector. */ @property auto t () pure nothrow { static if (Orientation == "vertical") return Vector!(Size, Type, Accessors, "horizontal")(data); else return Vector!(Size, Type, Accessors, "vertical")(data); } unittest { auto v = Vector3i (1, 2, 3); assert (v.t.toMatrix ().lines == 3); } } private: // Compile-time vector accessors counting. size_t CountAccessors (string Accessors, size_t Size) pure @trusted { if (Size == 1) return Accessors.length == 0 ? 0 : 1; else if (!Accessors.hasSymbol (',')) return Accessors.length; else return Accessors.split (',').length; } // Compile-time test for char existence in the string. bool hasSymbol (string str, char sym) pure nothrow @trusted { bool has; foreach (ref letter; str) if (letter == sym) has = true; return has; } // Compile-time generation of accessor methods. string AttrAccessor (string Accessors, size_t Size) pure @trusted { string result; string code = q{ @property ref Type %1$s () pure nothrow @trusted { return data[%2$s]; } }; if (Size == 1 ) result ~= format (code, Accessors, 0); else if (Size > 1 && !Accessors.hasSymbol (',')) foreach (size_t index, accessor; Accessors) result ~= format (code, accessor, index); else { string[] AccessorsList; if (Accessors.hasSymbol (',')) AccessorsList = Accessors.split (','); foreach (size_t index, accessor; AccessorsList) result ~= format (code, accessor, index); } return result; } pure @trusted template isAcceptableSize (string Accessors, size_t Size) { enum isAcceptableSize = CountAccessors (Accessors, Size) == 0 || CountAccessors (Accessors, Size) == Size; } pure nothrow @trusted template isAcceptableType (string Type) { enum isAcceptableType = Type == "horizontal" || Type == "vertical"; } enum { NOT_NUMERIC_FORBIDDEN = "Impossible to apply mathematical action to " ~ "not-numeric vector", INACCEPTABLE_SIZE = "Attribute accessors should be equal to vector size by " ~ "quantity or be empty string, not %s", INACCEPTABLE_TYPE = "Orientation should be `horizontal` or `vertical`, not %s" }
D
/Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/URI.build/Model/URI.swift.o : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/PercentDecoding.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+Byte.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+Modification.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+Ports.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+String.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser+Components.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser+Public.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser+SubComponents.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/URI.build/URI~partial.swiftmodule : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/PercentDecoding.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+Byte.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+Modification.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+Ports.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+String.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser+Components.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser+Public.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser+SubComponents.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/URI.build/URI~partial.swiftdoc : /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/PercentDecoding.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+Byte.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+Modification.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+Ports.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI+String.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Model/URI.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser+Components.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser+Public.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser+SubComponents.swift /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/Packages/Engine-1.3.2/Sources/URI/Parser/Parser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/Core.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/mohammadazam/Documents/Projects/StoryTellersAPICode/StoryTellersAPI/.build/debug/libc.swiftmodule
D
import intcode; import std.algorithm; import std.range; import std.stdio; auto readProgram(File input) { import std.conv; return input .byLine .map!(line => line.splitter(',').map!(to!Word) ) .joiner; } void partOne() { stdin .readProgram .run(only(1)) .each!writeln; } void partTwo() { stdin .readProgram .run(only(2)) .each!writeln; } void main(string[] args) { import std.format; import std.getopt; int part = 1; auto options = args.getopt( "part|p", "Part of the problem to solve (default: 1)", &part ); if (options.helpWanted) { defaultGetoptPrinter( format("Usage: %s [-h] [-p N]", args[0]), options.options ); return; } if (part == 1) { partOne; } else if (part == 2) { partTwo; } }
D
/* * #52 MOBs in New Camp can be used without corresponding items * * There does not seem an easy way to test this fix programmatically, so this test relies on manual confirmation. * * Expected behavior: The grindstone is not usable anymore (without a sword blade). */ func void G1CP_Test_052() { if (G1CP_TestsuiteAllowManual) { Wld_SetTime(3, 0); // Get that mercenary out of the way AI_Teleport(hero, "NC_HUT03_OUT_MOVEMENT"); }; };
D
/** A static HTTP file server. Copyright: © 2012-2015 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.http.fileserver; import vibe.core.file; import vibe.core.log; import vibe.core.stream : RandomAccessStream, pipe; import vibe.http.server; import vibe.inet.message; import vibe.inet.mimetypes; import vibe.inet.url; import vibe.internal.interfaceproxy; import std.ascii : isWhite; import std.algorithm; import std.conv; import std.datetime; import std.digest.md; import std.exception; import std.range : popFront, empty, drop; import std.string; import std.typecons : Flag, Yes, No; @safe: /** Returns a request handler that serves files from the specified directory. See `sendFile` for more information. Params: local_path = Path to the folder to serve files from. settings = Optional settings object enabling customization of how the files get served. Returns: A request delegate is returned, which is suitable for registering in a `URLRouter` or for passing to `listenHTTP`. See_Also: `serveStaticFile`, `sendFile` */ HTTPServerRequestDelegateS serveStaticFiles(NativePath local_path, HTTPFileServerSettings settings = null) { import std.range.primitives : front; if (!settings) settings = new HTTPFileServerSettings; if (!settings.serverPathPrefix.endsWith("/")) settings.serverPathPrefix ~= "/"; void callback(scope HTTPServerRequest req, scope HTTPServerResponse res) @safe { string srv_path; if (auto pp = "pathMatch" in req.params) srv_path = *pp; else if (req.path.length > 0) srv_path = req.path; else srv_path = req.requestURL; if (!srv_path.startsWith(settings.serverPathPrefix)) { logDebug("path '%s' not starting with '%s'", srv_path, settings.serverPathPrefix); return; } auto rel_path = srv_path[settings.serverPathPrefix.length .. $]; auto rpath = PosixPath(rel_path); logTrace("Processing '%s'", srv_path); rpath.normalize(); logDebug("Path '%s' -> '%s'", rel_path, rpath.toNativeString()); if (rpath.absolute) { logDebug("Path is absolute, not responding"); return; } else if (!rpath.empty && rpath.bySegment.front.name == "..") return; // don't respond to relative paths outside of the root path sendFileImpl(req, res, local_path ~ rpath, settings); } return &callback; } /// ditto HTTPServerRequestDelegateS serveStaticFiles(string local_path, HTTPFileServerSettings settings = null) { return serveStaticFiles(NativePath(local_path), settings); } /// unittest { import vibe.http.fileserver; import vibe.http.router; import vibe.http.server; void setupServer() { auto router = new URLRouter; // add other routes here router.get("*", serveStaticFiles("public/")); auto settings = new HTTPServerSettings; listenHTTP(settings, router); } } /** This example serves all files in the "public" sub directory with an added prefix "static/" so that they don't interfere with other registered routes. */ unittest { import vibe.http.fileserver; import vibe.http.router; import vibe.http.server; void setupRoutes() { auto router = new URLRouter; // add other routes here auto fsettings = new HTTPFileServerSettings; fsettings.serverPathPrefix = "/static"; router.get("/static/*", serveStaticFiles("public/", fsettings)); auto settings = new HTTPServerSettings; listenHTTP(settings, router); } } /** Returns a request handler that serves a specific file on disk. See `sendFile` for more information. Params: local_path = Path to the file to serve. settings = Optional settings object enabling customization of how the file gets served. Returns: A request delegate is returned, which is suitable for registering in a `URLRouter` or for passing to `listenHTTP`. See_Also: `serveStaticFiles`, `sendFile` */ HTTPServerRequestDelegateS serveStaticFile(NativePath local_path, HTTPFileServerSettings settings = null) { if (!settings) settings = new HTTPFileServerSettings; assert(settings.serverPathPrefix == "/", "serverPathPrefix is not supported for single file serving."); void callback(scope HTTPServerRequest req, scope HTTPServerResponse res) { sendFileImpl(req, res, local_path, settings); } return &callback; } /// ditto HTTPServerRequestDelegateS serveStaticFile(string local_path, HTTPFileServerSettings settings = null) { return serveStaticFile(NativePath(local_path), settings); } /** Sends a file to the given HTTP server response object. When serving a file, certain request headers are supported to avoid sending the file if the client has it already cached. These headers are `"If-Modified-Since"` and `"If-None-Match"`. The client will be delivered with the necessary `"Etag"` (generated from size and last modification time of the file) and `"Last-Modified"` headers. The cache control directives `"Expires"` and/or `"Cache-Control"` will also be emitted if the `HTTPFileServerSettings.maxAge` field is set to a positive duration and/or `HTTPFileServerSettings.cacheControl` has been set. Finally, HEAD requests will automatically be handled without reading the actual file contents. Am empty response body is written instead. Params: req = The incoming HTTP request - cache and modification headers of the request can influence the generated response. res = The response object to write to. path = Path to the file to be sent. settings = Optional settings object enabling customization of how the file gets served. */ void sendFile(scope HTTPServerRequest req, scope HTTPServerResponse res, NativePath path, HTTPFileServerSettings settings = null) { static HTTPFileServerSettings default_settings; if (!settings) { if (!default_settings) default_settings = new HTTPFileServerSettings; settings = default_settings; } sendFileImpl(req, res, path, settings); } /** Configuration options for the static file server. */ class HTTPFileServerSettings { /// Prefix of the request path to strip before looking up files string serverPathPrefix = "/"; /// Maximum cache age to report to the client (zero by default) Duration maxAge = 0.seconds; /** Cache control to control where cache can be saved, if at all, such as proxies, the storage, etc. Leave null or empty to not emit any cache control directives other than max-age if maxAge is set. Common values include: public for making a shared resource cachable across multiple users or private for a response that should only be cached for a single user. See https://developer.mozilla.org/de/docs/Web/HTTP/Headers/Cache-Control */ string cacheControl = null; /// General options HTTPFileServerOption options = HTTPFileServerOption.defaults; /// additional options /** Maps from encoding scheme (e.g. "gzip") to file extension. If a request accepts a supported encoding scheme, then the file server will look for a file with the extension as a suffix and, if that exists, sends it as the encoded representation instead of sending the original file. Example: --- settings.encodingFileExtension["gzip"] = ".gz"; --- */ string[string] encodingFileExtension; /** Called just before headers and data are sent. Allows headers to be customized, or other custom processing to be performed. Note: Any changes you make to the response, physicalPath, or anything else during this function will NOT be verified by Vibe.d for correctness. Make sure any alterations you make are complete and correct according to HTTP spec. */ void delegate(scope HTTPServerRequest req, scope HTTPServerResponse res, ref string physicalPath) preWriteCallback = null; this() { } this(string path_prefix) { this(); serverPathPrefix = path_prefix; } } /** Additional options for the static file server. */ enum HTTPFileServerOption { none = 0, /// respond with 404 if a file was not found failIfNotFound = 1 << 0, /// serve index.html for directories serveIndexHTML = 1 << 1, /// default options are serveIndexHTML defaults = serveIndexHTML, } private void sendFileImpl(scope HTTPServerRequest req, scope HTTPServerResponse res, NativePath path, HTTPFileServerSettings settings = null) { auto pathstr = path.toNativeString(); // return if the file does not exist if (!existsFile(pathstr)){ if (settings.options & HTTPFileServerOption.failIfNotFound) throw new HTTPStatusException(HTTPStatus.NotFound); return; } FileInfo dirent; try dirent = getFileInfo(pathstr); catch(Exception){ throw new HTTPStatusException(HTTPStatus.InternalServerError, "Failed to get information for the file due to a file system error."); } if (dirent.isDirectory) { if (settings.options & HTTPFileServerOption.serveIndexHTML) return sendFileImpl(req, res, path ~ "index.html", settings); logDebugV("Hit directory when serving files, ignoring: %s", pathstr); if (settings.options & HTTPFileServerOption.failIfNotFound) throw new HTTPStatusException(HTTPStatus.NotFound); return; } if (handleCacheFile(req, res, dirent, settings.cacheControl, settings.maxAge)) { return; } auto mimetype = res.headers.get("Content-Type", getMimeTypeForFile(pathstr)); // avoid double-compression if ("Content-Encoding" in res.headers && isCompressedFormat(mimetype)) res.headers.remove("Content-Encoding"); if (!("Content-Type" in res.headers)) res.headers["Content-Type"] = mimetype; res.headers.addField("Accept-Ranges", "bytes"); ulong rangeStart = 0; ulong rangeEnd = 0; auto prange = "Range" in req.headers; if (prange) { auto range = (*prange).chompPrefix("bytes="); if (range.canFind(',')) throw new HTTPStatusException(HTTPStatus.notImplemented); auto s = range.split("-"); if (s.length != 2) throw new HTTPStatusException(HTTPStatus.badRequest); // https://tools.ietf.org/html/rfc7233 // Range can be in form "-\d", "\d-" or "\d-\d" try { if (s[0].length) { rangeStart = s[0].to!ulong; rangeEnd = s[1].length ? s[1].to!ulong : dirent.size; } else if (s[1].length) { rangeEnd = dirent.size; auto len = s[1].to!ulong; if (len >= rangeEnd) rangeStart = 0; else rangeStart = rangeEnd - len; } else { throw new HTTPStatusException(HTTPStatus.badRequest); } } catch (ConvException) { throw new HTTPStatusException(HTTPStatus.badRequest); } if (rangeEnd > dirent.size) rangeEnd = dirent.size; if (rangeStart > rangeEnd) rangeStart = rangeEnd; if (rangeEnd) rangeEnd--; // End is inclusive, so one less than length // potential integer overflow with rangeEnd - rangeStart == size_t.max is intended. This only happens with empty files, the + 1 will then put it back to 0 res.headers["Content-Length"] = to!string(rangeEnd - rangeStart + 1); res.headers["Content-Range"] = "bytes %s-%s/%s".format(rangeStart < rangeEnd ? rangeStart : rangeEnd, rangeEnd, dirent.size); res.statusCode = HTTPStatus.partialContent; } else res.headers["Content-Length"] = dirent.size.to!string; // check for already encoded file if configured string encodedFilepath; auto pce = "Content-Encoding" in res.headers; if (pce) { if (auto pfe = *pce in settings.encodingFileExtension) { assert((*pfe).length > 0); auto p = pathstr ~ *pfe; if (existsFile(p)) encodedFilepath = p; } } if (encodedFilepath.length) { auto origLastModified = dirent.timeModified.toUTC(); try dirent = getFileInfo(encodedFilepath); catch(Exception){ throw new HTTPStatusException(HTTPStatus.InternalServerError, "Failed to get information for the file due to a file system error."); } // encoded file must be younger than original else warn if (dirent.timeModified.toUTC() >= origLastModified){ logTrace("Using already encoded file '%s' -> '%s'", path, encodedFilepath); path = NativePath(encodedFilepath); res.headers["Content-Length"] = to!string(dirent.size); } else { logWarn("Encoded file '%s' is older than the original '%s'. Ignoring it.", encodedFilepath, path); encodedFilepath = null; } } if(settings.preWriteCallback) settings.preWriteCallback(req, res, pathstr); // for HEAD responses, stop here if( res.isHeadResponse() ){ res.writeVoidBody(); assert(res.headerWritten); logDebug("sent file header %d, %s!", dirent.size, res.headers["Content-Type"]); return; } // else write out the file contents //logTrace("Open file '%s' -> '%s'", srv_path, pathstr); FileStream fil; try { fil = openFile(path); } catch( Exception e ){ // TODO: handle non-existant files differently than locked files? logDebug("Failed to open file %s: %s", pathstr, () @trusted { return e.toString(); } ()); return; } scope(exit) fil.close(); if (prange) { fil.seek(rangeStart); fil.pipe(res.bodyWriter, rangeEnd - rangeStart + 1); logTrace("partially sent file %d-%d, %s!", rangeStart, rangeEnd, res.headers["Content-Type"]); } else { if (pce && !encodedFilepath.length) fil.pipe(res.bodyWriter); else res.writeRawBody(fil); logTrace("sent file %d, %s!", fil.size, res.headers["Content-Type"]); } } /** Calls $(D handleCache) with prefilled etag and lastModified value based on a file. See_Also: handleCache Returns: $(D true) if the cache was already handled and no further response must be sent or $(D false) if a response must be sent. */ bool handleCacheFile(scope HTTPServerRequest req, scope HTTPServerResponse res, string file, string cache_control = null, Duration max_age = Duration.zero) { return handleCacheFile(req, res, NativePath(file), cache_control, max_age); } /// ditto bool handleCacheFile(scope HTTPServerRequest req, scope HTTPServerResponse res, NativePath file, string cache_control = null, Duration max_age = Duration.zero) { if (!existsFile(file)) { return false; } FileInfo ent; try { ent = getFileInfo(file); } catch (Exception) { throw new HTTPStatusException(HTTPStatus.internalServerError, "Failed to get information for the file due to a file system error."); } return handleCacheFile(req, res, ent, cache_control, max_age); } /// ditto bool handleCacheFile(scope HTTPServerRequest req, scope HTTPServerResponse res, FileInfo dirent, string cache_control = null, Duration max_age = Duration.zero) { import std.bitmanip : nativeToLittleEndian; import std.digest.md : MD5, toHexString; SysTime lastModified = dirent.timeModified; const weak = cast(Flag!"weak") dirent.isDirectory; auto etag = ETag.md5(weak, lastModified.stdTime.nativeToLittleEndian, dirent.size.nativeToLittleEndian); return handleCache(req, res, etag, lastModified, cache_control, max_age); } /** Processes header tags in a request and writes responses given on requested cache status. Params: req = the client request used to determine cache control flow. res = the response to write cache headers to. etag = if set to anything except .init, adds a Etag header to the response and enables handling of If-Match and If-None-Match cache control request headers. last_modified = if set to anything except .init, adds a Last-Modified header to the response and enables handling of If-Modified-Since and If-Unmodified-Since cache control request headers. cache_control = if set, adds or modifies the Cache-Control header in the response to this string. Might get an additional max-age value appended if max_age is set. max_age = optional duration to set the Expires header and Cache-Control max-age part to. (if no existing `max-age=` part is given in the cache_control parameter) Returns: $(D true) if the cache was already handled and no further response must be sent or $(D false) if a response must be sent. */ bool handleCache(scope HTTPServerRequest req, scope HTTPServerResponse res, ETag etag, SysTime last_modified, string cache_control = null, Duration max_age = Duration.zero) { // https://tools.ietf.org/html/rfc7232#section-4.1 // and // https://tools.ietf.org/html/rfc7232#section-6 string lastModifiedString; if (last_modified != SysTime.init) { lastModifiedString = toRFC822DateTimeString(last_modified); res.headers["Last-Modified"] = lastModifiedString; } if (etag != ETag.init) { res.headers["Etag"] = etag.toString; } if (max_age > Duration.zero) { res.headers["Expires"] = toRFC822DateTimeString(Clock.currTime(UTC()) + max_age); } if (cache_control.length) { if (max_age > Duration.zero && !cache_control.canFind("max-age=")) { res.headers["Cache-Control"] = cache_control ~ ", max-age=" ~ to!string(max_age.total!"seconds"); } else { res.headers["Cache-Control"] = cache_control; } } else if (max_age > Duration.zero) { res.headers["Cache-Control"] = text("max-age=", max_age.total!"seconds"); } // https://tools.ietf.org/html/rfc7232#section-3.1 string ifMatch = req.headers.get("If-Match"); if (ifMatch.length) { if (!cacheMatch(ifMatch, etag, No.allowWeak)) { res.statusCode = HTTPStatus.preconditionFailed; res.writeVoidBody(); return true; } } else if (last_modified != SysTime.init) { // https://tools.ietf.org/html/rfc7232#section-3.4 string ifUnmodifiedSince = req.headers.get("If-Unmodified-Since"); if (ifUnmodifiedSince.length) { const check = lastModifiedString != ifUnmodifiedSince || last_modified > parseRFC822DateTimeString(ifUnmodifiedSince); if (check) { res.statusCode = HTTPStatus.preconditionFailed; res.writeVoidBody(); return true; } } } // https://tools.ietf.org/html/rfc7232#section-3.2 string ifNoneMatch = req.headers.get("If-None-Match"); if (ifNoneMatch.length) { if (cacheMatch(ifNoneMatch, etag, Yes.allowWeak)) { if (req.method.among!(HTTPMethod.GET, HTTPMethod.HEAD)) res.statusCode = HTTPStatus.notModified; else res.statusCode = HTTPStatus.preconditionFailed; res.writeVoidBody(); return true; } } else if (last_modified != SysTime.init && req.method.among!(HTTPMethod.GET, HTTPMethod.HEAD)) { // https://tools.ietf.org/html/rfc7232#section-3.3 string ifModifiedSince = req.headers.get("If-Modified-Since"); if (ifModifiedSince.length) { const check = lastModifiedString == ifModifiedSince || last_modified <= parseRFC822DateTimeString(ifModifiedSince); if (check) { res.statusCode = HTTPStatus.notModified; res.writeVoidBody(); return true; } } } // TODO: support If-Range here return false; } /** Represents an Entity-Tag value for use inside HTTP Cache headers. Standards: https://tools.ietf.org/html/rfc7232#section-2.3 */ struct ETag { bool weak; string tag; static ETag parse(string s) { enforce!ConvException(s.endsWith('"')); if (s.startsWith(`W/"`)) { ETag ret = { weak: true, tag: s[3 .. $ - 1] }; return ret; } else if (s.startsWith('"')) { ETag ret; ret.tag = s[1 .. $ - 1]; return ret; } else { throw new ConvException(`ETag didn't start with W/" nor with " !`); } } string toString() const @property { return text(weak ? `W/"` : `"`, tag, '"'); } /** Encodes the bytes with URL Base64 to a human readable string and returns an ETag struct wrapping it. */ static ETag fromBytesBase64URLNoPadding(scope const(ubyte)[] bytes, Flag!"weak" weak = No.weak) { import std.base64 : Base64URLNoPadding; return ETag(weak, Base64URLNoPadding.encode(bytes).idup); } /** Hashes the input bytes with md5 and returns an URL Base64 encoded representation as ETag. */ static ETag md5(T...)(Flag!"weak" weak, T data) { import std.digest.md : md5Of; return fromBytesBase64URLNoPadding(md5Of(data), weak); } } /** Matches a given match expression with a specific ETag. Can allow or disallow weak ETags and supports multiple tags. Standards: https://tools.ietf.org/html/rfc7232#section-2.3.2 */ bool cacheMatch(string match, ETag etag, Flag!"allowWeak" allow_weak) { if (match == "*") { return true; } if ((etag.weak && !allow_weak) || !match.length) { return false; } auto allBytes = match.representation; auto range = allBytes; while (!range.empty) { range = range.stripLeft!isWhite; bool isWeak = range.skipOver("W/"); if (!range.skipOver('"')) return false; // malformed auto end = range.countUntil('"'); if (end == -1) return false; // malformed const check = range[0 .. end]; range = range[end .. $]; if (allow_weak || !isWeak) { if (check == etag.tag) { return true; } } range.skipOver('"'); range = range.stripLeft!isWhite; if (!range.skipOver(",")) return false; // malformed } return false; } unittest { // from RFC 7232 Section 2.3.2 // +--------+--------+-------------------+-----------------+ // | ETag 1 | ETag 2 | Strong Comparison | Weak Comparison | // +--------+--------+-------------------+-----------------+ // | W/"1" | W/"1" | no match | match | // | W/"1" | W/"2" | no match | no match | // | W/"1" | "1" | no match | match | // | "1" | "1" | match | match | // +--------+--------+-------------------+-----------------+ assert(!cacheMatch(`W/"1"`, ETag(Yes.weak, "1"), No.allowWeak)); assert( cacheMatch(`W/"1"`, ETag(Yes.weak, "1"), Yes.allowWeak)); assert(!cacheMatch(`W/"1"`, ETag(Yes.weak, "2"), No.allowWeak)); assert(!cacheMatch(`W/"1"`, ETag(Yes.weak, "2"), Yes.allowWeak)); assert(!cacheMatch(`W/"1"`, ETag(No.weak, "1"), No.allowWeak)); assert( cacheMatch(`W/"1"`, ETag(No.weak, "1"), Yes.allowWeak)); assert(cacheMatch(`"1"`, ETag(No.weak, "1"), No.allowWeak)); assert(cacheMatch(`"1"`, ETag(No.weak, "1"), Yes.allowWeak)); assert(cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "xyzzy"), No.allowWeak)); assert(cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "xyzzy"), Yes.allowWeak)); assert(!cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "xyzzz"), No.allowWeak)); assert(!cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "xyzzz"), Yes.allowWeak)); assert(cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "r2d2xxxx"), No.allowWeak)); assert(cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "r2d2xxxx"), Yes.allowWeak)); assert(cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "c3piozzzz"), No.allowWeak)); assert(cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "c3piozzzz"), Yes.allowWeak)); assert(!cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, ""), No.allowWeak)); assert(!cacheMatch(`"xyzzy","r2d2xxxx", "c3piozzzz"`, ETag(No.weak, ""), Yes.allowWeak)); assert(!cacheMatch(`"xyzzy",W/"r2d2xxxx", "c3piozzzz"`, ETag(Yes.weak, "r2d2xxxx"), No.allowWeak)); assert( cacheMatch(`"xyzzy",W/"r2d2xxxx", "c3piozzzz"`, ETag(Yes.weak, "r2d2xxxx"), Yes.allowWeak)); assert(!cacheMatch(`"xyzzy",W/"r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "r2d2xxxx"), No.allowWeak)); assert( cacheMatch(`"xyzzy",W/"r2d2xxxx", "c3piozzzz"`, ETag(No.weak, "r2d2xxxx"), Yes.allowWeak)); }
D
INSTANCE Mod_914_NOV_Babo_NW (Npc_Default) { // ------ NSC ------ name = "Babo"; guild = GIL_VLK; id = 914; voice = 3; flags = 0; npctype = NPCTYPE_MAIN; // ------ Attribute ------ B_SetAttributesToChapter (self, 2); // ------ Kampf-Taktik ------ fight_tactic = FAI_HUMAN_COWARD; aivar[AIV_MagicUser] = MAGIC_ALWAYS; // ------ Equippte Waffen ------ EquipItem (self, ItMw_1h_Nov_Mace); // ------ Inventory ------ B_CreateAmbientInv (self); CreateInvItems (self, ItMw_1h_Nov_Mace,1); // ------ visuals ------ B_SetNpcVisual (self, MALE, "Hum_Head_Fighter", Face_N_Normal07, BodyTex_N, ITAR_NOV_L); Mdl_SetModelFatness (self, -1); Mdl_ApplyOverlayMds (self, "Humans_Mage.mds"); // ------ NSC-relevante Talente vergeben ------ B_GiveNpcTalents (self); // ------ Kampf-Talente ------ B_SetFightSkills (self, 25); // ------ TA anmelden ------ daily_routine = Rtn_Start_914; }; FUNC VOID Rtn_Start_914 () { TA_Stand_Sweeping (08,00,14,00,"NW_MONASTERY_CORRIDOR_10"); TA_Pray_Innos_FP (14,00,15,00,"NW_MONASTERY_CHURCH_03"); TA_Stand_Sweeping (15,00,23,30,"NW_MONASTERY_CORRIDOR_10"); TA_Sleep (23,30,08,00,"NW_MONASTERY_NOVICE04_05"); }; FUNC VOID Rtn_Daemonisch_914 () { TA_Stand_Drinking (08,00,22,00,"NW_TAVERNE_IN_01"); TA_Stand_Drinking (22,00,08,00,"NW_TAVERNE_IN_01"); }; FUNC VOID Rtn_Daemonisch2_914 () { TA_Sit_Campfire (08,00,22,00,"NW_MONASTERY_GRASS_04"); TA_Sit_Campfire (22,00,08,00,"NW_MONASTERY_GRASS_04"); }; FUNC VOID Rtn_Daemonisch3_914 () { TA_Sit_Chair (08,00,22,00,"NW_TAVERNE_IN_01"); TA_Sit_Chair (22,00,08,00,"NW_TAVERNE_IN_01"); };
D
import mdp; import irl; import std.stdio; import std.format; import std.string; import std.math; import std.random; import std.algorithm; import std.algorithm.searching; import sortingMDP; import std.math; import std.numeric; import core.stdc.stdlib : exit; import std.datetime; import std.range; import boydmdp; /* As per definitions, - Any DPM model first generates assignment c_m and then trajectory Xm. Therefore, we compute vdm first and then fk(Xm). - E[phi] uses vdms over whole trajectory space and fk(Xm)'s for corresponding trajectories. For any DPM, second can't be computed without first. - \hat(phi) uses vdms specific to trajectories in demonstration. We need a metric to match fk(Xm). Solve method for easy understanding: Inputs: Model class instaance, initial distribution over states, list of sequences of state-action pairs, length of a trajectory, initial weights of all clusters, best likelihood value, learned weights of all clusters, After every policy update, for next cycle, sample new assignment variables and new trajectories simulating trajectory space. Append the demonstration and updated corresponding assignment variables to sample set. Use them to update weights again, and corresponding policy. 1 - initialize weights and policy for each cluster (random for batch irl, previous weights for i2rl) 2 - initialize assignment distribution as uniform 3 - sample any $|\Xcal{}|$ v_{d,m}s for demonstration. compute f_k(X_m) of all input trajectories. 4 - Generate trajectories. as the trajectories used for computing E[phi] is different in every iteration, vdms will change in each iteration. a - sample an assignment value c_m from assignment distribution and then sample a trajectory from policy of cluster c_m. Compute f_k(X_m) for this trajectory. b - For the trajectory, make vdm=1 for cluster indexed d=c_m and vdm=0 for other values of d. c - Keep repeating above two steps until m == n_samples. d - append the set of f_k(X_m)s and set of v_{d,m}s to those for demonstration. 5 - need (sum vdms) / |\X|. compute that first. we can not concatenate gradients if we are using exponentiated gradient ascent. we need to concatenate exp(gradients) for that. a - For each cluster d, compute hatd(phi) using vdms specific to f_k(X_m) in demonstration. b - For each cluster d, implement ascent update on theta_d based on convergence on weights d - compute polices for each cluster 5 - update all vdms depending on whether or not they are from demonstration. this is where demonstration vdm's are updated in synergy with the change in weights. 6 - update mixture proportion of assignment distribution to be (sum_m vdm)/(n_samples+|\Xcal{}|) If not converged (assignments vary), go to step 4. */ class NonParamMTIRL : MaxEntIrlZiebartApprox { string mapToUse; int max_d; double [] beta_ds; double [][] mu_Eds; double [][] theta_ds, Ed_phis; double [][] init_weights_allclusters; LinearReward r; double Ephi_thresh; int descent_duration_thresh_secs; double gradient_descent_step_size; int max_restarts; public this(int max_iter, MDPSolver solver, State [] observableStates, int n_samples=200, double error=0.01, int descent_duration_thresh_secs=4*60, double gradient_descent_step_size=0.0001, double solverError =0.1, int max_d=4, double Ephi_thresh=0.1, int max_restarts=3) { super(max_iter, solver, observableStates, n_samples, error, solverError); this.max_d = max_d; this.Ephi_thresh = Ephi_thresh; this.gradient_descent_step_size = gradient_descent_step_size; this.descent_duration_thresh_secs = descent_duration_thresh_secs; this.max_restarts = max_restarts; } // additional inputs for online mtirl are: reward weights learned in previous session, // hat-phis for each cluster, total number of trajs assigned to each cluster until now, // current demo, // weights of assignment distribution learned in previous session = #assignments[q]/totalAssignmentsExcludingCurrentDemo // additional outputs of online mtirl are: reward weights learned in current session, // updated hat-phis for each cluster, total number of trajs assigned to each cluster until now, public double solve(string mapToUse, Model model, double[State] initial, sar[][] true_samples, size_t sample_length, double [][] init_weights_allclusters, out double [][] opt_weights, int dim, double [][] trueWeights, int[] true_assignments, bool useAdaptive) { this.init_weights_allclusters = init_weights_allclusters; this.max_d = cast(int)init_weights_allclusters.length; debug { //writeln("reached initialization of vdms"); } // separating vdms because trajspace changes every cycle double [][] vdms_trajspace;// {d x m} vdms_trajspace.length = this.max_d; // D foreach (q, arr; vdms_trajspace) { vdms_trajspace[q].length = this.n_samples; // |\X| vdms_trajspace[q][] = 0; } //writeln("model.getReward() - ",model.getReward().classinfo); this.model = model; this.initial = initial; if (mapToUse == "sorting") { this.r = cast(LinearReward)this.model.getReward(); if (this.r is null) { writeln("could not fetch reward type for input model"); return 0; } //this.r = new sortingReward6(this.model,dim); writeln("this.r fetched from model object - ",this.r.classinfo); } else { this.r = new Boyd2RewardGroupedFeatures(this.model);; //this.r = new Boyd2RewardGroupedFeaturesTestMTIRL(this.model);; } this.model.setReward(this.r); // policies for clusters Agent [] policy_ds = new Agent[init_weights_allclusters.length]; policy_ds.length = this.max_d; beta_ds.length = init_weights_allclusters.length; //writeln("reached initialization of beta_ds, beta_ds.length: ",beta_ds.length); foreach (q; 0 .. this.max_d) { //writeln("init_weights cluster ",q," ",(init_weights_allclusters[q])); r.setParams(init_weights_allclusters[q]); policy_ds[q] = solver.createPolicy(model, solver.solve(model, solverError)); // intialize assignment distribution as uniform beta_ds[q] = 1/cast(double)this.max_d; } //writeln("computed policy for all q "); sar [][] Xms_trajspace; Xms_trajspace.length = this.n_samples; double [][] fk_Xms_traj_space; fk_Xms_traj_space.length = this.n_samples; double [][] fk_Xms_demonstration; fk_Xms_demonstration.length = true_samples.length; double diff_fk_Xm, last_diff_fk_Xm; double [][] vdms_demonstration;// {d times m} vdms_demonstration.length = this.max_d; // D int [][] vdms_demonstration_bin;// {d times m} vdms_demonstration_bin.length = this.max_d; // D //writeln("reached initialization of vdms_demonstration"); foreach (q, arr; vdms_demonstration) { vdms_demonstration[q].length = true_samples.length; // |\Xcal| vdms_demonstration[q][] = 0; vdms_demonstration_bin[q].length = true_samples.length; // |\Xcal| vdms_demonstration_bin[q][] = 0; } theta_ds.length = this.max_d; mu_Eds.length = this.max_d; Ed_phis.length = this.max_d; //writeln("reached initialization of theta_ds"); foreach (q, mu_Ed; mu_Eds) { mu_Eds[q].length = r.dim(); //Ed_phis[i].length = r.dim(); theta_ds[q].length = r.dim(); foreach (k; 0 .. theta_ds[q].length) { theta_ds[q][k] = init_weights_allclusters[q][k]; } writeln("thetad_s[",q,"]: ",theta_ds[q]); } double beta_ds_error = -double.max;//_normal; double temp_error = -double.max;//_normal; int [] learned_assignments; learned_assignments.length = true_assignments.length; foreach (j; 0 .. learned_assignments.length) { learned_assignments[j] = -1; } double avg_EVD = 0.0; //, approximate Omega as exp(average_d (estimated Ed[phi]*thetad)) //double log_Omega = 0.0; //double[] product; //product.length = r.dim(); //foreach (q; 0 .. this.max_d) { // writeln("Ed_phis[q] ",Ed_phis[q]); // product[] = Ed_phis[q][]*theta_ds[q][]; // log_Omega += beta_ds[q]*reduce!("a + b")(0.0, product); // writeln("log_Omega ",log_Omega); // //writeln(fk_Xms_demonstration[j][k]); //} //Omega = exp(log_Omega); //writeln("Omega ",Omega); // Omega = sum_q mix-prop sum_i exp(sum_k theta_ds[q][k]*beta_ds[q]*fk_Xms_traj_space[i][k]) // vdms demo initialized only once foreach (i; 0 .. true_samples.length) { //writeln("beta_ds ",beta_ds); auto c_m = dice(beta_ds); foreach (q; 0 .. this.max_d) { if (q == c_m) vdms_demonstration[q][i] = 1; else vdms_demonstration[q][i] = 0; } } fk_Xms_demonstration = calc_feature_expectations_per_trajectory(model, true_samples); debug { //writeln("fk_Xms_demonstration:",fk_Xms_demonstration); //writeln("true_samples.length ",true_samples.length); //writeln("fk_Xms_demonstration.length ",fk_Xms_demonstration.length); //writeln("true_assignments ",true_assignments); //writeln("trueWeights ", trueWeights); // Used only for debuggin , not used in algorithm double [] mu_E_debugSingleTask; mu_E_debugSingleTask.length = r.dim(); mu_E_debugSingleTask[] = 0; foreach(traj_fe; fk_Xms_demonstration) { foreach (i; 0 .. mu_E_debugSingleTask.length) { mu_E_debugSingleTask[i] += traj_fe[i]/fk_Xms_demonstration.length; } //mu_E_debugSingleTask[] += traj_fe[]; } writeln("average feature counts of input ",mu_E_debugSingleTask); //exit(0); } //double desc_step_size = 0.05; // true polices for cpmuting lba Agent [] truePolicies; truePolicies.length = trueWeights.length; int jk = 0; foreach (thetaT;trueWeights) { r.setParams(trueWeights[jk]); truePolicies[jk] = solver.createPolicy(model, solver.solve(model, solverError)); jk += 1; } // how similar are behaviors? writeln("lba between rpp and pip ",this.computeLBA(cast(MapAgent)truePolicies[2],cast(MapAgent)truePolicies[0])); writeln("lba between pip and staystill ",this.computeLBA(cast(MapAgent)truePolicies[0],cast(MapAgent)truePolicies[1])); //writeln("rpp\n ",(cast(MapAgent)truePolicies[2]).getPolicy(),"\nstayStill",(cast(MapAgent)truePolicies[1]).getPolicy()); writeln("lba between rpp and staystill ",this.computeLBA(cast(MapAgent)truePolicies[2],cast(MapAgent)truePolicies[1])); //exit(0); double n_corr_lrndass = 0.0; int mapped_lrndass = 0; if (max_iter > 0) { int iterations = 0; do { // for every upated set of policies, initialize fkXms and vdms for trajspace // 4 - step creating new fk-Xm-s and new v_dms foreach (i; 0 .. this.n_samples) { auto c_m = dice(beta_ds); Xms_trajspace[i] = simulate(model, policy_ds[c_m], initial, sample_length); foreach (q; 0 .. this.max_d) { if (q == c_m) vdms_trajspace[q][i] = 1; else vdms_trajspace[q][i] = 0; } } fk_Xms_traj_space = calc_feature_expectations_per_trajectory(model, Xms_trajspace); //writeln("calc_feature_expectations_per_trajectory fk_Xms_traj_space:"); //,fk_Xms_traj_space); // 5 - update theta_ds; need (sum vdms)/|\X| = (sum along rows/ num of columns), for computing Edphi // using vdms from preivous iteration //writeln("beta_ds after re-computing vdms and fkXms"); double normalizer_betas = 0.0; foreach (q; 0 .. beta_ds.length) { normalizer_betas += (sum(vdms_trajspace[q])+sum(vdms_demonstration[q])); } foreach (q; 0 .. beta_ds.length) { beta_ds[q] = (sum(vdms_trajspace[q])+sum(vdms_demonstration[q]))/normalizer_betas; /// //(vdms_trajspace[q].length+vdms_demonstration[q].length); //writeln(beta_ds[q]); } //writeln("computing muE and new weights"); // Correction: normalization should be done by number of trajectories assigned to cluster double divisor = 0.0; double grad_val; double optLL_val; double [] temp_weights_restarts; double [] opt_weights_restarts; int restarts; temp_weights_restarts.length = dim; opt_weights_restarts.length = dim; foreach (q; 0 .. this.max_d) { mu_Eds[q][] = 0; // Compute hat-phi_dk or muE[q][k] foreach (k; 0 .. mu_Eds[q].length) { //writeln(1/cast(double)fk_Xms_demonstration.length); foreach (j; 0 .. fk_Xms_demonstration.length) { //writeln(cast(double)vdms_demonstration[q][j]); //writeln(fk_Xms_demonstration[j][k]); debug { //writeln("iteration for computing muE "); //writeln((1.0/cast(double)fk_Xms_demonstration.length)*(cast(double)vdms_demonstration[q][j])*cast(double)fk_Xms_demonstration[j][k]); } //mu_Eds[q][k] += (1/cast(double)fk_Xms_demonstration.length)* //(cast(double)vdms_demonstration[q][j])*fk_Xms_demonstration[j][k]; mu_Eds[q][k] += (cast(double)vdms_demonstration[q][j])*fk_Xms_demonstration[j][k]; } divisor = 0.0; foreach (j; 0 .. fk_Xms_demonstration.length) { divisor += (cast(double)vdms_demonstration[q][j]); } if (divisor != 0.0) mu_Eds[q][k] /= divisor; } //writeln("mu_Eds[q] numerators: ",mu_Eds[q]); //writeln("mu_Eds[q] denominator: ",divisor); //writeln("mu_Eds[q]: ",mu_Eds[q]); // trying IRL without restarts + populate corresponding Ed_Phis values //theta_ds[q] = SingleAgentAdaptiveExponentiatedGradient(theta_ds[q].dup, 0.25, error, q); //theta_ds[q] = SingleAgentAdaptiveExponentiatedGradient(theta_ds[q].dup, desc_step_size, error, q); // as algorithm is fast with timed value iteration, try random restarts optLL_val = -double.max; restarts = 0; do { temp_weights_restarts = theta_ds[q].dup; auto starttime = Clock.currTime(); //temp_weights_restarts = SingleAgentAdaptiveExponentiatedGradient(temp_weights_restarts.dup, this.gradient_descent_step_size, //error, q, this.Ephi_thresh, grad_val, this.descent_duration_thresh_secs); //writeln("restarts ",restarts); temp_weights_restarts = singleTaskUnconstrainedAdaptiveExponentiatedStochasticGradientDescent( temp_weights_restarts.dup, 0.01, error, 25, this.Ephi_thresh, q, useAdaptive, false, 1); //writeln("time for descent ",Clock.currTime()-starttime); restarts += 1; double newQValue = SingleAgentcalcQ(temp_weights_restarts,this.Ephi_thresh); if ((newQValue > optLL_val) ) { optLL_val = newQValue; auto i=0; foreach(j, ref o2; opt_weights_restarts) { o2 = temp_weights_restarts[i++]; } debug { //writeln("Q(", restarts, ") = ", newQValue, " for weights: ", theta_ds[q]); } } } while(restarts < this.max_restarts); theta_ds[q] = opt_weights_restarts.dup; writeln("theta_ds[",q,"]: ",theta_ds[q]); r.setParams(theta_ds[q]); policy_ds[q] = solver.createPolicy(model, solver.solve(model, solverError)); } // 6 : Update vdms double common_step, step, Omega; Omega = 0; foreach (q; 0 .. this.max_d) { double sum_exp = 0; foreach (i; 0 .. fk_Xms_traj_space.length) { double sum_k = 0; foreach (k; 0 .. theta_ds[q].length ){ sum_k += theta_ds[q][k]*beta_ds[q]*fk_Xms_traj_space[i][k]; } sum_exp += exp(sum_k); } Omega += sum_exp*beta_ds[q]; } //writeln("Omega ",Omega); double log_Omega = log(Omega); double buffer_division = 0.001; double learning_rate = 0.1;// 0.2 double covergence_thresh = 0.1;// 0.0005 foreach (q; 0 .. this.max_d) { double sum_Pyicid = 0; foreach (i; 0 .. fk_Xms_traj_space.length) { double sum = 0; foreach (k; 0 .. theta_ds[q].length ){ sum += theta_ds[q][k]*beta_ds[q]*fk_Xms_traj_space[i][k]; } //writeln("sum ",sum); sum_Pyicid += exp(sum)/Omega; } //writeln("sum_Pyicid ",sum_Pyicid); foreach (j; 0 .. vdms_demonstration[q].length) { // compute gradient step do { common_step = (1/(sum(vdms_demonstration[q])+buffer_division))*(sum_Pyicid+1); //writeln("common step ",common_step); step = common_step -(1/(vdms_demonstration[q][j]+buffer_division)) *(fk_Xms_demonstration.length/(sum(vdms_demonstration[q])+buffer_division))*(1-log_Omega); //writeln("step for vdms_demonstration ",step); vdms_demonstration[q][j] = vdms_demonstration[q][j] + learning_rate*step; } while (abs(step) > covergence_thresh); } //writeln("descent on vdms_demonstration converged for q ",q); foreach (j; 0 .. vdms_trajspace[q].length) { do { common_step = (1/(sum(vdms_demonstration[q])+buffer_division))*(sum_Pyicid+1); step = common_step -(1/(vdms_trajspace[q][j]+buffer_division)) *(fk_Xms_demonstration.length/(sum(vdms_demonstration[q])+buffer_division))*(1-log_Omega); //writeln("step for vdms_trajspace ",step); vdms_trajspace[q][j] = vdms_trajspace[q][j] + learning_rate*step; } while (abs(step) > covergence_thresh); } //writeln("descent on vdms_trajspace converged for q ",q); } foreach (j; 0 .. fk_Xms_demonstration.length) { //convert them to corresponding binary values //and normalize for bounding between [0,1] for contributing to betads to further calculations. double highest_vdm = -double.max; int chosen_cluster; double sumoverclusters = 0; foreach (q; 0 .. this.max_d) { sumoverclusters += vdms_demonstration[q][j]; if (vdms_demonstration[q][j] > highest_vdm) { highest_vdm = vdms_demonstration[q][j]; chosen_cluster = q; } } foreach (q; 0 .. this.max_d) { vdms_demonstration[q][j] = vdms_demonstration[q][j]/sumoverclusters; if (q == chosen_cluster) vdms_demonstration_bin[q][j] = 1; else vdms_demonstration_bin[q][j] = 0; } } //writeln("updated vdms demo "); //vdms_demonstration_bin); // updated betads normalizer_betas = 0.0; foreach (q; 0 .. beta_ds.length) { normalizer_betas += (sum(vdms_trajspace[q])+sum(vdms_demonstration[q])); } foreach (q; 0 .. this.max_d) {// Is assignment distribution changing? temp_error = abs(beta_ds[q] - (sum(vdms_trajspace[q])+sum(vdms_demonstration[q]))/ normalizer_betas); if (temp_error > beta_ds_error) beta_ds_error = temp_error; beta_ds[q] = (sum(vdms_trajspace[q])+sum(vdms_demonstration[q]))/ normalizer_betas; } //foreach (j; 0 .. fk_Xms_traj_space.length) { // double highest_vdm = -double.max; // int chosen_cluster; // foreach (q; 0 .. this.max_d) { // if (vdms_trajspace[q][j] > highest_vdm) { // highest_vdm = vdms_trajspace[q][j]; // chosen_cluster = q; // } // } // foreach (q; 0 .. this.max_d) { // if (q == chosen_cluster) vdms_trajspace[q][j] = 1; // else vdms_trajspace[q][j] = 0; // } //} //writeln("updated vdms trajs for ",vdms_trajspace); //writeln("beta_ds ",beta_ds); //writeln("for current iteration, %change in assignment distribution (beta_ds_error): ",beta_ds_error); iterations += 1; writeln ("iterations - ",iterations); //Compute average EVD double trajval_trueweight, trajval_learnedweight; avg_EVD = 0.0; //writeln("fk_Xms_demonstration.length ",fk_Xms_demonstration.length); foreach (j; 0 .. fk_Xms_demonstration.length) { //wrt trueWeights int chosen_cluster = -1; //writeln("chosen_cluster "); foreach (q; 0 .. this.max_d) { if (vdms_demonstration_bin[q][j] == 1) chosen_cluster=q; } learned_assignments[j] = chosen_cluster; trajval_learnedweight = dotProduct(theta_ds[chosen_cluster],fk_Xms_demonstration[j]); //writeln("j ",j); //writeln("true_assignments[j] ",true_assignments[j]); //writeln("length trueWeights[true_assignments[j]] ",trueWeights[true_assignments[j]].length); trajval_trueweight = dotProduct(trueWeights[true_assignments[j]],fk_Xms_demonstration[j]); //writeln("value of traj w.r.t true weight ",trajval_trueweight); //if (trajval_trueweight != 0) { // avg_EVD += abs(trajval_trueweight - trajval_learnedweight)/(trajval_trueweight*cast(double)fk_Xms_demonstration.length); //} else { // avg_EVD += abs(trajval_trueweight - trajval_learnedweight)/(cast(double)fk_Xms_demonstration.length); //} // DPM-BIRL doesn't compute it as a percentage, it is just a direct difference in state-value matrices avg_EVD += abs(trajval_trueweight - trajval_learnedweight)/(cast(double)fk_Xms_demonstration.length); } writeln("learned_assignments ",learned_assignments); // for each cluster, compute LBA w.r.t true policies double [] lbavals; double lba_max; // mapping indices of learned clusters to original indices int [int] mapping_learned2original; //mapping_learned2original.length = max_d; foreach (q; 0 .. this.max_d) { lbavals.length = 0; //writeln("lba values for learned cluster indexed ",q," w.r.t. policies for p-i-p, r-p-p, keep-claiming"); foreach (truepol;truePolicies) { lbavals ~= this.computeLBA(cast(MapAgent)policy_ds[q],cast(MapAgent)truepol); } //writeln(lbavals); //writeln(q); // base case: 2 clusters // pick the indices of maximum lba for pip if that is higher rpp, else pick rpp //if (lbavals[0] > lbavals[2]) mapping_learned2original[q] = 0; //else mapping_learned2original[q] = 2; // case of multiple clusters int i = 0; lba_max = -double.max; foreach(lba; lbavals) { if (lba > lba_max) { mapping_learned2original[q] = i; lba_max = lba; } i += 1; } //mapping_learned2original[q] = lbavals.maxIndex; //exit(0); //writeln("mapping_learned2original ",mapping_learned2original); } //writeln("mapping_learned2original ",mapping_learned2original); n_corr_lrndass = 0.0; mapped_lrndass = 0; foreach (ci; 0 .. learned_assignments.length) { //writeln("ci ",ci); mapped_lrndass = mapping_learned2original[learned_assignments[cast(int)ci]]; //writeln("ci ",ci," mapping_learned2original[learned_assignments[cast(int)ci]] ",mapped_lrndass); if (mapped_lrndass == true_assignments[cast(int)ci]) n_corr_lrndass += 1; } //writeln("n_corr_lrndass ",n_corr_lrndass," learned_assignments.length ",learned_assignments.length); //writeln("ass-accuracy ",iterations,":",cast(double)n_corr_lrndass/cast(double)learned_assignments.length); writeln("avg_EVD",iterations,"_",learned_assignments.length); writeln(avg_EVD,"endavg_EVD",iterations,"_",learned_assignments.length,"\n"); // approx likelihood = (theta dot-product feature-expectations) - log(partition function) // sum over approximations of likelihoods w.r.t. true trajectory distributions of experts double LL_t=0.0; // sum over approximations of likelihoods w.r.t. estimated trajectory distributions of experts double LL_hat=0.0; foreach (q; 0 .. this.max_d) { double sum_k1 = 0.0; double sum_k2 = 0.0; foreach (k; 0 .. theta_ds[q].length ){ sum_k1 += theta_ds[q][k]*Ed_phis[q][k]; sum_k2 += theta_ds[q][k]*mu_Eds[q][k]; } LL_t += sum_k1; LL_hat += sum_k2; } LL_t -= log_Omega; LL_hat -= log_Omega; // compute log likelihoods using calc LLH maxent method in BIRL repo double LL_hat2_assignDistrPrior = 0.0; double LL_hat2_LLH = 0.0; // for each cluster, for each sa in traj assigned to that cluster // numerator(q,l_as,s,a) = visitation-freq for (s,a)*exp(thetads[q]*phi(s,a)) = // sum_{traj assigned to q} sum_(s,a) exp(thetads[q]*phi(s,a)) // denominator (q) = exp(thetads[q]*phi(s,a) for all (s,a)* expected discounted visitation-freq for all (s,a)) // = sum_{trajs in mdp} sum_(s,a while following policy_ds[q]) exp(thetads[q]*phi(s,a)) // approx exp(thetads[q]* Ed_phis[q]) // LLH is sum over log (numerator(q,l_as,s,a)/ denominator(q)) over all clusters // instead of doing it over clusters, we do it over trajectories // as dom_birl code add logClusterAssPDistr to LLH, we need ot directly multple beta value double [] omegas_ds; omegas_ds.length = this.max_d; foreach (q; 0 .. this.max_d) { double sum_k1 = 0.0; foreach (k; 0 .. theta_ds[q].length ){ sum_k1 += exp(theta_ds[q][k]*Ed_phis[q][k]); } omegas_ds[q] = sum_k1; } foreach(i; 0 .. learned_assignments.length) { int l_as = learned_assignments[i]; foreach (sar; true_samples[i]){ if (sar.s in (cast(MapAgent)policy_ds[l_as]).getPolicy()){ Action act = (cast(MapAgent)policy_ds[l_as]).sample(sar.s); if (act == sar.a) { double sum_num = 0.0; foreach (k; 0 .. theta_ds[l_as].length ){ sum_num += theta_ds[l_as][k]*this.r.features(sar.s,sar.a)[k]; } LL_hat2_LLH += log( beta_ds[l_as]* exp(sum_num)/omegas_ds[l_as] ); } } } } double LL_hat2 = LL_hat2_assignDistrPrior+LL_hat2_LLH; //writeln("LL_hat:",LL_hat); writeln("LL_hat2:",LL_hat2); } while (iterations < max_iter); //(beta_ds_error > 0.0001 && iterations < 10); } writeln("assignmentAccuracy","_",learned_assignments.length); if (n_corr_lrndass == 0) { writeln("0.0endassignmentAccuracy","_",learned_assignments.length); } else { writeln(n_corr_lrndass/cast(double)learned_assignments.length, "endassignmentAccuracy","_",learned_assignments.length); } avg_EVD = cast(double)avg_EVD/(cast(double)fk_Xms_demonstration.length); writeln("finalavgEVD","_",learned_assignments.length); writeln(avg_EVD,"endfinalavgEVD","_",learned_assignments.length,"\n"); //writeln("learned_assignments ",learned_assignments); //writeln("learned assignment dsitribution mixing proportions"); foreach (q; 0 .. this.max_d) { //writeln(beta_ds[q]); ; } opt_weights.length = theta_ds.length; foreach(q, ref o; opt_weights) { o.length = theta_ds[q].length; } foreach(q, ref o; opt_weights) { auto i = 0; //writeln("learned theta_ds cluster ",q," ",theta_ds[q]); foreach(ref o2; o) { o2 = theta_ds[q][i++]; } //writeln("opt_weights array cluster ",q," ",o); } return avg_EVD; } double [] SingleAgentAdaptiveExponentiatedGradient(double [] w, double c, double err, int q, double Ephi_thresh, out double gradient_val, int dur_thresh_secs) { debug { //writeln("max_sample_length: ", max_sample_length); } double [] y = mu_Eds[q].dup; //y[] *= (1-this.model.gamma); //foreach(ref t; w) // t = abs(t); // theta_d w[] /= l1norm(w); debug { //writeln("initial weights: ", w); //writeln("Y : ", y); } double diff = double.max; double lastdiff = double.max; double [] lastGradient = y.dup; double [] y_prime; double [] gradient; debug { //writeln("do while started "); } auto stattime = Clock.currTime(); auto endttime = Clock.currTime(); auto duration = dur!"seconds"(1); //writeln("dur! seconds (dur_thresh_secs) ",dur!"seconds"(dur_thresh_secs)); do { y_prime = SingleAgentExpectedEdgeFrequencyFeatures(w,this.Ephi_thresh); // update Edphi for computing Omega needed for updating vdms this.Ed_phis[q] = y_prime.dup; //y_prime[] *= (1-this.model.gamma); // Ed_phi = mix-proportion * (sampling based estimate of E[phi] by using thetad) //foreach (k, fc; y_prime) // y_prime[k] = beta_ds[q]*y_prime[k]; debug { //writeln("y_prime",y_prime); } debug { auto temp = y_prime.dup; temp[] -= y[]; //writeln("GRADIENT: ", temp); } double [] next_w = new double[w.length]; foreach(i; 0..w.length) { next_w[i] = w[i] * exp(-2*c*(y_prime[i] - y[i]) ); } double norm = l1norm(next_w); if (norm != 0) next_w[] /= norm; double [] test = w.dup; test[] -= next_w[]; diff = l2norm(test); gradient = y_prime.dup; gradient[] -= y[]; /*double [] test = gradient.dup; test[] -= lastGradient[]; diff = l2norm(test);*/ w = next_w; //c /= 1.025; if (diff > lastdiff) { c /= 1.05; } else { c *= 1.025; } lastdiff = diff; lastGradient = gradient; endttime = Clock.currTime(); duration = endttime - stattime; debug { //writeln("norm of GRADIENT vector: ", l1norm(gradient)); //writeln("diff:",diff," err:",err," duration:",duration); //writeln("diff > err: ",(diff > err)); } debug { //writeln(" (duration < dur (dur_thresh_secs)) : ",duration < dur!"seconds"(dur_thresh_secs)); } } while (diff > err && duration < dur!"seconds"(dur_thresh_secs)); debug { //writeln("descent converged"); //writeln("diff < thresh: ",(diff < err)); ////writeln("E[phi] / mu for learned weights ", y_prime); } gradient_val = l1norm(gradient); return w; } double [] singleTaskUnconstrainedAdaptiveExponentiatedStochasticGradientDescent(double [] w, double nu, double err, size_t max_iter, double Ephi_thresh, int q, bool useAdaptive, bool usePathLengthBounds = true, size_t moving_average_length = 5) { usePathLengthBounds = false; nu = 0.0075; //nu = 0.1; double diff; double lastdiff = double.max; err = 1; moving_average_length = 3; double [] expert_features = mu_Eds[q].dup; double [] beta = new double[expert_features.length]; beta[] = - log(beta.length ); double [] z_prev = new double [beta.length]; z_prev[] = 0; double [] w_prev = new double [beta.length]; w_prev[] = w[]; size_t t = 0; size_t iterations = 0; double[][] moving_average_data; size_t moving_average_counter = 0; double [] err_moving_averages = new double[moving_average_length]; foreach (ref e ; err_moving_averages) { e = double.max; } double err_diff = double.infinity; //writeln("starting singleTaskUnconstrainedAdaptiveExponentiatedStochasticGradientDescent"); auto stattime = Clock.currTime(); auto endttime = Clock.currTime(); auto duration = dur!"seconds"(1); //while (iterations < max_iter && (err_diff > err || iterations < moving_average_length)) { while ((err_diff > err )) { //while ((err_diff > err ) && duration < dur!"seconds"(dur_thresh_secs)) { double [] m_t = z_prev.dup; if (! usePathLengthBounds && iterations > 0) m_t[] /= iterations; double [] weights = new double[beta.length]; foreach (i ; 0 .. (beta.length)) { weights[i] = exp(beta[i] - nu*m_t[i]); } debug { //writeln("likelihood:",SingleAgentcalcQ(weights,Ephi_thresh)); } double [] actual_weights = weights.dup; double [] z_t = SingleAgentExpectedEdgeFrequencyFeatures(actual_weights,Ephi_thresh); this.Ed_phis[q] = z_t.dup; z_t[] -= expert_features[]; diff = l1norm(z_t); debug { //writeln("learned weights ",actual_weights); //writeln(" (lhs - rhs) of constraint: ", (z_t)); //writeln("normed (lhs - rhs) of constraint: ", l1norm(z_t)); } if (usePathLengthBounds) { z_prev = z_t; } else { z_prev[] += z_t[]; } foreach(i; 0..(beta.length)) { beta[i] = beta[i] - nu*z_t[i] - nu*nu*(z_t[i] - m_t[i])*(z_t[i] - m_t[i]); } err_moving_averages[moving_average_counter] = diff; //writeln("err_moving_averages\n ",err_moving_averages); moving_average_counter ++; t ++; iterations ++; moving_average_counter %= moving_average_length; double sum = 0; foreach (entry; err_moving_averages) { sum += abs(entry); } sum /= err_moving_averages.length; err_diff = sum; err_diff = this.stddev(err_moving_averages); //writeln("err_diff ",err_diff); if (moving_average_counter == 0 && iterations > 0 && useAdaptive) { if (err_diff > lastdiff) { nu /= 1.05; } else { nu *= 1.05; } } w_prev = actual_weights; lastdiff = err_diff; endttime = Clock.currTime(); duration = endttime - stattime; } //writeln("iterations >= max_iter ",(iterations >= max_iter)," err_diff < err ", // (err_diff < err)," iterations > moving_average_length ",(iterations > moving_average_length)); return w_prev; } override double [] SingleAgentExpectedEdgeFrequencyFeatures(double [] w, double threshold) { // approximate feature expectations to avoid computing partition function debug { //writeln("SingleAgentExpectedEdgeFrequencyFeatures started"); } this.r.setParams(w); Agent policy = this.solver.createPolicy(this.model, this.solver.solve(this.model, this.solverError)); debug { //writeln("computed policy"); } //Agent [] policies = getPoliciesFor(w); double [] returnval = new double[w.length]; returnval[] = 0; debug { //writeln("SingleAgentExpectedEdgeFrequencyFeatures"); } //double threshold = 0.5;//for patrolling task //threshold = 0.5;//sorting task both behaviors //threshold = 0.05; //threshold = 2.0;//for learning weights for individual sorting behaviors if (this.n_samples > 0) { double [] total = returnval.dup; double [] last_avg = returnval.dup; size_t repeats = 0; while(true) { debug { //writeln("SingleAgentExpectedEdgeFrequencyFeatures started sampling traj space"); } sar [][] samples = generate_samples(this.model, policy, this.initial, this.n_samples, this.sample_length); debug { //writeln("sampled traj space"); } // cumulative feature count for samples total[] += feature_expectations(this.model, samples)[]; debug { //writeln("computed FEs"); } repeats ++; double [] new_avg = total.dup; // running average new_avg[] /= cast(double)repeats; double max_diff = -double.max; foreach(i, k; new_avg) { // change in running average auto tempdiff = abs(k - last_avg[i]); if (tempdiff > max_diff) { max_diff = tempdiff; } } debug { //writeln("E[phi]/ mu max_diff for ", repeats," repeat is ", max_diff); } if (max_diff < threshold) { debug { //writeln("mu Converged after ", repeats, " repeats, ", n_samples * repeats, " simulations"); //writeln("mu Converged after ", repeats, " repeats, ", n_samples * repeats, " simulations"); } break; } last_avg = new_avg; } // total/repeats , not last_avg/repeats returnval[] = total[] / repeats; //writeln("Edphi[q] running avg FE/n_samples ",returnval); } else { // auto Ds = calcStateFreq(policy, initial, model, sample_length); throw new Exception("Not Supported with n_samples < 0"); } return returnval; } override double[][] calc_feature_expectations_per_trajectory(Model model, sar[][] trajs) { double [][] returnval; LinearReward ff = cast(LinearReward)model.getReward(); this.sample_length = 0; foreach (traj; trajs) { double [] temp_fe = new double[ff.dim()]; temp_fe[] = 0; foreach(i, SAR; traj) { if (SAR.s ! is null) temp_fe[] += ff.features(SAR.s, SAR.a)[];// * (1/cast(double)traj.length); if (i > this.sample_length) this.sample_length = i; } returnval ~= temp_fe; } return returnval; } override double computeLBA(MapAgent agent1, MapAgent agent2) { double totalsuccess = 0.0; double totalstates = 0.0; // Mapagent is a deterministic policy by definition foreach (s; this.model.S()) { if (s in agent1.getPolicy()) { // check key existence //writeln("number of actions in current state in learned policy",(agent1.policy[s])) Action action = agent1.sample(s); if (s in agent2.getPolicy()) { totalstates += 1; if (agent2.sample(s) == action) { //writeln("found a matching action"); totalsuccess += 1; } //else writeln("for state {}, action {} neq action {} ".format(ss2,action,truePol[ss2])); } else writeln("state ",s," not found in agent2"); } else writeln("state ",s," not found in agent1"); } //print("totalstates, totalsuccess: "+str(totalstates)+", "+str(totalsuccess)) if (totalstates == 0.0) { writeln("Error: states in two policies are different"); return 0; } double lba = (totalsuccess) / (totalstates); return lba; } } int main() { // Read in stdin to get settings and trajectory //writeln("entered main"); auto stattime = Clock.currTime(); sar [][] SAR; string buf; string buf2, st; string algorithm; int max_d; int trajCounter; int num_trueWeights; int max_iterations; // 7 //////////////////////////////////////////////////////////////////////////////////// // Threshold on gradient descent of individual cluster decides the speed of convergence //////////////////////////////////////////////////////////////////////////////////// double descent_error; // 0.0001; //0.00005; // 0.00001; int descent_duration_thresh_secs; // 3*60; double gradient_descent_step_size; // 0.0001 double VI_threshold; // 0.4 // 0.2 int vi_duration_thresh_secs; // 45; //30; double Ephi_thresh; // 0.1 int max_restarts_descent; // 4 bool useAdaptive; string mapToUse; buf = readln(); formattedRead(buf, "%s", &mapToUse); mapToUse = strip(mapToUse); buf = readln(); formattedRead(buf, "%s", &algorithm); algorithm = strip(algorithm); buf = readln(); formattedRead(buf, "%s", &max_d); //max_d = int(strip(st_max_d)); buf = readln(); formattedRead(buf, "%s", &max_iterations); buf = readln(); formattedRead(buf, "%s", &descent_error); buf = readln(); formattedRead(buf, "%s", &descent_duration_thresh_secs); buf = readln(); formattedRead(buf, "%s", &gradient_descent_step_size); buf = readln(); formattedRead(buf, "%s", &max_restarts_descent); buf = readln(); formattedRead(buf, "%s", &VI_threshold); buf = readln(); formattedRead(buf, "%s", &vi_duration_thresh_secs); buf = readln(); formattedRead(buf, "%s", &Ephi_thresh); buf = readln(); formattedRead(buf, "%s", &useAdaptive); writeln("\nuseAdaptive ",useAdaptive,"\n"); SAR.length = 0; trajCounter = 0; sar [] newtraj; while ((buf = readln()) != null) { buf = strip(buf); //writeln("buf:",buf); if (buf == "ENDDEMO") { break; } else { if (buf == "ENDTRAJ") { //writeln("appending ",newtraj); SAR ~= newtraj; newtraj.length = 0; trajCounter++; //SAR.length = SAR.length + 1; //writeln("trajCounter ",trajCounter); continue; } else { //while (buf.countUntil(";") >= 0) { string percept = buf[0..buf.countUntil(";")]; //writeln("percept:",percept); buf = buf[buf.countUntil(";") + 1 .. buf.length]; string state; string action; double p; formattedRead(percept, "%s:%s:%s", &state, &action, &p); if (mapToUse == "sorting") { ; int ol; int pr; int el; int ls; state = state[1..state.length]; //writeln("state string:",state); formattedRead(state, " %s, %s, %s, %s]", &ol, &pr, &el, &ls); //writeln("state components: (",ol, pr, el, ls,")"); Action a; if (action == "InspectAfterPicking") { a = new InspectAfterPicking(); } else if (action == "InspectWithoutPicking" ) { a = new InspectWithoutPicking(); } else if (action == "Pick" ) { a = new Pick(); } else if (action == "PlaceOnConveyor" ) { a = new PlaceOnConveyor(); } else if (action == "PlaceInBin" ) { a = new PlaceInBin(); } else if (action == "ClaimNewOnion" ) { a = new ClaimNewOnion(); } else { a = new ClaimNextInList(); } newtraj ~= sar(new sortingState([ol, pr, el, ls]),a,p); //writeln("newtraj ",newtraj); debug { //writeln("finished reading ",[ol, pr, el, ls],action); } //} } else {// boyd patrolling trajectory int x; int y; int z; state = state[1..state.length]; formattedRead(state, "%s, %s, %s]", &x, &y, &z); Action a; if (action == "MoveForwardAction") { a = new MoveForwardAction(); } else if (action == "StopAction") { a = new StopAction(); } else if (action == "TurnLeftAction") { a = new TurnLeftAction(); } else if (action == "TurnAroundAction") { a = new TurnAroundAction(); } else { a = new TurnRightAction(); } newtraj ~= sar(new BoydState([x, y, z]), a, p); debug { //writeln("finished reading ",[ol, pr, el, ls],action); } } } } } //SAR.length = SAR.length - 1; //writeln("Input trajs count ",SAR.length); double[State][Action][State] T; if (mapToUse == "boyd2") { while ((buf = readln()) != null) { buf = strip(buf); if (buf == "ENDT") { break; } State s; Action a; State s_prime; double p; p = parse_transitions(mapToUse, buf, s, a, s_prime); debug { //writeln(" transition ",s, a, s_prime,p,". "); } T[s][a][s_prime] = p; } } int dim; Model model; LinearReward reward; if (mapToUse == "sorting") { //model = new sortingModel(0.05,null); //model = new sortingModelbyPSuresh(0.05,null); //model = new sortingModelbyPSuresh2(0.05,null); //model = new sortingModelbyPSuresh3(0.05,null); model = new sortingModelbyPSuresh2WOPlaced(0.05,null); //model = new sortingModelbyPSuresh3multipleInit(0.05,null); // dim = 8; // reward = new sortingReward2(model,dim); //dim = 10; //reward = new sortingReward4(model, dim); dim = 11; //reward = new sortingReward6(model,dim); //reward = new sortingReward7WPlaced(model,dim); reward = new sortingReward7(model,dim); } else { byte[][] map; map = boyd2PatrollerMap(); model = new BoydModel(null, map, T, 1, &simplefeatures); dim = 6; reward = new Boyd2RewardGroupedFeatures(model); //reward = new Boyd2RewardGroupedFeaturesTestMTIRL(model); } model.setReward(reward); //writeln("model.getReward(); ",model.getReward()); model.setGamma(0.99); //read actual assignments and weights for computing ILE/EVD_traj int [] true_assignments; true_assignments.length = SAR.length; buf = readln(); //writeln("buf true_assignments. ",buf); formattedRead(buf, "[%s]", &buf2); for (int j = 0; j < true_assignments.length-1; j++) { formattedRead(buf2,"%s, ",&true_assignments[j]); } formattedRead(buf2,"%s",&true_assignments[true_assignments.length-1]); writeln("true_assignments ",true_assignments); // NO NEED // assignment indices shifted back // true_assignments = [1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2]; // foreach (ref ass; true_assignments) ass = ass-1; //writeln("true_assignments ",true_assignments); buf = readln(); formattedRead(buf, "%s", &num_trueWeights); writeln("num_trueWeights ",num_trueWeights); double [][] trueWeights; trueWeights.length = num_trueWeights; for (int i = 0; i < num_trueWeights; i++) { trueWeights[i].length = reward.dim(); trueWeights[i][] = 0.0; } for (int i = 0; i < num_trueWeights; i++) { buf2 = readln(); formattedRead(buf2,"[%s]",&st); for (int j = 0; j < reward.dim()-1; j++) { formattedRead(st,"%s, ",&trueWeights[i][j]); } formattedRead(st,"%s",&trueWeights[i][reward.dim()-1]); //writeln("trueWeights[i] ",trueWeights[i]); } //writeln("trueWeights ", trueWeights); //// read last weight vector //formattedRead(buf2,"[%s]",&st); //for (int j = 0; j < reward.dim()-1; j++) { // formattedRead(st,"%s, ",&trueWeights[num_trueWeights-1][j]); //} //formattedRead(st,"%s",&trueWeights[num_trueWeights-1][reward.dim()-1]); //trueWeights[0] = [ 0.10, 0.0, 0.0, 0.22, -0.12, 0.44, 0.0, -0.12]; //trueWeights[1] = [ 0.0, 0.10, 0.22, 0.0, -0.12, 0.44, 0.0, -0.12]; //trueWeights[2] = [ 0.13509862199405565, -0.067549310997027823, //-0.10132396649554175, 0.17562820859227235, -0.027019724398811135, 0.0, 0.3582815455282356, -0.13509862199405565]; //string [] st; //buf = readln(); ////writeln("read buf"); ////writeln(buf); //// change this acc to number of rewards used in demo //st.length = 2; //formattedRead(buf, "[[%s], [%s]]", &st[0], &st[1]); ////writeln("read st"); ////change this acc to choice of reward model //for (int i = 0; i < 2; i++) { // for (int j = 0; j < reward.dim()-1; j++) { // formattedRead(st[i],"%s, ",&trueWeights[i][j]); // } // formattedRead(st[i],"%s",&trueWeights[i][reward.dim()-1]); //} //writeln(trueWeights); double[State] initial; if (mapToUse == "sorting") { // ALWAYS START FROm 0,2,0,2 //sortingState iss; //iss = new sortingState([0,2,0,2]); //initial[iss] = 1.0; // suresh's mdp //iss = new sortingState([0,2,0,0]); //initial[iss] = 1.0; foreach (ms; model.S()) { sortingState s = cast(sortingState)ms; if ((s._onion_location == 0) && (s._listIDs_status == 0)){ initial[s] = 1.0; } } } else {//boyd patrol foreach (s; model.S()) { initial[s] = 1.0; } } Distr!State.normalize(initial); double [][] foundWeightsGlbl; Agent[] policy_ds; double [][] lastWeights; foundWeightsGlbl.length = max_d; lastWeights.length = max_d; policy_ds.length = max_d; for (int q = 0; q < max_d; q ++) { lastWeights[q].length = reward.dim(); for (int i = 0; i < reward.dim(); i ++) { //foundWeightsGlbl[q][i] = uniform(-0.99, .99); lastWeights[q][i] = uniform(0.01, .99); } policy_ds[q] = new RandomAgent(model.A(null)); } debug { //writeln("intitialized policies"); } State [] observableStatesList; foreach (s; model.S()) { observableStatesList ~= s; } if (algorithm == "DPMMEIRL") { //int max_iterations = 1; //7; double [][] foundWeights; double val; //////////////////////////////////////////////////////////////////////////////////// // Threshold on gradient descent of individual cluster decides the speed of convergence //////////////////////////////////////////////////////////////////////////////////// //double descent_error = 0.001; //0.0001; //0.00005; // 0.00001; //(int max_iter, MDPSolver solver, State [] observableStates, int n_samples=500, // double error=0.1, double solverError =0.1, int max_d) //double VI_threshold = 0.45; //VI_threshold = 0.275; // did not learn pcik-inspect-place and staystill //VI_threshold = 0.2; // could not solve MDPs //VI_threshold = 0.4; // //(int max_iter, MDPSolver solver, State [] observableStates, int n_samples=200, //double error=0.01, int descent_duration_thresh_secs=4*60, double gradient_descent_step_size=0.0001, //double solverError =0.1, int max_d=4, double Ephi_thresh=0.1) //int max_restarts = 3; NonParamMTIRL irl = new NonParamMTIRL(max_iterations, new TimedValueIteration(int.max,false,vi_duration_thresh_secs), observableStatesList, 300, descent_error, descent_duration_thresh_secs, gradient_descent_step_size, VI_threshold, max_d, Ephi_thresh, max_restarts_descent); if (mapToUse == "sorting") { double [] reward_weights =[0.15, 0.0, -0.1, 0.2, -0.1, 0.0, 0.3, -0.15]; reward.setParams(reward_weights); //ValueIteration vi = new ValueIteration(); TimedValueIteration vi = new TimedValueIteration(int.max,false,vi_duration_thresh_secs); //writeln("Testing VI threshold for sorting MDP "); Agent policy1 = vi.createPolicy(model,vi.solve(model, VI_threshold)); //writeln("Does tuned VI threshold works fast enough? "); Agent policy2 = vi.createPolicy(model,vi.solve(model, VI_threshold)); //writeln("sanity check - lba"); irl.model = model; double lbatest = irl.computeLBA(cast(MapAgent)policy1, cast(MapAgent)policy2); //writeln(lbatest); } // convert from array of arrays to single array (one trajectory) of array of sar's size_t max_traj_length = 0; foreach (traj_ind, traj; SAR) { if (traj.length > max_traj_length) max_traj_length = traj.length; } //public void solve(Model model, double[State] initial, sar[][] true_samples, //size_t sample_length, double [][] init_weights_allclusters, //out double [][] opt_weights); //writeln("input demo SAR.length ",SAR.length); double avd_EVD = irl.solve(mapToUse, model, initial, SAR, max_traj_length, lastWeights, foundWeightsGlbl, reward.dim(), trueWeights, true_assignments, useAdaptive); writeln("finished solve"); } //ValueIteration vi = new ValueIteration(); TimedValueIteration vi = new TimedValueIteration(int.max,false,vi_duration_thresh_secs); double[State] V; double max_chance; Action action; foreach (q; 0 .. max_d) { //writeln("weight vector of cluster ",q); //writeln(foundWeightsGlbl[q]); // writeln("policy of cluster ",q); writeln("BEGPOLICY"); reward.setParams(foundWeightsGlbl[q]); policy_ds[q] = vi.createPolicy(model, vi.solve(model, VI_threshold)); foreach (State s; model.S()) { max_chance = 0.0; action = null; if (mapToUse == "sorting"){ sortingState ss = cast(sortingState)s; foreach (Action act, double chance; policy_ds[q].actions(ss)) { if (chance > max_chance) { action = act; } } //writeln("[",ss._onion_location,",", //ss._prediction,",",ss._EE_location, //",",ss._listIDs_status,"]", " = ", action); } else { BoydState ps = cast(BoydState)s; foreach (Action act, double chance; policy_ds[q].actions(ps)) { if (chance > max_chance) { action = act; } } writeln( ps.getLocation(), " = ", action); } } writeln("ENDPOLICY"); writeln("Sampled trajs of cluster ", q); sar [] traj; for(int i = 0; i < 3; i++) { traj = simulate(model, policy_ds[q], initial, 40); foreach (sar pair ; traj) { //writeln(pair.s, " ", pair.a, " ", pair.r); ; } writeln(" "); } } auto endttime = Clock.currTime(); auto duration = endttime - stattime; writeln("Runtime Duration ==> ", duration); return 0; }
D
// Written in the D programming language. /** Utilities for manipulating files and scanning directories. Functions in this module handle files as a unit, e.g., read or write one _file at a time. For opening files and manipulating them via handles refer to module $(MREF std, stdio). Copyright: Copyright Digital Mars 2007 - 2011. See_Also: The $(HTTP ddili.org/ders/d.en/files.html, official tutorial) for an introduction to working with files in D, module $(MREF std, stdio) for opening files and manipulating them via handles, and module $(MREF std, path) for manipulating path strings. License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: $(HTTP digitalmars.com, Walter Bright), $(HTTP erdani.org, Andrei Alexandrescu), Jonathan M Davis Source: $(PHOBOSSRC std/_file.d) */ module std.file; import core.stdc.stdlib, core.stdc.string, core.stdc.errno; import std.datetime; import std.meta; import std.range.primitives; import std.traits; import std.typecons; import std.internal.cstring; version (Windows) { import core.sys.windows.windows, std.windows.syserror; } else version (Posix) { import core.sys.posix.dirent, core.sys.posix.fcntl, core.sys.posix.sys.stat, core.sys.posix.sys.time, core.sys.posix.unistd, core.sys.posix.utime; } else static assert(false, "Module " ~ .stringof ~ " not implemented for this OS."); // Character type used for operating system filesystem APIs version (Windows) { private alias FSChar = wchar; } else version (Posix) { private alias FSChar = char; } else static assert(0); package @property string deleteme() @safe { import std.conv : to; import std.path : buildPath; import std.process : thisProcessID; static _deleteme = "deleteme.dmd.unittest.pid"; static _first = true; if (_first) { _deleteme = buildPath(tempDir(), _deleteme) ~ to!string(thisProcessID); _first = false; } return _deleteme; } version (unittest) private struct TestAliasedString { string get() @safe @nogc pure nothrow { return _s; } alias get this; @disable this(this); string _s; } version(Android) { package enum system_directory = "/system/etc"; package enum system_file = "/system/etc/hosts"; } else version(Posix) { package enum system_directory = "/usr/include"; package enum system_file = "/usr/include/assert.h"; } /++ Exception thrown for file I/O errors. +/ class FileException : Exception { import std.conv : text, to; /++ OS error code. +/ immutable uint errno; /++ Constructor which takes an error message. Params: name = Name of file for which the error occurred. msg = Message describing the error. file = The file where the error occurred. line = The line where the error occurred. +/ this(in char[] name, in char[] msg, string file = __FILE__, size_t line = __LINE__) @safe pure { if (msg.empty) super(name.idup, file, line); else super(text(name, ": ", msg), file, line); errno = 0; } /++ Constructor which takes the error number ($(LUCKY GetLastError) in Windows, $(D_PARAM errno) in Posix). Params: name = Name of file for which the error occurred. errno = The error number. file = The file where the error occurred. Defaults to $(D __FILE__). line = The line where the error occurred. Defaults to $(D __LINE__). +/ version(Windows) this(in char[] name, uint errno = .GetLastError(), string file = __FILE__, size_t line = __LINE__) @safe { this(name, sysErrorString(errno), file, line); this.errno = errno; } else version(Posix) this(in char[] name, uint errno = .errno, string file = __FILE__, size_t line = __LINE__) @trusted { auto s = strerror(errno); this(name, to!string(s), file, line); this.errno = errno; } } private T cenforce(T)(T condition, lazy const(char)[] name, string file = __FILE__, size_t line = __LINE__) { if (condition) return condition; version (Windows) { throw new FileException(name, .GetLastError(), file, line); } else version (Posix) { throw new FileException(name, .errno, file, line); } } version (Windows) @trusted private T cenforce(T)(T condition, const(char)[] name, const(FSChar)* namez, string file = __FILE__, size_t line = __LINE__) { if (condition) return condition; if (!name) { import core.stdc.wchar_ : wcslen; import std.conv : to; auto len = wcslen(namez); name = to!string(namez[0 .. len]); } throw new FileException(name, .GetLastError(), file, line); } version (Posix) @trusted private T cenforce(T)(T condition, const(char)[] name, const(FSChar)* namez, string file = __FILE__, size_t line = __LINE__) { if (condition) return condition; if (!name) { import core.stdc.string : strlen; auto len = strlen(namez); name = namez[0 .. len].idup; } throw new FileException(name, .errno, file, line); } /* ********************************** * Basic File operations. */ /******************************************** Read entire contents of file $(D name) and returns it as an untyped array. If the file size is larger than $(D upTo), only $(D upTo) bytes are read. Params: name = string or range of characters representing the file _name upTo = if present, the maximum number of bytes to read Returns: Untyped array of bytes _read. Throws: $(LREF FileException) on error. */ void[] read(R)(R name, size_t upTo = size_t.max) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) return readImpl(name, name.tempCString!FSChar(), upTo); else return readImpl(null, name.tempCString!FSChar(), upTo); } /// @safe unittest { import std.utf : byChar; scope(exit) { assert(exists(deleteme)); remove(deleteme); } write(deleteme, "1234"); // deleteme is the name of a temporary file assert(read(deleteme, 2) == "12"); assert(read(deleteme.byChar) == "1234"); assert((cast(const(ubyte)[])read(deleteme)).length == 4); } void[] read(R)(auto ref R name, size_t upTo = size_t.max) if (isConvertibleToString!R) { return read!(StringTypeOf!R)(name, upTo); } @safe unittest { static assert(__traits(compiles, read(TestAliasedString(null)))); } version (Posix) private void[] readImpl(const(char)[] name, const(FSChar)* namez, size_t upTo = size_t.max) @trusted { import std.algorithm.comparison : min; import std.array : uninitializedArray; import core.memory : GC; import std.conv : to; // A few internal configuration parameters { enum size_t minInitialAlloc = 1024 * 4, maxInitialAlloc = size_t.max / 2, sizeIncrement = 1024 * 16, maxSlackMemoryAllowed = 1024; // } immutable fd = core.sys.posix.fcntl.open(namez, core.sys.posix.fcntl.O_RDONLY); cenforce(fd != -1, name); scope(exit) core.sys.posix.unistd.close(fd); stat_t statbuf = void; cenforce(fstat(fd, &statbuf) == 0, name, namez); immutable initialAlloc = min(upTo, to!size_t(statbuf.st_size ? min(statbuf.st_size + 1, maxInitialAlloc) : minInitialAlloc)); void[] result = uninitializedArray!(ubyte[])(initialAlloc); scope(failure) GC.free(result.ptr); size_t size = 0; for (;;) { immutable actual = core.sys.posix.unistd.read(fd, result.ptr + size, min(result.length, upTo) - size); cenforce(actual != -1, name, namez); if (actual == 0) break; size += actual; if (size >= upTo) break; if (size < result.length) continue; immutable newAlloc = size + sizeIncrement; result = GC.realloc(result.ptr, newAlloc, GC.BlkAttr.NO_SCAN)[0 .. newAlloc]; } return result.length - size >= maxSlackMemoryAllowed ? GC.realloc(result.ptr, size, GC.BlkAttr.NO_SCAN)[0 .. size] : result[0 .. size]; } version (Windows) private void[] readImpl(const(char)[] name, const(FSChar)* namez, size_t upTo = size_t.max) @safe { import std.algorithm.comparison : min; import std.array : uninitializedArray; import core.memory : GC; static trustedCreateFileW(const(wchar)* namez, DWORD dwDesiredAccess, DWORD dwShareMode, SECURITY_ATTRIBUTES *lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) @trusted { return CreateFileW(namez, dwDesiredAccess, dwShareMode, lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile); } static trustedCloseHandle(HANDLE hObject) @trusted { return CloseHandle(hObject); } static trustedGetFileSize(HANDLE hFile, out ulong fileSize) @trusted { DWORD sizeHigh; DWORD sizeLow = GetFileSize(hFile, &sizeHigh); const bool result = sizeLow != INVALID_FILE_SIZE; if (result) fileSize = makeUlong(sizeLow, sizeHigh); return result; } static trustedReadFile(HANDLE hFile, void *lpBuffer, ulong nNumberOfBytesToRead) @trusted { // Read by chunks of size < 4GB (Windows API limit) ulong totalNumRead = 0; while (totalNumRead != nNumberOfBytesToRead) { const uint chunkSize = min(nNumberOfBytesToRead - totalNumRead, 0xffff_0000); DWORD numRead = void; const result = ReadFile(hFile, lpBuffer + totalNumRead, chunkSize, &numRead, null); if (result == 0 || numRead != chunkSize) return false; totalNumRead += chunkSize; } return true; } alias defaults = AliasSeq!(GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, (SECURITY_ATTRIBUTES*).init, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN, HANDLE.init); auto h = trustedCreateFileW(namez, defaults); cenforce(h != INVALID_HANDLE_VALUE, name, namez); scope(exit) cenforce(trustedCloseHandle(h), name, namez); ulong fileSize = void; cenforce(trustedGetFileSize(h, fileSize), name, namez); size_t size = min(upTo, fileSize); auto buf = uninitializedArray!(ubyte[])(size); scope(failure) { () @trusted { GC.free(buf.ptr); } (); } if (size) cenforce(trustedReadFile(h, &buf[0], size), name, namez); return buf[0 .. size]; } version (linux) @safe unittest { // A file with "zero" length that doesn't have 0 length at all auto s = std.file.readText("/proc/sys/kernel/osrelease"); assert(s.length > 0); //writefln("'%s'", s); } @safe unittest { scope(exit) if (exists(deleteme)) remove(deleteme); import std.stdio; auto f = File(deleteme, "w"); f.write("abcd"); f.flush(); assert(read(deleteme) == "abcd"); } /******************************************** Read and validates (using $(REF validate, std,utf)) a text file. $(D S) can be a type of array of characters of any width and constancy. No width conversion is performed; if the width of the characters in file $(D name) is different from the width of elements of $(D S), validation will fail. Params: name = string or range of characters representing the file _name Returns: Array of characters read. Throws: $(D FileException) on file error, $(D UTFException) on UTF decoding error. */ S readText(S = string, R)(R name) if (isSomeString!S && (isInputRange!R && isSomeChar!(ElementEncodingType!R) || isSomeString!R) && !isConvertibleToString!R) { import std.utf : validate; static auto trustedCast(void[] buf) @trusted { return cast(S)buf; } auto result = trustedCast(read(name)); validate(result); return result; } /// @safe unittest { import std.exception : enforce; write(deleteme, "abc"); // deleteme is the name of a temporary file scope(exit) remove(deleteme); string content = readText(deleteme); enforce(content == "abc"); } S readText(S = string, R)(auto ref R name) if (isConvertibleToString!R) { return readText!(S, StringTypeOf!R)(name); } @safe unittest { static assert(__traits(compiles, readText(TestAliasedString(null)))); } /********************************************* Write $(D buffer) to file $(D name). Params: name = string or range of characters representing the file _name buffer = data to be written to file Throws: $(D FileException) on error. See_also: $(REF toFile, std,stdio) */ void write(R)(R name, const void[] buffer) if ((isInputRange!R && isSomeChar!(ElementEncodingType!R) || isSomeString!R) && !isConvertibleToString!R) { static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) writeImpl(name, name.tempCString!FSChar(), buffer, false); else writeImpl(null, name.tempCString!FSChar(), buffer, false); } /// @system unittest { scope(exit) { assert(exists(deleteme)); remove(deleteme); } int[] a = [ 0, 1, 1, 2, 3, 5, 8 ]; write(deleteme, a); // deleteme is the name of a temporary file assert(cast(int[]) read(deleteme) == a); } void write(R)(auto ref R name, const void[] buffer) if (isConvertibleToString!R) { write!(StringTypeOf!R)(name, buffer); } @safe unittest { static assert(__traits(compiles, write(TestAliasedString(null), null))); } /********************************************* Appends $(D buffer) to file $(D name). Params: name = string or range of characters representing the file _name buffer = data to be appended to file Throws: $(D FileException) on error. */ void append(R)(R name, const void[] buffer) if ((isInputRange!R && isSomeChar!(ElementEncodingType!R) || isSomeString!R) && !isConvertibleToString!R) { static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) writeImpl(name, name.tempCString!FSChar(), buffer, true); else writeImpl(null, name.tempCString!FSChar(), buffer, true); } /// @system unittest { scope(exit) { assert(exists(deleteme)); remove(deleteme); } int[] a = [ 0, 1, 1, 2, 3, 5, 8 ]; write(deleteme, a); // deleteme is the name of a temporary file int[] b = [ 13, 21 ]; append(deleteme, b); assert(cast(int[]) read(deleteme) == a ~ b); } void append(R)(auto ref R name, const void[] buffer) if (isConvertibleToString!R) { append!(StringTypeOf!R)(name, buffer); } @safe unittest { static assert(__traits(compiles, append(TestAliasedString("foo"), [0, 1, 2, 3]))); } // Posix implementation helper for write and append version(Posix) private void writeImpl(const(char)[] name, const(FSChar)* namez, in void[] buffer, bool append) @trusted { import std.conv : octal; // append or write auto mode = append ? O_CREAT | O_WRONLY | O_APPEND : O_CREAT | O_WRONLY | O_TRUNC; immutable fd = core.sys.posix.fcntl.open(namez, mode, octal!666); cenforce(fd != -1, name, namez); { scope(failure) core.sys.posix.unistd.close(fd); immutable size = buffer.length; size_t sum, cnt = void; while (sum != size) { cnt = (size - sum < 2^^30) ? (size - sum) : 2^^30; const numwritten = core.sys.posix.unistd.write(fd, buffer.ptr + sum, cnt); if (numwritten != cnt) break; sum += numwritten; } cenforce(sum == size, name, namez); } cenforce(core.sys.posix.unistd.close(fd) == 0, name, namez); } // Windows implementation helper for write and append version(Windows) private void writeImpl(const(char)[] name, const(FSChar)* namez, in void[] buffer, bool append) @trusted { HANDLE h; if (append) { alias defaults = AliasSeq!(GENERIC_WRITE, 0, null, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN, HANDLE.init); h = CreateFileW(namez, defaults); cenforce(h != INVALID_HANDLE_VALUE, name, namez); cenforce(SetFilePointer(h, 0, null, FILE_END) != INVALID_SET_FILE_POINTER, name, namez); } else // write { alias defaults = AliasSeq!(GENERIC_WRITE, 0, null, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN, HANDLE.init); h = CreateFileW(namez, defaults); cenforce(h != INVALID_HANDLE_VALUE, name, namez); } immutable size = buffer.length; size_t sum, cnt = void; DWORD numwritten = void; while (sum != size) { cnt = (size - sum < 2^^30) ? (size - sum) : 2^^30; WriteFile(h, buffer.ptr + sum, cast(uint) cnt, &numwritten, null); if (numwritten != cnt) break; sum += numwritten; } cenforce(sum == size && CloseHandle(h), name, namez); } /*************************************************** * Rename file $(D from) to $(D to). * If the target file exists, it is overwritten. * Params: * from = string or range of characters representing the existing file name * to = string or range of characters representing the target file name * Throws: $(D FileException) on error. */ void rename(RF, RT)(RF from, RT to) if ((isInputRange!RF && isSomeChar!(ElementEncodingType!RF) || isSomeString!RF) && !isConvertibleToString!RF && (isInputRange!RT && isSomeChar!(ElementEncodingType!RT) || isSomeString!RT) && !isConvertibleToString!RT) { // Place outside of @trusted block auto fromz = from.tempCString!FSChar(); auto toz = to.tempCString!FSChar(); static if (isNarrowString!RF && is(Unqual!(ElementEncodingType!RF) == char)) alias f = from; else enum string f = null; static if (isNarrowString!RT && is(Unqual!(ElementEncodingType!RT) == char)) alias t = to; else enum string t = null; renameImpl(f, t, fromz, toz); } void rename(RF, RT)(auto ref RF from, auto ref RT to) if (isConvertibleToString!RF || isConvertibleToString!RT) { import std.meta : staticMap; alias Types = staticMap!(convertToString, RF, RT); rename!Types(from, to); } @safe unittest { static assert(__traits(compiles, rename(TestAliasedString(null), TestAliasedString(null)))); static assert(__traits(compiles, rename("", TestAliasedString(null)))); static assert(__traits(compiles, rename(TestAliasedString(null), ""))); import std.utf : byChar; static assert(__traits(compiles, rename(TestAliasedString(null), "".byChar))); } private void renameImpl(const(char)[] f, const(char)[] t, const(FSChar)* fromz, const(FSChar)* toz) @trusted { version(Windows) { import std.exception : enforce; const result = MoveFileExW(fromz, toz, MOVEFILE_REPLACE_EXISTING); if (!result) { import core.stdc.wchar_ : wcslen; import std.conv : to, text; if (!f) f = to!(typeof(f))(fromz[0 .. wcslen(fromz)]); if (!t) t = to!(typeof(t))(toz[0 .. wcslen(toz)]); enforce(false, new FileException( text("Attempting to rename file ", f, " to ", t))); } } else version(Posix) { static import core.stdc.stdio; cenforce(core.stdc.stdio.rename(fromz, toz) == 0, t, toz); } } @safe unittest { import std.utf : byWchar; auto t1 = deleteme, t2 = deleteme~"2"; scope(exit) foreach (t; [t1, t2]) if (t.exists) t.remove(); write(t1, "1"); rename(t1, t2); assert(readText(t2) == "1"); write(t1, "2"); rename(t1, t2.byWchar); assert(readText(t2) == "2"); } /*************************************************** Delete file $(D name). Params: name = string or range of characters representing the file name Throws: $(D FileException) on error. */ void remove(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) removeImpl(name, name.tempCString!FSChar()); else removeImpl(null, name.tempCString!FSChar()); } void remove(R)(auto ref R name) if (isConvertibleToString!R) { remove!(StringTypeOf!R)(name); } @safe unittest { static assert(__traits(compiles, remove(TestAliasedString("foo")))); } private void removeImpl(const(char)[] name, const(FSChar)* namez) @trusted { version(Windows) { cenforce(DeleteFileW(namez), name, namez); } else version(Posix) { static import core.stdc.stdio; if (!name) { import core.stdc.string : strlen; auto len = strlen(namez); name = namez[0 .. len]; } cenforce(core.stdc.stdio.remove(namez) == 0, "Failed to remove file " ~ name); } } version(Windows) private WIN32_FILE_ATTRIBUTE_DATA getFileAttributesWin(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R)) { auto namez = name.tempCString!FSChar(); WIN32_FILE_ATTRIBUTE_DATA fad = void; static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) { static void getFA(const(char)[] name, const(FSChar)* namez, out WIN32_FILE_ATTRIBUTE_DATA fad) @trusted { import std.exception : enforce; enforce(GetFileAttributesExW(namez, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard, &fad), new FileException(name.idup)); } getFA(name, namez, fad); } else { static void getFA(const(FSChar)* namez, out WIN32_FILE_ATTRIBUTE_DATA fad) @trusted { import core.stdc.wchar_ : wcslen; import std.conv : to; import std.exception : enforce; enforce(GetFileAttributesExW(namez, GET_FILEEX_INFO_LEVELS.GetFileExInfoStandard, &fad), new FileException(namez[0 .. wcslen(namez)].to!string)); } getFA(namez, fad); } return fad; } version(Windows) private ulong makeUlong(DWORD dwLow, DWORD dwHigh) @safe pure nothrow @nogc { ULARGE_INTEGER li; li.LowPart = dwLow; li.HighPart = dwHigh; return li.QuadPart; } /*************************************************** Get size of file $(D name) in bytes. Params: name = string or range of characters representing the file name Throws: $(D FileException) on error (e.g., file not found). */ ulong getSize(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version(Windows) { with (getFileAttributesWin(name)) return makeUlong(nFileSizeLow, nFileSizeHigh); } else version(Posix) { auto namez = name.tempCString(); static trustedStat(const(FSChar)* namez, out stat_t buf) @trusted { return stat(namez, &buf); } static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; stat_t statbuf = void; cenforce(trustedStat(namez, statbuf) == 0, names, namez); return statbuf.st_size; } } ulong getSize(R)(auto ref R name) if (isConvertibleToString!R) { return getSize!(StringTypeOf!R)(name); } @safe unittest { static assert(__traits(compiles, getSize(TestAliasedString("foo")))); } @safe unittest { // create a file of size 1 write(deleteme, "a"); scope(exit) { assert(exists(deleteme)); remove(deleteme); } assert(getSize(deleteme) == 1); // create a file of size 3 write(deleteme, "abc"); import std.utf : byChar; assert(getSize(deleteme.byChar) == 3); } // Reads a time field from a stat_t with full precision. version(Posix) private SysTime statTimeToStdTime(char which)(ref stat_t statbuf) { auto unixTime = mixin(`statbuf.st_` ~ which ~ `time`); long stdTime = unixTimeToStdTime(unixTime); static if (is(typeof(mixin(`statbuf.st_` ~ which ~ `tim`)))) stdTime += mixin(`statbuf.st_` ~ which ~ `tim.tv_nsec`) / 100; else static if (is(typeof(mixin(`statbuf.st_` ~ which ~ `timensec`)))) stdTime += mixin(`statbuf.st_` ~ which ~ `timensec`) / 100; else static if (is(typeof(mixin(`statbuf.st_` ~ which ~ `time_nsec`)))) stdTime += mixin(`statbuf.st_` ~ which ~ `time_nsec`) / 100; else static if (is(typeof(mixin(`statbuf.__st_` ~ which ~ `timensec`)))) stdTime += mixin(`statbuf.__st_` ~ which ~ `timensec`) / 100; return SysTime(stdTime); } /++ Get the access and modified times of file or folder $(D name). Params: name = File/Folder name to get times for. accessTime = Time the file/folder was last accessed. modificationTime = Time the file/folder was last modified. Throws: $(D FileException) on error. +/ void getTimes(R)(R name, out SysTime accessTime, out SysTime modificationTime) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version(Windows) { with (getFileAttributesWin(name)) { accessTime = FILETIMEToSysTime(&ftLastAccessTime); modificationTime = FILETIMEToSysTime(&ftLastWriteTime); } } else version(Posix) { auto namez = name.tempCString(); static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted { return stat(namez, &buf); } stat_t statbuf = void; static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(trustedStat(namez, statbuf) == 0, names, namez); accessTime = statTimeToStdTime!'a'(statbuf); modificationTime = statTimeToStdTime!'m'(statbuf); } } void getTimes(R)(auto ref R name, out SysTime accessTime, out SysTime modificationTime) if (isConvertibleToString!R) { return getTimes!(StringTypeOf!R)(name, accessTime, modificationTime); } @safe unittest { SysTime atime, mtime; static assert(__traits(compiles, getTimes(TestAliasedString("foo"), atime, mtime))); } @system unittest { import std.stdio : writefln; auto currTime = Clock.currTime(); write(deleteme, "a"); scope(exit) { assert(exists(deleteme)); remove(deleteme); } SysTime accessTime1 = void; SysTime modificationTime1 = void; getTimes(deleteme, accessTime1, modificationTime1); enum leeway = dur!"seconds"(5); { auto diffa = accessTime1 - currTime; auto diffm = modificationTime1 - currTime; scope(failure) writefln("[%s] [%s] [%s] [%s] [%s]", accessTime1, modificationTime1, currTime, diffa, diffm); assert(abs(diffa) <= leeway); assert(abs(diffm) <= leeway); } version(fullFileTests) { import core.thread; enum sleepTime = dur!"seconds"(2); Thread.sleep(sleepTime); currTime = Clock.currTime(); write(deleteme, "b"); SysTime accessTime2 = void; SysTime modificationTime2 = void; getTimes(deleteme, accessTime2, modificationTime2); { auto diffa = accessTime2 - currTime; auto diffm = modificationTime2 - currTime; scope(failure) writefln("[%s] [%s] [%s] [%s] [%s]", accessTime2, modificationTime2, currTime, diffa, diffm); //There is no guarantee that the access time will be updated. assert(abs(diffa) <= leeway + sleepTime); assert(abs(diffm) <= leeway); } assert(accessTime1 <= accessTime2); assert(modificationTime1 <= modificationTime2); } } version(StdDdoc) { /++ $(BLUE This function is Windows-Only.) Get creation/access/modified times of file $(D name). This is the same as $(D getTimes) except that it also gives you the file creation time - which isn't possible on Posix systems. Params: name = File name to get times for. fileCreationTime = Time the file was created. fileAccessTime = Time the file was last accessed. fileModificationTime = Time the file was last modified. Throws: $(D FileException) on error. +/ void getTimesWin(R)(R name, out SysTime fileCreationTime, out SysTime fileAccessTime, out SysTime fileModificationTime) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R); } else version(Windows) { void getTimesWin(R)(R name, out SysTime fileCreationTime, out SysTime fileAccessTime, out SysTime fileModificationTime) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { with (getFileAttributesWin(name)) { fileCreationTime = std.datetime.FILETIMEToSysTime(&ftCreationTime); fileAccessTime = std.datetime.FILETIMEToSysTime(&ftLastAccessTime); fileModificationTime = std.datetime.FILETIMEToSysTime(&ftLastWriteTime); } } void getTimesWin(R)(auto ref R name, out SysTime fileCreationTime, out SysTime fileAccessTime, out SysTime fileModificationTime) if (isConvertibleToString!R) { getTimesWin!(StringTypeOf!R)(name, fileCreationTime, fileAccessTime, fileModificationTime); } } version(Windows) @system unittest { import std.stdio : writefln; auto currTime = Clock.currTime(); write(deleteme, "a"); scope(exit) { assert(exists(deleteme)); remove(deleteme); } SysTime creationTime1 = void; SysTime accessTime1 = void; SysTime modificationTime1 = void; getTimesWin(deleteme, creationTime1, accessTime1, modificationTime1); enum leeway = dur!"seconds"(5); { auto diffc = creationTime1 - currTime; auto diffa = accessTime1 - currTime; auto diffm = modificationTime1 - currTime; scope(failure) { writefln("[%s] [%s] [%s] [%s] [%s] [%s] [%s]", creationTime1, accessTime1, modificationTime1, currTime, diffc, diffa, diffm); } // Deleting and recreating a file doesn't seem to always reset the "file creation time" //assert(abs(diffc) <= leeway); assert(abs(diffa) <= leeway); assert(abs(diffm) <= leeway); } version(fullFileTests) { import core.thread; Thread.sleep(dur!"seconds"(2)); currTime = Clock.currTime(); write(deleteme, "b"); SysTime creationTime2 = void; SysTime accessTime2 = void; SysTime modificationTime2 = void; getTimesWin(deleteme, creationTime2, accessTime2, modificationTime2); { auto diffa = accessTime2 - currTime; auto diffm = modificationTime2 - currTime; scope(failure) { writefln("[%s] [%s] [%s] [%s] [%s]", accessTime2, modificationTime2, currTime, diffa, diffm); } assert(abs(diffa) <= leeway); assert(abs(diffm) <= leeway); } assert(creationTime1 == creationTime2); assert(accessTime1 <= accessTime2); assert(modificationTime1 <= modificationTime2); } { SysTime ctime, atime, mtime; static assert(__traits(compiles, getTimesWin(TestAliasedString("foo"), ctime, atime, mtime))); } } /++ Set access/modified times of file or folder $(D name). Params: name = File/Folder name to get times for. accessTime = Time the file/folder was last accessed. modificationTime = Time the file/folder was last modified. Throws: $(D FileException) on error. +/ void setTimes(R)(R name, SysTime accessTime, SysTime modificationTime) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version(Windows) { auto namez = name.tempCString!FSChar(); static auto trustedCreateFileW(const(FSChar)* namez, DWORD dwDesiredAccess, DWORD dwShareMode, SECURITY_ATTRIBUTES *lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) @trusted { return CreateFileW(namez, dwDesiredAccess, dwShareMode, lpSecurityAttributes, dwCreationDisposition, dwFlagsAndAttributes, hTemplateFile); } static auto trustedCloseHandle(HANDLE hObject) @trusted { return CloseHandle(hObject); } static auto trustedSetFileTime(HANDLE hFile, in FILETIME *lpCreationTime, in ref FILETIME lpLastAccessTime, in ref FILETIME lpLastWriteTime) @trusted { return SetFileTime(hFile, lpCreationTime, &lpLastAccessTime, &lpLastWriteTime); } const ta = SysTimeToFILETIME(accessTime); const tm = SysTimeToFILETIME(modificationTime); alias defaults = AliasSeq!(GENERIC_WRITE, 0, null, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_DIRECTORY | FILE_FLAG_BACKUP_SEMANTICS, HANDLE.init); auto h = trustedCreateFileW(namez, defaults); static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(h != INVALID_HANDLE_VALUE, names, namez); scope(exit) cenforce(trustedCloseHandle(h), names, namez); cenforce(trustedSetFileTime(h, null, ta, tm), names, namez); } else version(Posix) { auto namez = name.tempCString!FSChar(); static if (is(typeof(&utimensat))) { static auto trustedUtimensat(int fd, const(FSChar)* namez, const ref timespec[2] times, int flags) @trusted { return utimensat(fd, namez, times, flags); } timespec[2] t = void; t[0] = accessTime.toTimeSpec(); t[1] = modificationTime.toTimeSpec(); static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(trustedUtimensat(AT_FDCWD, namez, t, 0) == 0, names, namez); } else { static auto trustedUtimes(const(FSChar)* namez, const ref timeval[2] times) @trusted { return utimes(namez, times); } timeval[2] t = void; t[0] = accessTime.toTimeVal(); t[1] = modificationTime.toTimeVal(); static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(trustedUtimes(namez, t) == 0, names, namez); } } } void setTimes(R)(auto ref R name, SysTime accessTime, SysTime modificationTime) if (isConvertibleToString!R) { setTimes!(StringTypeOf!R)(name, accessTime, modificationTime); } @safe unittest { if (false) // Test instatiation setTimes(TestAliasedString("foo"), SysTime.init, SysTime.init); } @system unittest { import std.stdio : File; string newdir = deleteme ~ r".dir"; string dir = newdir ~ r"/a/b/c"; string file = dir ~ "/file"; if (!exists(dir)) mkdirRecurse(dir); { auto f = File(file, "w"); } void testTimes(int hnsecValue) { foreach (path; [file, dir]) // test file and dir { SysTime atime = SysTime(DateTime(2010, 10, 4, 0, 0, 30), hnsecs(hnsecValue)); SysTime mtime = SysTime(DateTime(2011, 10, 4, 0, 0, 30), hnsecs(hnsecValue)); setTimes(path, atime, mtime); SysTime atime_res; SysTime mtime_res; getTimes(path, atime_res, mtime_res); assert(atime == atime_res); assert(mtime == mtime_res); } } testTimes(0); version (linux) testTimes(123_456_7); rmdirRecurse(newdir); } /++ Returns the time that the given file was last modified. Throws: $(D FileException) if the given file does not exist. +/ SysTime timeLastModified(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version(Windows) { SysTime dummy; SysTime ftm; getTimesWin(name, dummy, dummy, ftm); return ftm; } else version(Posix) { auto namez = name.tempCString!FSChar(); static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted { return stat(namez, &buf); } stat_t statbuf = void; static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(trustedStat(namez, statbuf) == 0, names, namez); return statTimeToStdTime!'m'(statbuf); } } SysTime timeLastModified(R)(auto ref R name) if (isConvertibleToString!R) { return timeLastModified!(StringTypeOf!R)(name); } @safe unittest { static assert(__traits(compiles, timeLastModified(TestAliasedString("foo")))); } /++ Returns the time that the given file was last modified. If the file does not exist, returns $(D returnIfMissing). A frequent usage pattern occurs in build automation tools such as $(HTTP gnu.org/software/make, make) or $(HTTP en.wikipedia.org/wiki/Apache_Ant, ant). To check whether file $(D target) must be rebuilt from file $(D source) (i.e., $(D target) is older than $(D source) or does not exist), use the comparison below. The code throws a $(D FileException) if $(D source) does not exist (as it should). On the other hand, the $(D SysTime.min) default makes a non-existing $(D target) seem infinitely old so the test correctly prompts building it. Params: name = The name of the file to get the modification time for. returnIfMissing = The time to return if the given file does not exist. Example: -------------------- if (timeLastModified(source) >= timeLastModified(target, SysTime.min)) { // must (re)build } else { // target is up-to-date } -------------------- +/ SysTime timeLastModified(R)(R name, SysTime returnIfMissing) if (isInputRange!R && isSomeChar!(ElementEncodingType!R)) { version(Windows) { if (!exists(name)) return returnIfMissing; SysTime dummy; SysTime ftm; getTimesWin(name, dummy, dummy, ftm); return ftm; } else version(Posix) { auto namez = name.tempCString!FSChar(); static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted { return stat(namez, &buf); } stat_t statbuf = void; return trustedStat(namez, statbuf) != 0 ? returnIfMissing : statTimeToStdTime!'m'(statbuf); } } @safe unittest { //std.process.system("echo a > deleteme") == 0 || assert(false); if (exists(deleteme)) remove(deleteme); write(deleteme, "a\n"); scope(exit) { assert(exists(deleteme)); remove(deleteme); } // assert(lastModified("deleteme") > // lastModified("this file does not exist", SysTime.min)); //assert(lastModified("deleteme") > lastModified(__FILE__)); } // Tests sub-second precision of querying file times. // Should pass on most modern systems running on modern filesystems. // Exceptions: // - FreeBSD, where one would need to first set the // vfs.timestamp_precision sysctl to a value greater than zero. // - OS X, where the native filesystem (HFS+) stores filesystem // timestamps with 1-second precision. version (FreeBSD) {} else version (OSX) {} else @system unittest { import core.thread; if (exists(deleteme)) remove(deleteme); SysTime lastTime; foreach (n; 0..3) { write(deleteme, "a"); auto time = timeLastModified(deleteme); remove(deleteme); assert(time != lastTime); lastTime = time; Thread.sleep(10.msecs); } } /** * Determine whether the given file (or directory) exists. * Params: * name = string or range of characters representing the file name * Returns: * true if the filename specified as input exists */ bool exists(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { return existsImpl(name.tempCString!FSChar()); } bool exists(R)(auto ref R name) if (isConvertibleToString!R) { return exists!(StringTypeOf!R)(name); } private bool existsImpl(const(FSChar)* namez) @trusted nothrow @nogc { version(Windows) { // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ // fileio/base/getfileattributes.asp return GetFileAttributesW(namez) != 0xFFFFFFFF; } else version(Posix) { /* The reason why we use stat (and not access) here is the quirky behavior of access for SUID programs: if we used access, a file may not appear to "exist", despite that the program would be able to open it just fine. The behavior in question is described as follows in the access man page: > The check is done using the calling process's real > UID and GID, rather than the effective IDs as is > done when actually attempting an operation (e.g., > open(2)) on the file. This allows set-user-ID > programs to easily determine the invoking user's > authority. While various operating systems provide eaccess or euidaccess functions, these are not part of POSIX - so it's safer to use stat instead. */ stat_t statbuf = void; return lstat(namez, &statbuf) == 0; } else static assert(0); } @safe unittest { assert(exists(".")); assert(!exists("this file does not exist")); write(deleteme, "a\n"); scope(exit) { assert(exists(deleteme)); remove(deleteme); } assert(exists(deleteme)); } /++ Returns the attributes of the given file. Note that the file attributes on Windows and Posix systems are completely different. On Windows, they're what is returned by $(HTTP msdn.microsoft.com/en-us/library/aa364944(v=vs.85).aspx, GetFileAttributes), whereas on Posix systems, they're the $(LUCKY st_mode) value which is part of the $(D stat struct) gotten by calling the $(HTTP en.wikipedia.org/wiki/Stat_%28Unix%29, $(D stat)) function. On Posix systems, if the given file is a symbolic link, then attributes are the attributes of the file pointed to by the symbolic link. Params: name = The file to get the attributes of. Throws: $(D FileException) on error. +/ uint getAttributes(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version(Windows) { auto namez = name.tempCString!FSChar(); static auto trustedGetFileAttributesW(const(FSChar)* namez) @trusted { return GetFileAttributesW(namez); } immutable result = trustedGetFileAttributesW(namez); static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(result != INVALID_FILE_ATTRIBUTES, names, namez); return result; } else version(Posix) { auto namez = name.tempCString!FSChar(); static auto trustedStat(const(FSChar)* namez, ref stat_t buf) @trusted { return stat(namez, &buf); } stat_t statbuf = void; static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(trustedStat(namez, statbuf) == 0, names, namez); return statbuf.st_mode; } } uint getAttributes(R)(auto ref R name) if (isConvertibleToString!R) { return getAttributes!(StringTypeOf!R)(name); } @safe unittest { static assert(__traits(compiles, getAttributes(TestAliasedString(null)))); } /++ If the given file is a symbolic link, then this returns the attributes of the symbolic link itself rather than file that it points to. If the given file is $(I not) a symbolic link, then this function returns the same result as getAttributes. On Windows, getLinkAttributes is identical to getAttributes. It exists on Windows so that you don't have to special-case code for Windows when dealing with symbolic links. Params: name = The file to get the symbolic link attributes of. Returns: the attributes Throws: $(D FileException) on error. +/ uint getLinkAttributes(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version(Windows) { return getAttributes(name); } else version(Posix) { auto namez = name.tempCString!FSChar(); static auto trustedLstat(const(FSChar)* namez, ref stat_t buf) @trusted { return lstat(namez, &buf); } stat_t lstatbuf = void; static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(trustedLstat(namez, lstatbuf) == 0, names, namez); return lstatbuf.st_mode; } } uint getLinkAttributes(R)(auto ref R name) if (isConvertibleToString!R) { return getLinkAttributes!(StringTypeOf!R)(name); } @safe unittest { static assert(__traits(compiles, getLinkAttributes(TestAliasedString(null)))); } /++ Set the attributes of the given file. Params: name = the file name attributes = the attributes to set the file to Throws: $(D FileException) if the given file does not exist. +/ void setAttributes(R)(R name, uint attributes) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version (Windows) { auto namez = name.tempCString!FSChar(); static auto trustedSetFileAttributesW(const(FSChar)* namez, uint dwFileAttributes) @trusted { return SetFileAttributesW(namez, dwFileAttributes); } static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(trustedSetFileAttributesW(namez, attributes), names, namez); } else version (Posix) { auto namez = name.tempCString!FSChar(); static auto trustedChmod(const(FSChar)* namez, mode_t mode) @trusted { return chmod(namez, mode); } assert(attributes <= mode_t.max); static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias names = name; else string names = null; cenforce(!trustedChmod(namez, cast(mode_t)attributes), names, namez); } } void setAttributes(R)(auto ref R name, uint attributes) if (isConvertibleToString!R) { return setAttributes!(StringTypeOf!R)(name, attributes); } @safe unittest { static assert(__traits(compiles, setAttributes(TestAliasedString(null), 0))); } /++ Returns whether the given file is a directory. Params: name = The path to the file. Returns: true if the name specifies a directory Throws: $(D FileException) if the given file does not exist. Example: -------------------- assert(!"/etc/fonts/fonts.conf".isDir); assert("/usr/share/include".isDir); -------------------- +/ @property bool isDir(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version(Windows) { return (getAttributes(name) & FILE_ATTRIBUTE_DIRECTORY) != 0; } else version(Posix) { return (getAttributes(name) & S_IFMT) == S_IFDIR; } } @property bool isDir(R)(auto ref R name) if (isConvertibleToString!R) { return name.isDir!(StringTypeOf!R); } @safe unittest { static assert(__traits(compiles, TestAliasedString(null).isDir)); } @safe unittest { version(Windows) { if ("C:\\Program Files\\".exists) assert("C:\\Program Files\\".isDir); if ("C:\\Windows\\system.ini".exists) assert(!"C:\\Windows\\system.ini".isDir); } else version(Posix) { if (system_directory.exists) assert(system_directory.isDir); if (system_file.exists) assert(!system_file.isDir); } } @system unittest { version(Windows) enum dir = "C:\\Program Files\\"; else version(Posix) enum dir = system_directory; if (dir.exists) { DirEntry de = DirEntry(dir); assert(de.isDir); assert(DirEntry(dir).isDir); } } /++ Returns whether the given file attributes are for a directory. Params: attributes = The file attributes. Returns: true if attibutes specifies a directory Example: -------------------- assert(!attrIsDir(getAttributes("/etc/fonts/fonts.conf"))); assert(!attrIsDir(getLinkAttributes("/etc/fonts/fonts.conf"))); -------------------- +/ bool attrIsDir(uint attributes) @safe pure nothrow @nogc { version(Windows) { return (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0; } else version(Posix) { return (attributes & S_IFMT) == S_IFDIR; } } @safe unittest { version(Windows) { if ("C:\\Program Files\\".exists) { assert(attrIsDir(getAttributes("C:\\Program Files\\"))); assert(attrIsDir(getLinkAttributes("C:\\Program Files\\"))); } if ("C:\\Windows\\system.ini".exists) { assert(!attrIsDir(getAttributes("C:\\Windows\\system.ini"))); assert(!attrIsDir(getLinkAttributes("C:\\Windows\\system.ini"))); } } else version(Posix) { if (system_directory.exists) { assert(attrIsDir(getAttributes(system_directory))); assert(attrIsDir(getLinkAttributes(system_directory))); } if (system_file.exists) { assert(!attrIsDir(getAttributes(system_file))); assert(!attrIsDir(getLinkAttributes(system_file))); } } } /++ Returns whether the given file (or directory) is a file. On Windows, if a file is not a directory, then it's a file. So, either $(D isFile) or $(D isDir) will return true for any given file. On Posix systems, if $(D isFile) is $(D true), that indicates that the file is a regular file (e.g. not a block not device). So, on Posix systems, it's possible for both $(D isFile) and $(D isDir) to be $(D false) for a particular file (in which case, it's a special file). You can use $(D getAttributes) to get the attributes to figure out what type of special it is, or you can use $(D DirEntry) to get at its $(D statBuf), which is the result from $(D stat). In either case, see the man page for $(D stat) for more information. Params: name = The path to the file. Returns: true if name specifies a file Throws: $(D FileException) if the given file does not exist. Example: -------------------- assert("/etc/fonts/fonts.conf".isFile); assert(!"/usr/share/include".isFile); -------------------- +/ @property bool isFile(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version(Windows) return !name.isDir; else version(Posix) return (getAttributes(name) & S_IFMT) == S_IFREG; } @property bool isFile(R)(auto ref R name) if (isConvertibleToString!R) { return isFile!(StringTypeOf!R)(name); } @system unittest // bugzilla 15658 { DirEntry e = DirEntry("."); static assert(is(typeof(isFile(e)))); } @safe unittest { static assert(__traits(compiles, TestAliasedString(null).isFile)); } @safe unittest { version(Windows) { if ("C:\\Program Files\\".exists) assert(!"C:\\Program Files\\".isFile); if ("C:\\Windows\\system.ini".exists) assert("C:\\Windows\\system.ini".isFile); } else version(Posix) { if (system_directory.exists) assert(!system_directory.isFile); if (system_file.exists) assert(system_file.isFile); } } /++ Returns whether the given file attributes are for a file. On Windows, if a file is not a directory, it's a file. So, either $(D attrIsFile) or $(D attrIsDir) will return $(D true) for the attributes of any given file. On Posix systems, if $(D attrIsFile) is $(D true), that indicates that the file is a regular file (e.g. not a block not device). So, on Posix systems, it's possible for both $(D attrIsFile) and $(D attrIsDir) to be $(D false) for a particular file (in which case, it's a special file). If a file is a special file, you can use the attributes to check what type of special file it is (see the man page for $(D stat) for more information). Params: attributes = The file attributes. Returns: true if the given file attributes are for a file Example: -------------------- assert(attrIsFile(getAttributes("/etc/fonts/fonts.conf"))); assert(attrIsFile(getLinkAttributes("/etc/fonts/fonts.conf"))); -------------------- +/ bool attrIsFile(uint attributes) @safe pure nothrow @nogc { version(Windows) { return (attributes & FILE_ATTRIBUTE_DIRECTORY) == 0; } else version(Posix) { return (attributes & S_IFMT) == S_IFREG; } } @safe unittest { version(Windows) { if ("C:\\Program Files\\".exists) { assert(!attrIsFile(getAttributes("C:\\Program Files\\"))); assert(!attrIsFile(getLinkAttributes("C:\\Program Files\\"))); } if ("C:\\Windows\\system.ini".exists) { assert(attrIsFile(getAttributes("C:\\Windows\\system.ini"))); assert(attrIsFile(getLinkAttributes("C:\\Windows\\system.ini"))); } } else version(Posix) { if (system_directory.exists) { assert(!attrIsFile(getAttributes(system_directory))); assert(!attrIsFile(getLinkAttributes(system_directory))); } if (system_file.exists) { assert(attrIsFile(getAttributes(system_file))); assert(attrIsFile(getLinkAttributes(system_file))); } } } /++ Returns whether the given file is a symbolic link. On Windows, returns $(D true) when the file is either a symbolic link or a junction point. Params: name = The path to the file. Returns: true if name is a symbolic link Throws: $(D FileException) if the given file does not exist. +/ @property bool isSymlink(R)(R name) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { version(Windows) return (getAttributes(name) & FILE_ATTRIBUTE_REPARSE_POINT) != 0; else version(Posix) return (getLinkAttributes(name) & S_IFMT) == S_IFLNK; } @property bool isSymlink(R)(auto ref R name) if (isConvertibleToString!R) { return name.isSymlink!(StringTypeOf!R); } @safe unittest { static assert(__traits(compiles, TestAliasedString(null).isSymlink)); } @system unittest { version(Windows) { if ("C:\\Program Files\\".exists) assert(!"C:\\Program Files\\".isSymlink); if ("C:\\Users\\".exists && "C:\\Documents and Settings\\".exists) assert("C:\\Documents and Settings\\".isSymlink); enum fakeSymFile = "C:\\Windows\\system.ini"; if (fakeSymFile.exists) { assert(!fakeSymFile.isSymlink); assert(!fakeSymFile.isSymlink); assert(!attrIsSymlink(getAttributes(fakeSymFile))); assert(!attrIsSymlink(getLinkAttributes(fakeSymFile))); assert(attrIsFile(getAttributes(fakeSymFile))); assert(attrIsFile(getLinkAttributes(fakeSymFile))); assert(!attrIsDir(getAttributes(fakeSymFile))); assert(!attrIsDir(getLinkAttributes(fakeSymFile))); assert(getAttributes(fakeSymFile) == getLinkAttributes(fakeSymFile)); } } else version(Posix) { if (system_directory.exists) { assert(!system_directory.isSymlink); immutable symfile = deleteme ~ "_slink\0"; scope(exit) if (symfile.exists) symfile.remove(); core.sys.posix.unistd.symlink(system_directory, symfile.ptr); assert(symfile.isSymlink); assert(!attrIsSymlink(getAttributes(symfile))); assert(attrIsSymlink(getLinkAttributes(symfile))); assert(attrIsDir(getAttributes(symfile))); assert(!attrIsDir(getLinkAttributes(symfile))); assert(!attrIsFile(getAttributes(symfile))); assert(!attrIsFile(getLinkAttributes(symfile))); } if (system_file.exists) { assert(!system_file.isSymlink); immutable symfile = deleteme ~ "_slink\0"; scope(exit) if (symfile.exists) symfile.remove(); core.sys.posix.unistd.symlink(system_file, symfile.ptr); assert(symfile.isSymlink); assert(!attrIsSymlink(getAttributes(symfile))); assert(attrIsSymlink(getLinkAttributes(symfile))); assert(!attrIsDir(getAttributes(symfile))); assert(!attrIsDir(getLinkAttributes(symfile))); assert(attrIsFile(getAttributes(symfile))); assert(!attrIsFile(getLinkAttributes(symfile))); } } static assert(__traits(compiles, () @safe { return "dummy".isSymlink; })); } /++ Returns whether the given file attributes are for a symbolic link. On Windows, return $(D true) when the file is either a symbolic link or a junction point. Params: attributes = The file attributes. Returns: true if attributes are for a symbolic link Example: -------------------- core.sys.posix.unistd.symlink("/etc/fonts/fonts.conf", "/tmp/alink"); assert(!getAttributes("/tmp/alink").isSymlink); assert(getLinkAttributes("/tmp/alink").isSymlink); -------------------- +/ bool attrIsSymlink(uint attributes) @safe pure nothrow @nogc { version(Windows) return (attributes & FILE_ATTRIBUTE_REPARSE_POINT) != 0; else version(Posix) return (attributes & S_IFMT) == S_IFLNK; } /**************************************************** * Change directory to $(D pathname). * Throws: $(D FileException) on error. */ void chdir(R)(R pathname) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { // Place outside of @trusted block auto pathz = pathname.tempCString!FSChar(); version(Windows) { static auto trustedChdir(const(FSChar)* pathz) @trusted { return SetCurrentDirectoryW(pathz); } } else version(Posix) { static auto trustedChdir(const(FSChar)* pathz) @trusted { return core.sys.posix.unistd.chdir(pathz) == 0; } } static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias pathStr = pathname; else string pathStr = null; cenforce(trustedChdir(pathz), pathStr, pathz); } void chdir(R)(auto ref R pathname) if (isConvertibleToString!R) { return chdir!(StringTypeOf!R)(pathname); } @safe unittest { static assert(__traits(compiles, chdir(TestAliasedString(null)))); } /**************************************************** Make directory $(D pathname). Throws: $(D FileException) on Posix or $(D WindowsException) on Windows if an error occured. */ void mkdir(R)(R pathname) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { // Place outside of @trusted block auto pathz = pathname.tempCString!FSChar(); version(Windows) { static auto trustedCreateDirectoryW(const(FSChar)* pathz) @trusted { return CreateDirectoryW(pathz, null); } static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias pathStr = pathname; else string pathStr = null; wenforce(trustedCreateDirectoryW(pathz), pathStr, pathz); } else version(Posix) { import std.conv : octal; static auto trustedMkdir(const(FSChar)* pathz, mode_t mode) @trusted { return core.sys.posix.sys.stat.mkdir(pathz, mode); } static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias pathStr = pathname; else string pathStr = null; cenforce(trustedMkdir(pathz, octal!777) == 0, pathStr, pathz); } } void mkdir(R)(auto ref R pathname) if (isConvertibleToString!R) { return mkdir!(StringTypeOf!R)(pathname); } @safe unittest { import std.path : mkdir; static assert(__traits(compiles, mkdir(TestAliasedString(null)))); } // Same as mkdir but ignores "already exists" errors. // Returns: "true" if the directory was created, // "false" if it already existed. private bool ensureDirExists(in char[] pathname) { import std.exception : enforce; version(Windows) { if (CreateDirectoryW(pathname.tempCStringW(), null)) return true; cenforce(GetLastError() == ERROR_ALREADY_EXISTS, pathname.idup); } else version(Posix) { import std.conv : octal; if (core.sys.posix.sys.stat.mkdir(pathname.tempCString(), octal!777) == 0) return true; cenforce(errno == EEXIST || errno == EISDIR, pathname); } enforce(pathname.isDir, new FileException(pathname.idup)); return false; } /**************************************************** * Make directory and all parent directories as needed. * * Does nothing if the directory specified by * $(D pathname) already exists. * * Throws: $(D FileException) on error. */ void mkdirRecurse(in char[] pathname) { import std.path : dirName, baseName; const left = dirName(pathname); if (left.length != pathname.length && !exists(left)) { mkdirRecurse(left); } if (!baseName(pathname).empty) { ensureDirExists(pathname); } } @system unittest { import std.exception : assertThrown; { import std.path : buildPath, buildNormalizedPath; immutable basepath = deleteme ~ "_dir"; scope(exit) rmdirRecurse(basepath); auto path = buildPath(basepath, "a", "..", "b"); mkdirRecurse(path); path = path.buildNormalizedPath; assert(path.isDir); path = buildPath(basepath, "c"); write(path, ""); assertThrown!FileException(mkdirRecurse(path)); path = buildPath(basepath, "d"); mkdirRecurse(path); mkdirRecurse(path); // should not throw } version(Windows) { assertThrown!FileException(mkdirRecurse(`1:\foobar`)); } // bug3570 { immutable basepath = deleteme ~ "_dir"; version (Windows) { immutable path = basepath ~ "\\fake\\here\\"; } else version (Posix) { immutable path = basepath ~ `/fake/here/`; } mkdirRecurse(path); assert(basepath.exists && basepath.isDir); scope(exit) rmdirRecurse(basepath); assert(path.exists && path.isDir); } } /**************************************************** Remove directory $(D pathname). Params: pathname = Range or string specifying the directory name Throws: $(D FileException) on error. */ void rmdir(R)(R pathname) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R) { // Place outside of @trusted block auto pathz = pathname.tempCString!FSChar(); version(Windows) { static auto trustedRmdir(const(FSChar)* pathz) @trusted { return RemoveDirectoryW(pathz); } } else version(Posix) { static auto trustedRmdir(const(FSChar)* pathz) @trusted { return core.sys.posix.unistd.rmdir(pathz) == 0; } } static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias pathStr = pathname; else string pathStr = null; cenforce(trustedRmdir(pathz), pathStr, pathz); } void rmdir(R)(auto ref R pathname) if (isConvertibleToString!R) { rmdir!(StringTypeOf!R)(pathname); } @safe unittest { static assert(__traits(compiles, rmdir(TestAliasedString(null)))); } /++ $(BLUE This function is Posix-Only.) Creates a symbolic _link (_symlink). Params: original = The file that is being linked. This is the target path that's stored in the _symlink. A relative path is relative to the created _symlink. link = The _symlink to create. A relative path is relative to the current working directory. Throws: $(D FileException) on error (which includes if the _symlink already exists). +/ version(StdDdoc) void symlink(RO, RL)(RO original, RL link) if ((isInputRange!RO && isSomeChar!(ElementEncodingType!RO) || isConvertibleToString!RO) && (isInputRange!RL && isSomeChar!(ElementEncodingType!RL) || isConvertibleToString!RL)); else version(Posix) void symlink(RO, RL)(RO original, RL link) if ((isInputRange!RO && isSomeChar!(ElementEncodingType!RO) || isConvertibleToString!RO) && (isInputRange!RL && isSomeChar!(ElementEncodingType!RL) || isConvertibleToString!RL)) { static if (isConvertibleToString!RO || isConvertibleToString!RL) { import std.meta : staticMap; alias Types = staticMap!(convertToString, RO, RL); symlink!Types(original, link); } else { import std.conv : text; auto oz = original.tempCString(); auto lz = link.tempCString(); alias posixSymlink = core.sys.posix.unistd.symlink; immutable int result = () @trusted { return posixSymlink(oz, lz); } (); cenforce(result == 0, text(link)); } } version(Posix) @safe unittest { if (system_directory.exists) { immutable symfile = deleteme ~ "_slink\0"; scope(exit) if (symfile.exists) symfile.remove(); symlink(system_directory, symfile); assert(symfile.exists); assert(symfile.isSymlink); assert(!attrIsSymlink(getAttributes(symfile))); assert(attrIsSymlink(getLinkAttributes(symfile))); assert(attrIsDir(getAttributes(symfile))); assert(!attrIsDir(getLinkAttributes(symfile))); assert(!attrIsFile(getAttributes(symfile))); assert(!attrIsFile(getLinkAttributes(symfile))); } if (system_file.exists) { assert(!system_file.isSymlink); immutable symfile = deleteme ~ "_slink\0"; scope(exit) if (symfile.exists) symfile.remove(); symlink(system_file, symfile); assert(symfile.exists); assert(symfile.isSymlink); assert(!attrIsSymlink(getAttributes(symfile))); assert(attrIsSymlink(getLinkAttributes(symfile))); assert(!attrIsDir(getAttributes(symfile))); assert(!attrIsDir(getLinkAttributes(symfile))); assert(attrIsFile(getAttributes(symfile))); assert(!attrIsFile(getLinkAttributes(symfile))); } } version(Posix) @safe unittest { static assert(__traits(compiles, symlink(TestAliasedString(null), TestAliasedString(null)))); } /++ $(BLUE This function is Posix-Only.) Returns the path to the file pointed to by a symlink. Note that the path could be either relative or absolute depending on the symlink. If the path is relative, it's relative to the symlink, not the current working directory. Throws: $(D FileException) on error. +/ version(StdDdoc) string readLink(R)(R link) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) || isConvertibleToString!R); else version(Posix) string readLink(R)(R link) if (isInputRange!R && isSomeChar!(ElementEncodingType!R) || isConvertibleToString!R) { static if (isConvertibleToString!R) { return readLink!(convertToString!R)(link); } else { import std.conv : to; import std.exception : assumeUnique; alias posixReadlink = core.sys.posix.unistd.readlink; enum bufferLen = 2048; enum maxCodeUnits = 6; char[bufferLen] buffer; const linkz = link.tempCString(); auto size = () @trusted { return posixReadlink(linkz, buffer.ptr, buffer.length); } (); cenforce(size != -1, to!string(link)); if (size <= bufferLen - maxCodeUnits) return to!string(buffer[0 .. size]); auto dynamicBuffer = new char[](bufferLen * 3 / 2); foreach (i; 0 .. 10) { size = () @trusted { return posixReadlink(linkz, dynamicBuffer.ptr, dynamicBuffer.length); } (); cenforce(size != -1, to!string(link)); if (size <= dynamicBuffer.length - maxCodeUnits) { dynamicBuffer.length = size; return () @trusted { return assumeUnique(dynamicBuffer); } (); } dynamicBuffer.length = dynamicBuffer.length * 3 / 2; } throw new FileException(to!string(link), "Path is too long to read."); } } version(Posix) @safe unittest { import std.exception : assertThrown; import std.string; foreach (file; [system_directory, system_file]) { if (file.exists) { immutable symfile = deleteme ~ "_slink\0"; scope(exit) if (symfile.exists) symfile.remove(); symlink(file, symfile); assert(readLink(symfile) == file, format("Failed file: %s", file)); } } assertThrown!FileException(readLink("/doesnotexist")); } version(Posix) @safe unittest { static assert(__traits(compiles, readLink(TestAliasedString("foo")))); } version(Posix) @system unittest // input range of dchars { mkdirRecurse(deleteme); scope(exit) if (deleteme.exists) rmdirRecurse(deleteme); write(deleteme ~ "/f", ""); import std.range.interfaces : InputRange, inputRangeObject; import std.utf : byChar; immutable string link = deleteme ~ "/l"; symlink("f", link); InputRange!dchar linkr = inputRangeObject(link); alias R = typeof(linkr); static assert(isInputRange!R); static assert(!isForwardRange!R); assert(readLink(linkr) == "f"); } /**************************************************** * Get the current working directory. * Throws: $(D FileException) on error. */ version(Windows) string getcwd() { import std.conv : to; import std.utf : toUTF8; /* GetCurrentDirectory's return value: 1. function succeeds: the number of characters that are written to the buffer, not including the terminating null character. 2. function fails: zero 3. the buffer (lpBuffer) is not large enough: the required size of the buffer, in characters, including the null-terminating character. */ wchar[4096] buffW = void; //enough for most common case immutable n = cenforce(GetCurrentDirectoryW(to!DWORD(buffW.length), buffW.ptr), "getcwd"); // we can do it because toUTFX always produces a fresh string if (n < buffW.length) { return toUTF8(buffW[0 .. n]); } else //staticBuff isn't enough { auto ptr = cast(wchar*) malloc(wchar.sizeof * n); scope(exit) free(ptr); immutable n2 = GetCurrentDirectoryW(n, ptr); cenforce(n2 && n2 < n, "getcwd"); return toUTF8(ptr[0 .. n2]); } } else version (Solaris) string getcwd() { /* BUF_SIZE >= PATH_MAX */ enum BUF_SIZE = 4096; /* The user should be able to specify any size buffer > 0 */ auto p = cenforce(core.sys.posix.unistd.getcwd(null, BUF_SIZE), "cannot get cwd"); scope(exit) core.stdc.stdlib.free(p); return p[0 .. core.stdc.string.strlen(p)].idup; } else version (Posix) string getcwd() { auto p = cenforce(core.sys.posix.unistd.getcwd(null, 0), "cannot get cwd"); scope(exit) core.stdc.stdlib.free(p); return p[0 .. core.stdc.string.strlen(p)].idup; } @system unittest { auto s = getcwd(); assert(s.length); } version (OSX) private extern (C) int _NSGetExecutablePath(char* buf, uint* bufsize); else version (FreeBSD) private extern (C) int sysctl (const int* name, uint namelen, void* oldp, size_t* oldlenp, const void* newp, size_t newlen); else version (NetBSD) private extern (C) int sysctl (const int* name, uint namelen, void* oldp, size_t* oldlenp, const void* newp, size_t newlen); /** * Returns the full path of the current executable. * * Throws: * $(REF Exception, std,object) */ @trusted string thisExePath () { version (OSX) { import core.sys.posix.stdlib : realpath; import std.conv : to; import std.exception : errnoEnforce; uint size; _NSGetExecutablePath(null, &size); // get the length of the path auto buffer = new char[size]; _NSGetExecutablePath(buffer.ptr, &size); auto absolutePath = realpath(buffer.ptr, null); // let the function allocate scope (exit) { if (absolutePath) free(absolutePath); } errnoEnforce(absolutePath); return to!(string)(absolutePath); } else version (linux) { return readLink("/proc/self/exe"); } else version (Windows) { import std.conv : to; import std.exception : enforce; wchar[MAX_PATH] buf; wchar[] buffer = buf[]; while (true) { auto len = GetModuleFileNameW(null, buffer.ptr, cast(DWORD) buffer.length); enforce(len, sysErrorString(GetLastError())); if (len != buffer.length) return to!(string)(buffer[0 .. len]); buffer.length *= 2; } } else version (FreeBSD) { import std.exception : errnoEnforce, assumeUnique; enum { CTL_KERN = 1, KERN_PROC = 14, KERN_PROC_PATHNAME = 12 } int[4] mib = [CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1]; size_t len; auto result = sysctl(mib.ptr, mib.length, null, &len, null, 0); // get the length of the path errnoEnforce(result == 0); auto buffer = new char[len - 1]; result = sysctl(mib.ptr, mib.length, buffer.ptr, &len, null, 0); errnoEnforce(result == 0); return buffer.assumeUnique; } else version (NetBSD) { return readLink("/proc/self/exe"); } else version (Solaris) { import core.sys.posix.unistd : getpid; import std.string : format; // Only Solaris 10 and later return readLink(format("/proc/%d/path/a.out", getpid())); } else static assert(0, "thisExePath is not supported on this platform"); } @safe unittest { import std.path : isAbsolute; auto path = thisExePath(); assert(path.exists); assert(path.isAbsolute); assert(path.isFile); } version(StdDdoc) { /++ Info on a file, similar to what you'd get from stat on a Posix system. +/ struct DirEntry { /++ Constructs a DirEntry for the given file (or directory). Params: path = The file (or directory) to get a DirEntry for. Throws: $(D FileException) if the file does not exist. +/ this(string path); version (Windows) { private this(string path, in WIN32_FIND_DATAW *fd); } else version (Posix) { private this(string path, core.sys.posix.dirent.dirent* fd); } /++ Returns the path to the file represented by this $(D DirEntry). Example: -------------------- auto de1 = DirEntry("/etc/fonts/fonts.conf"); assert(de1.name == "/etc/fonts/fonts.conf"); auto de2 = DirEntry("/usr/share/include"); assert(de2.name == "/usr/share/include"); -------------------- +/ @property string name() const; /++ Returns whether the file represented by this $(D DirEntry) is a directory. Example: -------------------- auto de1 = DirEntry("/etc/fonts/fonts.conf"); assert(!de1.isDir); auto de2 = DirEntry("/usr/share/include"); assert(de2.isDir); -------------------- +/ @property bool isDir(); /++ Returns whether the file represented by this $(D DirEntry) is a file. On Windows, if a file is not a directory, then it's a file. So, either $(D isFile) or $(D isDir) will return $(D true). On Posix systems, if $(D isFile) is $(D true), that indicates that the file is a regular file (e.g. not a block not device). So, on Posix systems, it's possible for both $(D isFile) and $(D isDir) to be $(D false) for a particular file (in which case, it's a special file). You can use $(D attributes) or $(D statBuf) to get more information about a special file (see the stat man page for more details). Example: -------------------- auto de1 = DirEntry("/etc/fonts/fonts.conf"); assert(de1.isFile); auto de2 = DirEntry("/usr/share/include"); assert(!de2.isFile); -------------------- +/ @property bool isFile(); /++ Returns whether the file represented by this $(D DirEntry) is a symbolic link. On Windows, return $(D true) when the file is either a symbolic link or a junction point. +/ @property bool isSymlink(); /++ Returns the size of the the file represented by this $(D DirEntry) in bytes. +/ @property ulong size(); /++ $(BLUE This function is Windows-Only.) Returns the creation time of the file represented by this $(D DirEntry). +/ @property SysTime timeCreated() const; /++ Returns the time that the file represented by this $(D DirEntry) was last accessed. Note that many file systems do not update the access time for files (generally for performance reasons), so there's a good chance that $(D timeLastAccessed) will return the same value as $(D timeLastModified). +/ @property SysTime timeLastAccessed(); /++ Returns the time that the file represented by this $(D DirEntry) was last modified. +/ @property SysTime timeLastModified(); /++ Returns the attributes of the file represented by this $(D DirEntry). Note that the file attributes on Windows and Posix systems are completely different. On, Windows, they're what is returned by $(D GetFileAttributes) $(HTTP msdn.microsoft.com/en-us/library/aa364944(v=vs.85).aspx, GetFileAttributes) Whereas, an Posix systems, they're the $(D st_mode) value which is part of the $(D stat) struct gotten by calling $(D stat). On Posix systems, if the file represented by this $(D DirEntry) is a symbolic link, then attributes are the attributes of the file pointed to by the symbolic link. +/ @property uint attributes(); /++ On Posix systems, if the file represented by this $(D DirEntry) is a symbolic link, then $(D linkAttributes) are the attributes of the symbolic link itself. Otherwise, $(D linkAttributes) is identical to $(D attributes). On Windows, $(D linkAttributes) is identical to $(D attributes). It exists on Windows so that you don't have to special-case code for Windows when dealing with symbolic links. +/ @property uint linkAttributes(); version(Windows) alias stat_t = void*; /++ $(BLUE This function is Posix-Only.) The $(D stat) struct gotten from calling $(D stat). +/ @property stat_t statBuf(); } } else version(Windows) { struct DirEntry { import std.utf : toUTF8; public: alias name this; this(string path) { if (!path.exists()) throw new FileException(path, "File does not exist"); _name = path; with (getFileAttributesWin(path)) { _size = makeUlong(nFileSizeLow, nFileSizeHigh); _timeCreated = std.datetime.FILETIMEToSysTime(&ftCreationTime); _timeLastAccessed = std.datetime.FILETIMEToSysTime(&ftLastAccessTime); _timeLastModified = std.datetime.FILETIMEToSysTime(&ftLastWriteTime); _attributes = dwFileAttributes; } } private this(string path, in WIN32_FIND_DATAW *fd) { import core.stdc.wchar_ : wcslen; import std.path : buildPath; size_t clength = wcslen(fd.cFileName.ptr); _name = toUTF8(fd.cFileName[0 .. clength]); _name = buildPath(path, toUTF8(fd.cFileName[0 .. clength])); _size = (cast(ulong)fd.nFileSizeHigh << 32) | fd.nFileSizeLow; _timeCreated = std.datetime.FILETIMEToSysTime(&fd.ftCreationTime); _timeLastAccessed = std.datetime.FILETIMEToSysTime(&fd.ftLastAccessTime); _timeLastModified = std.datetime.FILETIMEToSysTime(&fd.ftLastWriteTime); _attributes = fd.dwFileAttributes; } @property string name() const pure nothrow { return _name; } @property bool isDir() const pure nothrow { return (attributes & FILE_ATTRIBUTE_DIRECTORY) != 0; } @property bool isFile() const pure nothrow { //Are there no options in Windows other than directory and file? //If there are, then this probably isn't the best way to determine //whether this DirEntry is a file or not. return !isDir; } @property bool isSymlink() const pure nothrow { return (attributes & FILE_ATTRIBUTE_REPARSE_POINT) != 0; } @property ulong size() const pure nothrow { return _size; } @property SysTime timeCreated() const pure nothrow { return cast(SysTime)_timeCreated; } @property SysTime timeLastAccessed() const pure nothrow { return cast(SysTime)_timeLastAccessed; } @property SysTime timeLastModified() const pure nothrow { return cast(SysTime)_timeLastModified; } @property uint attributes() const pure nothrow { return _attributes; } @property uint linkAttributes() const pure nothrow { return _attributes; } private: string _name; /// The file or directory represented by this DirEntry. SysTime _timeCreated; /// The time when the file was created. SysTime _timeLastAccessed; /// The time when the file was last accessed. SysTime _timeLastModified; /// The time when the file was last modified. ulong _size; /// The size of the file in bytes. uint _attributes; /// The file attributes from WIN32_FIND_DATAW. } } else version(Posix) { struct DirEntry { public: alias name this; this(string path) { if (!path.exists) throw new FileException(path, "File does not exist"); _name = path; _didLStat = false; _didStat = false; _dTypeSet = false; } private this(string path, core.sys.posix.dirent.dirent* fd) { import std.path : buildPath; immutable len = core.stdc.string.strlen(fd.d_name.ptr); _name = buildPath(path, fd.d_name[0 .. len]); _didLStat = false; _didStat = false; //fd_d_type doesn't work for all file systems, //in which case the result is DT_UNKOWN. But we //can determine the correct type from lstat, so //we'll only set the dtype here if we could //correctly determine it (not lstat in the case //of DT_UNKNOWN in case we don't ever actually //need the dtype, thus potentially avoiding the //cost of calling lstat). static if (__traits(compiles, fd.d_type != DT_UNKNOWN)) { if (fd.d_type != DT_UNKNOWN) { _dType = fd.d_type; _dTypeSet = true; } else _dTypeSet = false; } else { // e.g. Solaris does not have the d_type member _dTypeSet = false; } } @property string name() const pure nothrow { return _name; } @property bool isDir() { _ensureStatOrLStatDone(); return (_statBuf.st_mode & S_IFMT) == S_IFDIR; } @property bool isFile() { _ensureStatOrLStatDone(); return (_statBuf.st_mode & S_IFMT) == S_IFREG; } @property bool isSymlink() { _ensureLStatDone(); return (_lstatMode & S_IFMT) == S_IFLNK; } @property ulong size() { _ensureStatDone(); return _statBuf.st_size; } @property SysTime timeStatusChanged() { _ensureStatDone(); return statTimeToStdTime!'c'(_statBuf); } @property SysTime timeLastAccessed() { _ensureStatDone(); return statTimeToStdTime!'a'(_statBuf); } @property SysTime timeLastModified() { _ensureStatDone(); return statTimeToStdTime!'m'(_statBuf); } @property uint attributes() { _ensureStatDone(); return _statBuf.st_mode; } @property uint linkAttributes() { _ensureLStatDone(); return _lstatMode; } @property stat_t statBuf() { _ensureStatDone(); return _statBuf; } private: /++ This is to support lazy evaluation, because doing stat's is expensive and not always needed. +/ void _ensureStatDone() @safe { import std.exception : enforce; static auto trustedStat(in char[] path, stat_t* buf) @trusted { return stat(path.tempCString(), buf); } if (_didStat) return; enforce(trustedStat(_name, &_statBuf) == 0, "Failed to stat file `" ~ _name ~ "'"); _didStat = true; } /++ This is to support lazy evaluation, because doing stat's is expensive and not always needed. Try both stat and lstat for isFile and isDir to detect broken symlinks. +/ void _ensureStatOrLStatDone() { if (_didStat) return; if ( stat(_name.tempCString(), &_statBuf) != 0 ) { _ensureLStatDone(); _statBuf = stat_t.init; _statBuf.st_mode = S_IFLNK; } else { _didStat = true; } } /++ This is to support lazy evaluation, because doing stat's is expensive and not always needed. +/ void _ensureLStatDone() { import std.exception : enforce; if (_didLStat) return; stat_t statbuf = void; enforce(lstat(_name.tempCString(), &statbuf) == 0, "Failed to stat file `" ~ _name ~ "'"); _lstatMode = statbuf.st_mode; _dTypeSet = true; _didLStat = true; } string _name; /// The file or directory represented by this DirEntry. stat_t _statBuf = void; /// The result of stat(). uint _lstatMode; /// The stat mode from lstat(). ubyte _dType; /// The type of the file. bool _didLStat = false; /// Whether lstat() has been called for this DirEntry. bool _didStat = false; /// Whether stat() has been called for this DirEntry. bool _dTypeSet = false; /// Whether the dType of the file has been set. } } @system unittest { version(Windows) { if ("C:\\Program Files\\".exists) { auto de = DirEntry("C:\\Program Files\\"); assert(!de.isFile); assert(de.isDir); assert(!de.isSymlink); } if ("C:\\Users\\".exists && "C:\\Documents and Settings\\".exists) { auto de = DirEntry("C:\\Documents and Settings\\"); assert(de.isSymlink); } if ("C:\\Windows\\system.ini".exists) { auto de = DirEntry("C:\\Windows\\system.ini"); assert(de.isFile); assert(!de.isDir); assert(!de.isSymlink); } } else version(Posix) { import std.exception : assertThrown; if (system_directory.exists) { { auto de = DirEntry(system_directory); assert(!de.isFile); assert(de.isDir); assert(!de.isSymlink); } immutable symfile = deleteme ~ "_slink\0"; scope(exit) if (symfile.exists) symfile.remove(); core.sys.posix.unistd.symlink(system_directory, symfile.ptr); { auto de = DirEntry(symfile); assert(!de.isFile); assert(de.isDir); assert(de.isSymlink); } symfile.remove(); core.sys.posix.unistd.symlink((deleteme ~ "_broken_symlink\0").ptr, symfile.ptr); { //Issue 8298 DirEntry de = DirEntry(symfile); assert(!de.isFile); assert(!de.isDir); assert(de.isSymlink); assertThrown(de.size); assertThrown(de.timeStatusChanged); assertThrown(de.timeLastAccessed); assertThrown(de.timeLastModified); assertThrown(de.attributes); assertThrown(de.statBuf); assert(symfile.exists); symfile.remove(); } } if (system_file.exists) { auto de = DirEntry(system_file); assert(de.isFile); assert(!de.isDir); assert(!de.isSymlink); } } } alias PreserveAttributes = Flag!"preserveAttributes"; version (StdDdoc) { /// Defaults to $(D Yes.preserveAttributes) on Windows, and the opposite on all other platforms. PreserveAttributes preserveAttributesDefault; } else version(Windows) { enum preserveAttributesDefault = Yes.preserveAttributes; } else { enum preserveAttributesDefault = No.preserveAttributes; } /*************************************************** Copy file $(D from) to file $(D to). File timestamps are preserved. File attributes are preserved, if $(D preserve) equals $(D Yes.preserveAttributes). On Windows only $(D Yes.preserveAttributes) (the default on Windows) is supported. If the target file exists, it is overwritten. Params: from = string or range of characters representing the existing file name to = string or range of characters representing the target file name preserve = whether to preserve the file attributes Throws: $(D FileException) on error. */ void copy(RF, RT)(RF from, RT to, PreserveAttributes preserve = preserveAttributesDefault) if (isInputRange!RF && isSomeChar!(ElementEncodingType!RF) && !isConvertibleToString!RF && isInputRange!RT && isSomeChar!(ElementEncodingType!RT) && !isConvertibleToString!RT) { // Place outside of @trusted block auto fromz = from.tempCString!FSChar(); auto toz = to.tempCString!FSChar(); static if (isNarrowString!RF && is(Unqual!(ElementEncodingType!RF) == char)) alias f = from; else enum string f = null; static if (isNarrowString!RT && is(Unqual!(ElementEncodingType!RT) == char)) alias t = to; else enum string t = null; copyImpl(f, t, fromz, toz, preserve); } void copy(RF, RT)(auto ref RF from, auto ref RT to, PreserveAttributes preserve = preserveAttributesDefault) if (isConvertibleToString!RF || isConvertibleToString!RT) { import std.meta : staticMap; alias Types = staticMap!(convertToString, RF, RT); copy!Types(from, to, preserve); } @safe unittest // issue 15319 { assert(__traits(compiles, copy("from.txt", "to.txt"))); } private void copyImpl(const(char)[] f, const(char)[] t, const(FSChar)* fromz, const(FSChar)* toz, PreserveAttributes preserve) @trusted { version(Windows) { assert(preserve == Yes.preserve); immutable result = CopyFileW(fromz, toz, false); if (!result) { import core.stdc.wchar_ : wcslen; import std.conv : to; if (!t) t = to!(typeof(t))(toz[0 .. wcslen(toz)]); throw new FileException(t); } } else version(Posix) { static import core.stdc.stdio; import std.conv : to, octal; immutable fdr = core.sys.posix.fcntl.open(fromz, O_RDONLY); cenforce(fdr != -1, f, fromz); scope(exit) core.sys.posix.unistd.close(fdr); stat_t statbufr = void; cenforce(fstat(fdr, &statbufr) == 0, f, fromz); //cenforce(core.sys.posix.sys.stat.fstat(fdr, &statbufr) == 0, f, fromz); immutable fdw = core.sys.posix.fcntl.open(toz, O_CREAT | O_WRONLY, octal!666); cenforce(fdw != -1, t, toz); { scope(failure) core.sys.posix.unistd.close(fdw); stat_t statbufw = void; cenforce(fstat(fdw, &statbufw) == 0, t, toz); if (statbufr.st_dev == statbufw.st_dev && statbufr.st_ino == statbufw.st_ino) throw new FileException(t, "Source and destination are the same file"); } scope(failure) core.stdc.stdio.remove(toz); { scope(failure) core.sys.posix.unistd.close(fdw); cenforce(ftruncate(fdw, 0) == 0, t, toz); auto BUFSIZ = 4096u * 16; auto buf = core.stdc.stdlib.malloc(BUFSIZ); if (!buf) { BUFSIZ = 4096; buf = core.stdc.stdlib.malloc(BUFSIZ); if (!buf) { import core.exception : onOutOfMemoryError; onOutOfMemoryError(); } } scope(exit) core.stdc.stdlib.free(buf); for (auto size = statbufr.st_size; size; ) { immutable toxfer = (size > BUFSIZ) ? BUFSIZ : cast(size_t) size; cenforce( core.sys.posix.unistd.read(fdr, buf, toxfer) == toxfer && core.sys.posix.unistd.write(fdw, buf, toxfer) == toxfer, f, fromz); assert(size >= toxfer); size -= toxfer; } if (preserve) cenforce(fchmod(fdw, to!mode_t(statbufr.st_mode)) == 0, f, fromz); } cenforce(core.sys.posix.unistd.close(fdw) != -1, f, fromz); utimbuf utim = void; utim.actime = cast(time_t)statbufr.st_atime; utim.modtime = cast(time_t)statbufr.st_mtime; cenforce(utime(toz, &utim) != -1, f, fromz); } } @safe unittest { import std.algorithm, std.file; // issue 14817 auto t1 = deleteme, t2 = deleteme~"2"; scope(exit) foreach (t; [t1, t2]) if (t.exists) t.remove(); write(t1, "11"); copy(t1, t2); assert(readText(t2) == "11"); write(t1, "2"); copy(t1, t2); assert(readText(t2) == "2"); import std.utf : byChar; copy(t1.byChar, t2.byChar); assert(readText(t2.byChar) == "2"); } @safe version(Posix) unittest //issue 11434 { import std.conv : octal; auto t1 = deleteme, t2 = deleteme~"2"; scope(exit) foreach (t; [t1, t2]) if (t.exists) t.remove(); write(t1, "1"); setAttributes(t1, octal!767); copy(t1, t2, Yes.preserveAttributes); assert(readText(t2) == "1"); assert(getAttributes(t2) == octal!100767); } @safe unittest // issue 15865 { import std.exception : assertThrown; auto t = deleteme; write(t, "a"); scope(exit) t.remove(); assertThrown!FileException(copy(t, t)); assert(readText(t) == "a"); } /++ Remove directory and all of its content and subdirectories, recursively. Throws: $(D FileException) if there is an error (including if the given file is not a directory). +/ void rmdirRecurse(in char[] pathname) { //No references to pathname will be kept after rmdirRecurse, //so the cast is safe rmdirRecurse(DirEntry(cast(string)pathname)); } /++ Remove directory and all of its content and subdirectories, recursively. Throws: $(D FileException) if there is an error (including if the given file is not a directory). +/ void rmdirRecurse(ref DirEntry de) { if (!de.isDir) throw new FileException(de.name, "Not a directory"); if (de.isSymlink) { version (Windows) rmdir(de.name); else remove(de.name); } else { // all children, recursively depth-first foreach (DirEntry e; dirEntries(de.name, SpanMode.depth, false)) { attrIsDir(e.linkAttributes) ? rmdir(e.name) : remove(e.name); } // the dir itself rmdir(de.name); } } ///ditto //Note, without this overload, passing an RValue DirEntry still works, but //actually fully reconstructs a DirEntry inside the //"rmdirRecurse(in char[] pathname)" implementation. That is needlessly //expensive. //A DirEntry is a bit big (72B), so keeping the "by ref" signature is desirable. void rmdirRecurse(DirEntry de) { rmdirRecurse(de); } version(Windows) @system unittest { import std.exception : enforce; auto d = deleteme ~ r".dir\a\b\c\d\e\f\g"; mkdirRecurse(d); rmdirRecurse(deleteme ~ ".dir"); enforce(!exists(deleteme ~ ".dir")); } version(Posix) @system unittest { import std.exception : enforce, collectException; import std.process : executeShell; collectException(rmdirRecurse(deleteme)); auto d = deleteme~"/a/b/c/d/e/f/g"; enforce(collectException(mkdir(d))); mkdirRecurse(d); core.sys.posix.unistd.symlink((deleteme~"/a/b/c\0").ptr, (deleteme~"/link\0").ptr); rmdirRecurse(deleteme~"/link"); enforce(exists(d)); rmdirRecurse(deleteme); enforce(!exists(deleteme)); d = deleteme~"/a/b/c/d/e/f/g"; mkdirRecurse(d); version(Android) string link_cmd = "ln -s "; else string link_cmd = "ln -sf "; executeShell(link_cmd~deleteme~"/a/b/c "~deleteme~"/link"); rmdirRecurse(deleteme); enforce(!exists(deleteme)); } @system unittest { void[] buf; buf = new void[10]; (cast(byte[])buf)[] = 3; string unit_file = deleteme ~ "-unittest_write.tmp"; if (exists(unit_file)) remove(unit_file); write(unit_file, buf); void[] buf2 = read(unit_file); assert(buf == buf2); string unit2_file = deleteme ~ "-unittest_write2.tmp"; copy(unit_file, unit2_file); buf2 = read(unit2_file); assert(buf == buf2); remove(unit_file); assert(!exists(unit_file)); remove(unit2_file); assert(!exists(unit2_file)); } /** * Dictates directory spanning policy for $(D_PARAM dirEntries) (see below). */ enum SpanMode { /** Only spans one directory. */ shallow, /** Spans the directory depth-first, i.e. the content of any subdirectory is spanned before that subdirectory itself. Useful e.g. when recursively deleting files. */ depth, /** Spans the directory breadth-first, i.e. the content of any subdirectory is spanned right after that subdirectory itself. */ breadth, } private struct DirIteratorImpl { import std.array : Appender, appender; SpanMode _mode; // Whether we should follow symlinked directories while iterating. // It also indicates whether we should avoid functions which call // stat (since we should only need lstat in this case and it would // be more efficient to not call stat in addition to lstat). bool _followSymlink; DirEntry _cur; Appender!(DirHandle[]) _stack; Appender!(DirEntry[]) _stashed; //used in depth first mode //stack helpers void pushExtra(DirEntry de){ _stashed.put(de); } //ditto bool hasExtra(){ return !_stashed.data.empty; } //ditto DirEntry popExtra() { DirEntry de; de = _stashed.data[$-1]; _stashed.shrinkTo(_stashed.data.length - 1); return de; } version(Windows) { struct DirHandle { string dirpath; HANDLE h; } bool stepIn(string directory) { import std.path : chainPath; auto search_pattern = chainPath(directory, "*.*"); WIN32_FIND_DATAW findinfo; HANDLE h = FindFirstFileW(search_pattern.tempCString!FSChar(), &findinfo); cenforce(h != INVALID_HANDLE_VALUE, directory); _stack.put(DirHandle(directory, h)); return toNext(false, &findinfo); } bool next() { if (_stack.data.empty) return false; WIN32_FIND_DATAW findinfo; return toNext(true, &findinfo); } bool toNext(bool fetch, WIN32_FIND_DATAW* findinfo) { import core.stdc.wchar_ : wcscmp; if (fetch) { if (FindNextFileW(_stack.data[$-1].h, findinfo) == FALSE) { popDirStack(); return false; } } while ( wcscmp(findinfo.cFileName.ptr, ".") == 0 || wcscmp(findinfo.cFileName.ptr, "..") == 0) if (FindNextFileW(_stack.data[$-1].h, findinfo) == FALSE) { popDirStack(); return false; } _cur = DirEntry(_stack.data[$-1].dirpath, findinfo); return true; } void popDirStack() { assert(!_stack.data.empty); FindClose(_stack.data[$-1].h); _stack.shrinkTo(_stack.data.length-1); } void releaseDirStack() { foreach ( d; _stack.data) FindClose(d.h); } bool mayStepIn() { return _followSymlink ? _cur.isDir : _cur.isDir && !_cur.isSymlink; } } else version(Posix) { struct DirHandle { string dirpath; DIR* h; } bool stepIn(string directory) { auto h = directory.length ? opendir(directory.tempCString()) : opendir("."); cenforce(h, directory); _stack.put(DirHandle(directory, h)); return next(); } bool next() { if (_stack.data.empty) return false; for (dirent* fdata; (fdata = readdir(_stack.data[$-1].h)) != null; ) { // Skip "." and ".." if (core.stdc.string.strcmp(fdata.d_name.ptr, ".") && core.stdc.string.strcmp(fdata.d_name.ptr, "..") ) { _cur = DirEntry(_stack.data[$-1].dirpath, fdata); return true; } } popDirStack(); return false; } void popDirStack() { assert(!_stack.data.empty); closedir(_stack.data[$-1].h); _stack.shrinkTo(_stack.data.length-1); } void releaseDirStack() { foreach ( d; _stack.data) closedir(d.h); } bool mayStepIn() { return _followSymlink ? _cur.isDir : attrIsDir(_cur.linkAttributes); } } this(R)(R pathname, SpanMode mode, bool followSymlink) if (isInputRange!R && isSomeChar!(ElementEncodingType!R)) { _mode = mode; _followSymlink = followSymlink; _stack = appender(cast(DirHandle[])[]); if (_mode == SpanMode.depth) _stashed = appender(cast(DirEntry[])[]); static if (isNarrowString!R && is(Unqual!(ElementEncodingType!R) == char)) alias pathnameStr = pathname; else { import std.array : array; string pathnameStr = pathname.array; } if (stepIn(pathnameStr)) { if (_mode == SpanMode.depth) while (mayStepIn()) { auto thisDir = _cur; if (stepIn(_cur.name)) { pushExtra(thisDir); } else break; } } } @property bool empty(){ return _stashed.data.empty && _stack.data.empty; } @property DirEntry front(){ return _cur; } void popFront() { switch (_mode) { case SpanMode.depth: if (next()) { while (mayStepIn()) { auto thisDir = _cur; if (stepIn(_cur.name)) { pushExtra(thisDir); } else break; } } else if (hasExtra()) _cur = popExtra(); break; case SpanMode.breadth: if (mayStepIn()) { if (!stepIn(_cur.name)) while (!empty && !next()){} } else while (!empty && !next()){} break; default: next(); } } ~this() { releaseDirStack(); } } struct DirIterator { private: RefCounted!(DirIteratorImpl, RefCountedAutoInitialize.no) impl; this(string pathname, SpanMode mode, bool followSymlink) { impl = typeof(impl)(pathname, mode, followSymlink); } public: @property bool empty(){ return impl.empty; } @property DirEntry front(){ return impl.front; } void popFront(){ impl.popFront(); } } /++ Returns an input range of DirEntry that lazily iterates a given directory, also provides two ways of foreach iteration. The iteration variable can be of type $(D_PARAM string) if only the name is needed, or $(D_PARAM DirEntry) if additional details are needed. The span mode dictates the how the directory is traversed. The name of the each directory entry iterated contains the absolute path. Params: path = The directory to iterate over. If empty, the current directory will be iterated. mode = Whether the directory's sub-directories should be iterated over depth-first ($(D_PARAM depth)), breadth-first ($(D_PARAM breadth)), or not at all ($(D_PARAM shallow)). followSymlink = Whether symbolic links which point to directories should be treated as directories and their contents iterated over. Throws: $(D FileException) if the directory does not exist. Example: -------------------- // Iterate a directory in depth foreach (string name; dirEntries("destroy/me", SpanMode.depth)) { remove(name); } // Iterate the current directory in breadth foreach (string name; dirEntries("", SpanMode.breadth)) { writeln(name); } // Iterate a directory and get detailed info about it foreach (DirEntry e; dirEntries("dmd-testing", SpanMode.breadth)) { writeln(e.name, "\t", e.size); } // Iterate over all *.d files in current directory and all its subdirectories auto dFiles = dirEntries("", SpanMode.depth).filter!(f => f.name.endsWith(".d")); foreach (d; dFiles) writeln(d.name); // Hook it up with std.parallelism to compile them all in parallel: foreach (d; parallel(dFiles, 1)) //passes by 1 file to each thread { string cmd = "dmd -c " ~ d.name; writeln(cmd); std.process.system(cmd); } -------------------- +/ auto dirEntries(string path, SpanMode mode, bool followSymlink = true) { return DirIterator(path, mode, followSymlink); } /// Duplicate functionality of D1's $(D std.file.listdir()): @safe unittest { string[] listdir(string pathname) { import std.file; import std.path; import std.algorithm; import std.array; return std.file.dirEntries(pathname, SpanMode.shallow) .filter!(a => a.isFile) .map!(a => std.path.baseName(a.name)) .array; } void main(string[] args) { import std.stdio; string[] files = listdir(args[1]); writefln("%s", files); } } @system unittest { import std.algorithm.comparison : equal; import std.algorithm.iteration : map; import std.algorithm.searching : startsWith; import std.array : array; import std.conv : to; import std.path : dirEntries, buildPath, absolutePath; import std.process : thisProcessID; import std.range.primitives : walkLength; version(Android) string testdir = deleteme; // This has to be an absolute path when // called from a shared library on Android, // ie an apk else string testdir = "deleteme.dmd.unittest.std.file" ~ to!string(thisProcessID); // needs to be relative mkdirRecurse(buildPath(testdir, "somedir")); scope(exit) rmdirRecurse(testdir); write(buildPath(testdir, "somefile"), null); write(buildPath(testdir, "somedir", "somedeepfile"), null); // testing range interface size_t equalEntries(string relpath, SpanMode mode) { import std.exception : enforce; auto len = enforce(walkLength(dirEntries(absolutePath(relpath), mode))); assert(walkLength(dirEntries(relpath, mode)) == len); assert(equal( map!(a => absolutePath(a.name))(dirEntries(relpath, mode)), map!(a => a.name)(dirEntries(absolutePath(relpath), mode)))); return len; } assert(equalEntries(testdir, SpanMode.shallow) == 2); assert(equalEntries(testdir, SpanMode.depth) == 3); assert(equalEntries(testdir, SpanMode.breadth) == 3); // testing opApply foreach (string name; dirEntries(testdir, SpanMode.breadth)) { //writeln(name); assert(name.startsWith(testdir)); } foreach (DirEntry e; dirEntries(absolutePath(testdir), SpanMode.breadth)) { //writeln(name); assert(e.isFile || e.isDir, e.name); } //issue 7264 foreach (string name; dirEntries(testdir, "*.d", SpanMode.breadth)) { } foreach (entry; dirEntries(testdir, SpanMode.breadth)) { static assert(is(typeof(entry) == DirEntry)); } //issue 7138 auto a = array(dirEntries(testdir, SpanMode.shallow)); // issue 11392 auto dFiles = dirEntries(testdir, SpanMode.shallow); foreach (d; dFiles){} // issue 15146 dirEntries("", SpanMode.shallow).walkLength(); } /++ Convenience wrapper for filtering file names with a glob pattern. Params: path = The directory to iterate over. pattern = String with wildcards, such as $(RED "*.d"). The supported wildcard strings are described under $(REF globMatch, std,_path). mode = Whether the directory's sub-directories should be iterated over depth-first ($(D_PARAM depth)), breadth-first ($(D_PARAM breadth)), or not at all ($(D_PARAM shallow)). followSymlink = Whether symbolic links which point to directories should be treated as directories and their contents iterated over. Throws: $(D FileException) if the directory does not exist. Example: -------------------- // Iterate over all D source files in current directory and all its // subdirectories auto dFiles = dirEntries("","*.{d,di}",SpanMode.depth); foreach (d; dFiles) writeln(d.name); -------------------- +/ auto dirEntries(string path, string pattern, SpanMode mode, bool followSymlink = true) { import std.algorithm.iteration : filter; import std.path : globMatch, baseName; bool f(DirEntry de) { return globMatch(baseName(de.name), pattern); } return filter!f(DirIterator(path, mode, followSymlink)); } @system unittest { import std.stdio : writefln; immutable dpath = deleteme ~ "_dir"; immutable fpath = deleteme ~ "_file"; immutable sdpath = deleteme ~ "_sdir"; immutable sfpath = deleteme ~ "_sfile"; scope(exit) { if (dpath.exists) rmdirRecurse(dpath); if (fpath.exists) remove(fpath); if (sdpath.exists) remove(sdpath); if (sfpath.exists) remove(sfpath); } mkdir(dpath); write(fpath, "hello world"); version (Posix) { core.sys.posix.unistd.symlink((dpath ~ '\0').ptr, (sdpath ~ '\0').ptr); core.sys.posix.unistd.symlink((fpath ~ '\0').ptr, (sfpath ~ '\0').ptr); } static struct Flags { bool dir, file, link; } auto tests = [dpath : Flags(true), fpath : Flags(false, true)]; version (Posix) { tests[sdpath] = Flags(true, false, true); tests[sfpath] = Flags(false, true, true); } auto past = Clock.currTime() - 2.seconds; auto future = past + 4.seconds; foreach (path, flags; tests) { auto de = DirEntry(path); assert(de.name == path); assert(de.isDir == flags.dir); assert(de.isFile == flags.file); assert(de.isSymlink == flags.link); assert(de.isDir == path.isDir); assert(de.isFile == path.isFile); assert(de.isSymlink == path.isSymlink); assert(de.size == path.getSize()); assert(de.attributes == getAttributes(path)); assert(de.linkAttributes == getLinkAttributes(path)); scope(failure) writefln("[%s] [%s] [%s] [%s]", past, de.timeLastAccessed, de.timeLastModified, future); assert(de.timeLastAccessed > past); assert(de.timeLastAccessed < future); assert(de.timeLastModified > past); assert(de.timeLastModified < future); assert(attrIsDir(de.attributes) == flags.dir); assert(attrIsDir(de.linkAttributes) == (flags.dir && !flags.link)); assert(attrIsFile(de.attributes) == flags.file); assert(attrIsFile(de.linkAttributes) == (flags.file && !flags.link)); assert(!attrIsSymlink(de.attributes)); assert(attrIsSymlink(de.linkAttributes) == flags.link); version(Windows) { assert(de.timeCreated > past); assert(de.timeCreated < future); } else version(Posix) { assert(de.timeStatusChanged > past); assert(de.timeStatusChanged < future); assert(de.attributes == de.statBuf.st_mode); } } } /** * Reads a file line by line and parses the line into a single value or a * $(REF Tuple, std,typecons) of values depending on the length of `Types`. * The lines are parsed using the specified format string. The format string is * passed to $(REF formattedRead, std,format), and therefore must conform to the * format string specification outlined in $(MREF format). * * Params: * Types = the types that each of the elements in the line should be returned as * filename = the name of the file to read * format = the format string to use when reading * * Returns: * If only one type is passed, then an array of that type. Otherwise, an * array of $(REF Tuple, std,typecons)s. * * Throws: * `Exception` if the format string is malformed. Also, throws `Exception` * if any of the lines in the file are not fully consumed by the call * to $(REF formattedRead, std,format). Meaning that no empty lines or lines * with extra characters are allowed. */ Select!(Types.length == 1, Types[0][], Tuple!(Types)[]) slurp(Types...)(string filename, in char[] format) { import std.stdio : File; import std.format : formattedRead; import std.array : appender; import std.conv : text; import std.exception : enforce; auto app = appender!(typeof(return))(); ElementType!(typeof(return)) toAdd; auto f = File(filename); scope(exit) f.close(); foreach (line; f.byLine()) { formattedRead(line, format, &toAdd); enforce(line.empty, text("Trailing characters at the end of line: `", line, "'")); app.put(toAdd); } return app.data; } /// @system unittest { scope(exit) { assert(exists(deleteme)); remove(deleteme); } write(deleteme, "12 12.25\n345 1.125"); // deleteme is the name of a temporary file // Load file; each line is an int followed by comma, whitespace and a // double. auto a = slurp!(int, double)(deleteme, "%s %s"); assert(a.length == 2); assert(a[0] == tuple(12, 12.25)); assert(a[1] == tuple(345, 1.125)); } /** Returns the path to a directory for temporary files. On Windows, this function returns the result of calling the Windows API function $(LINK2 http://msdn.microsoft.com/en-us/library/windows/desktop/aa364992.aspx, $(D GetTempPath)). On POSIX platforms, it searches through the following list of directories and returns the first one which is found to exist: $(OL $(LI The directory given by the $(D TMPDIR) environment variable.) $(LI The directory given by the $(D TEMP) environment variable.) $(LI The directory given by the $(D TMP) environment variable.) $(LI $(D /tmp)) $(LI $(D /var/tmp)) $(LI $(D /usr/tmp)) ) On all platforms, $(D tempDir) returns $(D ".") on failure, representing the current working directory. The return value of the function is cached, so the procedures described above will only be performed the first time the function is called. All subsequent runs will return the same string, regardless of whether environment variables and directory structures have changed in the meantime. The POSIX $(D tempDir) algorithm is inspired by Python's $(LINK2 http://docs.python.org/library/tempfile.html#tempfile.tempdir, $(D tempfile.tempdir)). */ string tempDir() @trusted { static string cache; if (cache is null) { version(Windows) { import std.utf : toUTF8; // http://msdn.microsoft.com/en-us/library/windows/desktop/aa364992(v=vs.85).aspx wchar[MAX_PATH + 2] buf; DWORD len = GetTempPathW(buf.length, buf.ptr); if (len) cache = toUTF8(buf[0 .. len]); } else version(Android) { // Don't check for a global temporary directory as // Android doesn't have one. } else version(Posix) { import std.process : environment; // This function looks through the list of alternative directories // and returns the first one which exists and is a directory. static string findExistingDir(T...)(lazy T alternatives) { foreach (dir; alternatives) if (!dir.empty && exists(dir)) return dir; return null; } cache = findExistingDir(environment.get("TMPDIR"), environment.get("TEMP"), environment.get("TMP"), "/tmp", "/var/tmp", "/usr/tmp"); } else static assert (false, "Unsupported platform"); if (cache is null) cache = getcwd(); } return cache; }
D
module smidig.rpc; import tested : name; /** * Structure used to register functions which are meant to able to be called * over the network, as well as "call" functions on other hosts, by serializing * the function name passed, as well as the arguments. */ struct RPC { import smidig.collections : HashMap; import smidig.memory : IAllocator, Region, Mallocator, makeArray; import smidig.stream : InputStream, OutputStream; alias WrapperFunction = void delegate(ref InputStream stream); enum RegionSize = 1024 * 8; //8 kilobytes yes private { IAllocator allocator_; Region!Mallocator region_allocator_; HashMap!(string, WrapperFunction) functions_; /* holds temp data */ ubyte[] byte_buffer_; OutputStream out_stream_; } @disable this(); @disable this(this); this(IAllocator allocator) { assert(allocator, "allocator was null?"); this.allocator_ = allocator; this.region_allocator_ = typeof(region_allocator_)(RegionSize); this.functions_ = typeof(functions_)(allocator_, 16); this.byte_buffer_ = region_allocator_.makeArray!ubyte(RegionSize); this.out_stream_ = OutputStream(byte_buffer_); } //this /** * Given the function name and arguments, serializes the arguments * and writes them to the structure's attached output stream. */ void call(Args...)(string name, Args args) { out_stream_.write(name); foreach (param; args) { out_stream_.write(param); } } //call /** * Registers a function with the $(D RPC) struct. */ ref typeof(this) register(string name, WrapperFunction func) { functions_[name] = func; return this; } //register /** * Reads from a given byte buffer, parsing the name and then calling the * corresponding function with the rest of the stream contents. */ void onPull(in ubyte[] data) { auto stream = InputStream(data); while (!stream.eof) { auto name = stream.read!string(); functions_[name](stream); } } //onPull /* push written byte data to where it is to be used, or something? */ void doPush(ref OutputStream stream) { } //doPush } //RPC string generateWrapper(alias F)() { import std.string : format; import std.traits : ParameterTypeTuple; import std.array : appender; import smidig.meta : Identifier; string doReads(ref string[] args) { auto reads = appender!string(); foreach (i, param; ParameterTypeTuple!F) { reads ~= q{auto arg%d = stream.read!(%s)();}.format(i, param.stringof); args ~= q{arg%d}.format(i); } return reads.data; } //do_reads string doArgs(string[] args) { auto in_str = appender!string(); foreach (i, arg; args) { in_str ~= arg; if (i != args.length-1) in_str ~= ","; } return in_str.data; } //do_args string doCall(string[] args) { return q{%s(%s);}.format(Identifier!F, doArgs(args)); } //do_call string[] func_args = []; string str = q{void %s_wrapper(ref InputStream stream) { %s %s }} .format(Identifier!F, doReads(func_args), doCall(func_args)); return str; } //generateWrapper string generateWrappers(Funcs...)() { import std.array : appender; auto str = appender!string(); foreach (fn; Funcs) { str ~= generateWrapper!fn(); } return str.data; } //generateWrappers @name("RPC 1: test calling wrapped function") unittest { bool equal(T)(T[] a1, T[] a2) { foreach (i, ref e; a1) { if (e != a2[i]) return false; } return true; } //equal import std.stdio : writefln; import smidig.memory : theAllocator; import smidig.stream : InputStream, OutputStream; uint input_test; int[] data_test; void hello_world(uint input, int[] data) { input_test = input; data_test = data; } mixin(generateWrapper!(hello_world)); auto rpc = RPC(theAllocator); rpc.register("hello_world", &hello_world_wrapper); int[3] data = [1, 2, 3]; rpc.call("hello_world", 1234, data); // reads from the stream, reads function name first which uses hashmap to call wrapper func. assert(0); /* rpc.onPull(rpc.out_stream_[]); assert(input_test == 1234); assert(equal(data_test, data)); */ }
D
instance DIA_Edda_EXIT(DIA_Proto_End) { npc = VLK_471_Edda; }; /////////////////////////////////////// САРА ///////////////////////////////////////////// //=================================================== instance DIA_Edda_Sarah_Hello(C_Info) { npc = VLK_471_Edda; nr = 1; condition = DIA_Edda_Sarah_MR_Hello_cond; information = DIA_Edda_Sarah_MR_Hello_Info; description = "Привет, Эдда!"; }; func int DIA_Edda_Sarah_MR_Hello_cond() { if (C_HeroIs_Sarah()) { return TRUE; }; }; func void DIA_Edda_Sarah_MR_Hello_Info() { AI_Output(other,self,"DIA_Edda_Sarah_MR_Hello_16_00"); //Привет, Эдда! AI_Output(self,other,"DIA_Edda_Sarah_MR_Hello_17_01"); //Сара! Давненько я тебя не видела. Что, несладкая жизнь в городе, что ты забежала ко мне за ушицей? AI_Output(other,self,"DIA_Edda_Sarah_MR_Hello_16_02"); //А она такая же вкусная? AI_Output(self,other,"DIA_Edda_Sarah_MR_Hello_17_03"); //Можешь сама проверить. Но ты же помнишь правило: будет рыба - будет и уха. Edda_Feed = TRUE; B_LogNote(TOPIC_Misk,TOPIC_Misk_EddaFishSoup); B_LogEntry_Sarah_OldFriends(TOPIC_Sarah_OldFriends_Edda); }; //=================================================== instance DIA_Edda_Sarah_HowAU(C_Info) { npc = VLK_471_Edda; nr = 2; condition = DIA_Edda_Sarah_HowAU_cond; information = DIA_Edda_Sarah_HowAU_Info; description = "Как поживаешь?"; }; func int DIA_Edda_Sarah_HowAU_cond() { if (C_HeroIs_Sarah() && Npc_KnowsInfo(other,DIA_Edda_Sarah_Hello)) { return TRUE; }; }; func void DIA_Edda_Sarah_HowAU_Info() { AI_Output(other,self,"DIA_Edda_Sarah_HowAU_16_00"); //Как поживаешь? AI_Output(self,other,"DIA_Edda_Sarah_HowAU_17_01"); //Все в порядке, спасибо. AI_Output(other,self,"DIA_Edda_Sarah_HowAU_16_02"); //Точно? Выглядишь расстроенной. AI_Output(self,other,"DIA_Edda_Sarah_HowAU_17_03"); //Да вот... Заходил недавно один... гурман. Заявил, что моя уха воняет. AI_Output(self,other,"DIA_Edda_Sarah_HowAU_17_04"); //Стою вот и думаю, может правда, рыба подгнила? Или еще что-то... AI_Output(other,self,"DIA_Edda_Sarah_HowAU_16_05"); //Наглая ложь! Твоя уха лучшая в мире. AI_Output(self,other,"DIA_Edda_Sarah_HowAU_17_06"); //То-то я тебя ни разу не видела, как ты из Порта ушла. AI_Output(other,self,"DIA_Edda_Sarah_HowAU_16_07"); //Мне просто некогда было. А как освободилась - видишь, сразу к тебе прибежала. AI_Output(self,other,"DIA_Edda_Sarah_HowAU_17_08"); //Ах ты, подлиза! Но спасибо на добром слове. AI_Output(self,other,"DIA_Edda_Sarah_HowAU_17_09"); //Только, чего уж кривить душой, свежей рыбы сейчас не хватает. AI_Output(self,other,"DIA_Edda_Sarah_HowAU_17_10"); //Раньше мне Вильям с каждого улова приносил немного, а сейчас ни его, ни Фарима не видно. AI_Output(self,other,"DIA_Edda_Sarah_HowAU_17_11"); //Может, ты и их проведаешь? }; //=================================================== instance DIA_Edda_Sarah_Fishers(C_Info) { npc = VLK_471_Edda; nr = 3; condition = DIA_Edda_Sarah_Fishers_cond; information = DIA_Edda_Sarah_Fishers_Info; description = "Я была у рыбаков."; }; func int DIA_Edda_Sarah_Fishers_cond() { if (C_HeroIs_Sarah() && Npc_KnowsInfo(other,DIA_Edda_Sarah_HowAU) && (VLK_4304_Addon_William.aivar[AIV_TalkedToPlayer] || VLK_4301_Addon_Farim.aivar[AIV_TalkedToPlayer])) { return TRUE; }; }; func void DIA_Edda_Sarah_Fishers_Info() { AI_Output(other,self,"DIA_Edda_Sarah_Fishers_16_00"); //Я была у рыбаков. В ближайшее время рыбы ждать не стоит. AI_Output(other,self,"DIA_Edda_Sarah_Fishers_16_01"); //Говорят, вода холодная и рыба ушла. И шторм может начаться. В общем, пока погода не наладится, рыбы не будет. AI_Output(self,other,"DIA_Edda_Sarah_Fishers_17_02"); //Печально. Но все равно, спасибо за новости. B_GivePlayerXP(XP_Sarah_EddaAboutFishers); }; //=================================================== instance DIA_Edda_Sarah_HelpNadja(C_Info) { npc = VLK_471_Edda; nr = 4; condition = DIA_Edda_Sarah_HelpNadja_cond; information = DIA_Edda_Sarah_HelpNadja_Info; description = "Мне нужно с тобой поговорить насчет Нади."; }; func int DIA_Edda_Sarah_HelpNadja_cond() { if (C_HeroIs_Sarah() && Npc_KnowsInfo(other,DIA_Edda_Sarah_Hello) && (MIS_Sarah_BadHabit == LOG_Running) && MIS_Sarah_BadHabit_VatrasAsked) { return TRUE; }; }; func void DIA_Edda_Sarah_HelpNadja_Info() { AI_Output(other,self,"DIA_Edda_Sarah_HelpNadja_16_00"); //Мне нужно с тобой поговорить насчет Нади. AI_Output(self,other,"DIA_Edda_Sarah_HelpNadja_17_01"); //Да? Что с ней? Давненько она ко мне не заглядывала. AI_Output(other,self,"DIA_Edda_Sarah_HelpNadja_16_02"); //У нее проблемы. AI_Output(self,other,"DIA_Edda_Sarah_HelpNadja_17_03"); //Больше обычного? Во что еще она вляпалась? AI_Output(other,self,"DIA_Edda_Sarah_HelpNadja_16_04"); //Курит болотник. Похоже, она тратит на него все деньги и время. AI_Output(self,other,"DIA_Edda_Sarah_HelpNadja_17_05"); //Оох, бедная девочка. Видать, совсем ей невыносимо стало. AI_Output(self,other,"DIA_Edda_Sarah_HelpNadja_17_06"); //С тех пор, как ты ушла из Портового квартала, она ведь совсем одна осталась... AI_Output(other,self,"DIA_Edda_Sarah_HelpNadja_16_07"); //Эдда, нам нужно ее остановить! Она себя в могилу загонит. Меня она слушать не хочет, а тебя... AI_Output(self,other,"DIA_Edda_Sarah_HelpNadja_17_08"); //Нет. AI_Output(other,self,"DIA_Edda_Sarah_HelpNadja_16_09"); //Что? Почему?! AI_Output(self,other,"DIA_Edda_Sarah_HelpNadja_17_10"); //Я пыталась повлиять на нее много раз. Тебя ставила в пример, уговаривала бросить ее занятие и заняться чем-нибудь приличным. AI_Output(self,other,"DIA_Edda_Sarah_HelpNadja_17_11"); //Но она поставила сама на себе крест. Мне больше нечего ей сказать. MIS_Sarah_BadHabit_EddaAsked = TRUE; B_GivePlayerXP(XP_Sarah_Nadja_EddaTalked); B_LogEntry(TOPIC_Sarah_BadHabit,TOPIC_Sarah_BadHabit_EddaNoHelp); }; /////////////////////////////////////// РУПЕРТ ///////////////////////////////////////////// //=================================================== instance DIA_Edda_Rupert_Hello(C_Info) { npc = VLK_471_Edda; nr = 10; condition = DIA_Edda_Rupert_MR_Hello_cond; information = DIA_Edda_Rupert_MR_Hello_Info; important = TRUE; }; func int DIA_Edda_Rupert_MR_Hello_cond() { if (C_HeroIs_Rupert() && DIA_WhenAsked_cond()) { return TRUE; }; }; func void DIA_Edda_Rupert_MR_Hello_Info() { AI_Output(self,other,"DIA_Edda_Rupert_MR_Hello_17_00"); //Что, опять без гроша в кармане? AI_Output(self,other,"DIA_Edda_Rupert_MR_Hello_17_01"); //Ты знаешь правило - уха в обмен на рыбу. Edda_Feed = TRUE; B_LogNote(TOPIC_Misk,TOPIC_Misk_EddaFishSoup); }; /////////////////////////////////////// ОСТАЛЬНЫЕ ///////////////////////////////////////////// //=================================================== instance DIA_Edda_Tasty(C_Info) { npc = VLK_471_Edda; nr = 20; condition = DIA_Edda_Tasty_cond; information = DIA_Edda_Tasty_Info; description = "Как вкусно пахнет!"; }; func int DIA_Edda_Tasty_cond() { if (!C_HeroIs_Rupert() && !C_HeroIs_Sarah() && !Npc_KnowsInfo(other,DIA_Edda_Stink)) { return TRUE; }; }; func void DIA_Edda_Tasty_Info() { if (hero.voice == 3) { //Одо/Руперт AI_Output(other,self,"DIA_Edda_Tasty_03_00"); //Как вкусно пахнет! } else if (hero.voice == 7) { //Талбин AI_Output(other,self,"DIA_Edda_Tasty_07_00"); //Как вкусно пахнет! } else if (hero.voice == 10) { //Эрол AI_Output(other,self,"DIA_Edda_Tasty_10_00"); //Как вкусно пахнет! } else if (hero.voice == 14) { //Тилл AI_Output(other,self,"DIA_Edda_Tasty_14_00"); //Как вкусно пахнет! } else { //Елена/Сара AI_Output(other,self,"DIA_Edda_Tasty_16_00"); //Как вкусно пахнет! }; AI_Output(self,other,"DIA_Edda_Tasty_17_01"); //Спасибо. Хорошая уха всегда вкусно пахнет. if (hero.voice == 3) { //Одо/Руперт AI_Output(other,self,"DIA_Edda_Tasty_03_02"); //А можно мне попробовать? } else if (hero.voice == 7) { //Талбин AI_Output(other,self,"DIA_Edda_Tasty_07_02"); //А можно мне попробовать? } else if (hero.voice == 10) { //Эрол AI_Output(other,self,"DIA_Edda_Tasty_10_02"); //А можно мне попробовать? } else if (hero.voice == 14) { //Тилл AI_Output(other,self,"DIA_Edda_Tasty_14_02"); //А можно мне попробовать? } else { //Елена/Сара AI_Output(other,self,"DIA_Edda_Tasty_16_02"); //А можно мне попробовать? }; AI_Output(self,other,"DIA_Edda_Tasty_17_03"); //Я варю ее для всех, кто не может сам о себе позаботиться. Но я не могу варить уху без рыбы. AI_Output(self,other,"DIA_Edda_Tasty_17_04"); //Поэтому правило простое: приносишь рыбу - получаешь уху. Edda_Feed = TRUE; B_LogNote(TOPIC_Misk,TOPIC_Misk_EddaFishSoup); }; //=================================================== instance DIA_Edda_Stink(C_Info) { npc = VLK_471_Edda; nr = 21; condition = DIA_Edda_Stink_cond; information = DIA_Edda_Stink_Info; description = "Что за вонь?"; }; func int DIA_Edda_Stink_cond() { if (!C_HeroIs_Rupert() && !C_HeroIs_Sarah() && !Npc_KnowsInfo(other,DIA_Edda_Tasty)) { return TRUE; }; }; func void DIA_Edda_Stink_Info() { if (hero.voice == 3) { //Одо/Руперт AI_Output(other,self,"DIA_Edda_Stink_03_00"); //Что за вонь? } else if (hero.voice == 7) { //Талбин AI_Output(other,self,"DIA_Edda_Stink_07_00"); //Что за вонь? } else if (hero.voice == 10) { //Эрол AI_Output(other,self,"DIA_Edda_Stink_10_00"); //Что за вонь? } else if (hero.voice == 14) { //Тилл AI_Output(other,self,"DIA_Edda_Stink_14_00"); //Что за вонь? } else { //Елена/Сара AI_Output(other,self,"DIA_Edda_Stink_16_00"); //Что за вонь? }; AI_Output(self,other,"DIA_Edda_Stink_17_01"); //Так пахнет рыба и бедняцкая уха. AI_Output(self,other,"DIA_Edda_Stink_17_02"); //Не нравится - отойди. AI_StopProcessInfos(self); }; //=================================================== instance DIA_Edda_StinkSorry(C_Info) { npc = VLK_471_Edda; nr = 22; condition = DIA_Edda_StinkSorry_cond; information = DIA_Edda_StinkSorry_Info; description = "Извини, я..."; }; func int DIA_Edda_StinkSorry_cond() { if (!C_HeroIs_Rupert() && !C_HeroIs_Sarah() && Npc_KnowsInfo(other,DIA_Edda_Stink)) { return TRUE; }; }; func void DIA_Edda_StinkSorry_Info() { Info_ClearChoices(DIA_Edda_StinkSorry); Info_AddChoice(DIA_Edda_StinkSorry,"...просто не люблю рыбу.",DIA_Edda_StinkSorry_DontLikeFish); if (other.aivar[AIV_Gender] == MALE) { Info_AddChoice(DIA_Edda_StinkSorry,"...просто сказал то, что думаю.",DIA_Edda_StinkSorry_BadSoup); Info_AddChoice(DIA_Edda_StinkSorry,"...сказал, не подумав.",DIA_Edda_StinkSorry_DidntThink); } else { Info_AddChoice(DIA_Edda_StinkSorry,"...просто сказала то, что думаю.",DIA_Edda_StinkSorry_BadSoup); Info_AddChoice(DIA_Edda_StinkSorry,"...сказала, не подумав.",DIA_Edda_StinkSorry_DidntThink); }; }; func void DIA_Edda_StinkSorry_DidntThink() { if (hero.voice == 3) { //Одо/Руперт AI_Output(other,self,"DIA_Edda_StinkSorry_DidntThink_03_00"); //Извини, я сказал, не подумав. } else if (hero.voice == 7) { //Талбин AI_Output(other,self,"DIA_Edda_StinkSorry_DidntThink_07_00"); //Извини, я сказал, не подумав. } else if (hero.voice == 10) { //Эрол AI_Output(other,self,"DIA_Edda_StinkSorry_DidntThink_10_00"); //Извини, я сказал, не подумав. } else if (hero.voice == 14) { //Тилл AI_Output(other,self,"DIA_Edda_StinkSorry_DidntThink_14_00"); //Извини, я сказал, не подумав. } else { //Елена/Сара AI_Output(other,self,"DIA_Edda_StinkSorry_DidntThink_16_00"); //Извини, я сказала, не подумав. }; B_GivePlayerXP(XP_Ambient); AI_Output(self,other,"DIA_Edda_StinkSorry_DidntThink_17_01"); //Так думай в другой раз, прежде чем раскрыть рот. Info_ClearChoices(DIA_Edda_StinkSorry); }; func void DIA_Edda_StinkSorry_BadSoup() { if (hero.voice == 3) { //Одо/Руперт AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_03_00"); //Извини, я просто сказал то, что думаю. AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_03_01"); //Я не хотел тебя обидеть. } else if (hero.voice == 7) { //Талбин AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_07_00"); //Извини, я просто сказал то, что думаю. AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_07_01"); //Я не хотел тебя обидеть. } else if (hero.voice == 10) { //Эрол AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_10_00"); //Извини, я просто сказал то, что думаю. AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_10_01"); //Я не хотел тебя обидеть. } else if (hero.voice == 14) { //Тилл AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_14_00"); //Извини, я просто сказал то, что думаю. AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_14_01"); //Я не хотел тебя обидеть. } else { //Елена/Сара AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_16_00"); //Извини, я просто сказала то, что думаю. AI_Output(other,self,"DIA_Edda_StinkSorry_BadSoup_16_01"); //Я не хотела тебя обидеть. }; B_GivePlayerXP(XP_Ambient); AI_Output(self,other,"DIA_Edda_StinkSorry_BadSoup_17_02"); //Я уже сказала: не нравится - отойди. Info_ClearChoices(DIA_Edda_StinkSorry); }; func void DIA_Edda_StinkSorry_DontLikeFish() { if (hero.voice == 3) { //Одо/Руперт AI_Output(other,self,"DIA_Edda_StinkSorry_DontLikeFish_03_00"); //Извини, я просто не люблю рыбу. } else if (hero.voice == 7) { //Талбин AI_Output(other,self,"DIA_Edda_StinkSorry_DontLikeFish_07_00"); //Извини, я просто не люблю рыбу. } else if (hero.voice == 10) { //Эрол AI_Output(other,self,"DIA_Edda_StinkSorry_DontLikeFish_10_00"); //Извини, я просто не люблю рыбу. } else if (hero.voice == 14) { //Тилл AI_Output(other,self,"DIA_Edda_StinkSorry_DontLikeFish_14_00"); //Извини, я просто не люблю рыбу. } else { //Елена/Сара AI_Output(other,self,"DIA_Edda_StinkSorry_DontLikeFish_16_00"); //Извини, я просто не люблю рыбу. }; B_GivePlayerXP(XP_Ambient); AI_Output(self,other,"DIA_Edda_StinkSorry_DontLikeFish_17_01"); //Ну уж прости, не припасла я для тебя никаких деликатесов. AI_Output(self,other,"DIA_Edda_StinkSorry_DontLikeFish_17_02"); //Чем еще прикажешь кормить портовый народ, как не рыбой? Info_ClearChoices(DIA_Edda_StinkSorry); }; //=================================================== instance DIA_Edda_StinkSorryPerm(C_Info) { npc = VLK_471_Edda; nr = 23; condition = DIA_Edda_StinkSorryPerm_cond; information = DIA_Edda_StinkSorryPerm_Info; description = "Еще раз извини."; }; func int DIA_Edda_StinkSorryPerm_cond() { if (!C_HeroIs_Rupert() && !C_HeroIs_Sarah() && Npc_KnowsInfo(other,DIA_Edda_StinkSorry)) { return TRUE; }; }; func void DIA_Edda_StinkSorryPerm_Info() { if (hero.voice == 3) { //Одо/Руперт AI_Output(other,self,"DIA_Edda_StinkSorryPerm_03_00"); //Еще раз извини. } else if (hero.voice == 7) { //Талбин AI_Output(other,self,"DIA_Edda_StinkSorryPerm_07_00"); //Еще раз извини. } else if (hero.voice == 10) { //Эрол AI_Output(other,self,"DIA_Edda_StinkSorryPerm_10_00"); //Еще раз извини. } else if (hero.voice == 14) { //Тилл AI_Output(other,self,"DIA_Edda_StinkSorryPerm_14_00"); //Еще раз извини. } else { //Елена/Сара AI_Output(other,self,"DIA_Edda_StinkSorryPerm_16_00"); //Еще раз извини. }; AI_Output(self,other,"DIA_Edda_StinkSorryPerm_17_01"); //Извиняю. А теперь не мешай мне готовить. AI_StopProcessInfos(self); }; //=================================================== instance DIA_Edda_FishSoup(C_Info) { npc = VLK_471_Edda; nr = 50; condition = DIA_Edda_FishSoup_cond; information = DIA_Edda_FishSoup_Info; description = "Налей мне своей ухи."; permanent = TRUE; }; func int DIA_Edda_FishSoup_cond() { if (Edda_Feed) { return TRUE; }; }; func void DIA_Edda_FishSoup_Info() { if (hero.voice == 3) { //Одо/Руперт AI_Output(other,self,"DIA_Edda_FishSoup_03_00"); //Налей мне своей ухи. } else if (hero.voice == 7) { //Талбин AI_Output(other,self,"DIA_Edda_FishSoup_07_00"); //Налей мне своей ухи. } else if (hero.voice == 10) { //Эрол AI_Output(other,self,"DIA_Edda_FishSoup_10_00"); //Налей мне своей ухи. } else if (hero.voice == 14) { //Тилл AI_Output(other,self,"DIA_Edda_FishSoup_14_00"); //Налей мне своей ухи. } else { //Елена/Сара AI_Output(other,self,"DIA_Edda_FishSoup_16_00"); //Налей мне своей ухи. }; if (!Wld_IsTime(22,0,6,0)) { if (Npc_HasItems(other,ItFo_Fish)) { B_GiveInvItems(other, self, ItFo_Fish,1); AI_Output(self,other,"DIA_Edda_FishSoup_17_01"); //Держи тарелку. B_GiveInvItems(self,other,ItFo_FishSoup,1); } else { AI_Output(self,other,"DIA_Edda_FishSoup_17_02"); //Сначала принеси рыбу. Нет рыбы - нет ухи. }; } else { AI_Output(self,other,"DIA_Edda_FishSoup_17_03"); //Приходи утром. }; };
D
/Users/sitingyo/ReactNative/Project/ios/build/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/Project.build/Objects-normal/x86_64/RNBubbleChartView.o : /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/RNChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/RNBarLineChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNBarChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/RNYAxisChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/combine/RNCombinedChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/pie/RNPieChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bubble/RNBubbleChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/line/RNLineChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/candlestick/RNCandleStickChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNBarChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNHorizontalBarChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/radar/RNRadarChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/scatter/RNScatterChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/BalloonMarker.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/formatters/ChartDateFormatter.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/formatters/LargeValueFormatter.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/utils/BridgeUtils.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/utils/ChartDataSetConfigUtils.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/utils/EntryToDictionaryUtils.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/DataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/combine/CombinedDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/pie/PieDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bubble/BubbleDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/candlestick/CandleDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/line/LineDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/BarDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/radar/RadarDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/scatter/ScatterDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/combine/RNCombinedChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/pie/RNPieChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bubble/RNBubbleChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/line/RNLineChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/candlestick/RNCandleStickChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNBarChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNHorizontalBarChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/radar/RNRadarChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/scatter/RNScatterChartView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/x86_64.swiftmodule /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Modules/Charts.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Headers/SwiftyJSON.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/yoga/Yoga.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBridge.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBridgeModule.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBorderStyle.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTTextDecorationLineType.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTAnimationType.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTFrameUpdate.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBridgeDelegate.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTInvalidating.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTLog.h /Users/sitingyo/ReactNative/Project/ios/Project-Bridging-Header.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTJavaScriptLoader.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTUIManager.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTViewManager.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTEventDispatcher.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTEventEmitter.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTDefines.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTUtils.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/yoga/YGEnums.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/yoga/YGMacros.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTPointerEvents.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Headers/Charts.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/UIView+React.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Headers/SwiftyJSON-Swift.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Headers/Charts-Swift.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTComponent.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTAssert.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTConvert.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTRootView.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Modules/module.modulemap /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Modules/module.modulemap /Users/sitingyo/ReactNative/Project/ios/build/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/Project.build/Objects-normal/x86_64/RNBubbleChartView~partial.swiftmodule : /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/RNChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/RNBarLineChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNBarChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/RNYAxisChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/combine/RNCombinedChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/pie/RNPieChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bubble/RNBubbleChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/line/RNLineChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/candlestick/RNCandleStickChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNBarChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNHorizontalBarChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/radar/RNRadarChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/scatter/RNScatterChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/BalloonMarker.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/formatters/ChartDateFormatter.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/formatters/LargeValueFormatter.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/utils/BridgeUtils.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/utils/ChartDataSetConfigUtils.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/utils/EntryToDictionaryUtils.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/DataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/combine/CombinedDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/pie/PieDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bubble/BubbleDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/candlestick/CandleDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/line/LineDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/BarDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/radar/RadarDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/scatter/ScatterDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/combine/RNCombinedChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/pie/RNPieChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bubble/RNBubbleChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/line/RNLineChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/candlestick/RNCandleStickChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNBarChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNHorizontalBarChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/radar/RNRadarChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/scatter/RNScatterChartView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/x86_64.swiftmodule /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Modules/Charts.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Headers/SwiftyJSON.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/yoga/Yoga.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBridge.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBridgeModule.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBorderStyle.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTTextDecorationLineType.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTAnimationType.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTFrameUpdate.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBridgeDelegate.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTInvalidating.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTLog.h /Users/sitingyo/ReactNative/Project/ios/Project-Bridging-Header.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTJavaScriptLoader.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTUIManager.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTViewManager.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTEventDispatcher.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTEventEmitter.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTDefines.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTUtils.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/yoga/YGEnums.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/yoga/YGMacros.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTPointerEvents.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Headers/Charts.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/UIView+React.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Headers/SwiftyJSON-Swift.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Headers/Charts-Swift.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTComponent.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTAssert.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTConvert.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTRootView.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Modules/module.modulemap /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Modules/module.modulemap /Users/sitingyo/ReactNative/Project/ios/build/Build/Intermediates.noindex/Project.build/Debug-iphonesimulator/Project.build/Objects-normal/x86_64/RNBubbleChartView~partial.swiftdoc : /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/RNChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/RNBarLineChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNBarChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/RNYAxisChartViewBase.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/combine/RNCombinedChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/pie/RNPieChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bubble/RNBubbleChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/line/RNLineChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/candlestick/RNCandleStickChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNBarChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNHorizontalBarChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/radar/RNRadarChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/scatter/RNScatterChartManager.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/BalloonMarker.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/formatters/ChartDateFormatter.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/formatters/LargeValueFormatter.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/utils/BridgeUtils.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/utils/ChartDataSetConfigUtils.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/utils/EntryToDictionaryUtils.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/DataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/combine/CombinedDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/pie/PieDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bubble/BubbleDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/candlestick/CandleDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/line/LineDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/BarDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/radar/RadarDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/scatter/ScatterDataExtract.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/combine/RNCombinedChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/pie/RNPieChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bubble/RNBubbleChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/line/RNLineChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/candlestick/RNCandleStickChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNBarChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/bar/RNHorizontalBarChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/radar/RNRadarChartView.swift /Users/sitingyo/ReactNative/Project/ios/ReactNativeCharts/scatter/RNScatterChartView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Modules/SwiftyJSON.swiftmodule/x86_64.swiftmodule /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Modules/Charts.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Headers/SwiftyJSON.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/yoga/Yoga.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBridge.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBridgeModule.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBorderStyle.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTTextDecorationLineType.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTAnimationType.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTFrameUpdate.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTBridgeDelegate.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTInvalidating.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTLog.h /Users/sitingyo/ReactNative/Project/ios/Project-Bridging-Header.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTJavaScriptLoader.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTUIManager.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTViewManager.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTEventDispatcher.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTEventEmitter.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTDefines.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTUtils.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/yoga/YGEnums.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/yoga/YGMacros.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTPointerEvents.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Headers/Charts.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/UIView+React.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Headers/SwiftyJSON-Swift.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Headers/Charts-Swift.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTComponent.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTAssert.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTConvert.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTRootView.h /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/Modules/module.modulemap /Users/sitingyo/ReactNative/Project/ios/build/Build/Products/Debug-iphonesimulator/Charts.framework/Modules/module.modulemap
D
// PERMUTE_ARGS: -g // EXTRA_CPP_SOURCES: cppb.cpp import core.stdc.stdio; import core.stdc.stdarg; import core.stdc.config; extern (C++) int foob(int i, int j, int k); class C { extern (C++) int bar(int i, int j, int k) { printf("this = %p\n", this); printf("i = %d\n", i); printf("j = %d\n", j); printf("k = %d\n", k); return 1; } } extern (C++) int foo(int i, int j, int k) { printf("i = %d\n", i); printf("j = %d\n", j); printf("k = %d\n", k); assert(i == 1); assert(j == 2); assert(k == 3); return 1; } void test1() { foo(1, 2, 3); auto i = foob(1, 2, 3); assert(i == 7); C c = new C(); c.bar(4, 5, 6); } /****************************************/ extern (C++) interface D { int bar(int i, int j, int k); } extern (C++) D getD(); void test2() { D d = getD(); int i = d.bar(9,10,11); assert(i == 8); } /****************************************/ extern (C++) int callE(E); extern (C++) interface E { int bar(int i, int j, int k); } class F : E { extern (C++) int bar(int i, int j, int k) { printf("F.bar: i = %d\n", i); printf("F.bar: j = %d\n", j); printf("F.bar: k = %d\n", k); assert(i == 11); assert(j == 12); assert(k == 13); return 8; } } void test3() { F f = new F(); int i = callE(f); assert(i == 8); } /****************************************/ extern (C++) void foo4(char* p); void test4() { foo4(null); } /****************************************/ extern(C++) { struct foo5 { int i; int j; void* p; } interface bar5{ foo5 getFoo(int i); } bar5 newBar(); } void test5() { bar5 b = newBar(); foo5 f = b.getFoo(4); printf("f.p = %p, b = %p\n", f.p, cast(void*)b); assert(f.p == cast(void*)b); } /****************************************/ extern(C++) { struct S6 { int i; double d; } union S6_2 { int i; double d; } enum S6_3 { A, B } S6 foo6(); S6_2 foo6_2(); S6_3 foo6_3(); } extern (C) int foosize6(); void test6() { S6 f = foo6(); printf("%d %d\n", foosize6(), S6.sizeof); assert(foosize6() == S6.sizeof); version (X86) { assert(f.i == 42); printf("f.d = %g\n", f.d); assert(f.d == 2.5); assert(foo6_2().i == 42); assert(foo6_3() == S6_3.A); } } /****************************************/ extern (C) int foo7(); struct S { int i; long l; } void test7() { printf("%d %d\n", foo7(), S.sizeof); assert(foo7() == S.sizeof); } /****************************************/ extern (C++) void foo8(const(char)*); void test8() { char c; foo8(&c); } /****************************************/ // 4059 struct elem9 { } extern(C++) void foobar9(elem9*, elem9*); void test9() { elem9 *a; foobar9(a, a); } /****************************************/ struct A11802; struct B11802; extern(C++) class C11802 { int x; void fun(A11802*) { x += 2; } void fun(B11802*) { x *= 2; } } extern(C++) class D11802 : C11802 { override void fun(A11802*) { x += 3; } override void fun(B11802*) { x *= 3; } } extern(C++) void test11802x(D11802); void test11802() { auto x = new D11802(); x.x = 0; test11802x(x); assert(x.x == 9); } /****************************************/ struct S13956 { } extern(C++) void func13956(S13956 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6); extern(C++) void check13956(S13956 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) { assert(arg0 == S13956()); assert(arg1 == 1); assert(arg2 == 2); assert(arg3 == 3); assert(arg4 == 4); assert(arg5 == 5); version (OSX) { version (D_LP64) assert(arg6 == 6); // fails on OSX 32-bit } else assert(arg6 == 6); } void test13956() { func13956(S13956(), 1, 2, 3, 4, 5, 6); } /****************************************/ // 5148 extern (C++) { void foo10(const(char)*, const(char)*); void foo10(const int, const int); void foo10(const char, const char); void foo10(bool, bool); struct MyStructType { } void foo10(const MyStructType s, const MyStructType t); enum MyEnumType { onemember } void foo10(const MyEnumType s, const MyEnumType t); } void test10() { char* p; foo10(p, p); foo10(1,2); foo10('c','d'); MyStructType s; foo10(s,s); MyEnumType e; foo10(e,e); } /****************************************/ extern (C++, N11.M) { void bar11(); } extern (C++, A11.B) { extern (C++, C) { void bar(); }} void test11() { bar11(); A11.B.C.bar(); } /****************************************/ struct Struct10071 { void *p; c_long_double r; } extern(C++) size_t offset10071(); void test10071() { assert(offset10071() == Struct10071.r.offsetof); } /****************************************/ char[100] valistbuffer; extern(C++) void myvprintfx(const(char)* format, va_list va) { vsprintf(valistbuffer.ptr, format, va); } extern(C++) void myvprintf(const(char)*, va_list); extern(C++) void myprintf(const(char)* format, ...) { va_list ap; va_start(ap, format); myvprintf(format, ap); va_end(ap); } void testvalist() { myprintf("hello %d", 999); assert(valistbuffer[0..9] == "hello 999"); } /****************************************/ // 12825 extern(C++) class C12825 { uint a = 0x12345678; } void test12825() { auto c = new C12825(); } /****************************************/ struct S13955a { float a; double b; } struct S13955b { double a; float b; } struct S13955c { float a; float b; } struct S13955d { double a; double b; } extern(C++) void check13955(S13955a a, S13955b b, S13955c c, S13955d d) { assert(a.a == 2); assert(a.b == 4); assert(b.a == 8); assert(b.b == 16); assert(c.a == 32); assert(c.b == 64); assert(d.a == 128); assert(d.b == 256); } extern(C++) void func13955(S13955a a, S13955b b, S13955c c, S13955d d); void test13955() { func13955(S13955a(2, 4), S13955b(8, 16), S13955c(32, 64), S13955d(128, 256)); } /****************************************/ extern(C++) class C13161 { void dummyfunc(); long val_5; uint val_9; } extern(C++) class Test : C13161 { uint val_0; long val_1; } extern(C++) size_t getoffset13161(); extern(C++) class C13161a { void dummyfunc(); c_long_double val_5; uint val_9; } extern(C++) class Testa : C13161a { bool val_0; } extern(C++) size_t getoffset13161a(); void test13161() { assert(getoffset13161() == Test.val_0.offsetof); assert(getoffset13161a() == Testa.val_0.offsetof); } /****************************************/ version (linux) { extern(C++, __gnu_cxx) { struct new_allocator(T) { alias size_type = size_t; static if (is(T : char)) void deallocate(T*, size_type) { } else void deallocate(T*, size_type); } } } extern (C++, std) { struct allocator(T) { version (linux) { alias size_type = size_t; void deallocate(T* p, size_type sz) { (cast(__gnu_cxx.new_allocator!T*)&this).deallocate(p, sz); } } } version (linux) { class vector(T, A = allocator!T) { final void push_back(ref const T); } struct char_traits(T) { } // https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html version (none) { extern (C++, __cxx11) { struct basic_string(T, C = char_traits!T, A = allocator!T) { } } } else { struct basic_string(T, C = char_traits!T, A = allocator!T) { } } struct basic_istream(T, C = char_traits!T) { } struct basic_ostream(T, C = char_traits!T) { } struct basic_iostream(T, C = char_traits!T) { } } class exception { } // 14956 extern(C++, N14956) { struct S14956 { } } } extern (C++) { version (linux) { void foo14(std.vector!(int) p); void foo14a(std.basic_string!(char) *p); void foo14b(std.basic_string!(int) *p); void foo14c(std.basic_istream!(char) *p); void foo14d(std.basic_ostream!(char) *p); void foo14e(std.basic_iostream!(char) *p); void foo14f(std.char_traits!char* x, std.basic_string!char* p, std.basic_string!char* q); } } void test14() { version (linux) { std.vector!int p; foo14(p); foo14a(null); foo14b(null); foo14c(null); foo14d(null); foo14e(null); foo14f(null, null, null); } } version (linux) { void test14a(std.allocator!int * pa) { pa.deallocate(null, 0); } void gun(std.vector!int pa) { int x = 42; pa.push_back(x); } } void test13289() { assert(f13289_cpp_wchar_t('a') == 'A'); assert(f13289_cpp_wchar_t('B') == 'B'); assert(f13289_d_wchar('c') == 'C'); assert(f13289_d_wchar('D') == 'D'); assert(f13289_d_dchar('e') == 'E'); assert(f13289_d_dchar('F') == 'F'); assert(f13289_cpp_test()); } extern(C++) { bool f13289_cpp_test(); version(Posix) { dchar f13289_cpp_wchar_t(dchar); } else version(Windows) { wchar f13289_cpp_wchar_t(wchar); } wchar f13289_d_wchar(wchar ch) { if (ch <= 'z' && ch >= 'a') { return cast(wchar)(ch - ('a' - 'A')); } else { return ch; } } dchar f13289_d_dchar(dchar ch) { if (ch <= 'z' && ch >= 'a') { return ch - ('a' - 'A'); } else { return ch; } } } /****************************************/ version (CRuntime_Microsoft) { struct __c_long_double { this(double d) { ld = d; } double ld; alias ld this; } alias __c_long_double myld; } else alias c_long_double myld; extern (C++) myld testld(myld); void test15() { myld ld = 5.0; ld = testld(ld); assert(ld == 6.0); } /****************************************/ version( Windows ) { alias int x_long; alias uint x_ulong; } else { static if( (void*).sizeof > int.sizeof ) { alias long x_long; alias ulong x_ulong; } else { alias int x_long; alias uint x_ulong; } } struct __c_long { this(x_long d) { ld = d; } x_long ld; alias ld this; } struct __c_ulong { this(x_ulong d) { ld = d; } x_ulong ld; alias ld this; } alias __c_long mylong; alias __c_ulong myulong; extern (C++) mylong testl(mylong); extern (C++) myulong testul(myulong); void test16() { { mylong ld = 5; ld = testl(ld); assert(ld == 5 + mylong.sizeof); } { myulong ld = 5; ld = testul(ld); assert(ld == 5 + myulong.sizeof); } } /****************************************/ struct S13707 { void* a; void* b; this(void* a, void* b) { this.a = a; this.b = b; } } extern(C++) S13707 func13707(); void test13707() { auto p = func13707(); assert(p.a == null); assert(p.b == null); } /****************************************/ struct S13932(int x) { int member; } extern(C++) void func13932(S13932!(-1) s); /****************************************/ extern(C++, N13337.M13337) { struct S13337{} void foo13337(S13337 s); } /****************************************/ // 14195 struct Delegate1(T) {} struct Delegate2(T1, T2) {} template Signature(T) { alias Signature = typeof(*(T.init)); } extern(C++) { alias del1_t = Delegate1!(Signature!(void function())); alias del2_t = Delegate2!(Signature!(int function(float, double)), Signature!(int function(float, double))); void test14195a(del1_t); void test14195b(del2_t); } void test14195() { test14195a(del1_t()); test14195b(del2_t()); } /****************************************/ // 14200 template Tuple14200(T...) { alias Tuple14200 = T; } extern(C++) void test14200a(Tuple14200!(int)); extern(C++) void test14200b(float, Tuple14200!(int, double)); void test14200() { test14200a(1); test14200b(1.0f, 1, 1.0); } /****************************************/ // 14956 extern(C++) void test14956(S14956 s); /****************************************/ // check order of overloads in vtable extern (C++) class Statement {} extern (C++) class ErrorStatement {} extern (C++) class PeelStatement {} extern (C++) class ExpStatement {} extern (C++) class DtorExpStatement {} extern (C++) class Visitor { public: int visit(Statement) { return 1; } int visit(ErrorStatement) { return 2; } int visit(PeelStatement) { return 3; } } extern (C++) class Visitor2 : Visitor { int visit2(ExpStatement) { return 4; } int visit2(DtorExpStatement) { return 5; } } extern(C++) bool testVtableCpp(Visitor2 sv); extern(C++) Visitor2 getVisitor2(); bool testVtableD(Visitor2 sv) { Statement s1; ErrorStatement s2; PeelStatement s3; ExpStatement s4; DtorExpStatement s5; if (sv.visit(s1) != 1) return false; if (sv.visit(s2) != 2) return false; if (sv.visit(s3) != 3) return false; if (sv.visit2(s4) != 4) return false; if (sv.visit2(s5) != 5) return false; return true; } void testVtable() { Visitor2 dinst = new Visitor2; if (!testVtableCpp(dinst)) assert(0); Visitor2 cppinst = getVisitor2(); if (!testVtableD(cppinst)) assert(0); } /****************************************/ /* problems detected by fuzzer */ extern(C++) void fuzz1_cppvararg(long arg10, long arg11, bool arg12); extern(C++) void fuzz1_dvararg(long arg10, long arg11, bool arg12) { fuzz1_checkValues(arg10, arg11, arg12); } extern(C++) void fuzz1_checkValues(long arg10, long arg11, bool arg12) { assert(arg10 == 103); assert(arg11 == 104); assert(arg12 == false); } void fuzz1() { long arg10 = 103; long arg11 = 104; bool arg12 = false; fuzz1_dvararg(arg10, arg11, arg12); fuzz1_cppvararg(arg10, arg11, arg12); } //////// extern(C++) void fuzz2_cppvararg(ulong arg10, ulong arg11, bool arg12); extern(C++) void fuzz2_dvararg(ulong arg10, ulong arg11, bool arg12) { fuzz2_checkValues(arg10, arg11, arg12); } extern(C++) void fuzz2_checkValues(ulong arg10, ulong arg11, bool arg12) { assert(arg10 == 103); assert(arg11 == 104); assert(arg12 == false); } void fuzz2() { ulong arg10 = 103; ulong arg11 = 104; bool arg12 = false; fuzz2_dvararg(arg10, arg11, arg12); fuzz2_cppvararg(arg10, arg11, arg12); } //////// extern(C++) void fuzz3_cppvararg(wchar arg10, wchar arg11, bool arg12); extern(C++) void fuzz3_dvararg(wchar arg10, wchar arg11, bool arg12) { fuzz2_checkValues(arg10, arg11, arg12); } extern(C++) void fuzz3_checkValues(wchar arg10, wchar arg11, bool arg12) { assert(arg10 == 103); assert(arg11 == 104); assert(arg12 == false); } void fuzz3() { wchar arg10 = 103; wchar arg11 = 104; bool arg12 = false; fuzz3_dvararg(arg10, arg11, arg12); fuzz3_cppvararg(arg10, arg11, arg12); } void fuzz() { fuzz1(); fuzz2(); fuzz3(); } /****************************************/ extern (C++) { void throwit(); } void testeh() { printf("testeh()\n"); version (linux) { version (X86_64) { bool caught; try { throwit(); } catch (std.exception e) { caught = true; } assert(caught); } } } /****************************************/ version (linux) { version (X86_64) { bool raii_works = false; struct RAIITest { ~this() { raii_works = true; } } void dFunction() { RAIITest rt; throwit(); } void testeh2() { printf("testeh2()\n"); try { dFunction(); } catch(std.exception e) { assert(raii_works); } } } else void testeh2() { } } else void testeh2() { } /****************************************/ extern (C++) { void throwle(); void throwpe(); } void testeh3() { printf("testeh3()\n"); version (linux) { version (X86_64) { bool caught = false; try { throwle(); } catch (std.exception e) //polymorphism test. { caught = true; } assert(caught); } } } /****************************************/ // 15579 extern (C++) { class Base { //~this() {} void based() { } ubyte x = 4; } interface Interface { int MethodCPP(); int MethodD(); } class Derived : Base, Interface { short y = 5; int MethodCPP(); int MethodD() { printf("Derived.MethodD(): this = %p, x = %d, y = %d\n", this, x, y); Derived p = this; //p = cast(Derived)(cast(void*)p - 16); assert(p.x == 4 || p.x == 7); assert(p.y == 5 || p.y == 8); return 3; } int Method() { return 6; } } Derived cppfoo(Derived); Interface cppfooi(Interface); } void test15579() { Derived d = new Derived(); printf("d = %p\n", d); assert(d.x == 4); assert(d.y == 5); assert((cast(Interface)d).MethodCPP() == 30); assert((cast(Interface)d).MethodD() == 3); assert(d.MethodCPP() == 30); assert(d.MethodD() == 3); assert(d.Method() == 6); d = cppfoo(d); assert(d.x == 7); assert(d.y == 8); printf("d2 = %p\n", d); assert((cast(Interface)d).MethodD() == 3); assert((cast(Interface)d).MethodCPP() == 30); assert(d.Method() == 6); printf("d = %p, i = %p\n", d, cast(Interface)d); Interface i = cppfooi(d); printf("i2: %p\n", i); assert(i.MethodD() == 3); assert(i.MethodCPP() == 30); } /****************************************/ // 15610 extern(C++) class Base2 { int i; void baser() { } } extern(C++) interface Interface2 { abstract void f(); } extern(C++) class Derived2 : Base2, Interface2 { final override void f(); } void test15610() { auto c = new Derived2(); printf("test15610(): c = %p\n", c); c.i = 3; c.f(); } /******************************************/ // 15455 struct X6 { ushort a; ushort b; ubyte c; ubyte d; } static assert(X6.sizeof == 6); struct X8 { ushort a; X6 b; } static assert(X8.sizeof == 8); void test15455a(X8 s) { assert(s.a == 1); assert(s.b.a == 2); assert(s.b.b == 3); assert(s.b.c == 4); assert(s.b.d == 5); } extern (C++) void test15455b(X8 s); void test15455() { X8 s; s.a = 1; s.b.a = 2; s.b.b = 3; s.b.c = 4; s.b.d = 5; test15455a(s); test15455b(s); } /****************************************/ // 15372 extern(C++) int foo15372(T)(T v); void test15372() { version(Windows){} else assert(foo15372!int(1) == 1); } /****************************************/ // 15802 extern(C++) { template Foo15802(T) { static int boo(T v); } } void test15802() { version(Windows){} else assert(Foo15802!(int).boo(1) == 1); } /****************************************/ void main() { test1(); test2(); test3(); test4(); test13956(); test5(); test6(); test10071(); test7(); test8(); test11802(); test9(); test10(); test13955(); test11(); testvalist(); test12825(); test13161(); test14(); test13289(); test15(); test16(); func13707(); func13932(S13932!(-1)(0)); foo13337(S13337()); test14195(); test14200(); test14956(S14956()); testVtable(); fuzz(); testeh(); testeh2(); testeh3(); test15579(); test15610(); test15455(); test15372(); test15802(); printf("Success\n"); }
D
/Users/KittenYang/Documents/Github/NextApp/Build/Intermediates/UnNamedWeibo.build/Debug-iphonesimulator/UnNamedWeibo.build/Objects-normal/x86_64/RAMRotationAnimation.o : /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/RAMAnimatedTabBarController.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/TransitionAniamtions/RAMTransitionItemAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/RAMItemAnimationProtocol.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/RotationAnimation/RAMRotationAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/FrameAnimation/RAMFrameItemAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/FumeAnimation/RAMFumeAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/BounceAnimation/RAMBounceAnimation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Swift.swiftmodule /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/UnNamedWeibo-Bridging-Header.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/HomeTableViewController.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreImage.swiftmodule /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/BaseTableViewController.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WeiboSDK.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest+WeiboUser.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest+WeiboShare.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest+WeiboToken.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBSDKRelationshipButton.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBSDKBasicButton.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBSDKCommentButton.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/CONST.h /Users/KittenYang/Documents/Github/NextApp/Pods/Headers/Public/SKSplashView/SKSplashView.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/UITableViewController+KYSelfSizingPushFix.h /Users/KittenYang/Documents/Github/NextApp/Build/Intermediates/UnNamedWeibo.build/Debug-iphonesimulator/UnNamedWeibo.build/Objects-normal/x86_64/RAMRotationAnimation~partial.swiftmodule : /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/RAMAnimatedTabBarController.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/TransitionAniamtions/RAMTransitionItemAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/RAMItemAnimationProtocol.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/RotationAnimation/RAMRotationAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/FrameAnimation/RAMFrameItemAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/FumeAnimation/RAMFumeAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/BounceAnimation/RAMBounceAnimation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Swift.swiftmodule /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/UnNamedWeibo-Bridging-Header.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/HomeTableViewController.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreImage.swiftmodule /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/BaseTableViewController.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WeiboSDK.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest+WeiboUser.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest+WeiboShare.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest+WeiboToken.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBSDKRelationshipButton.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBSDKBasicButton.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBSDKCommentButton.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/CONST.h /Users/KittenYang/Documents/Github/NextApp/Pods/Headers/Public/SKSplashView/SKSplashView.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/UITableViewController+KYSelfSizingPushFix.h /Users/KittenYang/Documents/Github/NextApp/Build/Intermediates/UnNamedWeibo.build/Debug-iphonesimulator/UnNamedWeibo.build/Objects-normal/x86_64/RAMRotationAnimation~partial.swiftdoc : /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/RAMAnimatedTabBarController.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/TransitionAniamtions/RAMTransitionItemAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/RAMItemAnimationProtocol.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/RotationAnimation/RAMRotationAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/FrameAnimation/RAMFrameItemAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/FumeAnimation/RAMFumeAnimation.swift /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/Animations/BounceAnimation/RAMBounceAnimation.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Swift.swiftmodule /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/RAMAnimatedTabBarController/UnNamedWeibo-Bridging-Header.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/HomeTableViewController.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Security.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreImage.swiftmodule /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/BaseTableViewController.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WeiboSDK.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest+WeiboUser.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest+WeiboShare.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBHttpRequest+WeiboToken.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBSDKRelationshipButton.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBSDKBasicButton.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/libWeiboSDK/WBSDKCommentButton.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/CONST.h /Users/KittenYang/Documents/Github/NextApp/Pods/Headers/Public/SKSplashView/SKSplashView.h /Users/KittenYang/Documents/Github/NextApp/UnNamedWeibo/UITableViewController+KYSelfSizingPushFix.h
D
/Users/jr/Desktop/IOS__project/TagPicture/build/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/KeychainItemAccessibility.o : /Users/jr/Desktop/IOS__project/TagPicture/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/KeychainWrapper.swift /Users/jr/Desktop/IOS__project/TagPicture/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/KeychainItemAccessibility.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Users/jr/Desktop/IOS__project/TagPicture/Pods/Target\ Support\ Files/SwiftKeychainWrapper/SwiftKeychainWrapper-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Users/jr/Desktop/IOS__project/TagPicture/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/SwiftKeychainWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/jr/Desktop/IOS__project/TagPicture/build/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/jr/Desktop/IOS__project/TagPicture/build/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/KeychainItemAccessibility~partial.swiftmodule : /Users/jr/Desktop/IOS__project/TagPicture/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/KeychainWrapper.swift /Users/jr/Desktop/IOS__project/TagPicture/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/KeychainItemAccessibility.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Users/jr/Desktop/IOS__project/TagPicture/Pods/Target\ Support\ Files/SwiftKeychainWrapper/SwiftKeychainWrapper-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Users/jr/Desktop/IOS__project/TagPicture/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/SwiftKeychainWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/jr/Desktop/IOS__project/TagPicture/build/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/jr/Desktop/IOS__project/TagPicture/build/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/Objects-normal/x86_64/KeychainItemAccessibility~partial.swiftdoc : /Users/jr/Desktop/IOS__project/TagPicture/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/KeychainWrapper.swift /Users/jr/Desktop/IOS__project/TagPicture/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/KeychainItemAccessibility.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/alloca.h /Users/jr/Desktop/IOS__project/TagPicture/Pods/Target\ Support\ Files/SwiftKeychainWrapper/SwiftKeychainWrapper-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/clonefile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libgen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Users/jr/Desktop/IOS__project/TagPicture/Pods/SwiftKeychainWrapper/SwiftKeychainWrapper/SwiftKeychainWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/secure/_strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ttydefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Target.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/jr/Desktop/IOS__project/TagPicture/build/Pods.build/Debug-iphonesimulator/SwiftKeychainWrapper.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/** * Code generation 2 * * Includes: * - math operators (+ - * / %) and functions (abs, cos, sqrt) * - 'string' functions (strlen, memcpy, memset) * - pointers (address of / dereference) * - struct assign, constructor, destructor * * Compiler implementation of the * $(LINK2 https://www.dlang.org, D programming language). * * Copyright: Copyright (C) 1984-1998 by Symantec * Copyright (C) 2000-2023 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cod2.d, backend/cod2.d) * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/cod2.d */ module dmd.backend.cod2; import core.stdc.stdio; import core.stdc.stdlib; import core.stdc.string; import dmd.backend.backend; import dmd.backend.cc; import dmd.backend.cdef; import dmd.backend.code; import dmd.backend.code_x86; import dmd.backend.codebuilder; import dmd.backend.mem; import dmd.backend.el; import dmd.backend.global; import dmd.backend.oper; import dmd.backend.ty; import dmd.backend.type; import dmd.backend.xmm; extern (C++): nothrow: @safe: import dmd.backend.cg : segfl, stackfl; __gshared int cdcmp_flag; private extern (D) uint mask(uint m) { return 1 << m; } import dmd.backend.divcoeff : choose_multiplier, udiv_coefficients; /******************************* * Swap two registers. */ private void swap(reg_t *a,reg_t *b) { const tmp = *a; *a = *b; *b = tmp; } /******************************************* * Returns: true if cannot use this EA in anything other than a MOV instruction. */ @trusted bool movOnly(const elem *e) { if (config.exe & EX_OSX64 && config.flags3 & CFG3pic && e.Eoper == OPvar) { const s = e.EV.Vsym; // Fixups for these can only be done with a MOV if (s.Sclass == SC.global || s.Sclass == SC.extern_ || s.Sclass == SC.comdat || s.Sclass == SC.comdef) return true; } return false; } /******************************** * Determine index registers used by addressing mode. * Index is rm of modregrm field. * Returns: * mask of index registers */ regm_t idxregm(const code* c) { const rm = c.Irm; regm_t idxm; if ((rm & 0xC0) != 0xC0) /* if register is not the destination */ { if (I16) { static immutable ubyte[8] idxrm = [mBX|mSI,mBX|mDI,mSI,mDI,mSI,mDI,0,mBX]; idxm = idxrm[rm & 7]; } else { if ((rm & 7) == 4) /* if sib byte */ { const sib = c.Isib; reg_t idxreg = (sib >> 3) & 7; // scaled index reg idxm = mask(idxreg | ((c.Irex & REX_X) ? 8 : 0)); if ((sib & 7) == 5 && (rm & 0xC0) == 0) { } else idxm |= mask((sib & 7) | ((c.Irex & REX_B) ? 8 : 0)); } else idxm = mask((rm & 7) | ((c.Irex & REX_B) ? 8 : 0)); } } return idxm; } /*************************** * Gen code for call to floating point routine. */ @trusted void opdouble(ref CodeBuilder cdb, elem *e,regm_t *pretregs,uint clib) { if (config.inline8087) { orth87(cdb,e,pretregs); return; } regm_t retregs1,retregs2; if (tybasic(e.EV.E1.Ety) == TYfloat) { clib += CLIB.fadd - CLIB.dadd; /* convert to float operation */ retregs1 = FLOATREGS; retregs2 = FLOATREGS2; } else { if (I32) { retregs1 = DOUBLEREGS_32; retregs2 = DOUBLEREGS2_32; } else { retregs1 = mSTACK; retregs2 = DOUBLEREGS_16; } } codelem(cdb,e.EV.E1, &retregs1,false); if (retregs1 & mSTACK) cgstate.stackclean++; scodelem(cdb,e.EV.E2, &retregs2, retregs1 & ~mSTACK, false); if (retregs1 & mSTACK) cgstate.stackclean--; callclib(cdb, e, clib, pretregs, 0); } /***************************** * Handle operators which are more or less orthogonal * ( + - & | ^ ) */ @trusted void cdorth(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { //printf("cdorth(e = %p, *pretregs = %s)\n",e,regm_str(*pretregs)); elem *e1 = e.EV.E1; elem *e2 = e.EV.E2; if (*pretregs == 0) // if don't want result { codelem(cdb,e1,pretregs,false); // eval left leaf *pretregs = 0; // in case they got set codelem(cdb,e2,pretregs,false); return; } const ty = tybasic(e.Ety); const ty1 = tybasic(e1.Ety); if (tyfloating(ty1)) { if (tyvector(ty1) || config.fpxmmregs && tyxmmreg(ty1) && !(*pretregs & mST0) && !(*pretregs & mST01) && !(ty == TYldouble || ty == TYildouble) // watch out for shrinkLongDoubleConstantIfPossible() ) { orthxmm(cdb,e,pretregs); return; } if (config.inline8087) { orth87(cdb,e,pretregs); return; } if (config.exe & EX_windos) { opdouble(cdb,e,pretregs,(e.Eoper == OPadd) ? CLIB.dadd : CLIB.dsub); return; } else { assert(0); } } if (tyxmmreg(ty1)) { orthxmm(cdb,e,pretregs); return; } opcode_t op1, op2; uint mode; __gshared int nest; const ty2 = tybasic(e2.Ety); const e2oper = e2.Eoper; const sz = _tysize[ty]; const isbyte = (sz == 1); code_flags_t word = (!I16 && sz == SHORTSIZE) ? CFopsize : 0; bool test = false; // assume we destroyed lvalue switch (e.Eoper) { case OPadd: mode = 0; op1 = 0x03; op2 = 0x13; break; /* ADD, ADC */ case OPmin: mode = 5; op1 = 0x2B; op2 = 0x1B; break; /* SUB, SBB */ case OPor: mode = 1; op1 = 0x0B; op2 = 0x0B; break; /* OR , OR */ case OPxor: mode = 6; op1 = 0x33; op2 = 0x33; break; /* XOR, XOR */ case OPand: mode = 4; op1 = 0x23; op2 = 0x23; /* AND, AND */ if (tyreg(ty1) && *pretregs == mPSW) /* if flags only */ { test = true; op1 = 0x85; /* TEST */ mode = 0; } break; default: assert(0); } op1 ^= isbyte; /* if byte operation */ // Compute numwords, the number of words to operate on. int numwords = 1; if (!I16) { /* Cannot operate on longs and then do a 'paint' to a far */ /* pointer, because far pointers are 48 bits and longs are 32. */ /* Therefore, numwords can never be 2. */ assert(!(tyfv(ty1) && tyfv(ty2))); if (sz == 2 * REGSIZE) { numwords++; } } else { /* If ty is a TYfptr, but both operands are long, treat the */ /* operation as a long. */ if ((tylong(ty1) || ty1 == TYhptr) && (tylong(ty2) || ty2 == TYhptr)) numwords++; } // Special cases where only flags are set if (test && _tysize[ty1] <= REGSIZE && (e1.Eoper == OPvar || (e1.Eoper == OPind && !e1.Ecount)) && !movOnly(e1) ) { // Handle the case of (var & const) if (e2.Eoper == OPconst && el_signx32(e2)) { code cs = void; cs.Iflags = 0; cs.Irex = 0; getlvalue(cdb,&cs,e1,0); targ_size_t value = e2.EV.Vpointer; if (sz == 2) value &= 0xFFFF; else if (sz == 4) value &= 0xFFFFFFFF; reg_t reg; if (reghasvalue(isbyte ? BYTEREGS : ALLREGS,value,reg)) { code_newreg(&cs, reg); if (I64 && isbyte && reg >= 4) cs.Irex |= REX; } else { if (sz == 8 && !I64) { assert(value == cast(int)value); // sign extend imm32 } op1 = 0xF7; cs.IEV2.Vint = cast(targ_int)value; cs.IFL2 = FLconst; } cs.Iop = op1 ^ isbyte; cs.Iflags |= word | CFpsw; freenode(e1); freenode(e2); cdb.gen(&cs); return; } // Handle (exp & reg) reg_t reg; regm_t retregs; if (isregvar(e2,retregs,reg)) { code cs = void; cs.Iflags = 0; cs.Irex = 0; getlvalue(cdb,&cs,e1,0); code_newreg(&cs, reg); if (I64 && isbyte && reg >= 4) cs.Irex |= REX; cs.Iop = op1 ^ isbyte; cs.Iflags |= word | CFpsw; freenode(e1); freenode(e2); cdb.gen(&cs); return; } } code cs = void; cs.Iflags = 0; cs.Irex = 0; // Look for possible uses of LEA if (e.Eoper == OPadd && !(*pretregs & mPSW) && // flags aren't set by LEA !nest && // could cause infinite recursion if e.Ecount (sz == REGSIZE || (I64 && sz == 4))) // far pointers aren't handled { const rex = (sz == 8) ? REX_W : 0; // Handle the case of (e + &var) int e1oper = e1.Eoper; if ((e2oper == OPrelconst && (config.target_cpu >= TARGET_Pentium || (!e2.Ecount && stackfl[el_fl(e2)]))) || // LEA costs too much for simple EAs on older CPUs (e2oper == OPconst && (e1.Eoper == OPcall || e1.Eoper == OPcallns) && !(*pretregs & mAX)) || (!I16 && (isscaledindex(e1) || isscaledindex(e2))) || (!I16 && e1oper == OPvar && e1.EV.Vsym.Sfl == FLreg && (e2oper == OPconst || (e2oper == OPvar && e2.EV.Vsym.Sfl == FLreg))) || (e2oper == OPconst && e1oper == OPeq && e1.EV.E1.Eoper == OPvar) || (!I16 && (e2oper == OPrelconst || e2oper == OPconst) && !e1.Ecount && (e1oper == OPmul || e1oper == OPshl) && e1.EV.E2.Eoper == OPconst && ssindex(e1oper,e1.EV.E2.EV.Vuns) ) || (!I16 && e1.Ecount) ) { const inc = e.Ecount != 0; nest += inc; code csx = void; getlvalue(cdb,&csx,e,0); nest -= inc; reg_t regx; allocreg(cdb,pretregs,&regx,ty); csx.Iop = LEA; code_newreg(&csx, regx); cdb.gen(&csx); // LEA regx,EA if (rex) code_orrex(cdb.last(), rex); return; } // Handle the case of ((e + c) + e2) if (!I16 && e1oper == OPadd && (e1.EV.E2.Eoper == OPconst && el_signx32(e1.EV.E2) || e2oper == OPconst && el_signx32(e2)) && !e1.Ecount ) { elem *ebase; elem *edisp; if (e2oper == OPconst && el_signx32(e2)) { edisp = e2; ebase = e1.EV.E2; } else { edisp = e1.EV.E2; ebase = e2; } auto e11 = e1.EV.E1; regm_t retregs = *pretregs & ALLREGS; if (!retregs) retregs = ALLREGS; int ss = 0; int ss2 = 0; // Handle the case of (((e * c1) + c2) + e2) // Handle the case of (((e << c1) + c2) + e2) if ((e11.Eoper == OPmul || e11.Eoper == OPshl) && e11.EV.E2.Eoper == OPconst && !e11.Ecount ) { const co1 = cast(targ_size_t)el_tolong(e11.EV.E2); if (e11.Eoper == OPshl) { if (co1 > 3) goto L13; ss = cast(int)co1; } else { ss2 = 1; switch (co1) { case 6: ss = 1; break; case 12: ss = 1; ss2 = 2; break; case 24: ss = 1; ss2 = 3; break; case 10: ss = 2; break; case 20: ss = 2; ss2 = 2; break; case 40: ss = 2; ss2 = 3; break; case 18: ss = 3; break; case 36: ss = 3; ss2 = 2; break; case 72: ss = 3; ss2 = 3; break; default: ss2 = 0; goto L13; } } freenode(e11.EV.E2); freenode(e11); e11 = e11.EV.E1; L13: { } } reg_t reg11; regm_t regm; if (e11.Eoper == OPvar && isregvar(e11,regm,reg11)) { if (tysize(e11.Ety) <= REGSIZE) retregs = mask(reg11); // only want the LSW else retregs = regm; freenode(e11); } else codelem(cdb,e11,&retregs,false); regm_t rretregs = ALLREGS & ~retregs & ~mBP; scodelem(cdb,ebase,&rretregs,retregs,true); reg_t reg; { regm_t sregs = *pretregs & ~rretregs; if (!sregs) sregs = ALLREGS & ~rretregs; allocreg(cdb,&sregs,&reg,ty); } assert((retregs & (retregs - 1)) == 0); // must be only one register assert((rretregs & (rretregs - 1)) == 0); // must be only one register auto reg1 = findreg(retregs); const reg2 = findreg(rretregs); if (ss2) { assert(reg != reg2); if ((reg1 & 7) == BP) { static immutable uint[4] imm32 = [1+1,2+1,4+1,8+1]; // IMUL reg,imm32 cdb.genc2(0x69,modregxrmx(3,reg,reg1),imm32[ss]); } else { // LEA reg,[reg1*ss][reg1] cdb.gen2sib(LEA,modregxrm(0,reg,4),modregrm(ss,reg1 & 7,reg1 & 7)); if (reg1 & 8) code_orrex(cdb.last(), REX_X | REX_B); } if (rex) code_orrex(cdb.last(), rex); reg1 = reg; ss = ss2; // use *2 for scale } cs.Iop = LEA; // LEA reg,c[reg1*ss][reg2] cs.Irm = modregrm(2,reg & 7,4); cs.Isib = modregrm(ss,reg1 & 7,reg2 & 7); assert(reg2 != BP); cs.Iflags = CFoff; cs.Irex = cast(ubyte)rex; if (reg & 8) cs.Irex |= REX_R; if (reg1 & 8) cs.Irex |= REX_X; if (reg2 & 8) cs.Irex |= REX_B; cs.IFL1 = FLconst; cs.IEV1.Vsize_t = edisp.EV.Vuns; freenode(edisp); freenode(e1); cdb.gen(&cs); fixresult(cdb,e,mask(reg),pretregs); return; } } regm_t posregs = (isbyte) ? BYTEREGS : (mES | allregs); regm_t retregs = *pretregs & posregs; if (retregs == 0) /* if no return regs speced */ /* (like if wanted flags only) */ retregs = ALLREGS & posregs; // give us some if (ty1 == TYhptr || ty2 == TYhptr) { /* Generate code for add/subtract of huge pointers. No attempt is made to generate very good code. */ retregs = (retregs & mLSW) | mDX; regm_t rretregs; if (ty1 == TYhptr) { // hptr +- long rretregs = mLSW & ~(retregs | regcon.mvar); if (!rretregs) rretregs = mLSW; rretregs |= mCX; codelem(cdb,e1,&rretregs,0); retregs &= ~rretregs; if (!(retregs & mLSW)) retregs |= mLSW & ~rretregs; scodelem(cdb,e2,&retregs,rretregs,true); } else { // long + hptr codelem(cdb,e1,&retregs,0); rretregs = (mLSW | mCX) & ~retregs; if (!(rretregs & mLSW)) rretregs |= mLSW; scodelem(cdb,e2,&rretregs,retregs,true); } getregs(cdb,rretregs | retregs); const mreg = DX; const lreg = findreglsw(retregs); if (e.Eoper == OPmin) { // negate retregs cdb.gen2(0xF7,modregrm(3,3,mreg)); // NEG mreg cdb.gen2(0xF7,modregrm(3,3,lreg)); // NEG lreg code_orflag(cdb.last(),CFpsw); cdb.genc2(0x81,modregrm(3,3,mreg),0); // SBB mreg,0 } const lrreg = findreglsw(rretregs); genregs(cdb,0x03,lreg,lrreg); // ADD lreg,lrreg code_orflag(cdb.last(),CFpsw); genmovreg(cdb,lrreg,CX); // MOV lrreg,CX cdb.genc2(0x81,modregrm(3,2,mreg),0); // ADC mreg,0 genshift(cdb); // MOV CX,offset __AHSHIFT cdb.gen2(0xD3,modregrm(3,4,mreg)); // SHL mreg,CL genregs(cdb,0x03,mreg,lrreg); // ADD mreg,MSREG(h) fixresult(cdb,e,retregs,pretregs); return; } regm_t rretregs; reg_t reg; if (_tysize[ty1] > REGSIZE && numwords == 1) { /* The only possibilities are (TYfptr + tyword) or (TYfptr - tyword) */ debug if (_tysize[ty2] != REGSIZE) { printf("e = %p, e.Eoper = %s e1.Ety = %s e2.Ety = %s\n", e, oper_str(e.Eoper), tym_str(ty1), tym_str(ty2)); elem_print(e); } assert(_tysize[ty2] == REGSIZE); /* Watch out for the case here where you are going to OP reg,EA */ /* and both the reg and EA use ES! Prevent this by forcing */ /* reg into the regular registers. */ if ((e2oper == OPind || (e2oper == OPvar && el_fl(e2) == FLfardata)) && !e2.Ecount) { retregs = ALLREGS; } codelem(cdb,e1,&retregs,test != 0); reg = findreglsw(retregs); /* reg is the register with the offset*/ } else { regm_t regm; reg_t regx; /* if (tyword + TYfptr) */ if (_tysize[ty1] == REGSIZE && _tysize[ty2] > REGSIZE) { retregs = ~*pretregs & ALLREGS; /* if retregs doesn't have any regs in it that aren't reg vars */ if ((retregs & ~regcon.mvar) == 0) retregs |= mAX; } else if (numwords == 2 && retregs & mES) retregs = (retregs | mMSW) & ALLREGS; // Determine if we should swap operands, because // mov EAX,x // add EAX,reg // is faster than: // mov EAX,reg // add EAX,x else if (e2oper == OPvar && e1.Eoper == OPvar && e.Eoper != OPmin && isregvar(e1,regm,regx) && regm != retregs && _tysize[ty1] == _tysize[ty2]) { elem *es = e1; e1 = e2; e2 = es; } codelem(cdb,e1,&retregs,test != 0); // eval left leaf reg = findreg(retregs); } reg_t rreg; int rval; targ_size_t i; switch (e2oper) { case OPind: /* if addressing mode */ if (!e2.Ecount) /* if not CSE */ goto L1; /* try OP reg,EA */ goto default; default: /* operator node */ L2: rretregs = ALLREGS & ~retregs; /* Be careful not to do arithmetic on ES */ if (_tysize[ty1] == REGSIZE && _tysize[ty2] > REGSIZE && *pretregs != mPSW) rretregs = *pretregs & (mES | ALLREGS | mBP) & ~retregs; else if (isbyte) rretregs &= BYTEREGS; scodelem(cdb,e2,&rretregs,retregs,true); // get rvalue rreg = (_tysize[ty2] > REGSIZE) ? findreglsw(rretregs) : findreg(rretregs); if (!test) getregs(cdb,retregs); // we will trash these regs if (numwords == 1) /* ADD reg,rreg */ { /* reverse operands to avoid moving around the segment value */ if (_tysize[ty2] > REGSIZE) { getregs(cdb,rretregs); genregs(cdb,op1,rreg,reg); retregs = rretregs; // reverse operands } else { genregs(cdb,op1,reg,rreg); if (!I16 && *pretregs & mPSW) cdb.last().Iflags |= word; } if (I64 && sz == 8) code_orrex(cdb.last(), REX_W); if (I64 && isbyte && (reg >= 4 || rreg >= 4)) code_orrex(cdb.last(), REX); } else /* numwords == 2 */ /* ADD lsreg,lsrreg */ { reg = findreglsw(retregs); rreg = findreglsw(rretregs); genregs(cdb,op1,reg,rreg); if (e.Eoper == OPadd || e.Eoper == OPmin) code_orflag(cdb.last(),CFpsw); reg = findregmsw(retregs); rreg = findregmsw(rretregs); if (!(e2oper == OPu16_32 && // if second operand is 0 (op2 == 0x0B || op2 == 0x33)) // and OR or XOR ) genregs(cdb,op2,reg,rreg); // ADC msreg,msrreg } break; case OPrelconst: if (I64 && (config.flags3 & CFG3pic || config.exe == EX_WIN64)) goto default; if (sz != REGSIZE) goto L2; if (segfl[el_fl(e2)] != 3) /* if not in data segment */ goto L2; if (evalinregister(e2)) goto L2; cs.IEV2.Voffset = e2.EV.Voffset; cs.IEV2.Vsym = e2.EV.Vsym; cs.Iflags |= CFoff; i = 0; /* no INC or DEC opcode */ rval = 0; goto L3; case OPconst: if (tyfv(ty2)) goto L2; if (numwords == 1) { if (!el_signx32(e2)) goto L2; i = e2.EV.Vpointer; if (word) { if (!(*pretregs & mPSW) && config.flags4 & CFG4speed && (e.Eoper == OPor || e.Eoper == OPxor || test || (e1.Eoper != OPvar && e1.Eoper != OPind))) { word = 0; i &= 0xFFFF; } } rval = reghasvalue(isbyte ? BYTEREGS : ALLREGS,i,rreg); cs.IEV2.Vsize_t = i; L3: if (!test) getregs(cdb,retregs); // we will trash these regs op1 ^= isbyte; cs.Iflags |= word; if (rval) { cs.Iop = op1 ^ 2; mode = rreg; } else cs.Iop = 0x81; cs.Irm = modregrm(3,mode&7,reg&7); if (mode & 8) cs.Irex |= REX_R; if (reg & 8) cs.Irex |= REX_B; if (I64 && sz == 8) cs.Irex |= REX_W; if (I64 && isbyte && (reg >= 4 || (rval && rreg >= 4))) cs.Irex |= REX; cs.IFL2 = cast(ubyte)((e2.Eoper == OPconst) ? FLconst : el_fl(e2)); /* Modify instruction for special cases */ switch (e.Eoper) { case OPadd: { int iop; if (i == 1) iop = 0; /* INC reg */ else if (i == -1) iop = 8; /* DEC reg */ else break; cs.Iop = (0x40 | iop | reg) ^ isbyte; if ((isbyte && *pretregs & mPSW) || I64) { cs.Irm = cast(ubyte)(modregrm(3,0,reg & 7) | iop); cs.Iop = 0xFF; } break; } case OPand: if (test) cs.Iop = rval ? op1 : 0xF7; // TEST break; default: break; } if (*pretregs & mPSW) cs.Iflags |= CFpsw; cs.Iop ^= isbyte; cdb.gen(&cs); cs.Iflags &= ~CFpsw; } else if (numwords == 2) { getregs(cdb,retregs); reg = findregmsw(retregs); const lsreg = findreglsw(retregs); cs.Iop = 0x81; cs.Irm = modregrm(3,mode,lsreg); cs.IFL2 = FLconst; const msw = cast(targ_int)MSREG(e2.EV.Vllong); cs.IEV2.Vint = e2.EV.Vlong; switch (e.Eoper) { case OPadd: case OPmin: cs.Iflags |= CFpsw; break; default: break; } cdb.gen(&cs); cs.Iflags &= ~CFpsw; cs.Irm = cast(ubyte)((cs.Irm & modregrm(3,7,0)) | reg); cs.IEV2.Vint = msw; if (e.Eoper == OPadd) cs.Irm |= modregrm(0,2,0); /* ADC */ cdb.gen(&cs); } else assert(0); freenode(e2); break; case OPvar: if (movOnly(e2)) goto L2; L1: if (tyfv(ty2)) goto L2; if (!test) getregs(cdb,retregs); // we will trash these regs loadea(cdb,e2,&cs,op1, ((numwords == 2) ? findreglsw(retregs) : reg), 0,retregs,retregs); if (!I16 && word) { if (*pretregs & mPSW) code_orflag(cdb.last(),word); else cdb.last().Iflags &= ~cast(int)word; } else if (numwords == 2) { if (e.Eoper == OPadd || e.Eoper == OPmin) code_orflag(cdb.last(),CFpsw); reg = findregmsw(retregs); if (!OTleaf(e2.Eoper)) { getlvalue_msw(&cs); cs.Iop = op2; NEWREG(cs.Irm,reg); cdb.gen(&cs); // ADC reg,data+2 } else loadea(cdb,e2,&cs,op2,reg,REGSIZE,retregs,0); } else if (I64 && sz == 8) code_orrex(cdb.last(), REX_W); freenode(e2); break; } if (sz <= REGSIZE && *pretregs & mPSW) { /* If the expression is (_tls_array + ...), then the flags are not set * since the linker may rewrite these instructions into something else. */ if (I64 && e.Eoper == OPadd && e1.Eoper == OPvar) { const s = e1.EV.Vsym; if (s.Sident[0] == '_' && memcmp(s.Sident.ptr + 1,"tls_array".ptr,10) == 0) { goto L7; // don't assume flags are set } } code_orflag(cdb.last(),CFpsw); *pretregs &= ~mPSW; // flags already set L7: { } } fixresult(cdb,e,retregs,pretregs); } /***************************** * Handle multiply. */ @trusted void cdmul(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { //printf("cdmul()\n"); elem *e1 = e.EV.E1; elem *e2 = e.EV.E2; if (*pretregs == 0) // if don't want result { codelem(cdb,e1,pretregs,false); // eval left leaf *pretregs = 0; // in case they got set codelem(cdb,e2,pretregs,false); return; } //printf("cdmul(e = %p, *pretregs = %s)\n", e, regm_str(*pretregs)); const tyml = tybasic(e1.Ety); const ty = tybasic(e.Ety); const oper = e.Eoper; if (tyfloating(tyml)) { if (tyvector(tyml) || config.fpxmmregs && oper != OPmod && tyxmmreg(tyml) && !(*pretregs & mST0) && !(ty == TYldouble || ty == TYildouble) && // watch out for shrinkLongDoubleConstantIfPossible() !tycomplex(ty) && // SIMD code is not set up to deal with complex mul/div !(ty == TYllong) // or passing to function through integer register ) { orthxmm(cdb,e,pretregs); return; } if (config.exe & EX_posix) orth87(cdb,e,pretregs); else opdouble(cdb,e,pretregs,(oper == OPmul) ? CLIB.dmul : CLIB.ddiv); return; } if (tyxmmreg(tyml)) { orthxmm(cdb,e,pretregs); return; } const uns = tyuns(tyml) || tyuns(e2.Ety); // 1 if signed operation, 0 if unsigned const isbyte = tybyte(e.Ety) != 0; const sz = _tysize[tyml]; const ubyte rex = (I64 && sz == 8) ? REX_W : 0; const uint grex = rex << 16; const OPER opunslng = I16 ? OPu16_32 : OPu32_64; code cs = void; cs.Iflags = 0; cs.Irex = 0; switch (e2.Eoper) { case OPu16_32: case OPs16_32: case OPu32_64: case OPs32_64: { if (sz != 2 * REGSIZE || e1.Eoper != e2.Eoper || e1.Ecount || e2.Ecount) goto default; const ubyte opx = (e2.Eoper == opunslng) ? 4 : 5; regm_t retregsx = mAX; codelem(cdb,e1.EV.E1,&retregsx,false); // eval left leaf if (e2.EV.E1.Eoper == OPvar || (e2.EV.E1.Eoper == OPind && !e2.EV.E1.Ecount) ) { loadea(cdb,e2.EV.E1,&cs,0xF7,opx,0,mAX,mAX | mDX); } else { regm_t rretregsx = ALLREGS & ~mAX; scodelem(cdb,e2.EV.E1,&rretregsx,retregsx,true); // get rvalue getregs(cdb,mAX | mDX); const rregx = findreg(rretregsx); cdb.gen2(0xF7,grex | modregrmx(3,opx,rregx)); // OP AX,rregx } freenode(e.EV.E1); freenode(e2); fixresult(cdb,e,mAX | mDX,pretregs); return; } case OPconst: const e2factor = cast(targ_size_t)el_tolong(e2); // Multiply by a constant if (I32 && sz == REGSIZE * 2) { /* if (msw) IMUL EDX,EDX,lsw IMUL reg,EAX,msw ADD reg,EDX else IMUL reg,EDX,lsw MOV EDX,lsw MUL EDX ADD EDX,reg */ regm_t retregs = mAX | mDX; codelem(cdb,e1,&retregs,false); // eval left leaf reg_t reg = allocScratchReg(cdb, allregs & ~(mAX | mDX)); getregs(cdb,mDX | mAX); const lsw = cast(targ_int)(e2factor & ((1L << (REGSIZE * 8)) - 1)); const msw = cast(targ_int)(e2factor >> (REGSIZE * 8)); if (msw) { genmulimm(cdb,DX,DX,lsw); // IMUL EDX,EDX,lsw genmulimm(cdb,reg,AX,msw); // IMUL reg,EAX,msw cdb.gen2(0x03,modregrm(3,reg,DX)); // ADD reg,EAX } else genmulimm(cdb,reg,DX,lsw); // IMUL reg,EDX,lsw movregconst(cdb,DX,lsw,0); // MOV EDX,lsw getregs(cdb,mDX); cdb.gen2(0xF7,modregrm(3,4,DX)); // MUL EDX cdb.gen2(0x03,modregrm(3,DX,reg)); // ADD EDX,reg const resregx = mDX | mAX; freenode(e2); fixresult(cdb,e,resregx,pretregs); return; } const int pow2 = ispow2(e2factor); if (sz > REGSIZE || !el_signx32(e2)) goto default; if (config.target_cpu >= TARGET_80286) { if (I32 || I64) { // See if we can use an LEA instruction int ss; int ss2 = 0; int shift; switch (e2factor) { case 12: ss = 1; ss2 = 2; goto L4; case 24: ss = 1; ss2 = 3; goto L4; case 6: case 3: ss = 1; goto L4; case 20: ss = 2; ss2 = 2; goto L4; case 40: ss = 2; ss2 = 3; goto L4; case 10: case 5: ss = 2; goto L4; case 36: ss = 3; ss2 = 2; goto L4; case 72: ss = 3; ss2 = 3; goto L4; case 18: case 9: ss = 3; goto L4; L4: { regm_t resreg = *pretregs & ALLREGS & ~(mBP | mR13); if (!resreg) resreg = isbyte ? BYTEREGS : ALLREGS & ~(mBP | mR13); codelem(cdb,e.EV.E1,&resreg,false); getregs(cdb,resreg); reg_t reg = findreg(resreg); cdb.gen2sib(LEA,grex | modregxrm(0,reg,4), modregxrmx(ss,reg,reg)); // LEA reg,[ss*reg][reg] assert((reg & 7) != BP); if (ss2) { cdb.gen2sib(LEA,grex | modregxrm(0,reg,4), modregxrm(ss2,reg,5)); cdb.last().IFL1 = FLconst; cdb.last().IEV1.Vint = 0; // LEA reg,0[ss2*reg] } else if (!(e2factor & 1)) // if even factor { genregs(cdb,0x03,reg,reg); // ADD reg,reg code_orrex(cdb.last(),rex); } freenode(e2); fixresult(cdb,e,resreg,pretregs); return; } case 37: case 74: shift = 2; goto L5; case 13: case 26: shift = 0; goto L5; L5: { regm_t retregs = isbyte ? BYTEREGS : ALLREGS; regm_t resreg = *pretregs & (ALLREGS | mBP); if (!resreg) resreg = retregs; // Don't use EBP resreg &= ~(mBP | mR13); if (!resreg) resreg = retregs; reg_t reg; allocreg(cdb,&resreg,&reg,TYint); regm_t sregm = (ALLREGS & ~mR13) & ~resreg; codelem(cdb,e.EV.E1,&sregm,false); uint sreg = findreg(sregm); getregs(cdb,resreg | sregm); assert((sreg & 7) != BP); assert((reg & 7) != BP); cdb.gen2sib(LEA,grex | modregxrm(0,reg,4), modregxrmx(2,sreg,sreg)); // LEA reg,[sreg*4][sreg] if (shift) cdb.genc2(0xC1,grex | modregrmx(3,4,sreg),shift); // SHL sreg,shift cdb.gen2sib(LEA,grex | modregxrm(0,reg,4), modregxrmx(3,sreg,reg)); // LEA reg,[sreg*8][reg] if (!(e2factor & 1)) // if even factor { genregs(cdb,0x03,reg,reg); // ADD reg,reg code_orrex(cdb.last(),rex); } freenode(e2); fixresult(cdb,e,resreg,pretregs); return; } default: break; } } regm_t retregs = isbyte ? BYTEREGS : ALLREGS; regm_t resreg = *pretregs & (ALLREGS | mBP); if (!resreg) resreg = retregs; scodelem(cdb,e.EV.E1,&retregs,0,true); // eval left leaf const regx = findreg(retregs); reg_t rreg; allocreg(cdb,&resreg,&rreg,e.Ety); // IMUL regx,imm16 cdb.genc2(0x69,grex | modregxrmx(3,rreg,regx),e2factor); freenode(e2); fixresult(cdb,e,resreg,pretregs); return; } goto default; case OPind: if (!e2.Ecount) // if not CSE goto case OPvar; // try OP reg,EA goto default; default: // OPconst and operators //printf("test2 %p, retregs = %s rretregs = %s resreg = %s\n", e, regm_str(retregs), regm_str(rretregs), regm_str(resreg)); if (sz <= REGSIZE) { regm_t retregs = mAX; codelem(cdb,e1,&retregs,false); // eval left leaf regm_t rretregs = isbyte ? BYTEREGS & ~mAX : ALLREGS & ~(mAX|mDX); scodelem(cdb,e2,&rretregs,retregs,true); // get rvalue getregs(cdb,mAX | mDX); // trash these regs reg_t rreg = findreg(rretregs); cdb.gen2(0xF7 ^ isbyte,grex | modregrmx(3,5 - uns,rreg)); // OP AX,rreg if (I64 && isbyte && rreg >= 4) code_orrex(cdb.last(), REX); fixresult(cdb,e,mAX,pretregs); return; } else if (sz == 2 * REGSIZE) { regm_t retregs = mDX | mAX; codelem(cdb,e1,&retregs,false); // eval left leaf if (config.target_cpu >= TARGET_PentiumPro) { regm_t rretregs = allregs & ~retregs; // second arg scodelem(cdb,e2,&rretregs,retregs,true); // get rvalue regm_t rlo = findreglsw(rretregs); regm_t rhi = findregmsw(rretregs); /* IMUL rhi,EAX IMUL EDX,rlo ADD rhi,EDX MUL rlo ADD EDX,rhi */ getregs(cdb,mAX|mDX|mask(rhi)); cdb.gen2(0x0FAF,modregrm(3,rhi,AX)); cdb.gen2(0x0FAF,modregrm(3,DX,rlo)); cdb.gen2(0x03,modregrm(3,rhi,DX)); cdb.gen2(0xF7,modregrm(3,4,rlo)); cdb.gen2(0x03,modregrm(3,DX,rhi)); fixresult(cdb,e,mDX|mAX,pretregs); return; } else { regm_t rretregs = mCX | mBX; // second arg scodelem(cdb,e2,&rretregs,retregs,true); // get rvalue callclib(cdb,e,CLIB.lmul,pretregs,0); return; } } assert(0); case OPvar: if (!I16 && sz <= REGSIZE) { if (sz > 1) // no byte version { // Generate IMUL r32,r/m32 regm_t retregs = *pretregs & (ALLREGS | mBP); if (!retregs) retregs = ALLREGS; codelem(cdb,e1,&retregs,false); // eval left leaf regm_t resreg = retregs; loadea(cdb,e2,&cs,0x0FAF,findreg(resreg),0,retregs,retregs); freenode(e2); fixresult(cdb,e,resreg,pretregs); return; } } else { if (sz == 2 * REGSIZE) { if (e.EV.E1.Eoper != opunslng || e1.Ecount) goto default; // have to handle it with codelem() regm_t retregs = ALLREGS & ~(mAX | mDX); codelem(cdb,e1.EV.E1,&retregs,false); // eval left leaf const reg = findreg(retregs); getregs(cdb,mAX); genmovreg(cdb,AX,reg); // MOV AX,reg loadea(cdb,e2,&cs,0xF7,4,REGSIZE,mAX | mDX | mskl(reg),mAX | mDX); // MUL EA+2 getregs(cdb,retregs); cdb.gen1(0x90 + reg); // XCHG AX,reg getregs(cdb,mAX | mDX); if ((cs.Irm & 0xC0) == 0xC0) // if EA is a register loadea(cdb,e2,&cs,0xF7,4,0,mAX | mskl(reg),mAX | mDX); // MUL EA else { getlvalue_lsw(&cs); cdb.gen(&cs); // MUL EA } cdb.gen2(0x03,modregrm(3,DX,reg)); // ADD DX,reg freenode(e1); fixresult(cdb,e,mAX | mDX,pretregs); return; } assert(sz <= REGSIZE); } // loadea() handles CWD or CLR DX for divides regm_t retregs = sz <= REGSIZE ? mAX : mDX|mAX; codelem(cdb,e.EV.E1,&retregs,false); // eval left leaf loadea(cdb,e2,&cs,0xF7 ^ isbyte,5 - uns,0, mAX, mAX | mDX); freenode(e2); fixresult(cdb,e,mAX,pretregs); return; } assert(0); } /***************************** * Handle divide, modulo and remquo. * Note that modulo isn't defined for doubles. */ @trusted void cddiv(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { //printf("cddiv()\n"); elem *e1 = e.EV.E1; elem *e2 = e.EV.E2; if (*pretregs == 0) // if don't want result { codelem(cdb,e1,pretregs,false); // eval left leaf *pretregs = 0; // in case they got set codelem(cdb,e2,pretregs,false); return; } //printf("cddiv(e = %p, *pretregs = %s)\n", e, regm_str(*pretregs)); const tyml = tybasic(e1.Ety); const ty = tybasic(e.Ety); const oper = e.Eoper; if (tyfloating(tyml)) { if (tyvector(tyml) || config.fpxmmregs && oper != OPmod && tyxmmreg(tyml) && !(*pretregs & mST0) && !(ty == TYldouble || ty == TYildouble) && // watch out for shrinkLongDoubleConstantIfPossible() !tycomplex(ty) && // SIMD code is not set up to deal with complex mul/div !(ty == TYllong) // or passing to function through integer register ) { orthxmm(cdb,e,pretregs); return; } if (config.exe & EX_posix) orth87(cdb,e,pretregs); else opdouble(cdb,e,pretregs,(oper == OPmul) ? CLIB.dmul : CLIB.ddiv); return; } if (tyxmmreg(tyml)) { orthxmm(cdb,e,pretregs); return; } const uns = tyuns(tyml) || tyuns(e2.Ety); // 1 if uint operation, 0 if not const isbyte = tybyte(e.Ety) != 0; const sz = _tysize[tyml]; const ubyte rex = (I64 && sz == 8) ? REX_W : 0; const uint grex = rex << 16; code cs = void; cs.Iflags = 0; cs.IFL2 = 0; cs.Irex = 0; switch (e2.Eoper) { case OPconst: auto d = cast(targ_size_t)el_tolong(e2); bool neg = false; const e2factor = d; if (!uns && cast(targ_llong)e2factor < 0) { neg = true; d = -d; } // Signed divide by a constant if ((d & (d - 1)) && ((I32 && sz == 4) || (I64 && (sz == 4 || sz == 8))) && config.flags4 & CFG4speed && !uns) { /* R1 / 10 * * MOV EAX,m * IMUL R1 * MOV EAX,R1 * SAR EAX,31 * SAR EDX,shpost * SUB EDX,EAX * IMUL EAX,EDX,d * SUB R1,EAX * * EDX = quotient * R1 = remainder */ assert(sz == 4 || sz == 8); ulong m; int shpost; const int N = sz * 8; const bool mhighbit = choose_multiplier(N, d, N - 1, &m, &shpost); regm_t regm = allregs & ~(mAX | mDX); codelem(cdb,e1,&regm,false); // eval left leaf const reg_t reg = findreg(regm); getregs(cdb,regm | mDX | mAX); /* Algorithm 5.2 * if m>=2**(N-1) * q = SRA(n + MULSH(m-2**N,n), shpost) - XSIGN(n) * else * q = SRA(MULSH(m,n), shpost) - XSIGN(n) * if (neg) * q = -q */ const bool mgt = mhighbit || m >= (1UL << (N - 1)); movregconst(cdb, AX, cast(targ_size_t)m, (sz == 8) ? 0x40 : 0); // MOV EAX,m cdb.gen2(0xF7,grex | modregrmx(3,5,reg)); // IMUL R1 if (mgt) cdb.gen2(0x03,grex | modregrmx(3,DX,reg)); // ADD EDX,R1 getregsNoSave(mAX); // EAX no longer contains 'm' genmovreg(cdb, AX, reg); // MOV EAX,R1 cdb.genc2(0xC1,grex | modregrm(3,7,AX),sz * 8 - 1); // SAR EAX,31 if (shpost) cdb.genc2(0xC1,grex | modregrm(3,7,DX),shpost); // SAR EDX,shpost reg_t r3; if (neg && oper == OPdiv) { cdb.gen2(0x2B,grex | modregrm(3,AX,DX)); // SUB EAX,EDX r3 = AX; } else { cdb.gen2(0x2B,grex | modregrm(3,DX,AX)); // SUB EDX,EAX r3 = DX; } // r3 is quotient regm_t resregx; switch (oper) { case OPdiv: resregx = mask(r3); break; case OPmod: assert(reg != AX && r3 == DX); if (sz == 4 || (sz == 8 && cast(targ_long)d == d)) { cdb.genc2(0x69,grex | modregrm(3,AX,DX),d); // IMUL EAX,EDX,d } else { movregconst(cdb,AX,d,(sz == 8) ? 0x40 : 0); // MOV EAX,d cdb.gen2(0x0FAF,grex | modregrmx(3,AX,DX)); // IMUL EAX,EDX getregsNoSave(mAX); // EAX no longer contains 'd' } cdb.gen2(0x2B,grex | modregxrm(3,reg,AX)); // SUB R1,EAX resregx = regm; break; case OPremquo: assert(reg != AX && r3 == DX); if (sz == 4 || (sz == 8 && cast(targ_long)d == d)) { cdb.genc2(0x69,grex | modregrm(3,AX,DX),d); // IMUL EAX,EDX,d } else { movregconst(cdb,AX,d,(sz == 8) ? 0x40 : 0); // MOV EAX,d cdb.gen2(0x0FAF,grex | modregrmx(3,AX,DX)); // IMUL EAX,EDX } cdb.gen2(0x2B,grex | modregxrm(3,reg,AX)); // SUB R1,EAX genmovreg(cdb, AX, r3); // MOV EAX,r3 if (neg) cdb.gen2(0xF7,grex | modregrm(3,3,AX)); // NEG EAX genmovreg(cdb, DX, reg); // MOV EDX,R1 resregx = mDX | mAX; break; default: assert(0); } freenode(e2); fixresult(cdb,e,resregx,pretregs); return; } // Unsigned divide by a constant if (e2factor > 2 && (e2factor & (e2factor - 1)) && ((I32 && sz == 4) || (I64 && (sz == 4 || sz == 8))) && config.flags4 & CFG4speed && uns) { assert(sz == 4 || sz == 8); reg_t r3; regm_t regm; reg_t reg; ulong m; int shpre; int shpost; if (udiv_coefficients(sz * 8, e2factor, &shpre, &m, &shpost)) { /* t1 = MULUH(m, n) * q = SRL(t1 + SRL(n - t1, 1), shpost - 1) * MOV EAX,reg * MOV EDX,m * MUL EDX * MOV EAX,reg * SUB EAX,EDX * SHR EAX,1 * LEA R3,[EAX][EDX] * SHR R3,shpost-1 */ assert(shpre == 0); regm = allregs & ~(mAX | mDX); codelem(cdb,e1,&regm,false); // eval left leaf reg = findreg(regm); getregs(cdb,mAX | mDX); genmovreg(cdb,AX,reg); // MOV EAX,reg movregconst(cdb, DX, cast(targ_size_t)m, (sz == 8) ? 0x40 : 0); // MOV EDX,m getregs(cdb,regm | mDX | mAX); cdb.gen2(0xF7,grex | modregrmx(3,4,DX)); // MUL EDX genmovreg(cdb,AX,reg); // MOV EAX,reg cdb.gen2(0x2B,grex | modregrm(3,AX,DX)); // SUB EAX,EDX cdb.genc2(0xC1,grex | modregrm(3,5,AX),1); // SHR EAX,1 regm_t regm3 = allregs; if (oper == OPmod || oper == OPremquo) { regm3 &= ~regm; if (oper == OPremquo || !el_signx32(e2)) regm3 &= ~mAX; } allocreg(cdb,&regm3,&r3,TYint); cdb.gen2sib(LEA,grex | modregxrm(0,r3,4),modregrm(0,AX,DX)); // LEA R3,[EAX][EDX] if (shpost != 1) cdb.genc2(0xC1,grex | modregrmx(3,5,r3),shpost-1); // SHR R3,shpost-1 } else { /* q = SRL(MULUH(m, SRL(n, shpre)), shpost) * SHR EAX,shpre * MOV reg,m * MUL reg * SHR EDX,shpost */ regm = mAX; if (oper == OPmod || oper == OPremquo) regm = allregs & ~(mAX|mDX); codelem(cdb,e1,&regm,false); // eval left leaf reg = findreg(regm); if (reg != AX) { getregs(cdb,mAX); genmovreg(cdb,AX,reg); // MOV EAX,reg } if (shpre) { getregs(cdb,mAX); cdb.genc2(0xC1,grex | modregrm(3,5,AX),shpre); // SHR EAX,shpre } getregs(cdb,mDX); movregconst(cdb, DX, cast(targ_size_t)m, (sz == 8) ? 0x40 : 0); // MOV EDX,m getregs(cdb,mDX | mAX); cdb.gen2(0xF7,grex | modregrmx(3,4,DX)); // MUL EDX if (shpost) cdb.genc2(0xC1,grex | modregrm(3,5,DX),shpost); // SHR EDX,shpost r3 = DX; } regm_t resreg; switch (oper) { case OPdiv: // r3 = quotient resreg = mask(r3); break; case OPmod: /* reg = original value * r3 = quotient */ assert(!(regm & mAX)); if (el_signx32(e2)) { cdb.genc2(0x69,grex | modregrmx(3,AX,r3),e2factor); // IMUL EAX,r3,e2factor } else { assert(!(mask(r3) & mAX)); movregconst(cdb,AX,e2factor,(sz == 8) ? 0x40 : 0); // MOV EAX,e2factor getregs(cdb,mAX); cdb.gen2(0x0FAF,grex | modregrmx(3,AX,r3)); // IMUL EAX,r3 } getregs(cdb,regm); cdb.gen2(0x2B,grex | modregxrm(3,reg,AX)); // SUB reg,EAX resreg = regm; break; case OPremquo: /* reg = original value * r3 = quotient */ assert(!(mask(r3) & (mAX|regm))); assert(!(regm & mAX)); if (el_signx32(e2)) { cdb.genc2(0x69,grex | modregrmx(3,AX,r3),e2factor); // IMUL EAX,r3,e2factor } else { movregconst(cdb,AX,e2factor,(sz == 8) ? 0x40 : 0); // MOV EAX,e2factor getregs(cdb,mAX); cdb.gen2(0x0FAF,grex | modregrmx(3,AX,r3)); // IMUL EAX,r3 } getregs(cdb,regm); cdb.gen2(0x2B,grex | modregxrm(3,reg,AX)); // SUB reg,EAX genmovreg(cdb, AX, r3); // MOV EAX,r3 genmovreg(cdb, DX, reg); // MOV EDX,reg resreg = mDX | mAX; break; default: assert(0); } freenode(e2); fixresult(cdb,e,resreg,pretregs); return; } const int pow2 = ispow2(e2factor); // Register pair signed divide by power of 2 if (sz == REGSIZE * 2 && (oper == OPdiv) && !uns && pow2 != -1 && I32 // not set up for I64 cent yet ) { regm_t retregs = mDX | mAX; if (pow2 == 63 && !(retregs & BYTEREGS & mLSW)) retregs = (retregs & mMSW) | (BYTEREGS & mLSW); // because of SETZ codelem(cdb,e.EV.E1,&retregs,false); // eval left leaf const rhi = findregmsw(retregs); const rlo = findreglsw(retregs); freenode(e2); getregs(cdb,retregs); if (pow2 < 32) { reg_t r1 = allocScratchReg(cdb, allregs & ~retregs); genmovreg(cdb,r1,rhi); // MOV r1,rhi if (pow2 == 1) cdb.genc2(0xC1,grex | modregrmx(3,5,r1),REGSIZE * 8 - 1); // SHR r1,31 else { cdb.genc2(0xC1,grex | modregrmx(3,7,r1),REGSIZE * 8 - 1); // SAR r1,31 cdb.genc2(0x81,grex | modregrmx(3,4,r1),(1 << pow2) - 1); // AND r1,mask } cdb.gen2(0x03,grex | modregxrmx(3,rlo,r1)); // ADD rlo,r1 cdb.genc2(0x81,grex | modregxrmx(3,2,rhi),0); // ADC rhi,0 cdb.genc2(0x0FAC,grex | modregrm(3,rhi,rlo),pow2); // SHRD rlo,rhi,pow2 cdb.genc2(0xC1,grex | modregrmx(3,7,rhi),pow2); // SAR rhi,pow2 } else if (pow2 == 32) { reg_t r1 = allocScratchReg(cdb, allregs & ~retregs); genmovreg(cdb,r1,rhi); // MOV r1,rhi cdb.genc2(0xC1,grex | modregrmx(3,7,r1),REGSIZE * 8 - 1); // SAR r1,31 cdb.gen2(0x03,grex | modregxrmx(3,rlo,r1)); // ADD rlo,r1 cdb.genc2(0x81,grex | modregxrmx(3,2,rhi),0); // ADC rhi,0 cdb.genmovreg(rlo,rhi); // MOV rlo,rhi cdb.genc2(0xC1,grex | modregrmx(3,7,rhi),REGSIZE * 8 - 1); // SAR rhi,31 } else if (pow2 < 63) { reg_t r1 = allocScratchReg(cdb, allregs & ~retregs); reg_t r2 = allocScratchReg(cdb, allregs & ~(retregs | mask(r1))); genmovreg(cdb,r1,rhi); // MOV r1,rhi cdb.genc2(0xC1,grex | modregrmx(3,7,r1),REGSIZE * 8 - 1); // SAR r1,31 cdb.genmovreg(r2,r1); // MOV r2,r1 if (pow2 == 33) { cdb.gen2(0xF7,modregrmx(3,3,r1)); // NEG r1 cdb.gen2(0x03,grex | modregxrmx(3,rlo,r2)); // ADD rlo,r2 cdb.gen2(0x13,grex | modregxrmx(3,rhi,r1)); // ADC rhi,r1 } else { cdb.genc2(0x81,grex | modregrmx(3,4,r2),(1 << (pow2-32)) - 1); // AND r2,mask cdb.gen2(0x03,grex | modregxrmx(3,rlo,r1)); // ADD rlo,r1 cdb.gen2(0x13,grex | modregxrmx(3,rhi,r2)); // ADC rhi,r2 } cdb.genmovreg(rlo,rhi); // MOV rlo,rhi cdb.genc2(0xC1,grex | modregrmx(3,7,rlo),pow2 - 32); // SAR rlo,pow2-32 cdb.genc2(0xC1,grex | modregrmx(3,7,rhi),REGSIZE * 8 - 1); // SAR rhi,31 } else { // This may be better done by cgelem.d assert(pow2 == 63); cdb.genc2(0x81,grex | modregrmx(3,4,rhi),0x8000_0000); // ADD rhi,0x8000_000 cdb.genregs(0x09,rlo,rhi); // OR rlo,rhi cdb.gen2(0x0F94,modregrmx(3,0,rlo)); // SETZ rlo cdb.genregs(MOVZXb,rlo,rlo); // MOVZX rlo,rloL movregconst(cdb,rhi,0,0); // MOV rhi,0 } fixresult(cdb,e,retregs,pretregs); return; } // Register pair signed modulo by power of 2 if (sz == REGSIZE * 2 && (oper == OPmod) && !uns && pow2 != -1 && I32 // not set up for I64 cent yet ) { regm_t retregs = mDX | mAX; codelem(cdb,e.EV.E1,&retregs,false); // eval left leaf const rhi = findregmsw(retregs); const rlo = findreglsw(retregs); freenode(e2); getregs(cdb,retregs); regm_t scratchm = allregs & ~retregs; if (pow2 == 63) scratchm &= BYTEREGS; // because of SETZ reg_t r1 = allocScratchReg(cdb, scratchm); if (pow2 < 32) { cdb.genmovreg(r1,rhi); // MOV r1,rhi cdb.genc2(0xC1,grex | modregrmx(3,7,r1),REGSIZE * 8 - 1); // SAR r1,31 cdb.gen2(0x33,grex | modregxrmx(3,rlo,r1)); // XOR rlo,r1 cdb.gen2(0x2B,grex | modregxrmx(3,rlo,r1)); // SUB rlo,r1 cdb.genc2(0x81,grex | modregrmx(3,4,rlo),(1<<pow2)-1); // AND rlo,(1<<pow2)-1 cdb.gen2(0x33,grex | modregxrmx(3,rlo,r1)); // XOR rlo,r1 cdb.gen2(0x2B,grex | modregxrmx(3,rlo,r1)); // SUB rlo,r1 cdb.gen2(0x1B,grex | modregxrmx(3,rhi,rhi)); // SBB rhi,rhi } else if (pow2 == 32) { cdb.genmovreg(r1,rhi); // MOV r1,rhi cdb.genc2(0xC1,grex | modregrmx(3,7,r1),REGSIZE * 8 - 1); // SAR r1,31 cdb.gen2(0x03,grex | modregxrmx(3,rlo,r1)); // ADD rlo,r1 cdb.gen2(0x2B,grex | modregxrmx(3,rlo,r1)); // SUB rlo,r1 cdb.gen2(0x1B,grex | modregxrmx(3,rhi,rhi)); // SBB rhi,rhi } else if (pow2 < 63) { reg_t r2 = allocScratchReg(cdb, allregs & ~(retregs | mask(r1))); cdb.genmovreg(r1,rhi); // MOV r1,rhi cdb.genc2(0xC1,grex | modregrmx(3,7,r1),REGSIZE * 8 - 1); // SAR r1,31 cdb.genmovreg(r2,r1); // MOV r2,r1 cdb.genc2(0x0FAC,grex | modregrm(3,r2,r1),64-pow2); // SHRD r1,r2,64-pow2 cdb.genc2(0xC1,grex | modregrmx(3,5,r2),64-pow2); // SHR r2,64-pow2 cdb.gen2(0x03,grex | modregxrmx(3,rlo,r1)); // ADD rlo,r1 cdb.gen2(0x13,grex | modregxrmx(3,rhi,r2)); // ADC rhi,r2 cdb.genc2(0x81,grex | modregrmx(3,4,rhi),(1<<(pow2-32))-1); // AND rhi,(1<<(pow2-32))-1 cdb.gen2(0x2B,grex | modregxrmx(3,rlo,r1)); // SUB rlo,r1 cdb.gen2(0x1B,grex | modregxrmx(3,rhi,r2)); // SBB rhi,r2 } else { // This may be better done by cgelem.d assert(pow2 == 63); cdb.genc1(LEA,grex | modregxrmx(2,r1,rhi), FLconst, 0x8000_0000); // LEA r1,0x8000_0000[rhi] cdb.gen2(0x0B,grex | modregxrmx(3,r1,rlo)); // OR r1,rlo cdb.gen2(0x0F94,modregrmx(3,0,r1)); // SETZ r1 cdb.genc2(0xC1,grex | modregrmx(3,4,r1),REGSIZE * 8 - 1); // SHL r1,31 cdb.gen2(0x2B,grex | modregxrmx(3,rhi,r1)); // SUB rhi,r1 } fixresult(cdb,e,retregs,pretregs); return; } if (sz > REGSIZE || !el_signx32(e2)) goto default; // Special code for signed divide or modulo by power of 2 if ((sz == REGSIZE || (I64 && sz == 4)) && (oper == OPdiv || oper == OPmod) && !uns && pow2 != -1 && !(config.target_cpu < TARGET_80286 && pow2 != 1 && oper == OPdiv) ) { if (pow2 == 1 && oper == OPdiv && config.target_cpu > TARGET_80386) { /* MOV r,reg SHR r,31 ADD reg,r SAR reg,1 */ regm_t retregs = allregs; codelem(cdb,e.EV.E1,&retregs,false); // eval left leaf const reg = findreg(retregs); freenode(e2); getregs(cdb,retregs); reg_t r = allocScratchReg(cdb, allregs & ~retregs); genmovreg(cdb,r,reg); // MOV r,reg cdb.genc2(0xC1,grex | modregxrmx(3,5,r),(sz * 8 - 1)); // SHR r,31 cdb.gen2(0x03,grex | modregxrmx(3,reg,r)); // ADD reg,r cdb.gen2(0xD1,grex | modregrmx(3,7,reg)); // SAR reg,1 regm_t resreg = retregs; fixresult(cdb,e,resreg,pretregs); return; } regm_t resreg; switch (oper) { case OPdiv: resreg = mAX; break; case OPmod: resreg = mDX; break; case OPremquo: resreg = mDX | mAX; break; default: assert(0); } regm_t retregs = mAX; codelem(cdb,e.EV.E1,&retregs,false); // eval left leaf freenode(e2); getregs(cdb,mAX | mDX); // modify these regs cdb.gen1(0x99); // CWD code_orrex(cdb.last(), rex); if (pow2 == 1) { if (oper == OPdiv) { cdb.gen2(0x2B,grex | modregrm(3,AX,DX)); // SUB AX,DX cdb.gen2(0xD1,grex | modregrm(3,7,AX)); // SAR AX,1 } else // OPmod { cdb.gen2(0x33,grex | modregrm(3,AX,DX)); // XOR AX,DX cdb.genc2(0x81,grex | modregrm(3,4,AX),1); // AND AX,1 cdb.gen2(0x03,grex | modregrm(3,DX,AX)); // ADD DX,AX } } else { targ_ulong m; m = (1 << pow2) - 1; if (oper == OPdiv) { cdb.genc2(0x81,grex | modregrm(3,4,DX),m); // AND DX,m cdb.gen2(0x03,grex | modregrm(3,AX,DX)); // ADD AX,DX // Be careful not to generate this for 8088 assert(config.target_cpu >= TARGET_80286); cdb.genc2(0xC1,grex | modregrm(3,7,AX),pow2); // SAR AX,pow2 } else // OPmod { cdb.gen2(0x33,grex | modregrm(3,AX,DX)); // XOR AX,DX cdb.gen2(0x2B,grex | modregrm(3,AX,DX)); // SUB AX,DX cdb.genc2(0x81,grex | modregrm(3,4,AX),m); // AND AX,mask cdb.gen2(0x33,grex | modregrm(3,AX,DX)); // XOR AX,DX cdb.gen2(0x2B,grex | modregrm(3,AX,DX)); // SUB AX,DX resreg = mAX; } } fixresult(cdb,e,resreg,pretregs); return; } goto default; case OPind: if (!e2.Ecount) // if not CSE goto case OPvar; // try OP reg,EA goto default; default: // OPconst and operators //printf("test2 %p, retregs = %s rretregs = %s resreg = %s\n", e, regm_str(retregs), regm_str(rretregs), regm_str(resreg)); regm_t retregs = sz <= REGSIZE ? mAX : mDX | mAX; codelem(cdb,e1,&retregs,false); // eval left leaf regm_t rretregs; if (sz <= REGSIZE) // dedicated regs for div { // pick some other regs rretregs = isbyte ? BYTEREGS & ~mAX : ALLREGS & ~(mAX|mDX); } else { assert(sz <= 2 * REGSIZE); rretregs = mCX | mBX; // second arg } scodelem(cdb,e2,&rretregs,retregs,true); // get rvalue if (sz <= REGSIZE) { getregs(cdb,mAX | mDX); // trash these regs if (uns) // unsigned divide { movregconst(cdb,DX,0,(sz == 8) ? 64 : 0); // MOV DX,0 getregs(cdb,mDX); } else { cdb.gen1(0x99); // CWD code_orrex(cdb.last(),rex); } reg_t rreg = findreg(rretregs); cdb.gen2(0xF7 ^ isbyte,grex | modregrmx(3,7 - uns,rreg)); // OP AX,rreg if (I64 && isbyte && rreg >= 4) code_orrex(cdb.last(), REX); regm_t resreg; switch (oper) { case OPdiv: resreg = mAX; break; case OPmod: resreg = mDX; break; case OPremquo: resreg = mDX | mAX; break; default: assert(0); } fixresult(cdb,e,resreg,pretregs); } else if (sz == 2 * REGSIZE) { uint lib; switch (oper) { case OPdiv: case OPremquo: lib = uns ? CLIB.uldiv : CLIB.ldiv; break; case OPmod: lib = uns ? CLIB.ulmod : CLIB.lmod; break; default: assert(0); } regm_t keepregs = I32 ? mSI | mDI : 0; callclib(cdb,e,lib,pretregs,keepregs); } else assert(0); return; case OPvar: if (I16 || sz == 2 * REGSIZE) goto default; // have to handle it with codelem() // loadea() handles CWD or CLR DX for divides regm_t retregs = mAX; codelem(cdb,e.EV.E1,&retregs,false); // eval left leaf loadea(cdb,e2,&cs,0xF7 ^ isbyte,7 - uns,0, mAX | mDX, mAX | mDX); freenode(e2); regm_t resreg; switch (oper) { case OPdiv: resreg = mAX; break; case OPmod: resreg = mDX; break; case OPremquo: resreg = mDX | mAX; break; default: assert(0); } fixresult(cdb,e,resreg,pretregs); return; } assert(0); } /*************************** * Handle OPnot and OPbool. * Generate: * c: [evaluate e1] * cfalse: [save reg code] * clr reg * jmp cnop * ctrue: [save reg code] * clr reg * inc reg * cnop: nop */ @trusted void cdnot(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { //printf("cdnot()\n"); reg_t reg; tym_t forflags; regm_t retregs; elem *e1 = e.EV.E1; if (*pretregs == 0) goto L1; if (*pretregs == mPSW) { //assert(e.Eoper != OPnot && e.Eoper != OPbool);*/ /* should've been optimized L1: codelem(cdb,e1,pretregs,false); // evaluate e1 for cc return; } OPER op = e.Eoper; uint sz = tysize(e1.Ety); uint rex = (I64 && sz == 8) ? REX_W : 0; uint grex = rex << 16; if (!tyfloating(e1.Ety)) { if (sz <= REGSIZE && e1.Eoper == OPvar) { code cs; getlvalue(cdb,&cs,e1,0); freenode(e1); if (!I16 && sz == 2) cs.Iflags |= CFopsize; retregs = *pretregs & (ALLREGS | mBP); if (config.target_cpu >= TARGET_80486 && tysize(e.Ety) == 1) { if (reghasvalue((sz == 1) ? BYTEREGS : ALLREGS,0,reg)) { cs.Iop = 0x39; if (I64 && (sz == 1) && reg >= 4) cs.Irex |= REX; } else { cs.Iop = 0x81; reg = 7; cs.IFL2 = FLconst; cs.IEV2.Vint = 0; } cs.Iop ^= (sz == 1); code_newreg(&cs,reg); cdb.gen(&cs); // CMP e1,0 retregs &= BYTEREGS; if (!retregs) retregs = BYTEREGS; allocreg(cdb,&retregs,&reg,TYint); const opcode_t iop = (op == OPbool) ? 0x0F95 // SETNZ rm8 : 0x0F94; // SETZ rm8 cdb.gen2(iop, modregrmx(3,0,reg)); if (reg >= 4) code_orrex(cdb.last(), REX); if (op == OPbool) *pretregs &= ~mPSW; goto L4; } if (reghasvalue((sz == 1) ? BYTEREGS : ALLREGS,1,reg)) cs.Iop = 0x39; else { cs.Iop = 0x81; reg = 7; cs.IFL2 = FLconst; cs.IEV2.Vint = 1; } if (I64 && (sz == 1) && reg >= 4) cs.Irex |= REX; cs.Iop ^= (sz == 1); code_newreg(&cs,reg); cdb.gen(&cs); // CMP e1,1 allocreg(cdb,&retregs,&reg,TYint); op ^= (OPbool ^ OPnot); // switch operators goto L2; } else if (config.target_cpu >= TARGET_80486 && tysize(e.Ety) == 1) { int jop = jmpopcode(e.EV.E1); retregs = mPSW; codelem(cdb,e.EV.E1,&retregs,false); retregs = *pretregs & BYTEREGS; if (!retregs) retregs = BYTEREGS; allocreg(cdb,&retregs,&reg,TYint); int iop = 0x0F90 | (jop & 0x0F); // SETcc rm8 if (op == OPnot) iop ^= 1; cdb.gen2(iop,grex | modregrmx(3,0,reg)); if (reg >= 4) code_orrex(cdb.last(), REX); if (op == OPbool) *pretregs &= ~mPSW; goto L4; } else if (sz <= REGSIZE && // NEG bytereg is too expensive (sz != 1 || config.target_cpu < TARGET_PentiumPro)) { retregs = *pretregs & (ALLREGS | mBP); if (sz == 1 && !(retregs &= BYTEREGS)) retregs = BYTEREGS; codelem(cdb,e.EV.E1,&retregs,false); reg = findreg(retregs); getregs(cdb,retregs); cdb.gen2(sz == 1 ? 0xF6 : 0xF7,grex | modregrmx(3,3,reg)); // NEG reg code_orflag(cdb.last(),CFpsw); if (!I16 && sz == SHORTSIZE) code_orflag(cdb.last(),CFopsize); L2: genregs(cdb,0x19,reg,reg); // SBB reg,reg code_orrex(cdb.last(), rex); // At this point, reg==0 if e1==0, reg==-1 if e1!=0 if (op == OPnot) { if (I64) cdb.gen2(0xFF,grex | modregrmx(3,0,reg)); // INC reg else cdb.gen1(0x40 + reg); // INC reg } else cdb.gen2(0xF7,grex | modregrmx(3,3,reg)); // NEG reg if (*pretregs & mPSW) { code_orflag(cdb.last(),CFpsw); *pretregs &= ~mPSW; // flags are always set anyway } L4: fixresult(cdb,e,retregs,pretregs); return; } } code *cnop = gennop(null); code *ctrue = gennop(null); logexp(cdb,e.EV.E1,(op == OPnot) ? false : true,FLcode,ctrue); forflags = *pretregs & mPSW; if (I64 && sz == 8) forflags |= 64; assert(tysize(e.Ety) <= REGSIZE); // result better be int CodeBuilder cdbfalse; cdbfalse.ctor(); allocreg(cdbfalse,pretregs,&reg,e.Ety); // allocate reg for result code *cfalse = cdbfalse.finish(); CodeBuilder cdbtrue; cdbtrue.ctor(); cdbtrue.append(ctrue); for (code *c1 = cfalse; c1; c1 = code_next(c1)) cdbtrue.gen(c1); // duplicate reg save code CodeBuilder cdbfalse2; cdbfalse2.ctor(); movregconst(cdbfalse2,reg,0,forflags); // mov 0 into reg regcon.immed.mval &= ~mask(reg); // mark reg as unavail movregconst(cdbtrue,reg,1,forflags); // mov 1 into reg regcon.immed.mval &= ~mask(reg); // mark reg as unavail genjmp(cdbfalse2,JMP,FLcode,cast(block *) cnop); // skip over ctrue cdb.append(cfalse); cdb.append(cdbfalse2); cdb.append(cdbtrue); cdb.append(cnop); } /************************ * Complement operator */ @trusted void cdcom(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { if (*pretregs == 0) { codelem(cdb,e.EV.E1,pretregs,false); return; } tym_t tym = tybasic(e.Ety); int sz = _tysize[tym]; uint rex = (I64 && sz == 8) ? REX_W : 0; regm_t possregs = (sz == 1) ? BYTEREGS : allregs; regm_t retregs = *pretregs & possregs; if (retregs == 0) retregs = possregs; codelem(cdb,e.EV.E1,&retregs,false); getregs(cdb,retregs); // retregs will be destroyed if (0 && sz == 4 * REGSIZE) { cdb.gen2(0xF7,modregrm(3,2,AX)); // NOT AX cdb.gen2(0xF7,modregrm(3,2,BX)); // NOT BX cdb.gen2(0xF7,modregrm(3,2,CX)); // NOT CX cdb.gen2(0xF7,modregrm(3,2,DX)); // NOT DX } else { const reg = (sz <= REGSIZE) ? findreg(retregs) : findregmsw(retregs); const op = (sz == 1) ? 0xF6 : 0xF7; genregs(cdb,op,2,reg); // NOT reg code_orrex(cdb.last(), rex); if (I64 && sz == 1 && reg >= 4) code_orrex(cdb.last(), REX); if (sz == 2 * REGSIZE) { const reg2 = findreglsw(retregs); genregs(cdb,op,2,reg2); // NOT reg+1 } } fixresult(cdb,e,retregs,pretregs); } /************************ * Bswap operator */ @trusted void cdbswap(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { if (*pretregs == 0) { codelem(cdb,e.EV.E1,pretregs,false); return; } const tym = tybasic(e.Ety); const sz = _tysize[tym]; const posregs = (sz == 2) ? mAX|mBX|mCX|mDX : allregs; regm_t retregs = *pretregs & posregs; if (retregs == 0) retregs = posregs; codelem(cdb,e.EV.E1,&retregs,false); getregs(cdb,retregs); // retregs will be destroyed if (sz == 2 * REGSIZE) { assert(sz != 16); // no cent support yet const msreg = findregmsw(retregs); cdb.gen1(0x0FC8 + (msreg & 7)); // BSWAP msreg const lsreg = findreglsw(retregs); cdb.gen1(0x0FC8 + (lsreg & 7)); // BSWAP lsreg cdb.gen2(0x87,modregrm(3,msreg,lsreg)); // XCHG msreg,lsreg } else { const reg = findreg(retregs); if (sz == 2) { genregs(cdb,0x86,reg+4,reg); // XCHG regL,regH } else { assert(sz == 4 || sz == 8); cdb.gen1(0x0FC8 + (reg & 7)); // BSWAP reg ubyte rex = 0; if (sz == 8) rex |= REX_W; if (reg & 8) rex |= REX_B; if (rex) code_orrex(cdb.last(), rex); } } fixresult(cdb,e,retregs,pretregs); } /************************* * ?: operator */ @trusted void cdcond(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { con_t regconold,regconsave; uint stackpushold,stackpushsave; int ehindexold,ehindexsave; uint sz2; /* vars to save state of 8087 */ int stackusedold,stackusedsave; NDP[global87.stack.length] _8087old; NDP[global87.stack.length] _8087save; //printf("cdcond(e = %p, *pretregs = %s)\n",e,regm_str(*pretregs)); elem *e1 = e.EV.E1; elem *e2 = e.EV.E2; elem *e21 = e2.EV.E1; elem *e22 = e2.EV.E2; regm_t psw = *pretregs & mPSW; /* save PSW bit */ const op1 = e1.Eoper; uint sz1 = tysize(e1.Ety); uint jop = jmpopcode(e1); uint jop1 = jmpopcode(e21); uint jop2 = jmpopcode(e22); docommas(cdb,e1); cgstate.stackclean++; if (!OTrel(op1) && e1 == e21 && sz1 <= REGSIZE && !tyfloating(e1.Ety)) { // Recognize (e ? e : f) code *cnop1 = gennop(null); regm_t retregs = *pretregs | mPSW; codelem(cdb,e1,&retregs,false); cse_flush(cdb,1); // flush CSEs to memory genjmp(cdb,jop,FLcode,cast(block *)cnop1); freenode(e21); regconsave = regcon; stackpushsave = stackpush; retregs |= psw; if (retregs & (mBP | ALLREGS)) regimmed_set(findreg(retregs),0); codelem(cdb,e22,&retregs,false); andregcon(regconsave); assert(stackpushsave == stackpush); *pretregs = retregs; freenode(e2); cdb.append(cnop1); cgstate.stackclean--; return; } if (OTrel(op1) && sz1 <= REGSIZE && tysize(e2.Ety) <= REGSIZE && !e1.Ecount && (jop == JC || jop == JNC) && (sz2 = tysize(e2.Ety)) <= REGSIZE && e21.Eoper == OPconst && e22.Eoper == OPconst ) { uint sz = tysize(e.Ety); uint rex = (I64 && sz == 8) ? REX_W : 0; uint grex = rex << 16; regm_t retregs; targ_size_t v1,v2; if (sz2 != 1 || I64) { retregs = *pretregs & (ALLREGS | mBP); if (!retregs) retregs = ALLREGS; } else { retregs = *pretregs & BYTEREGS; if (!retregs) retregs = BYTEREGS; } cdcmp_flag = 1 | rex; v1 = cast(targ_size_t)e21.EV.Vllong; v2 = cast(targ_size_t)e22.EV.Vllong; if (jop == JNC) { v1 = v2; v2 = cast(targ_size_t)e21.EV.Vllong; } opcode_t opcode = 0x81; switch (sz2) { case 1: opcode--; v1 = cast(byte) v1; v2 = cast(byte) v2; break; case 2: v1 = cast(short) v1; v2 = cast(short) v2; break; case 4: v1 = cast(int) v1; v2 = cast(int) v2; break; default: break; } if (I64 && v1 != cast(targ_ullong)cast(targ_ulong)v1) { // only zero-extension from 32-bits is available for 'or' } else if (I64 && cast(targ_llong)v2 != cast(targ_llong)cast(targ_long)v2) { // only sign-extension from 32-bits is available for 'and' } else { codelem(cdb,e1,&retregs,false); const reg = findreg(retregs); if (v1 == 0 && v2 == ~cast(targ_size_t)0) { cdb.gen2(0xF6 + (opcode & 1),grex | modregrmx(3,2,reg)); // NOT reg if (I64 && sz2 == REGSIZE) code_orrex(cdb.last(), REX_W); if (I64 && sz2 == 1 && reg >= 4) code_orrex(cdb.last(), REX); } else { v1 -= v2; cdb.genc2(opcode,grex | modregrmx(3,4,reg),v1); // AND reg,v1-v2 if (I64 && sz2 == 1 && reg >= 4) code_orrex(cdb.last(), REX); if (v2 == 1 && !I64) cdb.gen1(0x40 + reg); // INC reg else if (v2 == -1L && !I64) cdb.gen1(0x48 + reg); // DEC reg else { cdb.genc2(opcode,grex | modregrmx(3,0,reg),v2); // ADD reg,v2 if (I64 && sz2 == 1 && reg >= 4) code_orrex(cdb.last(), REX); } } freenode(e21); freenode(e22); freenode(e2); fixresult(cdb,e,retregs,pretregs); cgstate.stackclean--; return; } } if (op1 != OPcond && op1 != OPandand && op1 != OPoror && op1 != OPnot && op1 != OPbool && e21.Eoper == OPconst && sz1 <= REGSIZE && *pretregs & (mBP | ALLREGS) && tysize(e21.Ety) <= REGSIZE && !tyfloating(e21.Ety)) { // Recognize (e ? c : f) code *cnop1 = gennop(null); regm_t retregs = mPSW; jop = jmpopcode(e1); // get jmp condition codelem(cdb,e1,&retregs,false); // Set the register with e21 without affecting the flags retregs = *pretregs & (ALLREGS | mBP); if (retregs & ~regcon.mvar) retregs &= ~regcon.mvar; // don't disturb register variables // NOTE: see my email (sign extension bug? possible fix, some questions reg_t reg; regwithvalue(cdb,retregs,cast(targ_size_t)e21.EV.Vllong,reg,tysize(e21.Ety) == 8 ? 64|8 : 8); retregs = mask(reg); cse_flush(cdb,1); // flush CSE's to memory genjmp(cdb,jop,FLcode,cast(block *)cnop1); freenode(e21); regconsave = regcon; stackpushsave = stackpush; codelem(cdb,e22,&retregs,false); andregcon(regconsave); assert(stackpushsave == stackpush); freenode(e2); cdb.append(cnop1); fixresult(cdb,e,retregs,pretregs); cgstate.stackclean--; return; } code *cnop1 = gennop(null); code *cnop2 = gennop(null); // dummy target addresses logexp(cdb,e1,false,FLcode,cnop1); // evaluate condition regconold = regcon; stackusedold = global87.stackused; stackpushold = stackpush; memcpy(_8087old.ptr,global87.stack.ptr,global87.stack.sizeof); regm_t retregs = *pretregs; CodeBuilder cdb1; cdb1.ctor(); if (psw && jop1 != JNE) { retregs &= ~mPSW; if (!retregs) retregs = ALLREGS; codelem(cdb1,e21,&retregs,false); fixresult(cdb1,e21,retregs,pretregs); } else codelem(cdb1,e21,&retregs,false); if (CPP && e2.Eoper == OPcolon2) { code cs; // This is necessary so that any cleanup code on one branch // is redone on the other branch. cs.Iop = ESCAPE | ESCmark2; cs.Iflags = 0; cs.Irex = 0; cdb.gen(&cs); cdb.append(cdb1); cs.Iop = ESCAPE | ESCrelease2; cdb.gen(&cs); } else cdb.append(cdb1); regconsave = regcon; regcon = regconold; stackpushsave = stackpush; stackpush = stackpushold; stackusedsave = global87.stackused; global87.stackused = stackusedold; memcpy(_8087save.ptr,global87.stack.ptr,global87.stack.sizeof); memcpy(global87.stack.ptr,_8087old.ptr,global87.stack.sizeof); retregs |= psw; // PSW bit may have been trashed *pretregs |= psw; CodeBuilder cdb2; cdb2.ctor(); if (psw && jop2 != JNE) { retregs &= ~mPSW; if (!retregs) retregs = ALLREGS; codelem(cdb2,e22,&retregs,false); fixresult(cdb2,e22,retregs,pretregs); } else codelem(cdb2,e22,&retregs,false); // use same regs as E1 *pretregs = retregs | psw; andregcon(regconold); andregcon(regconsave); assert(global87.stackused == stackusedsave); assert(stackpush == stackpushsave); memcpy(global87.stack.ptr,_8087save.ptr,global87.stack.sizeof); freenode(e2); genjmp(cdb,JMP,FLcode,cast(block *) cnop2); cdb.append(cnop1); cdb.append(cdb2); cdb.append(cnop2); if (*pretregs & mST0) note87(e,0,0); cgstate.stackclean--; } /********************* * Comma operator OPcomma */ @trusted void cdcomma(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { regm_t retregs = 0; codelem(cdb,e.EV.E1,&retregs,false); // ignore value from left leaf codelem(cdb,e.EV.E2,pretregs,false); // do right leaf } /********************************* * Do && and || operators. * Generate: * (evaluate e1 and e2, if true goto cnop1) * cnop3: NOP * cg: [save reg code] ;if we must preserve reg * CLR reg ;false result (set Z also) * JMP cnop2 * * cnop1: NOP ;if e1 evaluates to true * [save reg code] ;preserve reg * * MOV reg,1 ;true result * or * CLR reg ;if return result in flags * INC reg * * cnop2: NOP ;mark end of code */ @trusted void cdloglog(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { /* We can trip the assert with the following: * if ( (b<=a) ? (c<b || a<=c) : c>=a ) * We'll generate ugly code for it, but it's too obscure a case * to expend much effort on it. * assert(*pretregs != mPSW); */ //printf("cdloglog() *pretregs: %s\n", regm_str(*pretregs)); cgstate.stackclean++; code *cnop1 = gennop(null); CodeBuilder cdb1; cdb1.ctor(); cdb1.append(cnop1); code *cnop3 = gennop(null); elem *e2 = e.EV.E2; (e.Eoper == OPoror) ? logexp(cdb,e.EV.E1,1,FLcode,cnop1) : logexp(cdb,e.EV.E1,0,FLcode,cnop3); con_t regconsave = regcon; uint stackpushsave = stackpush; if (*pretregs == 0) // if don't want result { int noreturn = !el_returns(e2); codelem(cdb,e2,pretregs,false); if (noreturn) { regconsave.used |= regcon.used; regcon = regconsave; } else andregcon(regconsave); assert(stackpush == stackpushsave); cdb.append(cnop3); cdb.append(cdb1); // eval code, throw away result cgstate.stackclean--; return; } if (tybasic(e2.Ety) == TYnoreturn) { regm_t retregs2 = 0; codelem(cdb, e2, &retregs2, false); regconsave.used |= regcon.used; regcon = regconsave; assert(stackpush == stackpushsave); regm_t retregs = *pretregs & (ALLREGS | mBP); if (!retregs) retregs = ALLREGS; // if mPSW only reg_t reg; allocreg(cdb1,&retregs,&reg,TYint); // allocate reg for result movregconst(cdb1,reg,e.Eoper == OPoror,*pretregs & mPSW); regcon.immed.mval &= ~mask(reg); // mark reg as unavail *pretregs = retregs; cdb.append(cnop3); cdb.append(cdb1); // eval code, throw away result cgstate.stackclean--; return; } code *cnop2 = gennop(null); uint sz = tysize(e.Ety); if (tybasic(e2.Ety) == TYbool && sz == tysize(e2.Ety) && !(*pretregs & mPSW) && e2.Eoper == OPcall) { codelem(cdb,e2,pretregs,false); andregcon(regconsave); // stack depth should not change when evaluating E2 assert(stackpush == stackpushsave); assert(sz <= 4); // result better be int regm_t retregs = *pretregs & allregs; reg_t reg; allocreg(cdb1,&retregs,&reg,TYint); // allocate reg for result movregconst(cdb1,reg,e.Eoper == OPoror,0); // reg = 1 regcon.immed.mval &= ~mask(reg); // mark reg as unavail *pretregs = retregs; if (e.Eoper == OPoror) { cdb.append(cnop3); genjmp(cdb,JMP,FLcode,cast(block *) cnop2); // JMP cnop2 cdb.append(cdb1); cdb.append(cnop2); } else { genjmp(cdb,JMP,FLcode,cast(block *) cnop2); // JMP cnop2 cdb.append(cnop3); cdb.append(cdb1); cdb.append(cnop2); } cgstate.stackclean--; return; } logexp(cdb,e2,1,FLcode,cnop1); andregcon(regconsave); // stack depth should not change when evaluating E2 assert(stackpush == stackpushsave); assert(sz <= 4); // result better be int regm_t retregs = *pretregs & (ALLREGS | mBP); if (!retregs) retregs = ALLREGS; // if mPSW only CodeBuilder cdbcg; cdbcg.ctor(); reg_t reg; allocreg(cdbcg,&retregs,&reg,TYint); // allocate reg for result code *cg = cdbcg.finish(); for (code *c1 = cg; c1; c1 = code_next(c1)) // for each instruction cdb1.gen(c1); // duplicate it CodeBuilder cdbcg2; cdbcg2.ctor(); movregconst(cdbcg2,reg,0,*pretregs & mPSW); // MOV reg,0 regcon.immed.mval &= ~mask(reg); // mark reg as unavail genjmp(cdbcg2, JMP,FLcode,cast(block *) cnop2); // JMP cnop2 movregconst(cdb1,reg,1,*pretregs & mPSW); // reg = 1 regcon.immed.mval &= ~mask(reg); // mark reg as unavail *pretregs = retregs; cdb.append(cnop3); cdb.append(cg); cdb.append(cdbcg2); cdb.append(cdb1); cdb.append(cnop2); cgstate.stackclean--; return; } /********************* * Generate code for shift left or shift right (OPshl,OPshr,OPashr,OProl,OPror). */ @trusted void cdshift(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { reg_t resreg; uint shiftcnt; regm_t retregs,rretregs; //printf("cdshift()\n"); elem *e1 = e.EV.E1; if (*pretregs == 0) // if don't want result { codelem(cdb,e1,pretregs,false); // eval left leaf *pretregs = 0; // in case they got set codelem(cdb,e.EV.E2,pretregs,false); return; } tym_t tyml = tybasic(e1.Ety); int sz = _tysize[tyml]; assert(!tyfloating(tyml)); OPER oper = e.Eoper; uint grex = ((I64 && sz == 8) ? REX_W : 0) << 16; uint s1,s2; switch (oper) { case OPshl: s1 = 4; // SHL s2 = 2; // RCL break; case OPshr: s1 = 5; // SHR s2 = 3; // RCR break; case OPashr: s1 = 7; // SAR s2 = 3; // RCR break; case OProl: s1 = 0; // ROL break; case OPror: s1 = 1; // ROR break; default: assert(0); } reg_t sreg = NOREG; // guard against using value without assigning to sreg elem *e2 = e.EV.E2; regm_t forccs = *pretregs & mPSW; // if return result in CCs regm_t forregs = *pretregs & (ALLREGS | mBP); // mask of possible return regs bool e2isconst = false; // assume for the moment uint isbyte = (sz == 1); switch (e2.Eoper) { case OPconst: e2isconst = true; // e2 is a constant shiftcnt = e2.EV.Vint; // get shift count if ((!I16 && sz <= REGSIZE) || shiftcnt <= 4 || // if sequence of shifts (sz == 2 && (shiftcnt == 8 || config.target_cpu >= TARGET_80286)) || (sz == 2 * REGSIZE && shiftcnt == 8 * REGSIZE) ) { retregs = (forregs) ? forregs : ALLREGS; if (isbyte) { retregs &= BYTEREGS; if (!retregs) retregs = BYTEREGS; } else if (sz > REGSIZE && sz <= 2 * REGSIZE && !(retregs & mMSW)) retregs |= mMSW & ALLREGS; if (s1 == 7) // if arithmetic right shift { if (shiftcnt == 8) retregs = mAX; else if (sz == 2 * REGSIZE && shiftcnt == 8 * REGSIZE) retregs = mDX|mAX; } if (sz == 2 * REGSIZE && shiftcnt == 8 * REGSIZE && oper == OPshl && !e1.Ecount && (e1.Eoper == OPs16_32 || e1.Eoper == OPu16_32 || e1.Eoper == OPs32_64 || e1.Eoper == OPu32_64) ) { // Handle (shtlng)s << 16 regm_t r = retregs & mMSW; codelem(cdb,e1.EV.E1,&r,false); // eval left leaf regwithvalue(cdb,retregs & mLSW,0,resreg,0); getregs(cdb,r); retregs = r | mask(resreg); if (forccs) { sreg = findreg(r); gentstreg(cdb,sreg); *pretregs &= ~mPSW; // already set } freenode(e1); freenode(e2); break; } // See if we should use LEA reg,xxx instead of shift if (!I16 && shiftcnt >= 1 && shiftcnt <= 3 && (sz == REGSIZE || (I64 && sz == 4)) && oper == OPshl && e1.Eoper == OPvar && !(*pretregs & mPSW) && config.flags4 & CFG4speed ) { reg_t reg; regm_t regm; if (isregvar(e1,regm,reg) && !(regm & retregs)) { code cs; allocreg(cdb,&retregs,&resreg,e.Ety); buildEA(&cs,-1,reg,1 << shiftcnt,0); cs.Iop = LEA; code_newreg(&cs,resreg); cs.Iflags = 0; if (I64 && sz == 8) cs.Irex |= REX_W; cdb.gen(&cs); // LEA resreg,[reg * ss] freenode(e1); freenode(e2); break; } } codelem(cdb,e1,&retregs,false); // eval left leaf //assert((retregs & regcon.mvar) == 0); getregs(cdb,retregs); // modify these regs { if (sz == 2 * REGSIZE) { resreg = findregmsw(retregs); sreg = findreglsw(retregs); } else { resreg = findreg(retregs); sreg = NOREG; // an invalid value } if (config.target_cpu >= TARGET_80286 && sz <= REGSIZE) { // SHL resreg,shiftcnt assert(!(sz == 1 && (mask(resreg) & ~BYTEREGS))); cdb.genc2(0xC1 ^ isbyte,grex | modregxrmx(3,s1,resreg),shiftcnt); if (shiftcnt == 1) cdb.last().Iop += 0x10; // short form of shift if (I64 && sz == 1 && resreg >= 4) cdb.last().Irex |= REX; // See if we need operand size prefix if (!I16 && oper != OPshl && sz == 2) cdb.last().Iflags |= CFopsize; if (forccs) cdb.last().Iflags |= CFpsw; // need flags result } else if (shiftcnt == 8) { if (!(retregs & BYTEREGS) || resreg >= 4) { goto L1; } if (pass != BackendPass.final_ && (!forregs || forregs & (mSI | mDI))) { // e1 might get into SI or DI in a later pass, // so don't put CX into a register getregs(cdb,mCX); } assert(sz == 2); switch (oper) { case OPshl: // MOV regH,regL XOR regL,regL assert(resreg < 4 && !grex); genregs(cdb,0x8A,resreg+4,resreg); genregs(cdb,0x32,resreg,resreg); break; case OPshr: case OPashr: // MOV regL,regH genregs(cdb,0x8A,resreg,resreg+4); if (oper == OPashr) cdb.gen1(0x98); // CBW else genregs(cdb,0x32,resreg+4,resreg+4); // CLR regH break; case OPror: case OProl: // XCHG regL,regH genregs(cdb,0x86,resreg+4,resreg); break; default: assert(0); } if (forccs) gentstreg(cdb,resreg); } else if (shiftcnt == REGSIZE * 8) // it's an lword { if (oper == OPshl) swap(&resreg, &sreg); genmovreg(cdb,sreg,resreg); // MOV sreg,resreg if (oper == OPashr) cdb.gen1(0x99); // CWD else movregconst(cdb,resreg,0,0); // MOV resreg,0 if (forccs) { gentstreg(cdb,sreg); *pretregs &= mBP | ALLREGS | mES; } } else { if (oper == OPshl && sz == 2 * REGSIZE) swap(&resreg, &sreg); while (shiftcnt--) { cdb.gen2(0xD1 ^ isbyte,modregrm(3,s1,resreg)); if (sz == 2 * REGSIZE) { code_orflag(cdb.last(),CFpsw); cdb.gen2(0xD1,modregrm(3,s2,sreg)); } } if (forccs) code_orflag(cdb.last(),CFpsw); } if (sz <= REGSIZE) *pretregs &= mBP | ALLREGS; // flags already set } freenode(e2); break; } goto default; default: retregs = forregs & ~mCX; // CX will be shift count if (sz <= REGSIZE) { if (forregs & ~regcon.mvar && !(retregs & ~regcon.mvar)) retregs = ALLREGS & ~mCX; // need something else if (!retregs) retregs = ALLREGS & ~mCX; // need something if (sz == 1) { retregs &= mAX|mBX|mDX; if (!retregs) retregs = mAX|mBX|mDX; } } else { if (!(retregs & mMSW)) retregs = ALLREGS & ~mCX; } codelem(cdb,e.EV.E1,&retregs,false); // eval left leaf if (sz <= REGSIZE) resreg = findreg(retregs); else { resreg = findregmsw(retregs); sreg = findreglsw(retregs); } L1: rretregs = mCX; // CX is shift count if (sz <= REGSIZE) { scodelem(cdb,e2,&rretregs,retregs,false); // get rvalue getregs(cdb,retregs); // trash these regs cdb.gen2(0xD3 ^ isbyte,grex | modregrmx(3,s1,resreg)); // Sxx resreg,CX if (!I16 && sz == 2 && (oper == OProl || oper == OPror)) cdb.last().Iflags |= CFopsize; // Note that a shift by CL does not set the flags if // CL == 0. If e2 is a constant, we know it isn't 0 // (it would have been optimized out). if (e2isconst) *pretregs &= mBP | ALLREGS; // flags already set with result } else if (sz == 2 * REGSIZE && config.target_cpu >= TARGET_80386) { reg_t hreg = resreg; reg_t lreg = sreg; uint rex = I64 ? (REX_W << 16) : 0; if (e2isconst) { getregs(cdb,retregs); if (shiftcnt & (REGSIZE * 8)) { if (oper == OPshr) { // SHR hreg,shiftcnt // MOV lreg,hreg // XOR hreg,hreg cdb.genc2(0xC1,rex | modregrm(3,s1,hreg),shiftcnt - (REGSIZE * 8)); genmovreg(cdb,lreg,hreg); movregconst(cdb,hreg,0,0); } else if (oper == OPashr) { // MOV lreg,hreg // SAR hreg,31 // SHRD lreg,hreg,shiftcnt genmovreg(cdb,lreg,hreg); cdb.genc2(0xC1,rex | modregrm(3,s1,hreg),(REGSIZE * 8) - 1); cdb.genc2(0x0FAC,rex | modregrm(3,hreg,lreg),shiftcnt - (REGSIZE * 8)); } else { // SHL lreg,shiftcnt // MOV hreg,lreg // XOR lreg,lreg cdb.genc2(0xC1,rex | modregrm(3,s1,lreg),shiftcnt - (REGSIZE * 8)); genmovreg(cdb,hreg,lreg); movregconst(cdb,lreg,0,0); } } else { if (oper == OPshr || oper == OPashr) { // SHRD lreg,hreg,shiftcnt // SHR/SAR hreg,shiftcnt cdb.genc2(0x0FAC,rex | modregrm(3,hreg,lreg),shiftcnt); cdb.genc2(0xC1,rex | modregrm(3,s1,hreg),shiftcnt); } else { // SHLD hreg,lreg,shiftcnt // SHL lreg,shiftcnt cdb.genc2(0x0FA4,rex | modregrm(3,lreg,hreg),shiftcnt); cdb.genc2(0xC1,rex | modregrm(3,s1,lreg),shiftcnt); } } freenode(e2); } else if (config.target_cpu >= TARGET_80486 && REGSIZE == 2) { scodelem(cdb,e2,&rretregs,retregs,false); // get rvalue in CX getregs(cdb,retregs); // modify these regs if (oper == OPshl) { /* SHLD hreg,lreg,CL SHL lreg,CL */ cdb.gen2(0x0FA5,modregrm(3,lreg,hreg)); cdb.gen2(0xD3,modregrm(3,4,lreg)); } else { /* SHRD lreg,hreg,CL SAR hreg,CL -- or -- SHRD lreg,hreg,CL SHR hreg,CL */ cdb.gen2(0x0FAD,modregrm(3,hreg,lreg)); cdb.gen2(0xD3,modregrm(3,s1,hreg)); } } else { code* cl1,cl2; scodelem(cdb,e2,&rretregs,retregs,false); // get rvalue in CX getregs(cdb,retregs | mCX); // modify these regs // TEST CL,0x20 cdb.genc2(0xF6,modregrm(3,0,CX),REGSIZE * 8); cl1 = gennop(null); CodeBuilder cdb1; cdb1.ctor(); cdb1.append(cl1); if (oper == OPshl) { /* TEST CL,20H JNE L1 SHLD hreg,lreg,CL SHL lreg,CL JMP L2 L1: AND CL,20H-1 SHL lreg,CL MOV hreg,lreg XOR lreg,lreg L2: NOP */ if (REGSIZE == 2) cdb1.genc2(0x80,modregrm(3,4,CX),REGSIZE * 8 - 1); cdb1.gen2(0xD3,modregrm(3,4,lreg)); genmovreg(cdb1,hreg,lreg); genregs(cdb1,0x31,lreg,lreg); genjmp(cdb,JNE,FLcode,cast(block *)cl1); cdb.gen2(0x0FA5,modregrm(3,lreg,hreg)); cdb.gen2(0xD3,modregrm(3,4,lreg)); } else { if (oper == OPashr) { /* TEST CL,20H JNE L1 SHRD lreg,hreg,CL SAR hreg,CL JMP L2 L1: AND CL,15 MOV lreg,hreg SAR hreg,31 SHRD lreg,hreg,CL L2: NOP */ if (REGSIZE == 2) cdb1.genc2(0x80,modregrm(3,4,CX),REGSIZE * 8 - 1); genmovreg(cdb1,lreg,hreg); cdb1.genc2(0xC1,modregrm(3,s1,hreg),31); cdb1.gen2(0x0FAD,modregrm(3,hreg,lreg)); } else { /* TEST CL,20H JNE L1 SHRD lreg,hreg,CL SHR hreg,CL JMP L2 L1: AND CL,15 SHR hreg,CL MOV lreg,hreg XOR hreg,hreg L2: NOP */ if (REGSIZE == 2) cdb1.genc2(0x80,modregrm(3,4,CX),REGSIZE * 8 - 1); cdb1.gen2(0xD3,modregrm(3,5,hreg)); genmovreg(cdb1,lreg,hreg); genregs(cdb1,0x31,hreg,hreg); } genjmp(cdb,JNE,FLcode,cast(block *)cl1); cdb.gen2(0x0FAD,modregrm(3,hreg,lreg)); cdb.gen2(0xD3,modregrm(3,s1,hreg)); } cl2 = gennop(null); genjmp(cdb,JMPS,FLcode,cast(block *)cl2); cdb.append(cdb1); cdb.append(cl2); } break; } else if (sz == 2 * REGSIZE) { scodelem(cdb,e2,&rretregs,retregs,false); getregs(cdb,retregs | mCX); if (oper == OPshl) swap(&resreg, &sreg); if (!e2isconst) // if not sure shift count != 0 cdb.genc2(0xE3,0,6); // JCXZ .+6 cdb.gen2(0xD1,modregrm(3,s1,resreg)); code_orflag(cdb.last(),CFtarg2); cdb.gen2(0xD1,modregrm(3,s2,sreg)); cdb.genc2(0xE2,0,cast(targ_uns)-6); // LOOP .-6 regimmed_set(CX,0); // note that now CX == 0 } else assert(0); break; } fixresult(cdb,e,retregs,pretregs); } /*************************** * Perform a 'star' reference (indirection). */ @trusted void cdind(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { regm_t retregs; reg_t reg; uint nreg; //printf("cdind(e = %p, *pretregs = %s)\n",e,regm_str(*pretregs)); tym_t tym = tybasic(e.Ety); if (tyfloating(tym)) { if (config.inline8087) { if (*pretregs & mST0) { cdind87(cdb, e, pretregs); return; } if (I64 && tym == TYcfloat && *pretregs & (ALLREGS | mBP)) { } else if (tycomplex(tym)) { cload87(cdb, e, pretregs); return; } if (*pretregs & mPSW) { cdind87(cdb, e, pretregs); return; } } } elem *e1 = e.EV.E1; assert(e1); switch (tym) { case TYstruct: case TYarray: // This case should never happen, why is it here? tym = TYnptr; // don't confuse allocreg() if (*pretregs & (mES | mCX) || e.Ety & mTYfar) tym = TYfptr; break; default: break; } uint sz = _tysize[tym]; uint isbyte = tybyte(tym) != 0; code cs; getlvalue(cdb,&cs,e,RMload); // get addressing mode //printf("Irex = %02x, Irm = x%02x, Isib = x%02x\n", cs.Irex, cs.Irm, cs.Isib); //fprintf(stderr,"cd2 :\n"); WRcodlst(c); if (*pretregs == 0) { if (e.Ety & mTYvolatile) // do the load anyway *pretregs = regmask(e.Ety, 0); // load into registers else return; } regm_t idxregs = idxregm(&cs); // mask of index regs used if (*pretregs == mPSW) { if (!I16 && tym == TYfloat) { retregs = ALLREGS & ~idxregs; allocreg(cdb,&retregs,&reg,TYfloat); cs.Iop = 0x8B; code_newreg(&cs,reg); cdb.gen(&cs); // MOV reg,lsw cdb.gen2(0xD1,modregrmx(3,4,reg)); // SHL reg,1 code_orflag(cdb.last(), CFpsw); } else if (sz <= REGSIZE) { cs.Iop = 0x81 ^ isbyte; cs.Irm |= modregrm(0,7,0); cs.IFL2 = FLconst; cs.IEV2.Vsize_t = 0; cdb.gen(&cs); // CMP [idx],0 } else if (!I16 && sz == REGSIZE + 2) // if far pointer { retregs = ALLREGS & ~idxregs; allocreg(cdb,&retregs,&reg,TYint); cs.Iop = MOVZXw; cs.Irm |= modregrm(0,reg,0); getlvalue_msw(&cs); cdb.gen(&cs); // MOVZX reg,msw goto L4; } else if (sz <= 2 * REGSIZE) { retregs = ALLREGS & ~idxregs; allocreg(cdb,&retregs,&reg,TYint); cs.Iop = 0x8B; code_newreg(&cs,reg); getlvalue_msw(&cs); cdb.gen(&cs); // MOV reg,msw if (I32) { if (tym == TYdouble || tym == TYdouble_alias) cdb.gen2(0xD1,modregrm(3,4,reg)); // SHL reg,1 } else if (tym == TYfloat) cdb.gen2(0xD1,modregrm(3,4,reg)); // SHL reg,1 L4: cs.Iop = 0x0B; getlvalue_lsw(&cs); cs.Iflags |= CFpsw; cdb.gen(&cs); // OR reg,lsw } else if (!I32 && sz == 8) { *pretregs |= DOUBLEREGS_16; // fake it for now goto L1; } else { debug printf("%s\n", tym_str(tym)); assert(0); } } else // else return result in reg { L1: retregs = *pretregs; if (sz == 8 && (retregs & (mPSW | mSTACK | ALLREGS | mBP)) == mSTACK) { int i; // Optimizer should not CSE these, as the result is worse code! assert(!e.Ecount); cs.Iop = 0xFF; cs.Irm |= modregrm(0,6,0); cs.IEV1.Voffset += 8 - REGSIZE; stackchanged = 1; i = 8 - REGSIZE; do { cdb.gen(&cs); // PUSH EA+i cdb.genadjesp(REGSIZE); cs.IEV1.Voffset -= REGSIZE; stackpush += REGSIZE; i -= REGSIZE; } while (i >= 0); goto L3; } if (I16 && sz == 8) retregs = DOUBLEREGS_16; // Watch out for loading an lptr from an lptr! We must have // the offset loaded into a different register. /*if (retregs & mES && (cs.Iflags & CFSEG) == CFes) retregs = ALLREGS;*/ { assert(!isbyte || retregs & BYTEREGS); allocreg(cdb,&retregs,&reg,tym); // alloc registers } if (retregs & XMMREGS) { assert(sz == 4 || sz == 8 || sz == 16 || sz == 32); // float, double or vector cs.Iop = xmmload(tym); cs.Irex &= ~REX_W; code_newreg(&cs,reg - XMM0); checkSetVex(&cs,tym); cdb.gen(&cs); // MOV reg,[idx] } else if (sz <= REGSIZE) { cs.Iop = 0x8B; // MOV if (sz <= 2 && !I16 && config.target_cpu >= TARGET_PentiumPro && config.flags4 & CFG4speed) { cs.Iop = tyuns(tym) ? MOVZXw : MOVSXw; // MOVZX/MOVSX cs.Iflags &= ~CFopsize; } cs.Iop ^= isbyte; L2: code_newreg(&cs,reg); cdb.gen(&cs); // MOV reg,[idx] if (isbyte && reg >= 4) code_orrex(cdb.last(), REX); } else if ((tym == TYfptr || tym == TYhptr) && retregs & mES) { cs.Iop = 0xC4; // LES reg,[idx] goto L2; } else if (sz <= 2 * REGSIZE) { uint lsreg; cs.Iop = 0x8B; // Be careful not to interfere with index registers if (!I16) { // Can't handle if both result registers are used in // the addressing mode. if ((retregs & idxregs) == retregs) { retregs = mMSW & allregs & ~idxregs; if (!retregs) retregs |= mCX; retregs |= mLSW & ~idxregs; // We can run out of registers, so if that's possible, // give us *one* of the idxregs if ((retregs & ~regcon.mvar & mLSW) == 0) { regm_t x = idxregs & mLSW; if (x) retregs |= mask(findreg(x)); // give us one idxreg } else if ((retregs & ~regcon.mvar & mMSW) == 0) { regm_t x = idxregs & mMSW; if (x) retregs |= mask(findreg(x)); // give us one idxreg } allocreg(cdb,&retregs,&reg,tym); // alloc registers assert((retregs & idxregs) != retregs); } lsreg = findreglsw(retregs); if (mask(reg) & idxregs) // reg is in addr mode { code_newreg(&cs,lsreg); cdb.gen(&cs); // MOV lsreg,lsw if (sz == REGSIZE + 2) cs.Iflags |= CFopsize; lsreg = reg; getlvalue_msw(&cs); // MOV reg,msw } else { code_newreg(&cs,reg); getlvalue_msw(&cs); cdb.gen(&cs); // MOV reg,msw if (sz == REGSIZE + 2) cdb.last().Iflags |= CFopsize; getlvalue_lsw(&cs); // MOV lsreg,lsw } NEWREG(cs.Irm,lsreg); cdb.gen(&cs); } else { // Index registers are always the lsw! cs.Irm |= modregrm(0,reg,0); getlvalue_msw(&cs); cdb.gen(&cs); // MOV reg,msw lsreg = findreglsw(retregs); NEWREG(cs.Irm,lsreg); getlvalue_lsw(&cs); // MOV lsreg,lsw cdb.gen(&cs); } } else if (I16 && sz == 8) { assert(reg == AX); cs.Iop = 0x8B; cs.IEV1.Voffset += 6; cdb.gen(&cs); // MOV AX,EA+6 cs.Irm |= modregrm(0,CX,0); cs.IEV1.Voffset -= 4; cdb.gen(&cs); // MOV CX,EA+2 NEWREG(cs.Irm,DX); cs.IEV1.Voffset -= 2; cdb.gen(&cs); // MOV DX,EA cs.IEV1.Voffset += 4; NEWREG(cs.Irm,BX); cdb.gen(&cs); // MOV BX,EA+4 } else assert(0); L3: fixresult(cdb,e,retregs,pretregs); } //fprintf(stderr,"cdafter :\n"); WRcodlst(c); } /******************************** * Generate code to load ES with the right segment value, * do nothing if e is a far pointer. */ @trusted private code *cod2_setES(tym_t ty) { if (config.exe & EX_flat) return null; int push; CodeBuilder cdb; cdb.ctor(); switch (tybasic(ty)) { case TYnptr: if (!(config.flags3 & CFG3eseqds)) { push = 0x1E; // PUSH DS goto L1; } break; case TYcptr: push = 0x0E; // PUSH CS goto L1; case TYsptr: if ((config.wflags & WFssneds) || !(config.flags3 & CFG3eseqds)) { push = 0x16; // PUSH SS L1: // Must load ES getregs(cdb,mES); cdb.gen1(push); cdb.gen1(0x07); // POP ES } break; default: break; } return cdb.finish(); } /******************************** * Generate code for intrinsic strlen(). */ @trusted void cdstrlen(ref CodeBuilder cdb, elem *e, regm_t *pretregs) { /* Generate strlen in CX: LES DI,e1 CLR AX ;scan for 0 MOV CX,-1 ;largest possible string REPNE SCASB NOT CX DEC CX */ regm_t retregs = mDI; tym_t ty1 = e.EV.E1.Ety; if (!tyreg(ty1)) retregs |= mES; codelem(cdb,e.EV.E1,&retregs,false); // Make sure ES contains proper segment value cdb.append(cod2_setES(ty1)); ubyte rex = I64 ? REX_W : 0; getregs_imm(cdb,mAX | mCX); movregconst(cdb,AX,0,1); // MOV AL,0 movregconst(cdb,CX,-cast(targ_size_t)1,I64 ? 64 : 0); // MOV CX,-1 getregs(cdb,mDI|mCX); cdb.gen1(0xF2); // REPNE cdb.gen1(0xAE); // SCASB genregs(cdb,0xF7,2,CX); // NOT CX code_orrex(cdb.last(), rex); if (I64) cdb.gen2(0xFF,(rex << 16) | modregrm(3,1,CX)); // DEC reg else cdb.gen1(0x48 + CX); // DEC CX if (*pretregs & mPSW) { cdb.last().Iflags |= CFpsw; *pretregs &= ~mPSW; } fixresult(cdb,e,mCX,pretregs); } /********************************* * Generate code for strcmp(s1,s2) intrinsic. */ @trusted void cdstrcmp(ref CodeBuilder cdb, elem *e, regm_t *pretregs) { char need_DS; int segreg; /* MOV SI,s1 ;get destination pointer (s1) MOV CX,s1+2 LES DI,s2 ;get source pointer (s2) PUSH DS MOV DS,CX CLR AX ;scan for 0 MOV CX,-1 ;largest possible string REPNE SCASB NOT CX ;CX = string length of s2 SUB DI,CX ;point DI back to beginning REPE CMPSB ;compare string POP DS JE L1 ;strings are equal SBB AX,AX SBB AX,-1 L1: */ regm_t retregs1 = mSI; tym_t ty1 = e.EV.E1.Ety; if (!tyreg(ty1)) retregs1 |= mCX; codelem(cdb,e.EV.E1,&retregs1,false); regm_t retregs = mDI; tym_t ty2 = e.EV.E2.Ety; if (!tyreg(ty2)) retregs |= mES; scodelem(cdb,e.EV.E2,&retregs,retregs1,false); // Make sure ES contains proper segment value cdb.append(cod2_setES(ty2)); getregs_imm(cdb,mAX | mCX); ubyte rex = I64 ? REX_W : 0; // Load DS with right value switch (tybasic(ty1)) { case TYnptr: case TYimmutPtr: need_DS = false; break; case TYsptr: if (config.wflags & WFssneds) // if sptr can't use DS segment segreg = SEG_SS; else segreg = SEG_DS; goto L1; case TYcptr: segreg = SEG_CS; L1: cdb.gen1(0x1E); // PUSH DS cdb.gen1(0x06 + (segreg << 3)); // PUSH segreg cdb.gen1(0x1F); // POP DS need_DS = true; break; case TYfptr: case TYvptr: case TYhptr: cdb.gen1(0x1E); // PUSH DS cdb.gen2(0x8E,modregrm(3,SEG_DS,CX)); // MOV DS,CX need_DS = true; break; default: assert(0); } movregconst(cdb,AX,0,0); // MOV AX,0 movregconst(cdb,CX,-cast(targ_size_t)1,I64 ? 64 : 0); // MOV CX,-1 getregs(cdb,mSI|mDI|mCX); cdb.gen1(0xF2); // REPNE cdb.gen1(0xAE); // SCASB genregs(cdb,0xF7,2,CX); // NOT CX code_orrex(cdb.last(),rex); genregs(cdb,0x2B,DI,CX); // SUB DI,CX code_orrex(cdb.last(),rex); cdb.gen1(0xF3); // REPE cdb.gen1(0xA6); // CMPSB if (need_DS) cdb.gen1(0x1F); // POP DS code *c4 = gennop(null); if (*pretregs != mPSW) // if not flags only { genjmp(cdb,JE,FLcode,cast(block *) c4); // JE L1 getregs(cdb,mAX); genregs(cdb,0x1B,AX,AX); // SBB AX,AX code_orrex(cdb.last(),rex); cdb.genc2(0x81,(rex << 16) | modregrm(3,3,AX),cast(targ_uns)-1); // SBB AX,-1 } *pretregs &= ~mPSW; cdb.append(c4); fixresult(cdb,e,mAX,pretregs); } /********************************* * Generate code for memcmp(s1,s2,n) intrinsic. */ @trusted void cdmemcmp(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { char need_DS; int segreg; /* MOV SI,s1 ;get destination pointer (s1) MOV DX,s1+2 LES DI,s2 ;get source pointer (s2) MOV CX,n ;get number of bytes to compare PUSH DS MOV DS,DX XOR AX,AX REPE CMPSB ;compare string POP DS JE L1 ;strings are equal SBB AX,AX SBB AX,-1 L1: */ elem *e1 = e.EV.E1; assert(e1.Eoper == OPparam); // Get s1 into DX:SI regm_t retregs1 = mSI; tym_t ty1 = e1.EV.E1.Ety; if (!tyreg(ty1)) retregs1 |= mDX; codelem(cdb,e1.EV.E1,&retregs1,false); // Get s2 into ES:DI regm_t retregs = mDI; tym_t ty2 = e1.EV.E2.Ety; if (!tyreg(ty2)) retregs |= mES; scodelem(cdb,e1.EV.E2,&retregs,retregs1,false); freenode(e1); // Get nbytes into CX regm_t retregs3 = mCX; scodelem(cdb,e.EV.E2,&retregs3,retregs | retregs1,false); // Make sure ES contains proper segment value cdb.append(cod2_setES(ty2)); // Load DS with right value switch (tybasic(ty1)) { case TYnptr: case TYimmutPtr: need_DS = false; break; case TYsptr: if (config.wflags & WFssneds) // if sptr can't use DS segment segreg = SEG_SS; else segreg = SEG_DS; goto L1; case TYcptr: segreg = SEG_CS; L1: cdb.gen1(0x1E); // PUSH DS cdb.gen1(0x06 + (segreg << 3)); // PUSH segreg cdb.gen1(0x1F); // POP DS need_DS = true; break; case TYfptr: case TYvptr: case TYhptr: cdb.gen1(0x1E); // PUSH DS cdb.gen2(0x8E,modregrm(3,SEG_DS,DX)); // MOV DS,DX need_DS = true; break; default: assert(0); } static if (1) { getregs(cdb,mAX); cdb.gen2(0x33,modregrm(3,AX,AX)); // XOR AX,AX code_orflag(cdb.last(), CFpsw); // keep flags } else { if (*pretregs != mPSW) // if not flags only { reg_t r; regwithvalue(cdb,mAX,0,r,0); // put 0 in AX } } getregs(cdb,mCX | mSI | mDI); cdb.gen1(0xF3); // REPE cdb.gen1(0xA6); // CMPSB if (need_DS) cdb.gen1(0x1F); // POP DS if (*pretregs != mPSW) // if not flags only { code *c4 = gennop(null); genjmp(cdb,JE,FLcode,cast(block *) c4); // JE L1 getregs(cdb,mAX); genregs(cdb,0x1B,AX,AX); // SBB AX,AX cdb.genc2(0x81,modregrm(3,3,AX),cast(targ_uns)-1); // SBB AX,-1 cdb.append(c4); } *pretregs &= ~mPSW; fixresult(cdb,e,mAX,pretregs); } /********************************* * Generate code for strcpy(s1,s2) intrinsic. */ @trusted void cdstrcpy(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { char need_DS; int segreg; /* LES DI,s2 ;ES:DI = s2 CLR AX ;scan for 0 MOV CX,-1 ;largest possible string REPNE SCASB ;find end of s2 NOT CX ;CX = strlen(s2) + 1 (for EOS) SUB DI,CX MOV SI,DI PUSH DS PUSH ES LES DI,s1 POP DS MOV AX,DI ;return value is s1 REP MOVSB POP DS */ stackchanged = 1; regm_t retregs = mDI; tym_t ty2 = tybasic(e.EV.E2.Ety); if (!tyreg(ty2)) retregs |= mES; ubyte rex = I64 ? REX_W : 0; codelem(cdb,e.EV.E2,&retregs,false); // Make sure ES contains proper segment value cdb.append(cod2_setES(ty2)); getregs_imm(cdb,mAX | mCX); movregconst(cdb,AX,0,1); // MOV AL,0 movregconst(cdb,CX,-1,I64?64:0); // MOV CX,-1 getregs(cdb,mAX|mCX|mSI|mDI); cdb.gen1(0xF2); // REPNE cdb.gen1(0xAE); // SCASB genregs(cdb,0xF7,2,CX); // NOT CX code_orrex(cdb.last(),rex); genregs(cdb,0x2B,DI,CX); // SUB DI,CX code_orrex(cdb.last(),rex); genmovreg(cdb,SI,DI); // MOV SI,DI // Load DS with right value switch (ty2) { case TYnptr: case TYimmutPtr: need_DS = false; break; case TYsptr: if (config.wflags & WFssneds) // if sptr can't use DS segment segreg = SEG_SS; else segreg = SEG_DS; goto L1; case TYcptr: segreg = SEG_CS; L1: cdb.gen1(0x1E); // PUSH DS cdb.gen1(0x06 + (segreg << 3)); // PUSH segreg cdb.genadjesp(REGSIZE * 2); need_DS = true; break; case TYfptr: case TYvptr: case TYhptr: segreg = SEG_ES; goto L1; default: assert(0); } retregs = mDI; tym_t ty1 = tybasic(e.EV.E1.Ety); if (!tyreg(ty1)) retregs |= mES; scodelem(cdb,e.EV.E1,&retregs,mCX|mSI,false); getregs(cdb,mAX|mCX|mSI|mDI); // Make sure ES contains proper segment value if (ty2 != TYnptr || ty1 != ty2) cdb.append(cod2_setES(ty1)); else {} // ES is already same as DS if (need_DS) cdb.gen1(0x1F); // POP DS if (*pretregs) genmovreg(cdb,AX,DI); // MOV AX,DI cdb.gen1(0xF3); // REP cdb.gen1(0xA4); // MOVSB if (need_DS) { cdb.gen1(0x1F); // POP DS cdb.genadjesp(-(REGSIZE * 2)); } fixresult(cdb,e,mAX | mES,pretregs); } /********************************* * Generate code for memcpy(s1,s2,n) intrinsic. * OPmemcpy * / \ * s1 OPparam * / \ * s2 n */ @trusted void cdmemcpy(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { char need_DS; int segreg; /* MOV SI,s2 MOV DX,s2+2 MOV CX,n LES DI,s1 PUSH DS MOV DS,DX MOV AX,DI ;return value is s1 REP MOVSB POP DS */ elem *e2 = e.EV.E2; assert(e2.Eoper == OPparam); // Get s2 into DX:SI regm_t retregs2 = mSI; tym_t ty2 = e2.EV.E1.Ety; if (!tyreg(ty2)) retregs2 |= mDX; codelem(cdb,e2.EV.E1,&retregs2,false); // Need to check if nbytes is 0 (OPconst of 0 would have been removed by elmemcpy()) const zeroCheck = e2.EV.E2.Eoper != OPconst; // Get nbytes into CX regm_t retregs3 = mCX; scodelem(cdb,e2.EV.E2,&retregs3,retregs2,false); freenode(e2); // Get s1 into ES:DI regm_t retregs1 = mDI; tym_t ty1 = e.EV.E1.Ety; if (!tyreg(ty1)) retregs1 |= mES; scodelem(cdb,e.EV.E1,&retregs1,retregs2 | retregs3,false); ubyte rex = I64 ? REX_W : 0; // Make sure ES contains proper segment value cdb.append(cod2_setES(ty1)); // Load DS with right value switch (tybasic(ty2)) { case TYnptr: case TYimmutPtr: need_DS = false; break; case TYsptr: if (config.wflags & WFssneds) // if sptr can't use DS segment segreg = SEG_SS; else segreg = SEG_DS; goto L1; case TYcptr: segreg = SEG_CS; L1: cdb.gen1(0x1E); // PUSH DS cdb.gen1(0x06 + (segreg << 3)); // PUSH segreg cdb.gen1(0x1F); // POP DS need_DS = true; break; case TYfptr: case TYvptr: case TYhptr: cdb.gen1(0x1E); // PUSH DS cdb.gen2(0x8E,modregrm(3,SEG_DS,DX)); // MOV DS,DX need_DS = true; break; default: assert(0); } if (*pretregs) // if need return value { getregs(cdb,mAX); genmovreg(cdb,AX,DI); } if (0 && I32 && config.flags4 & CFG4speed) { /* This is only faster if the memory is dword aligned, if not * it is significantly slower than just a rep movsb. */ /* mov EDX,ECX * shr ECX,2 * jz L1 * repe movsd * L1: nop * and EDX,3 * jz L2 * mov ECX,EDX * repe movsb * L2: nop */ getregs(cdb,mSI | mDI | mCX | mDX); genmovreg(cdb,DX,CX); // MOV EDX,ECX cdb.genc2(0xC1,modregrm(3,5,CX),2); // SHR ECX,2 code *cx = gennop(null); genjmp(cdb, JE, FLcode, cast(block *)cx); // JZ L1 cdb.gen1(0xF3); // REPE cdb.gen1(0xA5); // MOVSW cdb.append(cx); cdb.genc2(0x81, modregrm(3,4,DX),3); // AND EDX,3 code *cnop = gennop(null); genjmp(cdb, JE, FLcode, cast(block *)cnop); // JZ L2 genmovreg(cdb,CX,DX); // MOV ECX,EDX cdb.gen1(0xF3); // REPE cdb.gen1(0xA4); // MOVSB cdb.append(cnop); } else { getregs(cdb,mSI | mDI | mCX); code* cnop; if (zeroCheck) { cnop = gennop(null); gentstreg(cdb,CX); // TEST ECX,ECX if (I64) code_orrex(cdb.last, REX_W); genjmp(cdb, JE, FLcode, cast(block *)cnop); // JZ cnop } if (I16 && config.flags4 & CFG4speed) // if speed optimization { // Note this doesn't work if CX is 0 cdb.gen2(0xD1,(rex << 16) | modregrm(3,5,CX)); // SHR CX,1 cdb.gen1(0xF3); // REPE cdb.gen1(0xA5); // MOVSW cdb.gen2(0x11,(rex << 16) | modregrm(3,CX,CX)); // ADC CX,CX } cdb.gen1(0xF3); // REPE cdb.gen1(0xA4); // MOVSB if (zeroCheck) cdb.append(cnop); if (need_DS) cdb.gen1(0x1F); // POP DS } fixresult(cdb,e,mES|mAX,pretregs); } /********************************* * Generate code for memset(s,value,numbytes) intrinsic. * (s OPmemset (numbytes OPparam value)) */ @trusted void cdmemset(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { regm_t retregs1; regm_t retregs3; reg_t reg; reg_t vreg; tym_t ty1; int segreg; targ_uns numbytes; uint m; //printf("cdmemset(*pretregs = %s)\n", regm_str(*pretregs)); elem *e2 = e.EV.E2; assert(e2.Eoper == OPparam); elem* evalue = e2.EV.E2; elem* enumbytes = e2.EV.E1; const sz = tysize(evalue.Ety); if (sz > 1) { cdmemsetn(cdb, e, pretregs); return; } const grex = I64 ? (REX_W << 16) : 0; bool valueIsConst = false; targ_size_t value; if (evalue.Eoper == OPconst) { value = el_tolong(evalue) & 0xFF; value |= value << 8; if (I32 || I64) { value |= value << 16; static if (value.sizeof == 8) if (I64) value |= value << 32; } valueIsConst = true; } else if (evalue.Eoper == OPstrpar) // happens if evalue is a struct of 0 size { value = 0; valueIsConst = true; } else value = 0xDEADBEEF; // stop annoying false positives that value is not inited if (enumbytes.Eoper == OPconst) { numbytes = cast(uint)cast(targ_size_t)el_tolong(enumbytes); } // Get nbytes into CX regm_t retregs2 = 0; if (enumbytes.Eoper != OPconst) { retregs2 = mCX; codelem(cdb,enumbytes,&retregs2,false); } // Get value into AX retregs3 = mAX; if (valueIsConst) { reg_t r; regwithvalue(cdb, mAX, value, r, I64?64:0); freenode(evalue); } else { scodelem(cdb,evalue,&retregs3,retregs2,false); getregs(cdb,mAX); if (I16) { cdb.gen2(0x8A,modregrm(3,AH,AL)); // MOV AH,AL } else if (I32) { genregs(cdb,MOVZXb,AX,AX); // MOVZX EAX,AL cdb.genc2(0x69,modregrm(3,AX,AX),0x01010101); // IMUL EAX,EAX,0x01010101 } else { genregs(cdb,MOVZXb,AX,AX); // MOVZX EAX,AL regm_t regm = allregs & ~(mAX | retregs2); reg_t r; regwithvalue(cdb,regm,cast(targ_size_t)0x01010101_01010101,r,64); // MOV reg,0x01010101_01010101 cdb.gen2(0x0FAF,grex | modregrmx(3,AX,r)); // IMUL RAX,reg } } freenode(e2); // Get s into ES:DI retregs1 = mDI; ty1 = e.EV.E1.Ety; if (!tyreg(ty1)) retregs1 |= mES; scodelem(cdb,e.EV.E1,&retregs1,retregs2 | retregs3,false); reg = DI; //findreg(retregs1); // Make sure ES contains proper segment value cdb.append(cod2_setES(ty1)); if (*pretregs) // if need return value { getregs(cdb,mBX); genmovreg(cdb,BX,DI); // MOV EBX,EDI } if (enumbytes.Eoper == OPconst) { getregs(cdb,mDI); if (const numwords = numbytes / REGSIZE) { reg_t r; regwithvalue(cdb,mCX,numwords,r, I64 ? 64 : 0); getregs(cdb,mCX); cdb.gen1(0xF3); // REP cdb.gen1(STOS); // STOSW/D/Q if (I64) code_orrex(cdb.last(), REX_W); regimmed_set(CX, 0); // CX is now 0 } auto remainder = numbytes & (REGSIZE - 1); if (I64 && remainder >= 4) { cdb.gen1(STOS); // STOSD remainder -= 4; } for (; remainder; --remainder) cdb.gen1(STOSB); // STOSB fixresult(cdb,e,mES|mBX,pretregs); return; } getregs(cdb,mDI | mCX); if (I16) { if (config.flags4 & CFG4speed) // if speed optimization { cdb.gen2(0xD1,modregrm(3,5,CX)); // SHR CX,1 cdb.gen1(0xF3); // REP cdb.gen1(STOS); // STOSW cdb.gen2(0x11,modregrm(3,CX,CX)); // ADC CX,CX } cdb.gen1(0xF3); // REP cdb.gen1(STOSB); // STOSB regimmed_set(CX, 0); // CX is now 0 fixresult(cdb,e,mES|mBX,pretregs); return; } /* MOV sreg,ECX SHR ECX,n REP STOSD/Q ADC ECX,ECX REP STOSD MOV ECX,sreg AND ECX,3 REP STOSB */ regm_t regs = allregs & (*pretregs ? ~(mAX|mBX|mCX|mDI) : ~(mAX|mCX|mDI)); reg_t sreg; allocreg(cdb,&regs,&sreg,TYint); genregs(cdb,0x89,CX,sreg); // MOV sreg,ECX (32 bits only) const n = I64 ? 3 : 2; cdb.genc2(0xC1, grex | modregrm(3,5,CX), n); // SHR ECX,n cdb.gen1(0xF3); // REP cdb.gen1(STOS); // STOSD/Q if (I64) code_orrex(cdb.last(), REX_W); if (I64) { cdb.gen2(0x11,modregrm(3,CX,CX)); // ADC ECX,ECX cdb.gen1(0xF3); // REP cdb.gen1(STOS); // STOSD } genregs(cdb,0x89,sreg,CX); // MOV ECX,sreg (32 bits only) cdb.genc2(0x81, modregrm(3,4,CX), 3); // AND ECX,3 cdb.gen1(0xF3); // REP cdb.gen1(STOSB); // STOSB regimmed_set(CX, 0); // CX is now 0 fixresult(cdb,e,mES|mBX,pretregs); } /*********************************************** * Do memset for values larger than a byte. * Has many similarities to cod4.cdeq(). * Doesn't work for 16 bit code. */ @trusted private void cdmemsetn(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { //printf("cdmemsetn(*pretregs = %s)\n", regm_str(*pretregs)); elem *e2 = e.EV.E2; assert(e2.Eoper == OPparam); elem* evalue = e2.EV.E2; elem* enelems = e2.EV.E1; tym_t tymv = tybasic(evalue.Ety); const sz = tysize(evalue.Ety); assert(cast(int)sz > 1); if (tyxmmreg(tymv) && config.fpxmmregs) assert(0); // fix later if (tyfloating(tymv) && config.inline8087) assert(0); // fix later const grex = I64 ? (REX_W << 16) : 0; // get the count of elems into CX regm_t mregcx = mCX; codelem(cdb,enelems,&mregcx,false); // Get value into AX regm_t retregs3 = allregs & ~mregcx; if (sz == 2 * REGSIZE) retregs3 &= ~(mBP | IDXREGS); // BP cannot be used for register pair, // IDXREGS could deplete index regs - see sdtor.d test14815() scodelem(cdb,evalue,&retregs3,mregcx,false); /* Necessary because if evalue calls a function, and that function never returns, * it doesn't affect registers. Which means those registers can be used for enregistering * variables, and next pass fails because it can't use those registers, and so cannot * allocate registers for retregs3. See ice11596.d */ useregs(retregs3); reg_t valreg = findreg(retregs3); reg_t valreghi; if (sz == 2 * REGSIZE) { valreg = findreglsw(retregs3); valreghi = findregmsw(retregs3); } freenode(e2); // Get s into ES:DI regm_t mregidx = IDXREGS & ~(mregcx | retregs3); assert(mregidx); tym_t ty1 = tybasic(e.EV.E1.Ety); if (!tyreg(ty1)) mregidx |= mES; scodelem(cdb,e.EV.E1,&mregidx,mregcx | retregs3,false); reg_t idxreg = findreg(mregidx); // Make sure ES contains proper segment value cdb.append(cod2_setES(ty1)); regm_t mregbx = 0; if (*pretregs) // if need return value { mregbx = *pretregs & ~(mregidx | mregcx | retregs3); if (!mregbx) mregbx = allregs & ~(mregidx | mregcx | retregs3); reg_t regbx; allocreg(cdb, &mregbx, &regbx, TYnptr); getregs(cdb, mregbx); genmovreg(cdb,regbx,idxreg); // MOV BX,DI } getregs(cdb,mask(idxreg) | mCX); // modify DI and CX /* Generate: * JCXZ L1 * L2: * MOV [idxreg],AX * ADD idxreg,sz * LOOP L2 * L1: * NOP */ code* c1 = gennop(null); genjmp(cdb, JCXZ, FLcode, cast(block *)c1); code cs; buildEA(&cs,idxreg,-1,1,0); cs.Iop = 0x89; if (!I16 && sz == 2) cs.Iflags |= CFopsize; if (I64 && sz == 8) cs.Irex |= REX_W; code_newreg(&cs, valreg); cdb.gen(&cs); // MOV [idxreg],AX code* c2 = cdb.last(); if (sz == REGSIZE * 2) { cs.IEV1.Vuns = REGSIZE; code_newreg(&cs, valreghi); cdb.gen(&cs); // MOV REGSIZE[idxreg],DX } cdb.genc2(0x81, grex | modregrmx(3,0,idxreg), sz); // ADD idxreg,sz genjmp(cdb, LOOP, FLcode, cast(block *)c2); // LOOP L2 cdb.append(c1); regimmed_set(CX, 0); // CX is now 0 fixresult(cdb,e,mregbx,pretregs); } /********************** * Do structure assignments. * This should be fixed so that (s1 = s2) is rewritten to (&s1 = &s2). * Mebbe call cdstreq() for double assignments??? */ @trusted void cdstreq(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { char need_DS = false; elem *e1 = e.EV.E1; elem *e2 = e.EV.E2; int segreg; uint numbytes = cast(uint)type_size(e.ET); // # of bytes in structure/union ubyte rex = I64 ? REX_W : 0; //printf("cdstreq(e = %p, *pretregs = %s)\n", e, regm_str(*pretregs)); // First, load pointer to rvalue into SI regm_t srcregs = mSI; // source is DS:SI docommas(cdb,e2); if (e2.Eoper == OPind) // if (.. = *p) { elem *e21 = e2.EV.E1; segreg = SEG_DS; switch (tybasic(e21.Ety)) { case TYsptr: if (config.wflags & WFssneds) // if sptr can't use DS segment segreg = SEG_SS; break; case TYcptr: if (!(config.exe & EX_flat)) segreg = SEG_CS; break; case TYfptr: case TYvptr: case TYhptr: srcregs |= mCX; // get segment also need_DS = true; break; default: break; } codelem(cdb,e21,&srcregs,false); freenode(e2); if (segreg != SEG_DS) // if not DS { getregs(cdb,mCX); cdb.gen2(0x8C,modregrm(3,segreg,CX)); // MOV CX,segreg need_DS = true; } } else if (e2.Eoper == OPvar) { if (e2.EV.Vsym.ty() & mTYfar) // if e2 is in a far segment { srcregs |= mCX; // get segment also need_DS = true; cdrelconst(cdb,e2,&srcregs); } else { segreg = segfl[el_fl(e2)]; if ((config.wflags & WFssneds) && segreg == SEG_SS || // if source is on stack segreg == SEG_CS) // if source is in CS { need_DS = true; // we need to reload DS // Load CX with segment srcregs |= mCX; getregs(cdb,mCX); cdb.gen2(0x8C, // MOV CX,[SS|CS] modregrm(3,segreg,CX)); } cdrelconst(cdb,e2,&srcregs); } freenode(e2); } else { if (!(config.exe & EX_flat)) { need_DS = true; srcregs |= mCX; } codelem(cdb,e2,&srcregs,false); } // now get pointer to lvalue (destination) in ES:DI regm_t dstregs = (config.exe & EX_flat) ? mDI : mES|mDI; if (e1.Eoper == OPind) // if (*p = ..) { if (tyreg(e1.EV.E1.Ety)) dstregs = mDI; cdb.append(cod2_setES(e1.EV.E1.Ety)); scodelem(cdb,e1.EV.E1,&dstregs,srcregs,false); } else cdrelconst(cdb,e1,&dstregs); freenode(e1); getregs(cdb,(srcregs | dstregs) & (mLSW | mDI)); if (need_DS) { assert(!(config.exe & EX_flat)); cdb.gen1(0x1E); // PUSH DS cdb.gen2(0x8E,modregrm(3,SEG_DS,CX)); // MOV DS,CX } if (numbytes <= REGSIZE * (6 + (REGSIZE == 4))) { while (numbytes >= REGSIZE) { cdb.gen1(0xA5); // MOVSW code_orrex(cdb.last(), rex); numbytes -= REGSIZE; } //if (numbytes) // printf("cdstreq numbytes %d\n",numbytes); if (I64 && numbytes >= 4) { cdb.gen1(0xA5); // MOVSD numbytes -= 4; } while (numbytes--) cdb.gen1(0xA4); // MOVSB } else { static if (1) { uint remainder = numbytes & (REGSIZE - 1); numbytes /= REGSIZE; // number of words getregs_imm(cdb,mCX); movregconst(cdb,CX,numbytes,0); // # of bytes/words cdb.gen1(0xF3); // REP if (REGSIZE == 8) cdb.gen1(REX | REX_W); cdb.gen1(0xA5); // REP MOVSD regimmed_set(CX,0); // note that CX == 0 if (I64 && remainder >= 4) { cdb.gen1(0xA5); // MOVSD remainder -= 4; } for (; remainder; remainder--) { cdb.gen1(0xA4); // MOVSB } } else { uint movs; if (numbytes & (REGSIZE - 1)) // if odd movs = 0xA4; // MOVSB else { movs = 0xA5; // MOVSW numbytes /= REGSIZE; // # of words } getregs_imm(cdb,mCX); movregconst(cdb,CX,numbytes,0); // # of bytes/words cdb.gen1(0xF3); // REP cdb.gen1(movs); regimmed_set(CX,0); // note that CX == 0 } } if (need_DS) cdb.gen1(0x1F); // POP DS assert(!(*pretregs & mPSW)); if (*pretregs) { // ES:DI points past what we want cdb.genc2(0x81,(rex << 16) | modregrm(3,5,DI), type_size(e.ET)); // SUB DI,numbytes const tym = tybasic(e.Ety); if (tym == TYucent && I64) { /* https://issues.dlang.org/show_bug.cgi?id=22175 * The trouble happens when the struct size does not fit exactly into * 2 registers. Then the type of e becomes a TYucent, not a TYstruct, * and we need to dereference DI to get the ucent */ // dereference DI code cs; cs.Iop = 0x8B; regm_t retregs = *pretregs; reg_t reg; allocreg(cdb,&retregs,&reg,tym); reg_t msreg = findregmsw(retregs); buildEA(&cs,DI,-1,1,REGSIZE); code_newreg(&cs,msreg); cs.Irex |= REX_W; cdb.gen(&cs); // MOV msreg,REGSIZE[DI] // msreg is never DI reg_t lsreg = findreglsw(retregs); buildEA(&cs,DI,-1,1,0); code_newreg(&cs,lsreg); cs.Irex |= REX_W; cdb.gen(&cs); // MOV lsreg,[DI]; fixresult(cdb,e,retregs,pretregs); return; } regm_t retregs = mDI; if (*pretregs & mMSW && !(config.exe & EX_flat)) retregs |= mES; fixresult(cdb,e,retregs,pretregs); } } /********************** * Get the address of. * Is also called by cdstreq() to set up pointer to a structure. */ @trusted void cdrelconst(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { //printf("cdrelconst(e = %p, *pretregs = %s)\n", e, regm_str(*pretregs)); /* The following should not happen, but cgelem.c is a little stupid. * Assertion can be tripped by func("string" == 0); and similar * things. Need to add goals to optelem() to fix this completely. */ //assert((*pretregs & mPSW) == 0); if (*pretregs & mPSW) { *pretregs &= ~mPSW; gentstreg(cdb,SP); // SP is never 0 if (I64) code_orrex(cdb.last(), REX_W); } if (!*pretregs) return; assert(e); tym_t tym = tybasic(e.Ety); switch (tym) { case TYstruct: case TYarray: case TYldouble: case TYildouble: case TYcldouble: tym = TYnptr; // don't confuse allocreg() if (*pretregs & (mES | mCX) || e.Ety & mTYfar) { tym = TYfptr; } break; case TYifunc: tym = TYfptr; break; default: if (tyfunc(tym)) tym = tyfarfunc(tym) ? TYfptr : TYnptr; break; } //assert(tym & typtr); // don't fail on (int)&a SC sclass; reg_t mreg, // segment of the address (TYfptrs only) lreg; // offset of the address allocreg(cdb,pretregs,&lreg,tym); if (_tysize[tym] > REGSIZE) // fptr could've been cast to long { if (*pretregs & mES) { /* Do not allocate CX or SI here, as cdstreq() needs * them preserved. cdstreq() should use scodelem() */ mreg = allocScratchReg(cdb, (mAX|mBX|mDX|mDI) & ~mask(lreg)); } else { mreg = lreg; lreg = findreglsw(*pretregs); } /* if (get segment of function that isn't necessarily in the * current segment (i.e. CS doesn't have the right value in it) */ Symbol *s = e.EV.Vsym; if (s.Sfl == FLdatseg) { assert(0); } sclass = s.Sclass; const ety = tybasic(s.ty()); if ((tyfarfunc(ety) || ety == TYifunc) && (sclass == SC.extern_ || ClassInline(sclass) || config.wflags & WFthunk) || s.Sfl == FLfardata || (s.ty() & mTYcs && s.Sseg != cseg && (LARGECODE || s.Sclass == SC.comdat)) ) { // MOV mreg,seg of symbol cdb.gencs(0xB8 + mreg,0,FLextern,s); cdb.last().Iflags = CFseg; } else { const fl = (s.ty() & mTYcs) ? FLcsdata : s.Sfl; cdb.gen2(0x8C, // MOV mreg,SEG REGISTER modregrm(3,segfl[fl],mreg)); } if (*pretregs & mES) cdb.gen2(0x8E,modregrm(3,0,mreg)); // MOV ES,mreg } getoffset(cdb,e,lreg); } /********************************* * Load the offset portion of the address represented by e into * reg. */ @trusted void getoffset(ref CodeBuilder cdb,elem *e,reg_t reg) { //printf("getoffset(e = %p, reg = %d)\n", e, reg); code cs = void; cs.Iflags = 0; ubyte rex = 0; cs.Irex = rex; assert(e.Eoper == OPvar || e.Eoper == OPrelconst); auto fl = el_fl(e); switch (fl) { case FLdatseg: cs.IEV2.Vpointer = e.EV.Vpointer; goto L3; case FLfardata: goto L4; case FLtlsdata: if (config.exe & EX_posix) { Lposix: if (config.flags3 & CFG3pic) { if (I64) { /* Generate: * LEA DI,s@TLSGD[RIP] */ //assert(reg == DI); code css = void; css.Irex = REX | REX_W; css.Iop = LEA; css.Irm = modregrm(0,reg,5); if (reg & 8) css.Irex |= REX_R; css.Iflags = CFopsize; css.IFL1 = cast(ubyte)fl; css.IEV1.Vsym = e.EV.Vsym; css.IEV1.Voffset = e.EV.Voffset; cdb.gen(&css); } else { /* Generate: * LEA EAX,s@TLSGD[1*EBX+0] */ assert(reg == AX); load_localgot(cdb); code css = void; css.Iflags = 0; css.Iop = LEA; // LEA css.Irex = 0; css.Irm = modregrm(0,AX,4); css.Isib = modregrm(0,BX,5); css.IFL1 = cast(ubyte)fl; css.IEV1.Vsym = e.EV.Vsym; css.IEV1.Voffset = e.EV.Voffset; cdb.gen(&css); } return; } /* Generate: * MOV reg,GS:[00000000] * ADD reg, offset s@TLS_LE * for locals, and for globals: * MOV reg,GS:[00000000] * ADD reg, s@TLS_IE * note different fixup */ int stack = 0; if (reg == STACK) { regm_t retregs = ALLREGS; reg_t regx; allocreg(cdb,&retregs,&regx,TYoffset); reg = findreg(retregs); stack = 1; } code css = void; css.Irex = rex; css.Iop = 0x8B; css.Irm = modregrm(0, 0, BPRM); code_newreg(&css, reg); css.Iflags = CFgs; css.IFL1 = FLconst; css.IEV1.Vuns = 0; cdb.gen(&css); // MOV reg,GS:[00000000] if (e.EV.Vsym.Sclass == SC.static_ || e.EV.Vsym.Sclass == SC.locstat) { // ADD reg, offset s cs.Irex = rex; cs.Iop = 0x81; cs.Irm = modregrm(3,0,reg & 7); if (reg & 8) cs.Irex |= REX_B; cs.Iflags = CFoff; cs.IFL2 = cast(ubyte)fl; cs.IEV2.Vsym = e.EV.Vsym; cs.IEV2.Voffset = e.EV.Voffset; } else { // ADD reg, s cs.Irex = rex; cs.Iop = 0x03; cs.Irm = modregrm(0,0,BPRM); code_newreg(&cs, reg); cs.Iflags = CFoff; cs.IFL1 = cast(ubyte)fl; cs.IEV1.Vsym = e.EV.Vsym; cs.IEV1.Voffset = e.EV.Voffset; } cdb.gen(&cs); // ADD reg, xxxx if (stack) { cdb.gen1(0x50 + (reg & 7)); // PUSH reg if (reg & 8) code_orrex(cdb.last(), REX_B); cdb.genadjesp(REGSIZE); stackchanged = 1; } break; } else if (config.exe & EX_windos) { if (I64) { Lwin64: assert(reg != STACK); cs.IEV2.Vsym = e.EV.Vsym; cs.IEV2.Voffset = e.EV.Voffset; cs.Iop = 0xB8 + (reg & 7); // MOV Ereg,offset s if (reg & 8) cs.Irex |= REX_B; cs.Iflags = CFoff; // want offset only cs.IFL2 = cast(ubyte)fl; cdb.gen(&cs); break; } goto L4; } else { goto L4; } case FLfunc: fl = FLextern; /* don't want PC relative addresses */ goto L4; case FLextern: if (config.exe & EX_posix && e.EV.Vsym.ty() & mTYthread) goto Lposix; if (config.exe & EX_WIN64 && e.EV.Vsym.ty() & mTYthread) goto Lwin64; goto L4; case FLdata: case FLudata: case FLgot: case FLgotoff: case FLcsdata: L4: cs.IEV2.Vsym = e.EV.Vsym; cs.IEV2.Voffset = e.EV.Voffset; L3: if (reg == STACK) { stackchanged = 1; cs.Iop = 0x68; /* PUSH immed16 */ cdb.genadjesp(REGSIZE); } else { cs.Iop = 0xB8 + (reg & 7); // MOV reg,immed16 if (reg & 8) cs.Irex |= REX_B; if (I64) { cs.Irex |= REX_W; if (config.flags3 & CFG3pic || config.exe == EX_WIN64) { // LEA reg,immed32[RIP] cs.Iop = LEA; cs.Irm = modregrm(0,reg & 7,5); if (reg & 8) cs.Irex = (cs.Irex & ~REX_B) | REX_R; cs.IFL1 = cast(ubyte)fl; cs.IEV1.Vsym = cs.IEV2.Vsym; cs.IEV1.Voffset = cs.IEV2.Voffset; } } } cs.Iflags = CFoff; /* want offset only */ cs.IFL2 = cast(ubyte)fl; cdb.gen(&cs); break; case FLreg: /* Allow this since the tree optimizer puts & in front of */ /* register doubles. */ goto L2; case FLauto: case FLfast: case FLbprel: case FLfltreg: reflocal = true; goto L2; case FLpara: refparam = true; L2: if (reg == STACK) { regm_t retregs = ALLREGS; reg_t regx; allocreg(cdb,&retregs,&regx,TYoffset); reg = findreg(retregs); loadea(cdb,e,&cs,LEA,reg,0,0,0); // LEA reg,EA if (I64) code_orrex(cdb.last(), REX_W); cdb.gen1(0x50 + (reg & 7)); // PUSH reg if (reg & 8) code_orrex(cdb.last(), REX_B); cdb.genadjesp(REGSIZE); stackchanged = 1; } else { loadea(cdb,e,&cs,LEA,reg,0,0,0); // LEA reg,EA if (I64) code_orrex(cdb.last(), REX_W); } break; default: debug { elem_print(e); WRFL(fl); } assert(0); } } /****************** * OPneg, OPsqrt, OPsin, OPcos, OPrint */ @trusted void cdneg(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { //printf("cdneg()\n"); //elem_print(e); if (*pretregs == 0) { codelem(cdb,e.EV.E1,pretregs,false); return; } const tyml = tybasic(e.EV.E1.Ety); const sz = _tysize[tyml]; if (tyfloating(tyml)) { if (tycomplex(tyml)) { neg_complex87(cdb, e, pretregs); return; } if (tyxmmreg(tyml) && e.Eoper == OPneg && *pretregs & XMMREGS) { xmmneg(cdb,e,pretregs); return; } if (config.inline8087 && ((*pretregs & (ALLREGS | mBP)) == 0 || e.Eoper == OPsqrt || I64)) { neg87(cdb,e,pretregs); return; } regm_t retregs = (I16 && sz == 8) ? DOUBLEREGS_16 : ALLREGS; codelem(cdb,e.EV.E1,&retregs,false); getregs(cdb,retregs); if (I32) { const reg = (sz == 8) ? findregmsw(retregs) : findreg(retregs); cdb.genc2(0x81,modregrm(3,6,reg),0x80000000); // XOR EDX,sign bit } else { const reg = (sz == 8) ? AX : findregmsw(retregs); cdb.genc2(0x81,modregrm(3,6,reg),0x8000); // XOR AX,0x8000 } fixresult(cdb,e,retregs,pretregs); return; } const uint isbyte = sz == 1; const possregs = (isbyte) ? BYTEREGS : allregs; regm_t retregs = *pretregs & possregs; if (retregs == 0) retregs = possregs; codelem(cdb,e.EV.E1,&retregs,false); getregs(cdb,retregs); // retregs will be destroyed if (sz <= REGSIZE) { const reg = findreg(retregs); uint rex = (I64 && sz == 8) ? REX_W : 0; if (I64 && sz == 1 && reg >= 4) rex |= REX; cdb.gen2(0xF7 ^ isbyte,(rex << 16) | modregrmx(3,3,reg)); // NEG reg if (!I16 && _tysize[tyml] == SHORTSIZE && *pretregs & mPSW) cdb.last().Iflags |= CFopsize | CFpsw; *pretregs &= mBP | ALLREGS; // flags already set } else if (sz == 2 * REGSIZE) { const msreg = findregmsw(retregs); cdb.gen2(0xF7,modregrm(3,3,msreg)); // NEG msreg const lsreg = findreglsw(retregs); cdb.gen2(0xF7,modregrm(3,3,lsreg)); // NEG lsreg code_orflag(cdb.last(), CFpsw); // need flag result of previous NEG cdb.genc2(0x81,modregrm(3,3,msreg),0); // SBB msreg,0 } else assert(0); fixresult(cdb,e,retregs,pretregs); } /****************** * Absolute value operator */ @trusted void cdabs(ref CodeBuilder cdb,elem *e, regm_t *pretregs) { //printf("cdabs(e = %p, *pretregs = %s)\n", e, regm_str(*pretregs)); if (*pretregs == 0) { codelem(cdb,e.EV.E1,pretregs,false); return; } const tyml = tybasic(e.EV.E1.Ety); const sz = _tysize[tyml]; const rex = (I64 && sz == 8) ? REX_W : 0; if (tyfloating(tyml)) { if (tyxmmreg(tyml) && *pretregs & XMMREGS) { xmmabs(cdb,e,pretregs); return; } if (config.inline8087 && ((*pretregs & (ALLREGS | mBP)) == 0 || I64)) { neg87(cdb,e,pretregs); return; } regm_t retregs = (!I32 && sz == 8) ? DOUBLEREGS_16 : ALLREGS; codelem(cdb,e.EV.E1,&retregs,false); getregs(cdb,retregs); if (I32) { const reg = (sz == 8) ? findregmsw(retregs) : findreg(retregs); cdb.genc2(0x81,modregrm(3,4,reg),0x7FFFFFFF); // AND EDX,~sign bit } else { const reg = (sz == 8) ? AX : findregmsw(retregs); cdb.genc2(0x81,modregrm(3,4,reg),0x7FFF); // AND AX,0x7FFF } fixresult(cdb,e,retregs,pretregs); return; } const uint isbyte = sz == 1; assert(isbyte == 0); regm_t possregs = (sz <= REGSIZE) ? cast(regm_t) mAX : allregs; if (!I16 && sz == REGSIZE) possregs = allregs; regm_t retregs = *pretregs & possregs; if (retregs == 0) retregs = possregs; codelem(cdb,e.EV.E1,&retregs,false); getregs(cdb,retregs); // retregs will be destroyed if (sz <= REGSIZE) { /* CWD XOR AX,DX SUB AX,DX or: MOV r,reg SAR r,63 XOR reg,r SUB reg,r */ reg_t reg; reg_t r; if (!I16 && sz == REGSIZE) { reg = findreg(retregs); r = allocScratchReg(cdb, allregs & ~retregs); getregs(cdb,retregs); genmovreg(cdb,r,reg); // MOV r,reg cdb.genc2(0xC1,modregrmx(3,7,r),REGSIZE * 8 - 1); // SAR r,31/63 code_orrex(cdb.last(), rex); } else { reg = AX; r = DX; getregs(cdb,mDX); if (!I16 && sz == SHORTSIZE) cdb.gen1(0x98); // CWDE cdb.gen1(0x99); // CWD code_orrex(cdb.last(), rex); } cdb.gen2(0x33 ^ isbyte,(rex << 16) | modregxrmx(3,reg,r)); // XOR reg,r cdb.gen2(0x2B ^ isbyte,(rex << 16) | modregxrmx(3,reg,r)); // SUB reg,r if (!I16 && sz == SHORTSIZE && *pretregs & mPSW) cdb.last().Iflags |= CFopsize | CFpsw; if (*pretregs & mPSW) cdb.last().Iflags |= CFpsw; *pretregs &= ~mPSW; // flags already set } else if (sz == 2 * REGSIZE) { /* or DX,DX jns L2 neg DX neg AX sbb DX,0 L2: */ code *cnop = gennop(null); const msreg = findregmsw(retregs); const lsreg = findreglsw(retregs); genregs(cdb,0x09,msreg,msreg); // OR msreg,msreg genjmp(cdb,JNS,FLcode,cast(block *)cnop); cdb.gen2(0xF7,modregrm(3,3,msreg)); // NEG msreg cdb.gen2(0xF7,modregrm(3,3,lsreg)); // NEG lsreg+1 cdb.genc2(0x81,modregrm(3,3,msreg),0); // SBB msreg,0 cdb.append(cnop); } else assert(0); fixresult(cdb,e,retregs,pretregs); } /************************** * Post increment and post decrement. */ @trusted void cdpost(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { //printf("cdpost(pretregs = %s)\n", regm_str(*pretregs)); code cs = void; const op = e.Eoper; // OPxxxx if (*pretregs == 0) // if nothing to return { cdaddass(cdb,e,pretregs); return; } const tym_t tyml = tybasic(e.EV.E1.Ety); const sz = _tysize[tyml]; elem *e2 = e.EV.E2; const rex = (I64 && sz == 8) ? REX_W : 0; if (tyfloating(tyml)) { if (config.fpxmmregs && tyxmmreg(tyml) && !tycomplex(tyml) // SIMD code is not set up to deal with complex ) { xmmpost(cdb,e,pretregs); return; } if (config.inline8087) { post87(cdb,e,pretregs); return; } if (config.exe & EX_windos) { assert(sz <= 8); getlvalue(cdb,&cs,e.EV.E1,DOUBLEREGS); freenode(e.EV.E1); regm_t idxregs = idxregm(&cs); // mask of index regs used cs.Iop = 0x8B; /* MOV DOUBLEREGS,EA */ fltregs(cdb,&cs,tyml); stackchanged = 1; int stackpushsave = stackpush; regm_t retregs; if (sz == 8) { if (I32) { cdb.gen1(0x50 + DX); // PUSH DOUBLEREGS cdb.gen1(0x50 + AX); stackpush += DOUBLESIZE; retregs = DOUBLEREGS2_32; } else { cdb.gen1(0x50 + AX); cdb.gen1(0x50 + BX); cdb.gen1(0x50 + CX); cdb.gen1(0x50 + DX); /* PUSH DOUBLEREGS */ stackpush += DOUBLESIZE + DOUBLESIZE; cdb.gen1(0x50 + AX); cdb.gen1(0x50 + BX); cdb.gen1(0x50 + CX); cdb.gen1(0x50 + DX); /* PUSH DOUBLEREGS */ retregs = DOUBLEREGS_16; } } else { stackpush += FLOATSIZE; /* so we know something is on */ if (!I32) cdb.gen1(0x50 + DX); cdb.gen1(0x50 + AX); retregs = FLOATREGS2; } cdb.genadjesp(stackpush - stackpushsave); cgstate.stackclean++; scodelem(cdb,e2,&retregs,idxregs,false); cgstate.stackclean--; if (tyml == TYdouble || tyml == TYdouble_alias) { retregs = DOUBLEREGS; callclib(cdb,e,(op == OPpostinc) ? CLIB.dadd : CLIB.dsub, &retregs,idxregs); } else /* tyml == TYfloat */ { retregs = FLOATREGS; callclib(cdb,e,(op == OPpostinc) ? CLIB.fadd : CLIB.fsub, &retregs,idxregs); } cs.Iop = 0x89; /* MOV EA,DOUBLEREGS */ fltregs(cdb,&cs,tyml); stackpushsave = stackpush; if (tyml == TYdouble || tyml == TYdouble_alias) { if (*pretregs == mSTACK) retregs = mSTACK; /* leave result on stack */ else { if (I32) { cdb.gen1(0x58 + AX); cdb.gen1(0x58 + DX); } else { cdb.gen1(0x58 + DX); cdb.gen1(0x58 + CX); cdb.gen1(0x58 + BX); cdb.gen1(0x58 + AX); } stackpush -= DOUBLESIZE; retregs = DOUBLEREGS; } } else { cdb.gen1(0x58 + AX); if (!I32) cdb.gen1(0x58 + DX); stackpush -= FLOATSIZE; retregs = FLOATREGS; } cdb.genadjesp(stackpush - stackpushsave); fixresult(cdb,e,retregs,pretregs); return; } } if (tyxmmreg(tyml)) { xmmpost(cdb,e,pretregs); return; } assert(e2.Eoper == OPconst); uint isbyte = (sz == 1); regm_t possregs = isbyte ? BYTEREGS : allregs; getlvalue(cdb,&cs,e.EV.E1,0); freenode(e.EV.E1); regm_t idxregs = idxregm(&cs); // mask of index regs used if (sz <= REGSIZE && *pretregs == mPSW && (cs.Irm & 0xC0) == 0xC0 && (!I16 || (idxregs & (mBX | mSI | mDI | mBP)))) { // Generate: // TEST reg,reg // LEA reg,n[reg] // don't affect flags reg_t reg = cs.Irm & 7; if (cs.Irex & REX_B) reg |= 8; cs.Iop = 0x85 ^ isbyte; code_newreg(&cs, reg); cs.Iflags |= CFpsw; cdb.gen(&cs); // TEST reg,reg // If lvalue is a register variable, we must mark it as modified modEA(cdb,&cs); auto n = e2.EV.Vint; if (op == OPpostdec) n = -n; int rm = reg; if (I16) { static immutable byte[8] regtorm = [ -1,-1,-1, 7,-1, 6, 4, 5 ]; // copied from cod1.c rm = regtorm[reg]; } cdb.genc1(LEA,(rex << 16) | buildModregrm(2,reg,rm),FLconst,n); // LEA reg,n[reg] return; } else if (sz <= REGSIZE || tyfv(tyml)) { code cs2 = void; cs.Iop = 0x8B ^ isbyte; regm_t retregs = possregs & ~idxregs & *pretregs; if (!tyfv(tyml)) { if (retregs == 0) retregs = possregs & ~idxregs; } else /* tyfv(tyml) */ { if ((retregs &= mLSW) == 0) retregs = mLSW & ~idxregs; /* Can't use LES if the EA uses ES as a seg override */ if (*pretregs & mES && (cs.Iflags & CFSEG) != CFes) { cs.Iop = 0xC4; /* LES */ getregs(cdb,mES); // allocate ES } } reg_t reg; allocreg(cdb,&retregs,&reg,TYint); code_newreg(&cs, reg); if (sz == 1 && I64 && reg >= 4) cs.Irex |= REX; cdb.gen(&cs); // MOV reg,EA cs2 = cs; /* If lvalue is a register variable, we must mark it as modified */ modEA(cdb,&cs); cs.Iop = 0x81 ^ isbyte; cs.Irm &= ~cast(int)modregrm(0,7,0); // reg field = 0 cs.Irex &= ~REX_R; if (op == OPpostdec) cs.Irm |= modregrm(0,5,0); /* SUB */ cs.IFL2 = FLconst; targ_int n = e2.EV.Vint; cs.IEV2.Vint = n; if (n == 1) /* can use INC or DEC */ { cs.Iop |= 0xFE; /* xFE is dec byte, xFF is word */ if (op == OPpostdec) NEWREG(cs.Irm,1); // DEC EA else NEWREG(cs.Irm,0); // INC EA } else if (n == -1) // can use INC or DEC { cs.Iop |= 0xFE; // xFE is dec byte, xFF is word if (op == OPpostinc) NEWREG(cs.Irm,1); // DEC EA else NEWREG(cs.Irm,0); // INC EA } // For scheduling purposes, we wish to replace: // MOV reg,EA // OP EA // with: // MOV reg,EA // OP reg // MOV EA,reg // ~OP reg if (sz <= REGSIZE && (cs.Irm & 0xC0) != 0xC0 && config.target_cpu >= TARGET_Pentium && config.flags4 & CFG4speed) { // Replace EA in cs with reg cs.Irm = (cs.Irm & ~cast(int)modregrm(3,0,7)) | modregrm(3,0,reg & 7); if (reg & 8) { cs.Irex &= ~REX_R; cs.Irex |= REX_B; } else cs.Irex &= ~REX_B; if (I64 && sz == 1 && reg >= 4) cs.Irex |= REX; cdb.gen(&cs); // ADD/SUB reg,const // Reverse MOV direction cs2.Iop ^= 2; cdb.gen(&cs2); // MOV EA,reg // Toggle INC <. DEC, ADD <. SUB cs.Irm ^= (n == 1 || n == -1) ? modregrm(0,1,0) : modregrm(0,5,0); cdb.gen(&cs); if (*pretregs & mPSW) { *pretregs &= ~mPSW; // flags already set code_orflag(cdb.last(),CFpsw); } } else cdb.gen(&cs); // ADD/SUB EA,const freenode(e2); if (tyfv(tyml)) { reg_t preg; getlvalue_msw(&cs); if (*pretregs & mES) { preg = ES; /* ES is already loaded if CFes is 0 */ cs.Iop = ((cs.Iflags & CFSEG) == CFes) ? 0x8E : NOP; NEWREG(cs.Irm,0); /* MOV ES,EA+2 */ } else { regm_t retregsx = *pretregs & mMSW; if (!retregsx) retregsx = mMSW; allocreg(cdb,&retregsx,&preg,TYint); cs.Iop = 0x8B; if (I32) cs.Iflags |= CFopsize; NEWREG(cs.Irm,preg); /* MOV preg,EA+2 */ } getregs(cdb,mask(preg)); cdb.gen(&cs); retregs = mask(reg) | mask(preg); } fixresult(cdb,e,retregs,pretregs); return; } else if (tyml == TYhptr) { uint rvalue; reg_t lreg; reg_t rtmp; regm_t mtmp; rvalue = e2.EV.Vlong; freenode(e2); // If h--, convert to h++ if (e.Eoper == OPpostdec) rvalue = -rvalue; regm_t retregs = mLSW & ~idxregs & *pretregs; if (!retregs) retregs = mLSW & ~idxregs; allocreg(cdb,&retregs,&lreg,TYint); // Can't use LES if the EA uses ES as a seg override if (*pretregs & mES && (cs.Iflags & CFSEG) != CFes) { cs.Iop = 0xC4; retregs |= mES; getregs(cdb,mES|mCX); // allocate ES cs.Irm |= modregrm(0,lreg,0); cdb.gen(&cs); // LES lreg,EA } else { cs.Iop = 0x8B; retregs |= mDX; getregs(cdb,mDX|mCX); cs.Irm |= modregrm(0,lreg,0); cdb.gen(&cs); // MOV lreg,EA NEWREG(cs.Irm,DX); getlvalue_msw(&cs); cdb.gen(&cs); // MOV DX,EA+2 getlvalue_lsw(&cs); } // Allocate temporary register, rtmp mtmp = ALLREGS & ~mCX & ~idxregs & ~retregs; allocreg(cdb,&mtmp,&rtmp,TYint); movregconst(cdb,rtmp,rvalue >> 16,0); // MOV rtmp,e2+2 getregs(cdb,mtmp); cs.Iop = 0x81; NEWREG(cs.Irm,0); cs.IFL2 = FLconst; cs.IEV2.Vint = rvalue; cdb.gen(&cs); // ADD EA,e2 code_orflag(cdb.last(),CFpsw); cdb.genc2(0x81,modregrm(3,2,rtmp),0); // ADC rtmp,0 genshift(cdb); // MOV CX,offset __AHSHIFT cdb.gen2(0xD3,modregrm(3,4,rtmp)); // SHL rtmp,CL cs.Iop = 0x01; NEWREG(cs.Irm,rtmp); // ADD EA+2,rtmp getlvalue_msw(&cs); cdb.gen(&cs); fixresult(cdb,e,retregs,pretregs); return; } else if (sz == 2 * REGSIZE) { regm_t retregs = allregs & ~idxregs & *pretregs; if ((retregs & mLSW) == 0) retregs |= mLSW & ~idxregs; if ((retregs & mMSW) == 0) retregs |= ALLREGS & mMSW; assert(retregs & mMSW && retregs & mLSW); reg_t reg; allocreg(cdb,&retregs,&reg,tyml); uint sreg = findreglsw(retregs); cs.Iop = 0x8B; cs.Irm |= modregrm(0,sreg,0); cdb.gen(&cs); // MOV sreg,EA NEWREG(cs.Irm,reg); getlvalue_msw(&cs); cdb.gen(&cs); // MOV reg,EA+2 cs.Iop = 0x81; cs.Irm &= ~cast(int)modregrm(0,7,0); /* reg field = 0 for ADD */ if (op == OPpostdec) cs.Irm |= modregrm(0,5,0); /* SUB */ getlvalue_lsw(&cs); cs.IFL2 = FLconst; cs.IEV2.Vlong = e2.EV.Vlong; cdb.gen(&cs); // ADD/SUB EA,const code_orflag(cdb.last(),CFpsw); getlvalue_msw(&cs); cs.IEV2.Vlong = 0; if (op == OPpostinc) cs.Irm ^= modregrm(0,2,0); /* ADC */ else cs.Irm ^= modregrm(0,6,0); /* SBB */ cs.IEV2.Vlong = cast(targ_long)(e2.EV.Vullong >> (REGSIZE * 8)); cdb.gen(&cs); // ADC/SBB EA,0 freenode(e2); fixresult(cdb,e,retregs,pretregs); return; } else { assert(0); } } void cderr(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { debug elem_print(e); //printf("op = %d, %d\n", e.Eoper, OPstring); //printf("string = %p, len = %d\n", e.EV.ss.Vstring, e.EV.ss.Vstrlen); //printf("string = '%.*s'\n", cast(int)e.EV.ss.Vstrlen, e.EV.ss.Vstring); assert(0); } @trusted void cdinfo(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { switch (e.EV.E1.Eoper) { case OPdctor: codelem(cdb,e.EV.E2,pretregs,false); regm_t retregs = 0; codelem(cdb,e.EV.E1,&retregs,false); break; default: assert(0); } } /******************************************* * D constructor. * OPdctor */ @trusted void cddctor(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { /* Generate: ESCAPE | ESCdctor MOV sindex[BP],index */ usednteh |= EHcleanup; if (config.ehmethod == EHmethod.EH_WIN32) { usednteh |= NTEHcleanup | NTEH_try; nteh_usevars(); } assert(*pretregs == 0); code cs; cs.Iop = ESCAPE | ESCdctor; // mark start of EH range cs.Iflags = 0; cs.Irex = 0; cs.IFL1 = FLctor; cs.IEV1.Vtor = e; cdb.gen(&cs); nteh_gensindex(cdb,0); // the actual index will be patched in later // by except_fillInEHTable() } /******************************************* * D destructor. * OPddtor */ @trusted void cdddtor(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { if (config.ehmethod == EHmethod.EH_DWARF) { usednteh |= EHcleanup; code cs; cs.Iop = ESCAPE | ESCddtor; // mark end of EH range and where landing pad is cs.Iflags = 0; cs.Irex = 0; cs.IFL1 = FLdtor; cs.IEV1.Vtor = e; cdb.gen(&cs); // Mark all registers as destroyed getregsNoSave(allregs); assert(*pretregs == 0); codelem(cdb,e.EV.E1,pretregs,false); return; } else { /* Generate: ESCAPE | ESCddtor MOV sindex[BP],index CALL dtor JMP L1 Ldtor: ... e.EV.E1 ... RET L1: NOP */ usednteh |= EHcleanup; if (config.ehmethod == EHmethod.EH_WIN32) { usednteh |= NTEHcleanup | NTEH_try; nteh_usevars(); } code cs; cs.Iop = ESCAPE | ESCddtor; cs.Iflags = 0; cs.Irex = 0; cs.IFL1 = FLdtor; cs.IEV1.Vtor = e; cdb.gen(&cs); nteh_gensindex(cdb,0); // the actual index will be patched in later // by except_fillInEHTable() // Mark all registers as destroyed getregsNoSave(allregs); assert(*pretregs == 0); CodeBuilder cdbx; cdbx.ctor(); codelem(cdbx,e.EV.E1,pretregs,false); cdbx.gen1(0xC3); // RET code *c = cdbx.finish(); int nalign = 0; if (STACKALIGN >= 16) { nalign = STACKALIGN - REGSIZE; cod3_stackadj(cdb, nalign); } calledafunc = 1; genjmp(cdb,0xE8,FLcode,cast(block *)c); // CALL Ldtor if (nalign) cod3_stackadj(cdb, -nalign); code *cnop = gennop(null); genjmp(cdb,JMP,FLcode,cast(block *)cnop); cdb.append(cdbx); cdb.append(cnop); return; } } /******************************************* * C++ constructor. */ @trusted void cdctor(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { } /****** * OPdtor */ void cddtor(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { } void cdmark(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { } static if (!NTEXCEPTIONS) { void cdsetjmp(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { assert(0); } } /***************************************** */ @trusted void cdvoid(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { assert(*pretregs == 0); codelem(cdb,e.EV.E1,pretregs,false); } /***************************************** */ @trusted void cdhalt(ref CodeBuilder cdb,elem *e,regm_t *pretregs) { assert(*pretregs == 0); cdb.gen1(config.target_cpu >= TARGET_80286 ? UD2 : INT3); }
D
/home/dario/BC/NEAR/BlockJob/contract/target/debug/deps/cpuid_bool-b556d7143942909f.rmeta: /home/dario/.cargo/registry/src/github.com-1ecc6299db9ec823/cpuid-bool-0.1.2/src/lib.rs /home/dario/BC/NEAR/BlockJob/contract/target/debug/deps/libcpuid_bool-b556d7143942909f.rlib: /home/dario/.cargo/registry/src/github.com-1ecc6299db9ec823/cpuid-bool-0.1.2/src/lib.rs /home/dario/BC/NEAR/BlockJob/contract/target/debug/deps/cpuid_bool-b556d7143942909f.d: /home/dario/.cargo/registry/src/github.com-1ecc6299db9ec823/cpuid-bool-0.1.2/src/lib.rs /home/dario/.cargo/registry/src/github.com-1ecc6299db9ec823/cpuid-bool-0.1.2/src/lib.rs:
D
module levelgen.LevelGenerator; import Cell; import Level; import TemplateDatabase:TemplateDatabase,DataTemplate; import utility.TemplateReader; import utility.Geometry; import Connections:Queue; enum LevelGenBaseMode {NONE = -1, NOISE = 0, DRUNKARD = 1, BSP = 2, MAZE = 3, CELLULAR = 4} class LevelGenTemplate: DataTemplate { LevelGenBaseMode base_mode; string[][int] gen_params; string ctf_name; string ctw_name; void ParseCommands(ref string[][int] commands) { import std.conv:to; int gp_count = 0; for(int i = 0; i < commands.length; i++) { string[] command = commands[i]; switch(command[0]) { case "base_mode": base_mode = to!LevelGenBaseMode(command[1]); break; case "floor_cell": ctf_name = command[1]; break; case "wall_cell": ctw_name = command[1]; break; default: gen_params[gp_count] = command; gp_count++; break; } } } int GenGetCommandCount() { return gen_params.length; } string[] GenGetCommand(int i) { return gen_params[i]; } } struct CellTopologyInfo { Point position; int wall_distance; int number_of_neighbors; int group_id; int home_step_distance; int home_weighted_distance; int movement_cost; Point came_from; } abstract class LevelGenerator { CellTemplate floor_cell; CellTemplate wall_cell; void GetGeneratorParameters(LevelGenTemplate tmpl); void GetCellTemplates(LevelGenTemplate tmpl, TemplateDatabase!CellTemplate cell_db) { floor_cell = cell_db.Get(tmpl.ctf_name); wall_cell = cell_db.Get(tmpl.ctw_name); } Level Generate(int width, int height); void PasteCell(Level l, int off, CellTemplate tmpl) { l.map[off].glyph = tmpl.glyph; l.map[off].flags = tmpl.flags; l.map[off].movement_cost = tmpl.movement_cost; l.map[off].emit_light = tmpl.emit_light; } } class LevelGenNone: LevelGenerator { override void GetGeneratorParameters(LevelGenTemplate tmpl) {return;} override Level Generate(int width, int height) { int wh = width*height; Level l = new Level(); l.map_size = Point(cast(short)width, cast(short)height); l.starting_point = Point(cast(short)(width/2), cast(short)(height/2)); l.map.length = width*height; for(int i = 0; i < wh; i++) PasteCell(l, i, floor_cell); int offset = l.toOffset(Point(3, 3)); PasteCell(l, offset, wall_cell); PasteCell(l, offset+1, wall_cell); PasteCell(l, offset+2, wall_cell); for(int i = 0; i < wh; i++) l.ComputeLightPowerAtCell(l.toPoint(i)); return l; } }
D
/contract/target/release/build/schemars-babe69baead9b43e/build_script_build-babe69baead9b43e: /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/schemars-0.7.6/build.rs /contract/target/release/build/schemars-babe69baead9b43e/build_script_build-babe69baead9b43e.d: /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/schemars-0.7.6/build.rs /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/schemars-0.7.6/build.rs:
D
in a keen and discriminating manner
D
/** This module is a submodule of $(MREF std, range). It provides basic range functionality by defining several templates for testing whether a given object is a _range, and what kind of _range it is: $(BOOKTABLE , $(TR $(TD $(D $(LREF isInputRange))) $(TD Tests if something is an $(I input _range), defined to be something from which one can sequentially read data using the primitives $(D front), $(D popFront), and $(D empty). )) $(TR $(TD $(D $(LREF isOutputRange))) $(TD Tests if something is an $(I output _range), defined to be something to which one can sequentially write data using the $(D $(LREF put)) primitive. )) $(TR $(TD $(D $(LREF isForwardRange))) $(TD Tests if something is a $(I forward _range), defined to be an input _range with the additional capability that one can save one's current position with the $(D save) primitive, thus allowing one to iterate over the same _range multiple times. )) $(TR $(TD $(D $(LREF isBidirectionalRange))) $(TD Tests if something is a $(I bidirectional _range), that is, a forward _range that allows reverse traversal using the primitives $(D back) and $(D popBack). )) $(TR $(TD $(D $(LREF isRandomAccessRange))) $(TD Tests if something is a $(I random access _range), which is a bidirectional _range that also supports the array subscripting operation via the primitive $(D opIndex). )) ) It also provides number of templates that test for various _range capabilities: $(BOOKTABLE , $(TR $(TD $(D $(LREF hasMobileElements))) $(TD Tests if a given _range's elements can be moved around using the primitives $(D moveFront), $(D moveBack), or $(D moveAt). )) $(TR $(TD $(D $(LREF ElementType))) $(TD Returns the element type of a given _range. )) $(TR $(TD $(D $(LREF ElementEncodingType))) $(TD Returns the encoding element type of a given _range. )) $(TR $(TD $(D $(LREF hasSwappableElements))) $(TD Tests if a _range is a forward _range with swappable elements. )) $(TR $(TD $(D $(LREF hasAssignableElements))) $(TD Tests if a _range is a forward _range with mutable elements. )) $(TR $(TD $(D $(LREF hasLvalueElements))) $(TD Tests if a _range is a forward _range with elements that can be passed by reference and have their address taken. )) $(TR $(TD $(D $(LREF hasLength))) $(TD Tests if a given _range has the $(D length) attribute. )) $(TR $(TD $(D $(LREF isInfinite))) $(TD Tests if a given _range is an $(I infinite _range). )) $(TR $(TD $(D $(LREF hasSlicing))) $(TD Tests if a given _range supports the array slicing operation $(D R[x..y]). )) ) Finally, it includes some convenience functions for manipulating ranges: $(BOOKTABLE , $(TR $(TD $(D $(LREF popFrontN))) $(TD Advances a given _range by up to $(I n) elements. )) $(TR $(TD $(D $(LREF popBackN))) $(TD Advances a given bidirectional _range from the right by up to $(I n) elements. )) $(TR $(TD $(D $(LREF popFrontExactly))) $(TD Advances a given _range by up exactly $(I n) elements. )) $(TR $(TD $(D $(LREF popBackExactly))) $(TD Advances a given bidirectional _range from the right by exactly $(I n) elements. )) $(TR $(TD $(D $(LREF moveFront))) $(TD Removes the front element of a _range. )) $(TR $(TD $(D $(LREF moveBack))) $(TD Removes the back element of a bidirectional _range. )) $(TR $(TD $(D $(LREF moveAt))) $(TD Removes the $(I i)'th element of a random-access _range. )) $(TR $(TD $(D $(LREF walkLength))) $(TD Computes the length of any _range in O(n) time. )) ) Source: $(PHOBOSSRC std/range/_primitives.d) Macros: WIKI = Phobos/StdRange Copyright: Copyright by authors 2008-. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: $(WEB erdani.com, Andrei Alexandrescu), David Simcha, and Jonathan M Davis. Credit for some of the ideas in building this module goes to $(WEB fantascienza.net/leonardo/so/, Leonardo Maffi). */ module std.range.primitives; import std.traits; /** Returns $(D true) if $(D R) is an input range. An input range must define the primitives $(D empty), $(D popFront), and $(D front). The following code should compile for any input range. ---- R r; // can define a range object if (r.empty) {} // can test for empty r.popFront(); // can invoke popFront() auto h = r.front; // can get the front of the range of non-void type ---- The semantics of an input range (not checkable during compilation) are assumed to be the following ($(D r) is an object of type $(D R)): $(UL $(LI $(D r.empty) returns $(D false) iff there is more data available in the range.) $(LI $(D r.front) returns the current element in the range. It may return by value or by reference. Calling $(D r.front) is allowed only if calling $(D r.empty) has, or would have, returned $(D false).) $(LI $(D r.popFront) advances to the next element in the range. Calling $(D r.popFront) is allowed only if calling $(D r.empty) has, or would have, returned $(D false).)) Params: R = type to be tested Returns: true if R is an InputRange, false if not */ template isInputRange(R) { enum bool isInputRange = is(typeof( (inout int = 0) { R r = R.init; // can define a range object if (r.empty) {} // can test for empty r.popFront(); // can invoke popFront() auto h = r.front; // can get the front of the range })); } /// @safe unittest { struct A {} struct B { void popFront(); @property bool empty(); @property int front(); } static assert(!isInputRange!A); static assert( isInputRange!B); static assert( isInputRange!(int[])); static assert( isInputRange!(char[])); static assert(!isInputRange!(char[4])); static assert( isInputRange!(inout(int)[])); } /+ puts the whole raw element $(D e) into $(D r). doPut will not attempt to iterate, slice or transcode $(D e) in any way shape or form. It will $(B only) call the correct primitive ($(D r.put(e)), $(D r.front = e) or $(D r(0)) once. This can be important when $(D e) needs to be placed in $(D r) unchanged. Furthermore, it can be useful when working with $(D InputRange)s, as doPut guarantees that no more than a single element will be placed. +/ private void doPut(R, E)(ref R r, auto ref E e) { static if (is(PointerTarget!R == struct)) enum usingPut = hasMember!(PointerTarget!R, "put"); else enum usingPut = hasMember!(R, "put"); static if (usingPut) { static assert(is(typeof(r.put(e))), "Cannot put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); r.put(e); } else static if (isInputRange!R) { static assert(is(typeof(r.front = e)), "Cannot put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); r.front = e; r.popFront(); } else static if (is(typeof(r(e)))) { r(e); } else { static assert (false, "Cannot put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); } } @safe unittest { static assert (!isNativeOutputRange!(int, int)); static assert ( isNativeOutputRange!(int[], int)); static assert (!isNativeOutputRange!(int[][], int)); static assert (!isNativeOutputRange!(int, int[])); static assert (!isNativeOutputRange!(int[], int[])); static assert ( isNativeOutputRange!(int[][], int[])); static assert (!isNativeOutputRange!(int, int[][])); static assert (!isNativeOutputRange!(int[], int[][])); static assert (!isNativeOutputRange!(int[][], int[][])); static assert (!isNativeOutputRange!(int[4], int)); static assert ( isNativeOutputRange!(int[4][], int)); //Scary! static assert ( isNativeOutputRange!(int[4][], int[4])); static assert (!isNativeOutputRange!( char[], char)); static assert (!isNativeOutputRange!( char[], dchar)); static assert ( isNativeOutputRange!(dchar[], char)); static assert ( isNativeOutputRange!(dchar[], dchar)); } /++ Outputs $(D e) to $(D r). The exact effect is dependent upon the two types. Several cases are accepted, as described below. The code snippets are attempted in order, and the first to compile "wins" and gets evaluated. In this table "doPut" is a method that places $(D e) into $(D r), using the correct primitive: $(D r.put(e)) if $(D R) defines $(D put), $(D r.front = e) if $(D r) is an input range (followed by $(D r.popFront())), or $(D r(e)) otherwise. $(BOOKTABLE , $(TR $(TH Code Snippet) $(TH Scenario) ) $(TR $(TD $(D r.doPut(e);)) $(TD $(D R) specifically accepts an $(D E).) ) $(TR $(TD $(D r.doPut([ e ]);)) $(TD $(D R) specifically accepts an $(D E[]).) ) $(TR $(TD $(D r.putChar(e);)) $(TD $(D R) accepts some form of string or character. put will transcode the character $(D e) accordingly.) ) $(TR $(TD $(D for (; !e.empty; e.popFront()) put(r, e.front);)) $(TD Copying range $(D E) into $(D R).) ) ) Tip: $(D put) should $(I not) be used "UFCS-style", e.g. $(D r.put(e)). Doing this may call $(D R.put) directly, by-passing any transformation feature provided by $(D Range.put). $(D put(r, e)) is prefered. +/ void put(R, E)(ref R r, E e) { //First level: simply straight up put. static if (is(typeof(doPut(r, e)))) { doPut(r, e); } //Optional optimization block for straight up array to array copy. else static if (isDynamicArray!R && !isNarrowString!R && isDynamicArray!E && is(typeof(r[] = e[]))) { immutable len = e.length; r[0 .. len] = e[]; r = r[len .. $]; } //Accepts E[] ? else static if (is(typeof(doPut(r, [e]))) && !isDynamicArray!R) { if (__ctfe) { E[1] arr = [e]; doPut(r, arr[]); } else doPut(r, (ref e) @trusted { return (&e)[0..1]; }(e)); } //special case for char to string. else static if (isSomeChar!E && is(typeof(putChar(r, e)))) { putChar(r, e); } //Extract each element from the range //We can use "put" here, so we can recursively test a RoR of E. else static if (isInputRange!E && is(typeof(put(r, e.front)))) { //Special optimization: If E is a narrow string, and r accepts characters no-wider than the string's //Then simply feed the characters 1 by 1. static if (isNarrowString!E && ( (is(E : const char[]) && is(typeof(doPut(r, char.max))) && !is(typeof(doPut(r, dchar.max))) && !is(typeof(doPut(r, wchar.max)))) || (is(E : const wchar[]) && is(typeof(doPut(r, wchar.max))) && !is(typeof(doPut(r, dchar.max)))) ) ) { foreach (c; e) doPut(r, c); } else { for (; !e.empty; e.popFront()) put(r, e.front); } } else { static assert (false, "Cannot put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); } } @safe pure nothrow @nogc unittest { static struct R() { void put(in char[]) {} } R!() r; put(r, 'a'); } //Helper function to handle chars as quickly and as elegantly as possible //Assumes r.put(e)/r(e) has already been tested private void putChar(R, E)(ref R r, E e) if (isSomeChar!E) { ////@@@9186@@@: Can't use (E[]).init ref const( char)[] cstringInit(); ref const(wchar)[] wstringInit(); ref const(dchar)[] dstringInit(); enum csCond = !isDynamicArray!R && is(typeof(doPut(r, cstringInit()))); enum wsCond = !isDynamicArray!R && is(typeof(doPut(r, wstringInit()))); enum dsCond = !isDynamicArray!R && is(typeof(doPut(r, dstringInit()))); //Use "max" to avoid static type demotion enum ccCond = is(typeof(doPut(r, char.max))); enum wcCond = is(typeof(doPut(r, wchar.max))); //enum dcCond = is(typeof(doPut(r, dchar.max))); //Fast transform a narrow char into a wider string static if ((wsCond && E.sizeof < wchar.sizeof) || (dsCond && E.sizeof < dchar.sizeof)) { enum w = wsCond && E.sizeof < wchar.sizeof; Select!(w, wchar, dchar) c = e; typeof(c)[1] arr = [c]; doPut(r, arr[]); } //Encode a wide char into a narrower string else static if (wsCond || csCond) { import std.utf : encode; /+static+/ Select!(wsCond, wchar[2], char[4]) buf; //static prevents purity. doPut(r, buf[0 .. encode(buf, e)]); } //Slowly encode a wide char into a series of narrower chars else static if (wcCond || ccCond) { import std.encoding : encode; alias C = Select!(wcCond, wchar, char); encode!(C, R)(e, r); } else { static assert (false, "Cannot put a " ~ E.stringof ~ " into a " ~ R.stringof ~ "."); } } pure unittest { auto f = delegate (const(char)[]) {}; putChar(f, cast(dchar)'a'); } @safe pure unittest { static struct R() { void put(in char[]) {} } R!() r; putChar(r, 'a'); } unittest { struct A {} static assert(!isInputRange!(A)); struct B { void put(int) {} } B b; put(b, 5); } unittest { int[] a = [1, 2, 3], b = [10, 20]; auto c = a; put(a, b); assert(c == [10, 20, 3]); assert(a == [3]); } unittest { int[] a = new int[10]; int b; static assert(isInputRange!(typeof(a))); put(a, b); } unittest { void myprint(in char[] s) { } auto r = &myprint; put(r, 'a'); } unittest { int[] a = new int[10]; static assert(!__traits(compiles, put(a, 1.0L))); put(a, 1); assert(a.length == 9); /* * a[0] = 65; // OK * a[0] = 'A'; // OK * a[0] = "ABC"[0]; // OK * put(a, "ABC"); // OK */ put(a, "ABC"); assert(a.length == 6); } unittest { char[] a = new char[10]; static assert(!__traits(compiles, put(a, 1.0L))); static assert(!__traits(compiles, put(a, 1))); // char[] is NOT output range. static assert(!__traits(compiles, put(a, 'a'))); static assert(!__traits(compiles, put(a, "ABC"))); } unittest { int[][] a = new int[][10]; int[] b = new int[10]; int c; put(b, c); assert(b.length == 9); put(a, b); assert(a.length == 9); static assert(!__traits(compiles, put(a, c))); } unittest { int[][] a = new int[][](3); int[] b = [1]; auto aa = a; put(aa, b); assert(aa == [[], []]); assert(a == [[1], [], []]); int[][3] c = [2]; aa = a; put(aa, c[]); assert(aa.empty); assert(a == [[2], [2], [2]]); } unittest { // Test fix for bug 7476. struct LockingTextWriter { void put(dchar c){} } struct RetroResult { bool end = false; @property bool empty() const { return end; } @property dchar front(){ return 'a'; } void popFront(){ end = true; } } LockingTextWriter w; RetroResult r; put(w, r); } unittest { import std.conv : to; import std.meta : AliasSeq; import std.typecons : tuple; static struct PutC(C) { string result; void put(const(C) c) { result ~= to!string((&c)[0..1]); } } static struct PutS(C) { string result; void put(const(C)[] s) { result ~= to!string(s); } } static struct PutSS(C) { string result; void put(const(C)[][] ss) { foreach (s; ss) result ~= to!string(s); } } PutS!char p; putChar(p, cast(dchar)'a'); //Source Char foreach (SC; AliasSeq!(char, wchar, dchar)) { SC ch = 'I'; dchar dh = '♥'; immutable(SC)[] s = "日本語!"; immutable(SC)[][] ss = ["日本語", "が", "好き", "ですか", "?"]; //Target Char foreach (TC; AliasSeq!(char, wchar, dchar)) { //Testing PutC and PutS foreach (Type; AliasSeq!(PutC!TC, PutS!TC)) (){ // avoid slow optimizations for large functions @@@BUG@@@ 2396 Type type; auto sink = new Type(); //Testing put and sink foreach (value ; tuple(type, sink)) { put(value, ch); assert(value.result == "I"); put(value, dh); assert(value.result == "I♥"); put(value, s); assert(value.result == "I♥日本語!"); put(value, ss); assert(value.result == "I♥日本語!日本語が好きですか?"); } }(); } } } unittest { static struct CharRange { char c; enum empty = false; void popFront(){} ref char front() return @property { return c; } } CharRange c; put(c, cast(dchar)'H'); put(c, "hello"d); } unittest { // issue 9823 const(char)[] r; void delegate(const(char)[]) dg = (s) { r = s; }; put(dg, ["ABC"]); assert(r == "ABC"); } unittest { // issue 10571 import std.format; string buf; formattedWrite((in char[] s) { buf ~= s; }, "%s", "hello"); assert(buf == "hello"); } unittest { import std.format; import std.meta : AliasSeq; struct PutC(C) { void put(C){} } struct PutS(C) { void put(const(C)[]){} } struct CallC(C) { void opCall(C){} } struct CallS(C) { void opCall(const(C)[]){} } struct FrontC(C) { enum empty = false; auto front()@property{return C.init;} void front(C)@property{} void popFront(){} } struct FrontS(C) { enum empty = false; auto front()@property{return C[].init;} void front(const(C)[])@property{} void popFront(){} } void foo() { foreach (C; AliasSeq!(char, wchar, dchar)) { formattedWrite((C c){}, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite((const(C)[]){}, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(PutC!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(PutS!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); CallC!C callC; CallS!C callS; formattedWrite(callC, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(callS, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(FrontC!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); formattedWrite(FrontS!C(), "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); } formattedWrite((dchar[]).init, "", 1, 'a', cast(wchar)'a', cast(dchar)'a', "a"c, "a"w, "a"d); } } /+ Returns $(D true) if $(D R) is a native output range for elements of type $(D E). An output range is defined functionally as a range that supports the operation $(D doPut(r, e)) as defined above. if $(D doPut(r, e)) is valid, then $(D put(r,e)) will have the same behavior. The two guarantees isNativeOutputRange gives over the larger $(D isOutputRange) are: 1: $(D e) is $(B exactly) what will be placed (not $(D [e]), for example). 2: if $(D E) is a non $(empty) $(D InputRange), then placing $(D e) is guaranteed to not overflow the range. +/ package(std) template isNativeOutputRange(R, E) { enum bool isNativeOutputRange = is(typeof( (inout int = 0) { R r = void; E e; doPut(r, e); })); } /// @safe unittest { int[] r = new int[](4); static assert(isInputRange!(int[])); static assert( isNativeOutputRange!(int[], int)); static assert(!isNativeOutputRange!(int[], int[])); static assert( isOutputRange!(int[], int[])); if (!r.empty) put(r, 1); //guaranteed to succeed if (!r.empty) put(r, [1, 2]); //May actually error out. } /++ Returns $(D true) if $(D R) is an output range for elements of type $(D E). An output range is defined functionally as a range that supports the operation $(D put(r, e)) as defined above. +/ template isOutputRange(R, E) { enum bool isOutputRange = is(typeof( (inout int = 0) { R r = R.init; E e = E.init; put(r, e); })); } /// @safe unittest { void myprint(in char[] s) { } static assert(isOutputRange!(typeof(&myprint), char)); static assert(!isOutputRange!(char[], char)); static assert( isOutputRange!(dchar[], wchar)); static assert( isOutputRange!(dchar[], dchar)); } @safe unittest { import std.array; import std.stdio : writeln; auto app = appender!string(); string s; static assert( isOutputRange!(Appender!string, string)); static assert( isOutputRange!(Appender!string*, string)); static assert(!isOutputRange!(Appender!string, int)); static assert(!isOutputRange!(wchar[], wchar)); static assert( isOutputRange!(dchar[], char)); static assert( isOutputRange!(dchar[], string)); static assert( isOutputRange!(dchar[], wstring)); static assert( isOutputRange!(dchar[], dstring)); static assert(!isOutputRange!(const(int)[], int)); static assert(!isOutputRange!(inout(int)[], int)); } /** Returns $(D true) if $(D R) is a forward range. A forward range is an input range $(D r) that can save "checkpoints" by saving $(D r.save) to another value of type $(D R). Notable examples of input ranges that are $(I not) forward ranges are file/socket ranges; copying such a range will not save the position in the stream, and they most likely reuse an internal buffer as the entire stream does not sit in memory. Subsequently, advancing either the original or the copy will advance the stream, so the copies are not independent. The following code should compile for any forward range. ---- static assert(isInputRange!R); R r1; auto s1 = r1.save; static assert (is(typeof(s1) == R)); ---- Saving a range is not duplicating it; in the example above, $(D r1) and $(D r2) still refer to the same underlying data. They just navigate that data independently. The semantics of a forward range (not checkable during compilation) are the same as for an input range, with the additional requirement that backtracking must be possible by saving a copy of the range object with $(D save) and using it later. */ template isForwardRange(R) { enum bool isForwardRange = isInputRange!R && is(typeof( (inout int = 0) { R r1 = R.init; // NOTE: we cannot check typeof(r1.save) directly // because typeof may not check the right type there, and // because we want to ensure the range can be copied. auto s1 = r1.save; static assert (is(typeof(s1) == R)); })); } /// @safe unittest { static assert(!isForwardRange!(int)); static assert( isForwardRange!(int[])); static assert( isForwardRange!(inout(int)[])); } @safe unittest { // BUG 14544 struct R14544 { int front() { return 0;} void popFront() {} bool empty() { return false; } R14544 save() {return this;} } static assert( isForwardRange!R14544 ); } /** Returns $(D true) if $(D R) is a bidirectional range. A bidirectional range is a forward range that also offers the primitives $(D back) and $(D popBack). The following code should compile for any bidirectional range. The semantics of a bidirectional range (not checkable during compilation) are assumed to be the following ($(D r) is an object of type $(D R)): $(UL $(LI $(D r.back) returns (possibly a reference to) the last element in the range. Calling $(D r.back) is allowed only if calling $(D r.empty) has, or would have, returned $(D false).)) */ template isBidirectionalRange(R) { enum bool isBidirectionalRange = isForwardRange!R && is(typeof( (inout int = 0) { R r = R.init; r.popBack(); auto t = r.back; auto w = r.front; static assert(is(typeof(t) == typeof(w))); })); } /// unittest { alias R = int[]; R r = [0,1]; static assert(isForwardRange!R); // is forward range r.popBack(); // can invoke popBack auto t = r.back; // can get the back of the range auto w = r.front; static assert(is(typeof(t) == typeof(w))); // same type for front and back } @safe unittest { struct A {} struct B { void popFront(); @property bool empty(); @property int front(); } struct C { @property bool empty(); @property C save(); void popFront(); @property int front(); void popBack(); @property int back(); } static assert(!isBidirectionalRange!(A)); static assert(!isBidirectionalRange!(B)); static assert( isBidirectionalRange!(C)); static assert( isBidirectionalRange!(int[])); static assert( isBidirectionalRange!(char[])); static assert( isBidirectionalRange!(inout(int)[])); } /** Returns $(D true) if $(D R) is a random-access range. A random-access range is a bidirectional range that also offers the primitive $(D opIndex), OR an infinite forward range that offers $(D opIndex). In either case, the range must either offer $(D length) or be infinite. The following code should compile for any random-access range. The semantics of a random-access range (not checkable during compilation) are assumed to be the following ($(D r) is an object of type $(D R)): $(UL $(LI $(D r.opIndex(n)) returns a reference to the $(D n)th element in the range.)) Although $(D char[]) and $(D wchar[]) (as well as their qualified versions including $(D string) and $(D wstring)) are arrays, $(D isRandomAccessRange) yields $(D false) for them because they use variable-length encodings (UTF-8 and UTF-16 respectively). These types are bidirectional ranges only. */ template isRandomAccessRange(R) { enum bool isRandomAccessRange = is(typeof( (inout int = 0) { static assert(isBidirectionalRange!R || isForwardRange!R && isInfinite!R); R r = R.init; auto e = r[1]; auto f = r.front; static assert(is(typeof(e) == typeof(f))); static assert(!isNarrowString!R); static assert(hasLength!R || isInfinite!R); static if (is(typeof(r[$]))) { static assert(is(typeof(f) == typeof(r[$]))); static if (!isInfinite!R) static assert(is(typeof(f) == typeof(r[$ - 1]))); } })); } /// unittest { alias R = int[]; // range is finite and bidirectional or infinite and forward. static assert(isBidirectionalRange!R || isForwardRange!R && isInfinite!R); R r = [0,1]; auto e = r[1]; // can index auto f = r.front; static assert(is(typeof(e) == typeof(f))); // same type for indexed and front static assert(!isNarrowString!R); // narrow strings cannot be indexed as ranges static assert(hasLength!R || isInfinite!R); // must have length or be infinite // $ must work as it does with arrays if opIndex works with $ static if (is(typeof(r[$]))) { static assert(is(typeof(f) == typeof(r[$]))); // $ - 1 doesn't make sense with infinite ranges but needs to work // with finite ones. static if (!isInfinite!R) static assert(is(typeof(f) == typeof(r[$ - 1]))); } } @safe unittest { struct A {} struct B { void popFront(); @property bool empty(); @property int front(); } struct C { void popFront(); @property bool empty(); @property int front(); void popBack(); @property int back(); } struct D { @property bool empty(); @property D save(); @property int front(); void popFront(); @property int back(); void popBack(); ref int opIndex(uint); @property size_t length(); alias opDollar = length; //int opSlice(uint, uint); } struct E { bool empty(); E save(); int front(); void popFront(); int back(); void popBack(); ref int opIndex(uint); size_t length(); alias opDollar = length; //int opSlice(uint, uint); } static assert(!isRandomAccessRange!(A)); static assert(!isRandomAccessRange!(B)); static assert(!isRandomAccessRange!(C)); static assert( isRandomAccessRange!(D)); static assert( isRandomAccessRange!(E)); static assert( isRandomAccessRange!(int[])); static assert( isRandomAccessRange!(inout(int)[])); } @safe unittest { // Test fix for bug 6935. struct R { @disable this(); @property bool empty() const { return false; } @property int front() const { return 0; } void popFront() {} @property R save() { return this; } @property int back() const { return 0; } void popBack(){} int opIndex(size_t n) const { return 0; } @property size_t length() const { return 0; } alias opDollar = length; void put(int e){ } } static assert(isInputRange!R); static assert(isForwardRange!R); static assert(isBidirectionalRange!R); static assert(isRandomAccessRange!R); static assert(isOutputRange!(R, int)); } /** Returns $(D true) iff $(D R) is an input range that supports the $(D moveFront) primitive, as well as $(D moveBack) and $(D moveAt) if it's a bidirectional or random access range. These may be explicitly implemented, or may work via the default behavior of the module level functions $(D moveFront) and friends. The following code should compile for any range with mobile elements. ---- alias E = ElementType!R; R r; static assert(isInputRange!R); static assert(is(typeof(moveFront(r)) == E)); static if (isBidirectionalRange!R) static assert(is(typeof(moveBack(r)) == E)); static if (isRandomAccessRange!R) static assert(is(typeof(moveAt(r, 0)) == E)); ---- */ template hasMobileElements(R) { enum bool hasMobileElements = isInputRange!R && is(typeof( (inout int = 0) { alias E = ElementType!R; R r = R.init; static assert(is(typeof(moveFront(r)) == E)); static if (isBidirectionalRange!R) static assert(is(typeof(moveBack(r)) == E)); static if (isRandomAccessRange!R) static assert(is(typeof(moveAt(r, 0)) == E)); })); } /// @safe unittest { import std.algorithm : map; import std.range : iota, repeat; static struct HasPostblit { this(this) {} } auto nonMobile = map!"a"(repeat(HasPostblit.init)); static assert(!hasMobileElements!(typeof(nonMobile))); static assert( hasMobileElements!(int[])); static assert( hasMobileElements!(inout(int)[])); static assert( hasMobileElements!(typeof(iota(1000)))); static assert( hasMobileElements!( string)); static assert( hasMobileElements!(dstring)); static assert( hasMobileElements!( char[])); static assert( hasMobileElements!(dchar[])); } /** The element type of $(D R). $(D R) does not have to be a range. The element type is determined as the type yielded by $(D r.front) for an object $(D r) of type $(D R). For example, $(D ElementType!(T[])) is $(D T) if $(D T[]) isn't a narrow string; if it is, the element type is $(D dchar). If $(D R) doesn't have $(D front), $(D ElementType!R) is $(D void). */ template ElementType(R) { static if (is(typeof(R.init.front.init) T)) alias ElementType = T; else alias ElementType = void; } /// @safe unittest { import std.range : iota; // Standard arrays: returns the type of the elements of the array static assert(is(ElementType!(int[]) == int)); // Accessing .front retrieves the decoded dchar static assert(is(ElementType!(char[]) == dchar)); // rvalue static assert(is(ElementType!(dchar[]) == dchar)); // lvalue // Ditto static assert(is(ElementType!(string) == dchar)); static assert(is(ElementType!(dstring) == immutable(dchar))); // For ranges it gets the type of .front. auto range = iota(0, 10); static assert(is(ElementType!(typeof(range)) == int)); } @safe unittest { static assert(is(ElementType!(byte[]) == byte)); static assert(is(ElementType!(wchar[]) == dchar)); // rvalue static assert(is(ElementType!(wstring) == dchar)); } @safe unittest { enum XYZ : string { a = "foo" } auto x = XYZ.a.front; immutable char[3] a = "abc"; int[] i; void[] buf; static assert(is(ElementType!(XYZ) == dchar)); static assert(is(ElementType!(typeof(a)) == dchar)); static assert(is(ElementType!(typeof(i)) == int)); static assert(is(ElementType!(typeof(buf)) == void)); static assert(is(ElementType!(inout(int)[]) == inout(int))); static assert(is(ElementType!(inout(int[])) == inout(int))); } @safe unittest { static assert(is(ElementType!(int[5]) == int)); static assert(is(ElementType!(int[0]) == int)); static assert(is(ElementType!(char[5]) == dchar)); static assert(is(ElementType!(char[0]) == dchar)); } @safe unittest //11336 { static struct S { this(this) @disable; } static assert(is(ElementType!(S[]) == S)); } @safe unittest // 11401 { // ElementType should also work for non-@propety 'front' struct E { ushort id; } struct R { E front() { return E.init; } } static assert(is(ElementType!R == E)); } /** The encoding element type of $(D R). For narrow strings ($(D char[]), $(D wchar[]) and their qualified variants including $(D string) and $(D wstring)), $(D ElementEncodingType) is the character type of the string. For all other types, $(D ElementEncodingType) is the same as $(D ElementType). */ template ElementEncodingType(R) { static if (is(StringTypeOf!R) && is(R : E[], E)) alias ElementEncodingType = E; else alias ElementEncodingType = ElementType!R; } /// @safe unittest { import std.range : iota; // internally the range stores the encoded type static assert(is(ElementEncodingType!(char[]) == char)); static assert(is(ElementEncodingType!(wstring) == immutable(wchar))); static assert(is(ElementEncodingType!(byte[]) == byte)); auto range = iota(0, 10); static assert(is(ElementEncodingType!(typeof(range)) == int)); } @safe unittest { static assert(is(ElementEncodingType!(wchar[]) == wchar)); static assert(is(ElementEncodingType!(dchar[]) == dchar)); static assert(is(ElementEncodingType!(string) == immutable(char))); static assert(is(ElementEncodingType!(dstring) == immutable(dchar))); static assert(is(ElementEncodingType!(int[]) == int)); } @safe unittest { enum XYZ : string { a = "foo" } auto x = XYZ.a.front; immutable char[3] a = "abc"; int[] i; void[] buf; static assert(is(ElementType!(XYZ) : dchar)); static assert(is(ElementEncodingType!(char[]) == char)); static assert(is(ElementEncodingType!(string) == immutable char)); static assert(is(ElementType!(typeof(a)) : dchar)); static assert(is(ElementType!(typeof(i)) == int)); static assert(is(ElementEncodingType!(typeof(i)) == int)); static assert(is(ElementType!(typeof(buf)) : void)); static assert(is(ElementEncodingType!(inout char[]) : inout(char))); } @safe unittest { static assert(is(ElementEncodingType!(int[5]) == int)); static assert(is(ElementEncodingType!(int[0]) == int)); static assert(is(ElementEncodingType!(char[5]) == char)); static assert(is(ElementEncodingType!(char[0]) == char)); } /** Returns $(D true) if $(D R) is an input range and has swappable elements. The following code should compile for any range with swappable elements. ---- R r; static assert(isInputRange!R); swap(r.front, r.front); static if (isBidirectionalRange!R) swap(r.back, r.front); static if (isRandomAccessRange!R) swap(r[], r.front); ---- */ template hasSwappableElements(R) { import std.algorithm.mutation : swap; enum bool hasSwappableElements = isInputRange!R && is(typeof( (inout int = 0) { R r = R.init; swap(r.front, r.front); static if (isBidirectionalRange!R) swap(r.back, r.front); static if (isRandomAccessRange!R) swap(r[0], r.front); })); } /// @safe unittest { static assert(!hasSwappableElements!(const int[])); static assert(!hasSwappableElements!(const(int)[])); static assert(!hasSwappableElements!(inout(int)[])); static assert( hasSwappableElements!(int[])); static assert(!hasSwappableElements!( string)); static assert(!hasSwappableElements!(dstring)); static assert(!hasSwappableElements!( char[])); static assert( hasSwappableElements!(dchar[])); } /** Returns $(D true) if $(D R) is an input range and has mutable elements. The following code should compile for any range with assignable elements. ---- R r; static assert(isInputRange!R); r.front = r.front; static if (isBidirectionalRange!R) r.back = r.front; static if (isRandomAccessRange!R) r[0] = r.front; ---- */ template hasAssignableElements(R) { enum bool hasAssignableElements = isInputRange!R && is(typeof( (inout int = 0) { R r = R.init; r.front = r.front; static if (isBidirectionalRange!R) r.back = r.front; static if (isRandomAccessRange!R) r[0] = r.front; })); } /// @safe unittest { static assert(!hasAssignableElements!(const int[])); static assert(!hasAssignableElements!(const(int)[])); static assert( hasAssignableElements!(int[])); static assert(!hasAssignableElements!(inout(int)[])); static assert(!hasAssignableElements!( string)); static assert(!hasAssignableElements!(dstring)); static assert(!hasAssignableElements!( char[])); static assert( hasAssignableElements!(dchar[])); } /** Tests whether the range $(D R) has lvalue elements. These are defined as elements that can be passed by reference and have their address taken. The following code should compile for any range with lvalue elements. ---- void passByRef(ref ElementType!R stuff); ... static assert(isInputRange!R); passByRef(r.front); static if (isBidirectionalRange!R) passByRef(r.back); static if (isRandomAccessRange!R) passByRef(r[0]); ---- */ template hasLvalueElements(R) { enum bool hasLvalueElements = isInputRange!R && is(typeof( (inout int = 0) { void checkRef(ref ElementType!R stuff); R r = R.init; checkRef(r.front); static if (isBidirectionalRange!R) checkRef(r.back); static if (isRandomAccessRange!R) checkRef(r[0]); })); } /// @safe unittest { import std.range : iota, chain; static assert( hasLvalueElements!(int[])); static assert( hasLvalueElements!(const(int)[])); static assert( hasLvalueElements!(inout(int)[])); static assert( hasLvalueElements!(immutable(int)[])); static assert(!hasLvalueElements!(typeof(iota(3)))); static assert(!hasLvalueElements!( string)); static assert( hasLvalueElements!(dstring)); static assert(!hasLvalueElements!( char[])); static assert( hasLvalueElements!(dchar[])); auto c = chain([1, 2, 3], [4, 5, 6]); static assert( hasLvalueElements!(typeof(c))); } @safe unittest { // bugfix 6336 struct S { immutable int value; } static assert( isInputRange!(S[])); static assert( hasLvalueElements!(S[])); } /** Returns $(D true) if $(D R) has a $(D length) member that returns an integral type. $(D R) does not have to be a range. Note that $(D length) is an optional primitive as no range must implement it. Some ranges do not store their length explicitly, some cannot compute it without actually exhausting the range (e.g. socket streams), and some other ranges may be infinite. Although narrow string types ($(D char[]), $(D wchar[]), and their qualified derivatives) do define a $(D length) property, $(D hasLength) yields $(D false) for them. This is because a narrow string's length does not reflect the number of characters, but instead the number of encoding units, and as such is not useful with range-oriented algorithms. */ template hasLength(R) { enum bool hasLength = !isNarrowString!R && is(typeof( (inout int = 0) { R r = R.init; ulong l = r.length; })); } /// @safe unittest { static assert(!hasLength!(char[])); static assert( hasLength!(int[])); static assert( hasLength!(inout(int)[])); struct A { ulong length; } struct B { size_t length() { return 0; } } struct C { @property size_t length() { return 0; } } static assert( hasLength!(A)); static assert( hasLength!(B)); static assert( hasLength!(C)); } /** Returns $(D true) if $(D R) is an infinite input range. An infinite input range is an input range that has a statically-defined enumerated member called $(D empty) that is always $(D false), for example: ---- struct MyInfiniteRange { enum bool empty = false; ... } ---- */ template isInfinite(R) { static if (isInputRange!R && __traits(compiles, { enum e = R.empty; })) enum bool isInfinite = !R.empty; else enum bool isInfinite = false; } /// @safe unittest { import std.range : Repeat; static assert(!isInfinite!(int[])); static assert( isInfinite!(Repeat!(int))); } /** Returns $(D true) if $(D R) offers a slicing operator with integral boundaries that returns a forward range type. For finite ranges, the result of $(D opSlice) must be of the same type as the original range type. If the range defines $(D opDollar), then it must support subtraction. For infinite ranges, when $(I not) using $(D opDollar), the result of $(D opSlice) must be the result of $(LREF take) or $(LREF takeExactly) on the original range (they both return the same type for infinite ranges). However, when using $(D opDollar), the result of $(D opSlice) must be that of the original range type. The following code must compile for $(D hasSlicing) to be $(D true): ---- R r = void; static if (isInfinite!R) typeof(take(r, 1)) s = r[1 .. 2]; else { static assert(is(typeof(r[1 .. 2]) == R)); R s = r[1 .. 2]; } s = r[1 .. 2]; static if (is(typeof(r[0 .. $]))) { static assert(is(typeof(r[0 .. $]) == R)); R t = r[0 .. $]; t = r[0 .. $]; static if (!isInfinite!R) { static assert(is(typeof(r[0 .. $ - 1]) == R)); R u = r[0 .. $ - 1]; u = r[0 .. $ - 1]; } } static assert(isForwardRange!(typeof(r[1 .. 2]))); static assert(hasLength!(typeof(r[1 .. 2]))); ---- */ template hasSlicing(R) { enum bool hasSlicing = isForwardRange!R && !isNarrowString!R && is(typeof( (inout int = 0) { R r = R.init; static if (isInfinite!R) { typeof(r[1 .. 1]) s = r[1 .. 2]; } else { static assert(is(typeof(r[1 .. 2]) == R)); R s = r[1 .. 2]; } s = r[1 .. 2]; static if (is(typeof(r[0 .. $]))) { static assert(is(typeof(r[0 .. $]) == R)); R t = r[0 .. $]; t = r[0 .. $]; static if (!isInfinite!R) { static assert(is(typeof(r[0 .. $ - 1]) == R)); R u = r[0 .. $ - 1]; u = r[0 .. $ - 1]; } } static assert(isForwardRange!(typeof(r[1 .. 2]))); static assert(hasLength!(typeof(r[1 .. 2]))); })); } /// @safe unittest { import std.range : takeExactly; static assert( hasSlicing!(int[])); static assert( hasSlicing!(const(int)[])); static assert(!hasSlicing!(const int[])); static assert( hasSlicing!(inout(int)[])); static assert(!hasSlicing!(inout int [])); static assert( hasSlicing!(immutable(int)[])); static assert(!hasSlicing!(immutable int[])); static assert(!hasSlicing!string); static assert( hasSlicing!dstring); enum rangeFuncs = "@property int front();" ~ "void popFront();" ~ "@property bool empty();" ~ "@property auto save() { return this; }" ~ "@property size_t length();"; struct A { mixin(rangeFuncs); int opSlice(size_t, size_t); } struct B { mixin(rangeFuncs); B opSlice(size_t, size_t); } struct C { mixin(rangeFuncs); @disable this(); C opSlice(size_t, size_t); } struct D { mixin(rangeFuncs); int[] opSlice(size_t, size_t); } static assert(!hasSlicing!(A)); static assert( hasSlicing!(B)); static assert( hasSlicing!(C)); static assert(!hasSlicing!(D)); struct InfOnes { enum empty = false; void popFront() {} @property int front() { return 1; } @property InfOnes save() { return this; } auto opSlice(size_t i, size_t j) { return takeExactly(this, j - i); } auto opSlice(size_t i, Dollar d) { return this; } struct Dollar {} Dollar opDollar() const { return Dollar.init; } } static assert(hasSlicing!InfOnes); } /** This is a best-effort implementation of $(D length) for any kind of range. If $(D hasLength!Range), simply returns $(D range.length) without checking $(D upTo) (when specified). Otherwise, walks the range through its length and returns the number of elements seen. Performes $(BIGOH n) evaluations of $(D range.empty) and $(D range.popFront()), where $(D n) is the effective length of $(D range). The $(D upTo) parameter is useful to "cut the losses" in case the interest is in seeing whether the range has at least some number of elements. If the parameter $(D upTo) is specified, stops if $(D upTo) steps have been taken and returns $(D upTo). Infinite ranges are compatible, provided the parameter $(D upTo) is specified, in which case the implementation simply returns upTo. */ auto walkLength(Range)(Range range) if (isInputRange!Range && !isInfinite!Range) { static if (hasLength!Range) return range.length; else { size_t result; for ( ; !range.empty ; range.popFront() ) ++result; return result; } } /// ditto auto walkLength(Range)(Range range, const size_t upTo) if (isInputRange!Range) { static if (hasLength!Range) return range.length; else static if (isInfinite!Range) return upTo; else { size_t result; for ( ; result < upTo && !range.empty ; range.popFront() ) ++result; return result; } } @safe unittest { import std.algorithm : filter; import std.range : recurrence, take; //hasLength Range int[] a = [ 1, 2, 3 ]; assert(walkLength(a) == 3); assert(walkLength(a, 0) == 3); assert(walkLength(a, 2) == 3); assert(walkLength(a, 4) == 3); //Forward Range auto b = filter!"true"([1, 2, 3, 4]); assert(b.walkLength() == 4); assert(b.walkLength(0) == 0); assert(b.walkLength(2) == 2); assert(b.walkLength(4) == 4); assert(b.walkLength(6) == 4); //Infinite Range auto fibs = recurrence!"a[n-1] + a[n-2]"(1, 1); assert(!__traits(compiles, fibs.walkLength())); assert(fibs.take(10).walkLength() == 10); assert(fibs.walkLength(55) == 55); } /** Eagerly advances $(D r) itself (not a copy) up to $(D n) times (by calling $(D r.popFront)). $(D popFrontN) takes $(D r) by $(D ref), so it mutates the original range. Completes in $(BIGOH 1) steps for ranges that support slicing and have length. Completes in $(BIGOH n) time for all other ranges. Returns: How much $(D r) was actually advanced, which may be less than $(D n) if $(D r) did not have at least $(D n) elements. $(D popBackN) will behave the same but instead removes elements from the back of the (bidirectional) range instead of the front. */ size_t popFrontN(Range)(ref Range r, size_t n) if (isInputRange!Range) { static if (hasLength!Range) { n = cast(size_t) (n < r.length ? n : r.length); } static if (hasSlicing!Range && is(typeof(r = r[n .. $]))) { r = r[n .. $]; } else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. { r = r[n .. r.length]; } else { static if (hasLength!Range) { foreach (i; 0 .. n) r.popFront(); } else { foreach (i; 0 .. n) { if (r.empty) return i; r.popFront(); } } } return n; } /// ditto size_t popBackN(Range)(ref Range r, size_t n) if (isBidirectionalRange!Range) { static if (hasLength!Range) { n = cast(size_t) (n < r.length ? n : r.length); } static if (hasSlicing!Range && is(typeof(r = r[0 .. $ - n]))) { r = r[0 .. $ - n]; } else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. { r = r[0 .. r.length - n]; } else { static if (hasLength!Range) { foreach (i; 0 .. n) r.popBack(); } else { foreach (i; 0 .. n) { if (r.empty) return i; r.popBack(); } } } return n; } /// @safe unittest { int[] a = [ 1, 2, 3, 4, 5 ]; a.popFrontN(2); assert(a == [ 3, 4, 5 ]); a.popFrontN(7); assert(a == [ ]); } /// @safe unittest { import std.algorithm : equal; import std.range : iota; auto LL = iota(1L, 7L); auto r = popFrontN(LL, 2); assert(equal(LL, [3L, 4L, 5L, 6L])); assert(r == 2); } /// @safe unittest { int[] a = [ 1, 2, 3, 4, 5 ]; a.popBackN(2); assert(a == [ 1, 2, 3 ]); a.popBackN(7); assert(a == [ ]); } /// @safe unittest { import std.algorithm : equal; import std.range : iota; auto LL = iota(1L, 7L); auto r = popBackN(LL, 2); assert(equal(LL, [1L, 2L, 3L, 4L])); assert(r == 2); } /** Eagerly advances $(D r) itself (not a copy) exactly $(D n) times (by calling $(D r.popFront)). $(D popFrontExactly) takes $(D r) by $(D ref), so it mutates the original range. Completes in $(BIGOH 1) steps for ranges that support slicing, and have either length or are infinite. Completes in $(BIGOH n) time for all other ranges. Note: Unlike $(LREF popFrontN), $(D popFrontExactly) will assume that the range holds at least $(D n) elements. This makes $(D popFrontExactly) faster than $(D popFrontN), but it also means that if $(D range) does not contain at least $(D n) elements, it will attempt to call $(D popFront) on an empty range, which is undefined behavior. So, only use $(D popFrontExactly) when it is guaranteed that $(D range) holds at least $(D n) elements. $(D popBackExactly) will behave the same but instead removes elements from the back of the (bidirectional) range instead of the front. */ void popFrontExactly(Range)(ref Range r, size_t n) if (isInputRange!Range) { static if (hasLength!Range) assert(n <= r.length, "range is smaller than amount of items to pop"); static if (hasSlicing!Range && is(typeof(r = r[n .. $]))) r = r[n .. $]; else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. r = r[n .. r.length]; else foreach (i; 0 .. n) r.popFront(); } /// ditto void popBackExactly(Range)(ref Range r, size_t n) if (isBidirectionalRange!Range) { static if (hasLength!Range) assert(n <= r.length, "range is smaller than amount of items to pop"); static if (hasSlicing!Range && is(typeof(r = r[0 .. $ - n]))) r = r[0 .. $ - n]; else static if (hasSlicing!Range && hasLength!Range) //TODO: Remove once hasSlicing forces opDollar. r = r[0 .. r.length - n]; else foreach (i; 0 .. n) r.popBack(); } /// @safe unittest { import std.algorithm : filterBidirectional, equal; auto a = [1, 2, 3]; a.popFrontExactly(1); assert(a == [2, 3]); a.popBackExactly(1); assert(a == [2]); string s = "日本語"; s.popFrontExactly(1); assert(s == "本語"); s.popBackExactly(1); assert(s == "本"); auto bd = filterBidirectional!"true"([1, 2, 3]); bd.popFrontExactly(1); assert(bd.equal([2, 3])); bd.popBackExactly(1); assert(bd.equal([2])); } /** Moves the front of $(D r) out and returns it. Leaves $(D r.front) in a destroyable state that does not allocate any resources (usually equal to its $(D .init) value). */ ElementType!R moveFront(R)(R r) { static if (is(typeof(&r.moveFront))) { return r.moveFront(); } else static if (!hasElaborateCopyConstructor!(ElementType!R)) { return r.front; } else static if (is(typeof(&(r.front())) == ElementType!R*)) { import std.algorithm.mutation : move; return move(r.front); } else { static assert(0, "Cannot move front of a range with a postblit and an rvalue front."); } } /// @safe unittest { auto a = [ 1, 2, 3 ]; assert(moveFront(a) == 1); assert(a.length == 3); // define a perfunctory input range struct InputRange { enum bool empty = false; enum int front = 7; void popFront() {} int moveFront() { return 43; } } InputRange r; // calls r.moveFront assert(moveFront(r) == 43); } @safe unittest { struct R { @property ref int front() { static int x = 42; return x; } this(this){} } R r; assert(moveFront(r) == 42); } /** Moves the back of $(D r) out and returns it. Leaves $(D r.back) in a destroyable state that does not allocate any resources (usually equal to its $(D .init) value). */ ElementType!R moveBack(R)(R r) { static if (is(typeof(&r.moveBack))) { return r.moveBack(); } else static if (!hasElaborateCopyConstructor!(ElementType!R)) { return r.back; } else static if (is(typeof(&(r.back())) == ElementType!R*)) { import std.algorithm.mutation : move; return move(r.back); } else { static assert(0, "Cannot move back of a range with a postblit and an rvalue back."); } } /// @safe unittest { struct TestRange { int payload = 5; @property bool empty() { return false; } @property TestRange save() { return this; } @property ref int front() return { return payload; } @property ref int back() return { return payload; } void popFront() { } void popBack() { } } static assert(isBidirectionalRange!TestRange); TestRange r; auto x = moveBack(r); assert(x == 5); } /** Moves element at index $(D i) of $(D r) out and returns it. Leaves $(D r.front) in a destroyable state that does not allocate any resources (usually equal to its $(D .init) value). */ ElementType!R moveAt(R)(R r, size_t i) { static if (is(typeof(&r.moveAt))) { return r.moveAt(i); } else static if (!hasElaborateCopyConstructor!(ElementType!(R))) { return r[i]; } else static if (is(typeof(&r[i]) == ElementType!R*)) { import std.algorithm.mutation : move; return move(r[i]); } else { static assert(0, "Cannot move element of a range with a postblit and rvalue elements."); } } /// @safe unittest { auto a = [1,2,3,4]; foreach (idx, it; a) { assert(it == moveAt(a, idx)); } } @safe unittest { import std.internal.test.dummyrange; foreach (DummyType; AllDummyRanges) { auto d = DummyType.init; assert(moveFront(d) == 1); static if (isBidirectionalRange!DummyType) { assert(moveBack(d) == 10); } static if (isRandomAccessRange!DummyType) { assert(moveAt(d, 2) == 3); } } } /** Implements the range interface primitive $(D empty) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.empty) is equivalent to $(D empty(array)). */ @property bool empty(T)(in T[] a) @safe pure nothrow @nogc { return !a.length; } /// @safe pure nothrow unittest { auto a = [ 1, 2, 3 ]; assert(!a.empty); assert(a[3 .. $].empty); } /** Implements the range interface primitive $(D save) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.save) is equivalent to $(D save(array)). The function does not duplicate the content of the array, it simply returns its argument. */ @property T[] save(T)(T[] a) @safe pure nothrow @nogc { return a; } /// @safe pure nothrow unittest { auto a = [ 1, 2, 3 ]; auto b = a.save; assert(b is a); } /** Implements the range interface primitive $(D popFront) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.popFront) is equivalent to $(D popFront(array)). For $(GLOSSARY narrow strings), $(D popFront) automatically advances to the next $(GLOSSARY code point). */ void popFront(T)(ref T[] a) @safe pure nothrow @nogc if (!isNarrowString!(T[]) && !is(T[] == void[])) { assert(a.length, "Attempting to popFront() past the end of an array of " ~ T.stringof); a = a[1 .. $]; } /// @safe pure nothrow unittest { auto a = [ 1, 2, 3 ]; a.popFront(); assert(a == [ 2, 3 ]); } version(unittest) { static assert(!is(typeof({ int[4] a; popFront(a); }))); static assert(!is(typeof({ immutable int[] a; popFront(a); }))); static assert(!is(typeof({ void[] a; popFront(a); }))); } // Specialization for narrow strings. The necessity of void popFront(C)(ref C[] str) @trusted pure nothrow if (isNarrowString!(C[])) { assert(str.length, "Attempting to popFront() past the end of an array of " ~ C.stringof); static if (is(Unqual!C == char)) { immutable c = str[0]; if (c < 0x80) { //ptr is used to avoid unnnecessary bounds checking. str = str.ptr[1 .. str.length]; } else { import core.bitop : bsr; auto msbs = 7 - bsr(~c); if ((msbs < 2) | (msbs > 6)) { //Invalid UTF-8 msbs = 1; } str = str[msbs .. $]; } } else static if (is(Unqual!C == wchar)) { immutable u = str[0]; str = str[1 + (u >= 0xD800 && u <= 0xDBFF) .. $]; } else static assert(0, "Bad template constraint."); } @safe pure unittest { import std.meta : AliasSeq; foreach (S; AliasSeq!(string, wstring, dstring)) { S s = "\xC2\xA9hello"; s.popFront(); assert(s == "hello"); S str = "hello\U00010143\u0100\U00010143"; foreach (dchar c; ['h', 'e', 'l', 'l', 'o', '\U00010143', '\u0100', '\U00010143']) { assert(str.front == c); str.popFront(); } assert(str.empty); static assert(!is(typeof({ immutable S a; popFront(a); }))); static assert(!is(typeof({ typeof(S.init[0])[4] a; popFront(a); }))); } C[] _eatString(C)(C[] str) { while (!str.empty) str.popFront(); return str; } enum checkCTFE = _eatString("ウェブサイト@La_Verité.com"); static assert(checkCTFE.empty); enum checkCTFEW = _eatString("ウェブサイト@La_Verité.com"w); static assert(checkCTFEW.empty); } /** Implements the range interface primitive $(D popBack) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.popBack) is equivalent to $(D popBack(array)). For $(GLOSSARY narrow strings), $(D popFront) automatically eliminates the last $(GLOSSARY code point). */ void popBack(T)(ref T[] a) @safe pure nothrow @nogc if (!isNarrowString!(T[]) && !is(T[] == void[])) { assert(a.length); a = a[0 .. $ - 1]; } /// @safe pure nothrow unittest { auto a = [ 1, 2, 3 ]; a.popBack(); assert(a == [ 1, 2 ]); } version(unittest) { static assert(!is(typeof({ immutable int[] a; popBack(a); }))); static assert(!is(typeof({ int[4] a; popBack(a); }))); static assert(!is(typeof({ void[] a; popBack(a); }))); } // Specialization for arrays of char void popBack(T)(ref T[] a) @safe pure if (isNarrowString!(T[])) { import std.utf: strideBack; assert(a.length, "Attempting to popBack() past the front of an array of " ~ T.stringof); a = a[0 .. $ - strideBack(a, $)]; } @safe pure unittest { import std.meta : AliasSeq; foreach (S; AliasSeq!(string, wstring, dstring)) { S s = "hello\xE2\x89\xA0"; s.popBack(); assert(s == "hello"); S s3 = "\xE2\x89\xA0"; auto c = s3.back; assert(c == cast(dchar)'\u2260'); s3.popBack(); assert(s3 == ""); S str = "\U00010143\u0100\U00010143hello"; foreach (dchar ch; ['o', 'l', 'l', 'e', 'h', '\U00010143', '\u0100', '\U00010143']) { assert(str.back == ch); str.popBack(); } assert(str.empty); static assert(!is(typeof({ immutable S a; popBack(a); }))); static assert(!is(typeof({ typeof(S.init[0])[4] a; popBack(a); }))); } } /** Implements the range interface primitive $(D front) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.front) is equivalent to $(D front(array)). For $(GLOSSARY narrow strings), $(D front) automatically returns the first $(GLOSSARY code point) as _a $(D dchar). */ @property ref T front(T)(T[] a) @safe pure nothrow @nogc if (!isNarrowString!(T[]) && !is(T[] == void[])) { assert(a.length, "Attempting to fetch the front of an empty array of " ~ T.stringof); return a[0]; } /// @safe pure nothrow unittest { int[] a = [ 1, 2, 3 ]; assert(a.front == 1); } @safe pure nothrow unittest { auto a = [ 1, 2 ]; a.front = 4; assert(a.front == 4); assert(a == [ 4, 2 ]); immutable b = [ 1, 2 ]; assert(b.front == 1); int[2] c = [ 1, 2 ]; assert(c.front == 1); } /// ditto @property dchar front(T)(T[] a) @safe pure if (isNarrowString!(T[])) { import std.utf : decode; assert(a.length, "Attempting to fetch the front of an empty array of " ~ T.stringof); size_t i = 0; return decode(a, i); } /** Implements the range interface primitive $(D back) for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, $(D array.back) is equivalent to $(D back(array)). For $(GLOSSARY narrow strings), $(D back) automatically returns the last $(GLOSSARY code point) as _a $(D dchar). */ @property ref T back(T)(T[] a) @safe pure nothrow @nogc if (!isNarrowString!(T[]) && !is(T[] == void[])) { assert(a.length, "Attempting to fetch the back of an empty array of " ~ T.stringof); return a[$ - 1]; } /// @safe pure nothrow unittest { int[] a = [ 1, 2, 3 ]; assert(a.back == 3); a.back += 4; assert(a.back == 7); } @safe pure nothrow unittest { immutable b = [ 1, 2, 3 ]; assert(b.back == 3); int[3] c = [ 1, 2, 3 ]; assert(c.back == 3); } /// ditto // Specialization for strings @property dchar back(T)(T[] a) @safe pure if (isNarrowString!(T[])) { import std.utf : decode, strideBack; assert(a.length, "Attempting to fetch the back of an empty array of " ~ T.stringof); size_t i = a.length - strideBack(a, a.length); return decode(a, i); }
D
module dgt.render; import gfx.core.log : LogTag; enum dgtRenderLogMask = 0x0020_0000; package immutable dgtRenderLog = LogTag("DGT-RENDER", dgtRenderLogMask);
D
/* -------------------- CZ CHANGELOG -------------------- */ /* v1.02: (3x) CZ_SkillCheckCondition - přidáno zobrazování skill checků v1.00: (2x) dia_orc_8550_urnazul_urhan_Ok - Ok (cyrilice -> latinka) (2x) dia_orc_8550_urnazul_urhankilldone_Ok - Ok (cyrilice -> latinka) (2x) DIA_GorkCampGuard_Hello_Ore - Ore (cyrilice -> latinka) func void DIA_GorkOrcBoss_WarWin_info - opravena chybějící odměna */ instance DIA_ORC_8550_URNAZUL_EXIT(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_exit_condition; information = dia_orc_8550_urnazul_exit_info; important = FALSE; permanent = TRUE; nr = 999; description = Dialog_Ende; }; func int dia_orc_8550_urnazul_exit_condition() { return TRUE; }; func void dia_orc_8550_urnazul_exit_info() { AI_StopProcessInfos(self); }; instance DIA_ORC_8550_URNAZUL_HIFIRST(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_hifirst_condition; information = dia_orc_8550_urnazul_hifirst_info; important = TRUE; permanent = FALSE; }; func int dia_orc_8550_urnazul_hifirst_condition() { if(MEETURNAZUL == FALSE) { return TRUE; }; }; func void dia_orc_8550_urnazul_hifirst_info() { B_GivePlayerXP(200); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_01"); //Nevěřím očím!... Člověk?! Kdo tě sem pustil?! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_02"); //Musíš být buď statečný nebo hloupý, že jsi sem přišel. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_03"); //Farrok mě pustil. Přišel jsem si s tebou promluvit, Ur-Thralle. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_04"); //Musí to být vážné, když tě ke mě pustili, mluv člověče. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_05"); //Jestli mě urazíš, nebo něco zkusíš, zemřeš! Ani Ulu-Mulu ti nepomůže. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_06"); //Nyní mluv, já poslouchám. MEETURNAZUL = TRUE; }; instance DIA_ORC_8550_URNAZUL_LostPaladins(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_LostPaladins_condition; information = dia_orc_8550_urnazul_LostPaladins_info; permanent = FALSE; description = "Mám otázku."; }; func int dia_orc_8550_urnazul_LostPaladins_condition() { if((MIS_LostPaladins == LOG_Running) && (KnowVenzelOrcs == TRUE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_LostPaladins_info() { B_GivePlayerXP(200); AI_Output(other,self,"DIA_Orc_8550_UrNazul_LostPaladins_01_01"); //Měl bych na tebe jednu otázku. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LostPaladins_01_02"); //Ptej se, jestli chceš. AI_Output(other,self,"DIA_Orc_8550_UrNazul_LostPaladins_01_03"); //Nezajali vaši vojáci náhodou nedávno nějakého paladina? AI_Output(self,other,"DIA_Orc_8550_UrNazul_LostPaladins_01_04"); //(zamyšleně) Ur-Thrall myslí, že ne. Jinak by o tom vědět. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LostPaladins_01_05"); //Paladin je velmi dobrý voják a dobře znát válečný plán lidí. AI_Output(other,self,"DIA_Orc_8550_UrNazul_LostPaladins_01_06"); //No, stejně by vám moc neřekl. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LostPaladins_01_07"); //(smích) Člověk prostě neví, jak bratři umět dostat pravdu z lidí. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LostPaladins_01_08"); //Pokud by se dostat k bratrům do zajetí, Ur-Thrall by ho donutil mluvit! AI_Output(other,self,"DIA_Orc_8550_UrNazul_LostPaladins_01_09"); //Raděj ani nechci vědet jak. B_LogEntry(TOPIC_LostPaladins,"Vůdce skřetů Ur-Thrall neví nic o paladinech. Nebo prostě netuší, že některí z vězňů může být paladin."); }; instance DIA_ORC_8550_URNAZUL_KnowVenzelOrcs(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_KnowVenzelOrcs_condition; information = dia_orc_8550_urnazul_KnowVenzelOrcs_info; permanent = FALSE; description = "Co uděláte s vězni?"; }; func int dia_orc_8550_urnazul_KnowVenzelOrcs_condition() { if(Npc_KnowsInfo(hero,DIA_Orc_8550_UrNazul_LostPaladins) && (MIS_LostPaladins == LOG_Running)) { return TRUE; }; }; func void dia_orc_8550_urnazul_KnowVenzelOrcs_info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_KnowVenzelOrcs_01_01"); //A co uděláte s vězni? AI_Output(self,other,"DIA_Orc_8550_UrNazul_KnowVenzelOrcs_01_02"); //Je-li člověk silný, půjde pracovat do železného dolu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_KnowVenzelOrcs_01_03"); //A pokud ne, pak ho bratři prostě sní. Pro skřety je k ničemu. AI_Output(other,self,"DIA_Orc_8550_UrNazul_KnowVenzelOrcs_01_04"); //Máte železný důl? AI_Output(self,other,"DIA_Orc_8550_UrNazul_KnowVenzelOrcs_01_05"); //Člověk je překvapen? A jak myslel, že skřeti dělají zbroje a meče? AI_Output(other,self,"DIA_Orc_8550_UrNazul_KnowVenzelOrcs_01_06"); //Počítám tedy, že všichni vězni pracují v železném dolu. Můžu se tam nějak dostat? AI_Output(self,other,"DIA_Orc_8550_UrNazul_KnowVenzelOrcs_01_07"); //Arrgh... (rozzlobeně) Člověk klást příliš mnoho otázek! AI_Output(self,other,"DIA_Orc_8550_UrNazul_KnowVenzelOrcs_01_08"); //Už ti nic víc neřeknu! Ur-Thrall člověku nedůvěruje. B_LogEntry(TOPIC_LostPaladins,"Vězni končí buď v železném dolu skřetů, nebo v jejich žaludku. Zůstáva jediné - dostat se do dolu a zjistit jestli je některí z vězňů paladin. Ur-Thrall mi bohužel přetal důverovat a nic víc neřekne. Musím to nějak napravit."); MustGoInIronMine = TRUE; }; instance DIA_ORC_8550_URNAZUL_Psicamp(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_Psicamp_condition; information = dia_orc_8550_urnazul_Psicamp_info; permanent = FALSE; description = "Chci s tebou mluvit o chrámu v bažinách."; }; func int dia_orc_8550_urnazul_Psicamp_condition() { if((MEETURNAZUL == TRUE) && (MIS_PsicampDemon == LOG_Running) && (HoshNarSentMe == TRUE) && (DemonPsicampIsDead == FALSE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_Psicamp_info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_01"); //Chci s tebou mluvit o chrámu v bažinách. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Psicamp_01_02"); //(podrážděně) Co člověk chce říci Ur-Thrall?! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_03"); //Veliký šaman Ur-Hosh-Nar tam nedávno vyslal malý oddíl. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Psicamp_01_04"); //KROTOK YABAR!... (vztekle) Neposlouchal mě! Je velmi hloupý, když tak učinil. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_05"); //Možná. Ale teď už je pozdě naříkat. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_06"); //Starší Tor Dal, vedoucí oddílu, ztratil téměř všechny své vojáky. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Psicamp_01_07"); //(vztekle) Jak se to stalo?! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_08"); //Zabili je nemrtví, kteří se usadili v bažinách. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_09"); //A v chrámu Bratrstva, jak se zdá, je něco ještě horší. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Psicamp_01_10"); //Ur-Thrall předpokládal, že je to tak... Nedalo se tam jít. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Psicamp_01_11"); //Nesmí rušit mrtvé, nesmí rušit zlo... AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_12"); //Tor Dal žádá, abys mu poslal další válečníky, aby mohl zahnat zlo v chrámu. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_13"); //Jak jsem pochopil, jenom ty můžeš dát takový rozkaz. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Psicamp_01_14"); //Ur-Thrall znát Tor Dal... (s respektem) Být statečný válečník, nikdy neustoupit před nepřítelem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Psicamp_01_15"); //Bylo by velmi smutné, kdyby Tor Dal zemřít. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_16"); //Takže mu mohu říct, že pomoc dorazí brzy? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Psicamp_01_17"); //Nemám na výběr, člověče. Pošlu mu na pomoc mnoho mocných válečníků! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Psicamp_01_18"); //Člověk může jít také aby pomohl Tor Dal zabít zlo v chrámu. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Psicamp_01_19"); //Budu o tom přemýšlet. TorDalMoreWar = TRUE; B_LogEntry(TOPIC_PsicampDemon,"Ur-Thrall poslat na záchranu Tor Dala své válečníky. Také mě pozval abych se zúčastnil boje o chrám."); }; instance DIA_ORC_8550_URNAZUL_AboutIronMine(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_AboutIronMine_condition; information = dia_orc_8550_urnazul_AboutIronMine_info; permanent = FALSE; description = "Teď už si zasloužím tvou důvěru, náčelníku?"; }; func int dia_orc_8550_urnazul_AboutIronMine_condition() { if((MIS_LostPaladins == LOG_Running) && (MustGoInIronMine == TRUE) && (CanEnterOrcMine == FALSE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_AboutIronMine_info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_01_01"); //Pusťte mě do dolu. if((MIS_PsicampDemon == LOG_Success) || (DemonPsicampIsDead == TRUE)) { AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_01_02"); //Arrgh... (s uznáním) Člověk hodně pomoci Ur-Thrall! Teď mu více důvěrovat. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_01_04"); //Nejdřív Ur-Thrall chce vědet, proč tam člověk chce jít. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_01_05"); //Pokud Ur-Thrall souhlasit s člověk, nechá ho jít do železného dolu. Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMine,"Je sa tam chci porozhlédnout.",DIA_Orc_8550_UrNazul_AboutIronMine_Q1); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMine,"Zajímá mě železná ruda!",DIA_Orc_8550_UrNazul_AboutIronMine_Q2); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMine,"Záleží na tom?",DIA_Orc_8550_UrNazul_AboutIronMine_Q3); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMine,"Musím mluvit s vězni.",DIA_Orc_8550_UrNazul_AboutIronMine_Q4); } else { AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q1_01_03"); //Ur-Thrall si myslí, že člověk by tam neměl jít. }; }; func void DIA_Orc_8550_UrNazul_AboutIronMine_Q1() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_Q1_01_01"); //Je sa tam chci porozhlédnout. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q1_01_02"); //Důl je velmi nebezpečné místo! Nebýt jen podívaná! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q1_01_03"); //Ur-Thrall myslí, že pro člověka nemá cenu tam jít. AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_Q1_01_04"); //Toková starost... Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); }; func void DIA_Orc_8550_UrNazul_AboutIronMine_Q2() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_Q2_01_01"); //Zajímá mě železná ruda! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q2_01_02"); //Člověk chcete dolovat železnou rudu skřetů?! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q2_01_03"); //Pak tě Ur-Thrall nemůže pustit. Ruda být jen pro skřety! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q2_01_04"); //Nebo můžeš jít, ale jen jako otrok a zůstat tam navždy. Člověk si to přát? AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_Q2_01_05"); //Obávám se, že tato možnost se mi vůbec nezamlouvá. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q2_01_06"); //Arrgh... Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); }; func void DIA_Orc_8550_UrNazul_AboutIronMine_Q3() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_Q3_01_01"); //Záleží na tom? AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q3_01_02"); //Když Ur-Thrall říct že ano, tak záleží. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q3_01_03"); //Pokud člověk nemá dobrý důvod, neměl by chodit k železnému dolu. Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); }; func void DIA_Orc_8550_UrNazul_AboutIronMine_Q4() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_Q4_01_01"); //Musím mluvit s vězni. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q4_01_02"); //A o čem chce člověk s nimi mluvit? Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMine,"Někteří z nich by mohli vědět o Spáčově chrámu.",DIA_Orc_8550_UrNazul_AboutIronMine_W1); // if(RhetorikSkillValue[1] >= 50) // { Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMine, ConcatStrings(CZ_SkillCheckCondition(CZ_SKILL_RHE, 50, TRUE), "Jeden z nich má informace pro paladiny."), // "Jeden z nich má informace pro paladiny.", DIA_Orc_8550_UrNazul_AboutIronMine_W2); // }; Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMine,"Chci se od nich naučit jak těžit železnou rudu.",DIA_Orc_8550_UrNazul_AboutIronMine_W3); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMine,"No o dracích!",DIA_Orc_8550_UrNazul_AboutIronMine_W4); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMine,"Chci je jen trochu utěšit.",DIA_Orc_8550_UrNazul_AboutIronMine_W5); }; func void DIA_Orc_8550_UrNazul_AboutIronMine_W1() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W1_01_01"); //Někteří z nich by mohli vědět o Spáčově chrámu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W1_01_02"); //To těžko! Spáčův chrám postavili skřeti a jen oni znají jeho tajemství. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W1_01_03"); //Lidé nepostavil chrám a neuctívájí Spáče! Nevím o něm nic. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W1_01_04"); //Člověk se snaží oklamat Ur-Thrall?! AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W1_01_05"); //Ale kdepak! To be mě ani nenapadlo. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W1_01_06"); //Arrgh... (výhružně) Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); }; func void DIA_Orc_8550_UrNazul_AboutIronMine_W2() { B_GivePlayerXP(1000); AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_01"); //Jeden z nich má informace pro paladiny. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_02"); //A odkud to víš? AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_03"); //Mezi vězni jsou tací co přišli s jejich oddílem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_04"); //Hmmm... (zamyšleně) To je docela možné. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_05"); //Dobře! Ur-Thrall pustí člověka do dolu, pokud ho upozorní na nepřítele. AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_06"); //Jistě - dohodnuto! Tak jak se můžu dostat do dolu? AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_07"); //Ur-Thrall dát člověku klíč kterým otevře průchod do dolu. B_GiveInvItems(self,other,ItKe_OrcOreMine,1); AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_08"); //Ale pozor! Bratři šamani uvalili na průchod silné kouzlo. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_09"); //Skřetům neublíží. Ale jestliže se člověk dotkne, pak okamžitě zemře! AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_10"); //A proč to udělali? AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_11"); //Aby zabili vězně kteří by chteli utéct ze železného dolu. AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W2_01_12"); //Jasně. if(RhetorikSkillValue[1] < 100) { RhetorikSkillValue[1] = RhetorikSkillValue[1] + 1; AI_Print("Rétorika + 1"); }; B_LogEntry(TOPIC_LostPaladins,"Podařilo se mi přesvědčit Ur-Thralla, aby mi otevřel do dolu. Doufám, že najdu něco o Wenzelově oddílu."); CanEnterOrcMine = TRUE; Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); }; func void DIA_Orc_8550_UrNazul_AboutIronMine_W3() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W1_03_01"); //Chci se od nich naučit jak těžit železnou rudu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W1_03_02"); //Na to člověk nemusí jít do dolu skřetů. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W1_03_03"); //To se může naučit i od jiných lidí. Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); }; func void DIA_Orc_8550_UrNazul_AboutIronMine_W4() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W4_01_01"); //No o dracích! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W4_01_02"); //(smích) Co může obyčejný otrok vědět o dracích?! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W4_01_03"); //Ur-Thrall myslí, že člověk mluví nesmysly. Hodně ho rozesmát! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W4_01_04"); //Ale pustit člověka k železnému dolu nemůže. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W4_01_05"); //Jenom bys otrokům odváděl pozornost od práce! AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W4_01_06"); //Když myslíš... Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); }; func void DIA_Orc_8550_UrNazul_AboutIronMine_W5() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMine_W5_01_01"); //Chci je jen trochu utěšit. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W5_01_02"); //(smích) Člověk být příliš dobrý pokud to chce udělat. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W5_01_03"); //Ale Ur-Thrall říci ne! Jenom bys otrokům odváděl pozornost od práce! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_W5_01_04"); //A oni pak vytěží méně železné rudy. Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMine); }; instance DIA_ORC_8550_URNAZUL_AboutIronMineMore(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_AboutIronMineMore_condition; information = dia_orc_8550_urnazul_AboutIronMineMore_info; permanent = TRUE; description = "Pusti mě do dolu."; }; func int dia_orc_8550_urnazul_AboutIronMineMore_condition() { if((Npc_KnowsInfo(hero,DIA_Orc_8550_UrNazul_AboutIronMine) == TRUE) && (MIS_LostPaladins == LOG_Running) && (MustGoInIronMine == TRUE) && (CanEnterOrcMine == FALSE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_AboutIronMineMore_info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_01_01"); //Pusti mě do dolu. if((MIS_PsicampDemon == LOG_Success) || (DemonPsicampIsDead == TRUE)) { AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_01_02"); //Ur-Thrall stále neví, proč tam člověk chce jít. Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMineMore,"Je sa tam chci porozhlédnout.",DIA_Orc_8550_UrNazul_AboutIronMineMore_Q1); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMineMore,"Zajímá mě železná ruda!",DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMineMore,"Záleží na tom?",DIA_Orc_8550_UrNazul_AboutIronMineMore_Q3); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMineMore,"Musím mluvit s vězni.",DIA_Orc_8550_UrNazul_AboutIronMineMore_Q4); } else { AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMine_Q1_01_03"); //Ur-Thrall si myslí, že člověk by tam neměl jít. }; }; func void DIA_Orc_8550_UrNazul_AboutIronMineMore_Q1() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q1_01_01"); //Jen sa tam chci porozhlédnout. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q1_01_02"); //Důl je velmi nebezpečné místo! Nebýt jen podívaná! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q1_01_03"); //Ur-Thrall myslí, že pro člověka nemá cenu tam jít. AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q1_01_04"); //Taková starost... Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); }; func void DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2_01_01"); //Zajímá mě železná ruda! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2_01_02"); //Člověk chcete dolovat železnou rudu skřetů?! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2_01_03"); //Pak tě Ur-Thrall nemůže pustit. Ruda být jen pro skřety! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2_01_04"); //Nebo můžeš jít, ale jen jako otrok a zůstat tam navždy. Člověk si to přát? AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2_01_05"); //Obávám se, že tato možnost se mi vůbec nezamlouvá. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2_01_06"); //Arrgh... Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); }; func void DIA_Orc_8550_UrNazul_AboutIronMineMore_Q3() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q3_01_01"); //Záleží na tom? AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q3_01_02"); //Když Ur-Thrall říct že ano, tak záleží. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q3_01_03"); //Pokud člověk nemá dobrý důvod, neměl by chodit k železnému dolu. Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); }; func void DIA_Orc_8550_UrNazul_AboutIronMineMore_Q4() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q4_01_01"); //Musím mluvit s vězni. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q4_01_02"); //A o čem chce člověk s nimi mluvit? Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMineMore,"Někteří z nich by mohli vědět o Spáčově chrámu.",DIA_Orc_8550_UrNazul_AboutIronMineMore_W1); // if(RhetorikSkillValue[1] >= 50) // { Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMineMore, ConcatStrings(CZ_SkillCheckCondition(CZ_SKILL_RHE, 50, TRUE), "Jeden z nich má informace pro paladiny."), // "Jeden z nich má informace pro paladiny.", DIA_Orc_8550_UrNazul_AboutIronMineMore_W2); // }; Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMineMore,"Chci se od nich naučit jak těžit železnou rudu.",DIA_Orc_8550_UrNazul_AboutIronMineMore_W3); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMineMore,"No o dracích!",DIA_Orc_8550_UrNazul_AboutIronMineMore_W4); Info_AddChoice(DIA_Orc_8550_UrNazul_AboutIronMineMore,"Chci je jen trochu utěšit.",DIA_Orc_8550_UrNazul_AboutIronMineMore_W5); }; func void DIA_Orc_8550_UrNazul_AboutIronMineMore_W1() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W1_01_01"); //Někteří z nich by mohli vědět o Spáčově chrámu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W1_01_02"); //To těžko! Spáčův chrám postavili skřeti a jen oni znají jeho tajemství. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W1_01_03"); //Lidé nepostavil chrám a neuctívájí Spáče! Nevím o něm nic. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W1_01_04"); //Člověk se snaží oklamat Ur-Thrall?! AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W1_01_05"); //Ale kdepak! To be mě ani nenapadlo. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W1_01_06"); //Arrgh... (výhružně) Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); }; func void DIA_Orc_8550_UrNazul_AboutIronMineMore_W2() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_01"); //Jeden z nich má informace pro paladiny. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_02"); //A odkud to víš? AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_03"); //Mezi vězni jsou tací co přišli s jejich oddílem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_04"); //Hmmm... (zamyšleně) To je docela možné. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_05"); //Dobře! Ur-Thrall pustí člověka do dolu, pokud ho upozorní na nepřítele. AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_06"); //Jistě - dohodnuto! Tak jak se můžu dostat do dolu? AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_07"); //Ur-Thrall dát člověku klíč kterým otevře průchod do dolu. B_GiveInvItems(self,other,ItKe_OrcOreMine,1); AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_08"); //Ale pozor! Bratři šamani uvalili na průchod silné kouzlo. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_09"); //Skřetům neublíží. Ale jestliže se člověk dotkne, pak okamžitě zemře! AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_10"); //A proč to udělali? AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_11"); //Aby zabili vězně kteří by chteli utéct ze železného dolu. AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W2_01_12"); //Jasně. if(RhetorikSkillValue[1] < 100) { RhetorikSkillValue[1] = RhetorikSkillValue[1] + 1; AI_Print("Rétorika + 1"); }; B_LogEntry(TOPIC_LostPaladins,"Podařilo se mi přesvědčit Ur-Thralla aby mi otevřel průchod do železného dolu skřetů. Doufám, že zjistím něco o Wenzelovu oddílu."); CanEnterOrcMine = TRUE; Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); }; func void DIA_Orc_8550_UrNazul_AboutIronMineMore_W3() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W1_03_01"); //Chci se od nich naučit jak těžit železnou rudu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W1_03_02"); //Na to člověk nemusí jít do dolu skřetů. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W1_03_03"); //To se může naučit i od jiných lidí. Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); }; func void DIA_Orc_8550_UrNazul_AboutIronMineMore_W4() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W4_01_01"); //No o dracích! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W4_01_02"); //(smích) Co může obyčejný otrok vědět o dracích?! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W4_01_03"); //Ur-Thrall myslí, že člověk mluví nesmysly. Hodně ho rozesmát! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W4_01_04"); //Ale pustit člověka k železnému dolu nemůže. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W4_01_05"); //Jenom bys otrokům odváděl pozornost od práce! AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W4_01_06"); //Když myslíš... Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); }; func void DIA_Orc_8550_UrNazul_AboutIronMineMore_W5() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W5_01_01"); //Chci je jen trochu utěšit. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W5_01_02"); //(smích) Člověk být příliš dobrý pokud to chce udělat. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W5_01_03"); //Ale Ur-Thrall říci ne! Jenom bys otrokům odváděl pozornost od práce! AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W5_01_04"); //A oni pak vytěží méně železné rudy. AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_W5_01_05"); //Aha. Info_ClearChoices(DIA_Orc_8550_UrNazul_AboutIronMineMore); }; instance DIA_ORC_8550_URNAZUL_LowLevel(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_LowLevel_condition; information = dia_orc_8550_urnazul_LowLevel_info; permanent = FALSE; description = "Poslal mě za tebou Ar Dagar."; }; func int dia_orc_8550_urnazul_LowLevel_condition() { if((MIS_LowLevel == LOG_Running) && (SendForHelp == TRUE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_LowLevel_info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_LowLevel_01_01"); //Poslal mě za tebou Ar Dagar. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevel_01_02"); //A co on chtít? AI_Output(other,self,"DIA_Orc_8550_UrNazul_LowLevel_01_03"); //Žádá, abys mu poslal několik silných válečníků. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevel_01_04"); //Proč to Ar Dagar žádá? AI_Output(other,self,"DIA_Orc_8550_UrNazul_LowLevel_01_05"); //Chce je poslat do hlubokého dolu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevel_01_06"); //Takže Ar Dagar chtít znovu zabít démona? AI_PlayAni(self,"T_NO"); AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevel_01_07"); //Ur-Thrall pamatovat, co se stalo naposled, když se pokusil osvobodit důl. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevel_01_08"); //Demon být velmi silný! Zabít mnoho bratrů Ur-Thrall. AI_Output(other,self,"DIA_Orc_8550_UrNazul_LowLevel_01_09"); //Ano, ale tentokrát půjdu s nimi já! To tě nepřesvědčí? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_13"); //Osoba se nebojí démona? Muž pohmoždí hlavu! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_14"); //Stojím sám v podzemním městě skřetů a mluvím s tebou. Myslíš si, že jsem duševně chorý? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_15"); //Ur-Thrall myslí ano. Ale muž s Ulu-Mulu je statečný a silný. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevel_01_13"); //Ur-Thrall myslí, že člověk může osvobodit důl skřetů. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevel_01_14"); //Pošlu s tebou své nejlepší válečníky. ORAK SHAKA, člověče! OrcHelpLowLevel = TRUE; B_LogEntry(TOPIC_LowLevel,"Ur-Thrall souhlasil, že pošle Ar Dagarovi několik svých nejlepších válečníků."); }; instance DIA_ORC_8550_URNAZUL_LowLevelFree(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_LowLevelFree_condition; information = dia_orc_8550_urnazul_LowLevelFree_info; permanent = FALSE; description = "Osvobodil jsem hluboký důl od zla!"; }; func int dia_orc_8550_urnazul_LowLevelFree_condition() { if(MIS_LowLevel == LOG_Success) { return TRUE; }; }; func void dia_orc_8550_urnazul_LowLevelFree_info() { B_GivePlayerXP(200); AI_Output(other,self,"DIA_Orc_8550_UrNazul_LowLevelFree_01_01"); //Osvobodil jsem hluboký důl od zla! AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevelFree_01_02"); //Ur-Thrall vědět, že člověk to dokáže. Mor Dar být velký válečník! AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevelFree_01_03"); //Děkovat člověku, který pomohl mému národu zbavit se tohoto prokletí. }; var int TakeIdolKrushak; instance DIA_ORC_8550_URNAZUL_HELLO(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_hello_condition; information = dia_orc_8550_urnazul_hello_info; permanent = TRUE; description = "Přišel jsem za tebou ohledně Spáčova chrámu."; }; func int dia_orc_8550_urnazul_hello_condition() { if((MIS_ORCTEMPLE == LOG_Running) && (TakeIdolKrushak == FALSE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_hello_info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_07"); //Přišel jsem za tebou ohledně Spáčova chrámu. Slyšel jsem, že je tam nějaké nové zlo - další zlý démon. if((MIS_LowLevel == LOG_Success) && ((MIS_PsicampDemon == LOG_Success) || (DemonPsicampIsDead == TRUE))) { AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_08"); //Chrám Krushak?! Démon?! Hmmm... Mluv dál. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_09"); //Vím, že démon v chrámu udělal skutečný masakr. Zabil mnoho vašich bratrů. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_10"); //Démon je ovládl a jsou teď z nich duchové. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_11"); //Skřeti kouzlem zapečetili vstup, aby ta nestvůra nemohla ven. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_12"); //Chci toho démona zničit. Proto jsem tu - abych se zeptal, jak pečeť prolomit. AI_PlayAni(self,"T_GREETGRD"); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Complete_Info_18_04"); //Člověk je skvělý válečník. HVstoupit do chrámu Krushak! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Complete_Info_18_05"); //Ur-Thrall ti děkuje a dá klíčovou magii - člověk otevře vchod do chrámu Krushak. B_GiveInvItems(self,other,itmi_idol_01,1); AI_Output(other,self,"DIA_Orc_8550_UrNazul_LowLevel_01_15"); //Děkuji, vůdce. To jsem chtěl slyšet. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_19"); //Osoba může jít. Měj se dobře! TakeIdolKrushak = TRUE; B_LogEntry_Quiet(TOPIC_ORCTEMPLE,"Od vůdce skřetů jsem dostal nějaký magický talisman, který otevře průchod do Spáčova chrámu."); AI_StopProcessInfos(self); } else { AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_New_18_01"); //Hmmm... To není případ člověka! Skřeti se zabývají zlým démonem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_New_18_02"); //Teď je člověk lepší jít, dokud se Ur-Thrall na něj moc nezlobí. AI_Output(other,self,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2_01_05"); //Obávám se, že nebudu souhlasit. AI_Output(self,other,"DIA_Orc_8550_UrNazul_AboutIronMineMore_Q2_01_06"); //Arrgh... AI_StopProcessInfos(self); }; }; instance DIA_ORC_8550_URNAZUL_ORCTEMPLEISFREE(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_ORCTEMPLEISFREE_condition; information = dia_orc_8550_urnazul_ORCTEMPLEISFREE_info; permanent = FALSE; description = "Zničil jsem zlo v chrámu."; }; func int dia_orc_8550_urnazul_ORCTEMPLEISFREE_condition() { if((DARKMAGE_ISDEAD == TRUE) && (SleeperInRage == FALSE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_ORCTEMPLEISFREE_info() { B_GivePlayerXP(500); AI_Output(other,self,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_01"); //Zničil jsem zlo v chrámu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_02"); //Ur-Thrall je rád, že to slyší! Člověk znovu dokázal, že je velkým válečníkem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_03"); //Bratři se tam budou moci vrátit. AI_Output(other,self,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_04"); //Vážně? AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_05"); //Chrám je pro ně svaté místo. Budou tam mluvit s duchem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_06"); //Proto Ur-Thrall děkuje člověku za jeho pomoc! AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_07"); //Ale myslet si, že pro to nebude slov. if((hero.guild == GIL_KDM) || (hero.guild == GIL_KDW) || (hero.guild == GIL_KDF) || (hero.guild == GIL_GUR) || (hero.guild == GIL_NDM) || (hero.guild == GIL_NOV) || (hero.guild == GIL_NDW)) { AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_08"); //Vidím, že ty spíše používat kouzlo v bitvě. AI_Output(other,self,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_09"); //Ano, máš pravdu. if(ShamanArmor == FALSE) { AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_10"); //No... (s úctou) Pak si člověk vezme tento plášť a hůl jako odměnu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_11"); //Nos je s pýchou, protože nikdo jiný ještě nebyl oceněn takovou čestností! B_GiveInvItemsManyThings(self,other); CreateInvItems(other,ItMw_2h_OrcStab,1); CreateInvItems(other,ITAR_SHAMANROBE,1); ShamanArmor = TRUE; } else { B_GiveInvItems(self,other,ItRu_OrcFireball,1); }; } else { AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_12"); //Takže člověk si vezme tuto zbroj a meč skřetího válečníka jako důkaz mých slov. AI_Output(self,other,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_13"); //Nos je s pýchou, protože nikdo jiný ještě nebyl oceněn takovou čestností! if(other.attribute[ATR_STRENGTH] >= other.attribute[ATR_DEXTERITY]) { B_GiveInvItemsManyThings(self,other); CreateInvItems(other,ITAR_ORCARMOR,1); CreateInvItems(other,Orc_Blade,1); } else { B_GiveInvItemsManyThings(self,other); CreateInvItems(other,ItPo_Perm_DEX,1); CreateInvItems(other,ITAR_ORCARMOR_DEX,1); FixOrcArmor = TRUE; }; }; AI_Output(other,self,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_14"); //Děkuju. OrcIsBackTemple = TRUE; }; //---------------------------------------------------------kvest Nag-Dumgar------------------------------------------------------------- instance DIA_Orc_8550_UrNazul_Muritan(C_Info) { npc = Orc_8550_UrNazul; condition = DIA_Orc_8550_UrNazul_Muritan_condition; information = DIA_Orc_8550_UrNazul_Muritan_info; important = FALSE; permanent = FALSE; description = "Slyšel jsem, že potřebuješ tesák Muritana."; }; func int DIA_Orc_8550_UrNazul_Muritan_condition() { if((TakeIdolKrushak == TRUE) && (UrTrallTalkTooth == TRUE)) { return TRUE; }; }; func void DIA_Orc_8550_UrNazul_Muritan_Info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_00"); //Slyšel jsem, že potřebuješ tesák Muritana. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_01"); //Ano, být tak. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_02"); //A proč ho potřebuješ? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_03"); //(tiše) Člověk neví, ale jeho jed může zabít téměř kohokoliv. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_04"); //Ur-Thrall mít jednoho velmi silného nepřítele, kterého je téměř nemožné zabít. Ale on myslel, že jed téhle příšery ho může přemoci. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_06"); //Zdá se mi, že máš spoustu nepřátel, náčelníku. A kdo že to je? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_07"); //(vážně) Říkat mu Nag-Dumgar. Kdysi byl stejným skřetem jako §Ur-Thrall. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_08"); //Nikdy jsem neslyšel tohoto jméno. Můžeš mi o něm něco říct? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_09"); //... (zamyšleně) Před mnoha zimy, bratři postavili Spáčův chrám. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_10"); //Nag-Dumgar být vůdcem klanu, jehož šamani přivolat zlého démona. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_11"); //Nicméně, jak člověk pravděpodobně již ví, ten démon ovládl skřety a všechny je zabít. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_12"); //Ano, já vím, co se stalo v chrámu. Ale co Nag-Dumgar? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_13"); //Když se to dovědel, Nag-Dumgar vzít spoustu vojáků a jít do chrámu, aby zabil démona. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_14"); //Ale k nezdaru! Všichni jeho vojáci umřít, a jen on sám nějak zůstat naživu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_15"); //Po návratu Nag-Dumgar dát příkaz k utěsnění vstupu do chrámu, aby zlý démon nemohl útéct. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_16"); //... (zamyšleně) Ale Nag-Dumgar se výrazně změnit poté, co šel do chrámu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_17"); //Začít ho neustále popadat nějaká nekonečnou žízeň po krvi! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_18"); //Nag-Dumgar začal přinášet bratry k oběti, říkat, že tak chránit klan před hněvem a prokletím zlého démona. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_19"); //A to jak? Nemyslím, že skřetům by se to líbilo. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_20"); //Člověk mít pravdu! Skřeti myslet, že Nag-Dumgar se zbláznit a rozhodli se ho zabít. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_21"); //Když se o tom Nag-Dumgar dovědět, o začal šílet! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_22"); //On proklel svůj klan a zabít každého, kdo se odvážil stát v cestě. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_23"); //Ti bratři, kterím se ještě podařilo přežít, přísahali, že Nag-Dumgar se sám proměnit v zlého démona! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_24"); //A co se stalo pak? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_25"); //(zamyšleně) To nikdo nevědět... AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_26"); //Potom co Nag-Dumgar zabít všechny své bratry, on zmizet beze stopy a nikdo ho nevidět po mnoho zim. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_27"); //Nedávno mě však moji špehové informovali, že vidět někoho podobného Nag-Dumgar v blízkosti nejvyšší věže na severu údolí. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_28"); //Já poslal pár z mojich nejlepších válečníků, ale žádný z nich se nevrátit. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_29"); //Myslíš, že to má na svědomí on? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_30"); //Ur-Thrall není úplně jistý, ale věří, že se tak mohlo stát. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_31"); //Nedávný vývoj v Spáčově chrámu mohl Nag-Dumgara přílákat zpátky do údolí. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_32"); //Pokud ano, pak bude jistě chtít pomstit smrt svého pána, a pak všichni bratři být ve velkém nebezpečí. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_33"); //Ale Ur-Thrall nemůže připustit aby Nag-Dumgar znovu přivolat zlo! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_34"); //A ty naivně věříš, že jed Muritana ho zastaví?! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_35"); //Ur-Thrall jistě neví! Jiný způsob jak zabít Nag-Dumgar nezná. Možná člověk znát? AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Info_01_37"); //Odpověď na tuto otázku najdeme zřejmě jen v chrámu. Koneckonců, tam se Nag-Dumgar stal tím s kým máme teď co do činění. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Info_01_39"); //Ur-Thrall teď nemůže odejít! Ale možná člověk jít do chrámu aby to zjistil? Info_ClearChoices(DIA_Orc_8550_UrNazul_Muritan); Info_AddChoice(DIA_Orc_8550_UrNazul_Muritan,"Teď nemám čas.",DIA_Orc_8550_UrNazul_Muritan_No); Info_AddChoice(DIA_Orc_8550_UrNazul_Muritan,"Dobře, udělám to.",DIA_Orc_8550_UrNazul_Muritan_Yes); }; func void DIA_Orc_8550_UrNazul_Muritan_No() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_No_01_01"); //Teď nemám čas. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_No_01_02"); //S tímto se budeš muset vypořádat sám, náčelníku. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_No_01_03"); //Dobře! Ur-Thrall udělat všechno sám. Člověk už nemusí mít strach. AI_StopProcessInfos(self); }; func void DIA_Orc_8550_UrNazul_Muritan_Yes() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Yes_01_01"); //Dobře, udělám to. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Yes_01_02"); //Pak člověk neztrácet čas! Vypravit se do chrámu a zjistit jak zabít Nag-Dumgar! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Yes_01_03"); //Vyčkej na mé zprávy, náčelníku. MIS_NagDumgar = LOG_Running; Log_CreateTopic(TOPIC_NagDumgar,LOG_MISSION); Log_SetTopicStatus(TOPIC_NagDumgar,LOG_Running); B_LogEntry(TOPIC_NagDumgar,"Zeptal jsem se Ur-Thralla proč potřebuje jedovatý tesák Muritana. Vůdce skřetů se domnívá, že může být použit k boji proti Nag-Dumgarovi - kdysi mocnému vůdci skřetího klanu, který postavil Spáčův chrám, a který byl následně přeměněn na zlého démona. Obávám se ale, že ani smrtelný jed bude bezmocný proti starobylému prokletí tohoto skřeta. S největší pravděpodobností, jediný jistý způsob, jak zabít Nag-Dumgara leží v troskách chrámu a dobrovolně jsem se nabýdl ho najít..."); AI_StopProcessInfos(self); }; instance DIA_Orc_8550_UrNazul_XashGor(C_Info) { npc = Orc_8550_UrNazul; condition = DIA_Orc_8550_UrNazul_XashGor_condition; information = DIA_Orc_8550_UrNazul_XashGor_info; important = FALSE; permanent = FALSE; description = "Co víš o nejvyšším šamanovi Xash-Gorovi?"; }; func int DIA_Orc_8550_UrNazul_XashGor_condition() { if((MIS_NagDumgar == LOG_Running) && (KnowAboutNagDumgar_P3 == TRUE) && (HashGorIsDead == FALSE)) { return TRUE; }; }; func void DIA_Orc_8550_UrNazul_XashGor_Info() { B_GivePlayerXP(100); AI_Output(other,self,"DIA_Orc_8550_UrNazul_XashGor_01_01"); //Co víš o nejvyšším šamanovi Hash-Gorovi? AI_Output(self,other,"DIA_Orc_8550_UrNazul_XashGor_01_02"); //Hmmm... Být velmi staré jméno... (zamyšleně) Jestli Ur-Thrall pamatovat, Hash-Gor kdysi být velký syn ducha. AI_Output(other,self,"DIA_Orc_8550_UrNazul_XashGor_01_03"); //To vím i sám. Co ještě mi o něm můžeš říct? AI_Output(self,other,"DIA_Orc_8550_UrNazul_XashGor_01_04"); //Ur-Thrall vědet jen velmi málo, Hash-Gor žít mnoho zim zpátky. Ještě předtím, než Ur-Thrall přišel do údolí. AI_Output(other,self,"DIA_Orc_8550_UrNazul_XashGor_01_06"); //A netušíš, kde ho mám hledat? AI_Output(self,other,"DIA_Orc_8550_UrNazul_XashGor_01_07"); //Pokud někdo ví, kde Hash-Gor teď, pak jedině ten, kdo žít v té době. AI_Output(self,other,"DIA_Orc_8550_UrNazul_XashGor_01_08"); //Člověk jistě pochopil, že mezi skřeti takový nikdo není. AI_Output(other,self,"DIA_Orc_8550_UrNazul_XashGor_01_09"); //Jasně. DeadRabOrkovInsert = TRUE; B_LogEntry(TOPIC_NagDumgar,"Jak se dalo čekat, Ur-Thrall o Hash-Gorovi neví nic užitečného. Dle jeho slov mi o něm může říct víc jen ten, kdo žil v jeho době. Jenže mezi skřety už nikdo takový není... možná kdybych hledal mezi mrtvými."); }; instance DIA_Orc_8550_UrNazul_Muritan_Dagger(C_Info) { npc = Orc_8550_UrNazul; condition = DIA_Orc_8550_UrNazul_Muritan_Dagger_condition; information = DIA_Orc_8550_UrNazul_Muritan_Dagger_info; important = FALSE; permanent = FALSE; description = "Příšel jsem na to, jak zabít Nag-Dumgara!"; }; func int DIA_Orc_8550_UrNazul_Muritan_Dagger_condition() { if((MIS_NagDumgar == LOG_Running) && (KnowAboutNagDumgar_P3 == TRUE) && (Npc_HasItems(other,ItMw_1h_TributeDagger) >= 1)) { return TRUE; }; }; func void DIA_Orc_8550_UrNazul_Muritan_Dagger_Info() { B_GivePlayerXP(250); AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_02"); //Příšel jsem na to, jak zabít Nag-Dumgara! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_04"); //Tady, podívej se na tohle. B_GiveInvItems(other,self,ItMw_1h_TributeDagger,1); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_05"); //Hmmm... (zamyšleně) Co být tohle?! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_06"); //Podle starých záznamů, které jsem našel v chrámu, tuto dýku skřeti používali k obětování vlastních bratří. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_07"); //Avšak oběti nebyly určeny Spáčovi, jak naivně věřili, ale samotnému Nag-Dumgarovi! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_08"); //Nebo spíš - zlému duchovi, který vlastnil mysl jejich mocného vůdce. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_09"); //To je důvod, proč Nag-Dumgar zuřil, když skřetí odmítli zabíjet vlastní. Protože pak by již nedostával krvavé oběti pro sebe. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_11"); //A tahle dýka je podle všeho schopna Nag-Dumgara zabít. Zbývá ho jen najít a vrazit mu dýku do srdce. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_13"); //(uctivě) Člověk velmi překvapit Ur-Thrall, že to všechno dokázal zjistit. Pokud to být opravdu tak, možná již skřeti nemuset mít strach z Nag-Dumgar a jeho prokletí! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Info_01_15"); //Ur-Thrall děkovat člověk za jeho pomoc. Ur-Thrall teď jít hledat a zabít Nag-Dumgar! B_LogEntry(TOPIC_NagDumgar,"Přinesl jsem Ur-Thrallovi obětní dýku, kterou možno zabít Nag-Dumgara."); Info_ClearChoices(DIA_Orc_8550_UrNazul_Muritan_Dagger); Info_AddChoice(DIA_Orc_8550_UrNazul_Muritan_Dagger,"Doufám, že všechno dobrě dopadne.",DIA_Orc_8550_UrNazul_Muritan_Dagger_No); Info_AddChoice(DIA_Orc_8550_UrNazul_Muritan_Dagger,"Můžu toho démona zabít já sám?",DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes); }; func void DIA_Orc_8550_UrNazul_Muritan_Dagger_No() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_No_01_00"); //Doufám, že všechno dobrě dopadne, náčelníku. MIS_NagDumgar = LOG_Success; NagDumgarInsertForUrTrall = TRUE; Log_SetTopicStatus(TOPIC_NagDumgar,LOG_SUCCESS); B_LogEntry(TOPIC_NagDumgar,"S mocnou zbraní, Ur-Thrall se teď může postavit Nag-Dumgarovi v boji. Moje účást v tomto příběhu se chýlí ke konci..."); AI_StopProcessInfos(self); }; func void DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes_01_00"); //Můžu toho démona zabít já sám? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes_01_01"); //(překvapeně) Člověk chce bojovat s Nag-Dumgar?! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes_01_03"); //Ur-Thrall obdivovat odvahu člověka... (s uznáním) ale musí ho varovat, protože Nag-Dumgar být velmi silný a nebezpečný! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes_01_04"); //Člověk si musí uvědomit, že nesmí udělat žádnou chybu, jinak může mnoho bratrů přijít o život. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes_01_05"); //Rozumím, budu se snažit aby k tomu nedošlo. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes_01_06"); //No... (zamyšleně) Ur-Thrall vidět, že člověk mít velkou důvěru ve své schopnosti! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes_01_07"); //Proto být připraven poslat ho, aby zabil Nag-Dumgar! Tady - člověk vzít dýku a jít bojovat s démonem. B_GiveInvItems(self,other,ItMw_1h_TributeDagger,1); AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes_01_09"); //Kde ho mám hledat? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_Dagger_Yes_01_10"); //Jak již Ur-Thrall říct, naposledy vidět Nag-Dumgar na severu země, v blízkosti kamenné pevnosti v horách. Tam by měl člověk hledat. NagDumgarInsert = TRUE; B_LogEntry(TOPIC_NagDumgar,"Osobně jsem se přihlásil k boji s Nag-Dumgarem! Ur-Thrall ocenil mou odvahu, ale varoval mě, že si nemůžem dovoli žádnou chybu. Naposledy Nag-Dumgara viděl na severu země, v blízkosti kamenné pevnosti v horách."); Info_ClearChoices(DIA_Orc_8550_UrNazul_Muritan_Dagger); Info_AddChoice(DIA_Orc_8550_UrNazul_Muritan_Dagger,Dialog_Ende,DIA_Orc_8550_UrNazul_Muritan_Dagger_Quit); }; func void DIA_Orc_8550_UrNazul_Muritan_Dagger_Quit() { AI_StopProcessInfos(self); }; instance DIA_Orc_8550_UrNazul_Muritan_DaggerDone(C_Info) { npc = Orc_8550_UrNazul; condition = DIA_Orc_8550_UrNazul_Muritan_DaggerDone_condition; information = DIA_Orc_8550_UrNazul_Muritan_DaggerDone_info; permanent = FALSE; description = "Nag-Dumgar je mrtvý!"; }; func int DIA_Orc_8550_UrNazul_Muritan_DaggerDone_condition() { if((MIS_NagDumgar == LOG_Running) && (NagDumgarIsDead == TRUE)) { return TRUE; }; }; func void DIA_Orc_8550_UrNazul_Muritan_DaggerDone_Info() { B_GivePlayerXP(2500); AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_DaggerDone_Info_01_00"); //Nag-Dumgar je mrtvý! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_DaggerDone_Info_01_01"); //Arrgh... (respekt) Člověk znovu dokázat, že být velký válečník! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_DaggerDone_Info_01_02"); //Ur-Thrall mu děkovat, za pomoc jeho bratří. Nag-Dumgarova kletba nás už nebude obtěžovat! B_GiveInvItems(self,other,ItPo_UrTrallPotion,1); MIS_NagDumgar = LOG_Success; Log_SetTopicStatus(TOPIC_NagDumgar,LOG_SUCCESS); B_LogEntry(TOPIC_NagDumgar,"Ur-Thrall byl rád, když uslyšel, že skřetí démon Nag-Dumgar je mrtvý..."); }; instance DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion(C_Info) { npc = Orc_8550_UrNazul; condition = DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion_condition; information = DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion_info; permanent = FALSE; description = "Jaký lektvar jsi mi to dal?"; }; func int DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion_condition() { if((MIS_NagDumgar == LOG_Success) && (Npc_HasItems(other,ItPo_UrTrallPotion) >= 1)) { return TRUE; }; }; func void DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion_Info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion_01_01"); //A jaký lektvar jsi mi to dal? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion_01_02"); //Jedná se o velmi starý a vzácný skřetí lektvar! Ur-Thrall ho střežit po mnoho zim, ale neodvážil se ho napít. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion_01_03"); //Ale člověk prokázal, že je hoden ho mít! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion_01_04"); //Doufám, že se neotrávím. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_UrTrallPotion_01_05"); //Člověk nemusí mit strach. Tento nápoj ho nezabije ale udělať silnějším. }; instance DIA_Orc_8550_UrNazul_Sword(C_Info) { npc = Orc_8550_UrNazul; condition = DIA_Orc_8550_UrNazul_Sword_condition; information = DIA_Orc_8550_UrNazul_Sword_info; permanent = FALSE; description = "Kovář Hash Tor ti posílá tento meč."; }; func int DIA_Orc_8550_UrNazul_Sword_condition() { if((MIS_HashTorOre == LOG_Running) && (Npc_HasItems(other,ITMW_2H_ORCSWORD_05) >= 1)) { return TRUE; }; }; func void DIA_Orc_8550_UrNazul_Sword_Info() { B_GivePlayerXP(200); AI_Output(other,self,"DIA_Orc_8550_UrNazul_Sword_01_01"); //Kovář Hash Tor ti posílá tento meč. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Sword_01_02"); //Ukaž, podívat se. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Sword_01_03"); //Tady to je. B_GiveInvItems(other,self,ITMW_2H_ORCSWORD_05,1); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Sword_01_04"); //Hmmm... (vděčně) AI_UnequipWeapons(self); AI_EquipBestMeleeWeapon(self); AI_ReadyMeleeWeapon(self); AI_PlayAni(self,"T_1HSINSPECT"); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Sword_01_05"); //Být velmi dobrý meč! Ur-Thrallovi se líbit. AI_RemoveWeapon(self); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Sword_01_06"); //Člověk vzkázat Hash Torovi, že být spokojen s jeho prací. Je to skutečný mistr! B_LogEntry(TOPIC_HashTorOre,"Ur-Thrallovi se meč líbil. Mám o tom říct Hash Torovi."); UrTrallTakeSword = TRUE; }; instance DIA_ORC_8550_URNAZUL_AZGALOR(C_Info) { npc = orc_8550_urnazul; condition = DIA_ORC_8550_URNAZUL_AZGALOR_condition; information = DIA_ORC_8550_URNAZUL_AZGALOR_info; permanent = FALSE; description = "Neměl bys něco na práci?"; }; func int DIA_ORC_8550_URNAZUL_AZGALOR_condition() { if((DARKMAGE_ISDEAD == TRUE) && (OrcIsBackTemple == TRUE)) { return TRUE; }; }; func void DIA_ORC_8550_URNAZUL_AZGALOR_info() { AI_Output(other,self,"DIA_Ass_127_Osair_AssasinGold_01_01"); //Neměl bys něco na práci? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_21"); //Ur-Thrall neví... (zamyšleně) Ne, Ur-Thrall vědět! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_22"); //Člověk jít do starého domu Ur-Thrall, a zabije Azgalora. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_25"); //Azgalor? Kdo je to? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_33"); //Azgalor být velmi velký a zlý drak. Žít tam, kde dřívě žil Ur-Thrall. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_35"); //Drak?! Chceš, abych pro tebe zabil draka? Odkdy jsou draci a skřeti nepřátelé? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_42"); //Tento drak je jiný. Arhhhhh... Azgalor být zlo. Nemít silotávní. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_43"); //Před mnoha zimy, Azgalor přivolat démona - velkého, silného démona jménem Kovář Duší. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_44"); //Démon sloužit Azgaloru! Skřeti sloužit démonu! Azgalor slíbit, že pokud bratři dobře sloužit udělá je silnými aby porazili své nepřátele. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_45"); //Ur-Thrall říkal, že sloužit démonu je nemožné. Démon být zlo! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_46"); //Ale bratři neposlouchat Ur-Thrall... Bratři vypili krev démona, aby získali jeho sílu a začali mu sloužit. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_47"); //Bratři pak porazili všechny nepřátele. Démon duše jejich nepřátel donesl rovnou k Azgalorovi! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_48"); //Ale Azgalor chtel víc a víc duší! Krev démona strašit mysl a duše bratru. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_49"); //Ale bratři nechteli jen bojovat, chteli mír a bohatství kmene. Bratři přestali sloužit Azgalorovi a přišli za mnou, za Ur-Thrallem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_51"); //Azgalor rozkázal démonovi zabít bratry. Všechny skřety, Ur-Thralla a mé bratry! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_52"); //Démon zabil mnoho bratru a vzal jejich duše. Ur-Thrall se pustil do boje s démonem. Spolu s mým bratrem - Ur-Gromem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_55"); //Bratr a Ur-Thrall šli do údolí, bojovat s démonem... AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_56"); //Ur-Thrall nenávidět Azgalora! Přísahat, že pomstít bratrovu smrt. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_57"); //A ty chceš, abych ho pomstil místo tebe? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_58"); //Arrgh... (rozzlobeně) Ur-Thrall se nemůže vrátit. Ur-Thrall být prokletý! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_59"); //Kdybych šel do údolí, okamžitě zemřu. Byl bych uvězněn a musel mu sloužit! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_61"); //Nemohl bych ho pak zabít. Člověk pochopil?! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_62"); //Člověk pochopil... (imitujíc skřeta) Zdá se, že není jiná možnost - souhlasím. Kde tedy najdu tvůj starý domov? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_63"); //Člověk pochopil správně! Dobrá. Ur-Thrallův dům být daleko, příliš daleko pro nohy. Použít magický portál! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_65"); //Ur-Thrall dát dva kámeny. Člověk jít dolů do jeskyně. Portál zakrývá mříž. Člověk postaví kámeny a průchod se otevře. B_GiveInvItems(self,other,itmi_1_orcportalstone,1); B_GiveInvItems(self,other,itmi_2_orcportalstone,1); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_68"); //Člověk teď jít, Ur-Thrall počká zde na srdce Azgalora. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_Info_18_69"); //No dobře - mám pocit, že se zapotím! Počkej tady skřete - brzy budeteš mít možnost rozervat jeho srdce. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_Info_18_70"); //Štastný lov, člověče. MIS_URNAZULRAGE = LOG_Running; Log_CreateTopic(TOPIC_URNAZULRAGE,LOG_MISSION); Log_SetTopicStatus(TOPIC_URNAZULRAGE,LOG_Running); B_LogEntry(TOPIC_URNAZULRAGE,"Ur-Thrall se mnou podstoupil dohodu. Slíbil jsem mu, že zabiju černého draka Azgalora a tak dokážu, že jsem dost silný na setkání s démonem ve Spáeove chrámu. Kdysi dávno Azgalor vyvolal mocného démona - kováře duší. Slíbil skřetům, že když budou vyvolanému démonu sloužit, porazí jejich nepřátele. Skřeti souhlasili a vypili jeho krev. Démonická esence je ueinila neporazitelnými. Azgalor však použil skřety proti svým vlastním nepřátelum. Skřeti se ve skutečnosti stali jeho otroky."); B_LogEntry_Quiet(TOPIC_URNAZULRAGE,"Unavený z krvavé války, skřeti už nechteli sloužit Azgalorovi a jeho démonovi. Hněv Azgalora byl obrovský - proklel všechny skřety a nařídil démonovi, aby všechny skřety zabil a sebral jejich duše. Ur-Thrall a jeho bratr, Ur-Grom, se vydali démona zabít. Nicméne vítezství stálo Ur-Groma život. Ur-Thrall po me chce Azgalorovo srdce."); B_LogEntry_Quiet(TOPIC_URNAZULRAGE,"Místo, kde se Azgalor zjevuje se nazývá Údolí stínů. Dostanu se tam použitím skřetích teleportu. Ur-Thrall mi dal dva krystaly, které mám položit na pedestaly vedle mříže, aby se otevřela."); KNOWS_AZGOGLOR_SUMMON = FALSE; UrTrallOkShv = TRUE; AI_StopProcessInfos(self); }; instance DIA_ORC_8550_URNAZUL_HELLO_2(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_hello_2_condition; information = dia_orc_8550_urnazul_hello_2_info; important = TRUE; permanent = FALSE; }; func int dia_orc_8550_urnazul_hello_2_condition() { if((MIS_URNAZULRAGE == LOG_Running) && (BLKDRAGNISDEAD == FALSE) && (GIVEPOTIONURNAZUL == FALSE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_hello_2_info() { Snd_Play3d(self,"ORC_AMBIENT_SHORT02"); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_2_Info_18_01"); //Člověče, počkej ještě. Ur-Thrall dá člověku lektvar. Muž pije lektvar a je silný, stejně jako skřet. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Hello_2_Info_18_03"); //Zajímavé! Určitě mi to neublíží, když budu srážet dračí hlavy. B_GiveInvItems(self,other,ItPo_Perm_STR,1); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Hello_2_Info_18_04"); //Nyní jdi. GIVEPOTIONURNAZUL = TRUE; }; instance DIA_ORC_8550_URNAZUL_COMPLETE(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_complete_condition; information = dia_orc_8550_urnazul_complete_info; important = FALSE; permanent = TRUE; description = "Černý drak Azgalor je mrtvý!"; }; func int dia_orc_8550_urnazul_complete_condition() { if((MIS_URNAZULRAGE == LOG_Running) && (BLKDRAGNISDEAD == TRUE) && (Npc_HasItems(other,itat_blackdragonheart) >= 1) && (AZGOLORCOMPLETE == FALSE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_complete_info() { B_GivePlayerXP(2000); AI_Output(other,self,"DIA_Orc_8550_UrNazul_Complete_Info_18_01"); //Černý drak Azgalor je mrtvý! Tady je jeho srdce. B_GiveInvItems(other,self,itat_blackdragonheart,1); Npc_RemoveInvItems(self,itat_blackdragonheart,1); AI_Output(self,other,"DIA_Orc_8550_UrNazul_Complete_Info_18_03"); //Ur-Thrall vidí, že Azgalor zemřít! Ur-Thrall se pomstil prokletí draka. AI_Output(self,other,"DIA_Orc_8550_UrNazul_Muritan_DaggerDone_Info_01_01"); //Arrgh... (s respektem) Člověk opět dokazuje, že je skvělý válečník! AI_Output(other,self,"DIA_Orc_8550_UrNazul_ORCTEMPLEISFREE_01_14"); //Dobrá. AI_PlayAni(self,"T_GREETGRD"); MIS_URNAZULRAGE = LOG_SUCCESS; B_LogEntry(TOPIC_URNAZULRAGE,"Přinesl jsem Ur-Thrallovi srdce černého draka."); Log_SetTopicStatus(TOPIC_URNAZULRAGE,LOG_SUCCESS); AZGOLORCOMPLETE = TRUE; }; instance DIA_ORC_8550_URNAZUL_URGROM(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_urgrom_condition; information = dia_orc_8550_urnazul_urgrom_info; important = FALSE; permanent = TRUE; description = "Ještě jedna věc..."; }; func int dia_orc_8550_urnazul_urgrom_condition() { if((AZGOLORCOMPLETE == TRUE) && (BROTHERCOMPLETE == FALSE) && (MEETURGROM > 0) && (UrGromIsDead == FALSE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_urgrom_info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_01"); //Ještě jedna věc... Zabitím Azgalora jsem odstranil prokletí které vyselo nad všemi tvými bratry. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_02"); //Včetně... tvého bratra, Ur-Groma. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_03"); //(udiveně) Ur-Thrall nerozumět! Ur-Thrall myslet, že bratr je mrtvý! AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_04"); //Tvůj bratr je živ a zdráv, vůdče. Byl to on, kdo mi pomohl zabít netvora jehož srdce nyní držíš v ruce. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_07"); //Ve skutečnosti, všechni tvý bratři znovu získali fyzickou podstatu. Opět žijou. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_08"); //Bratře... bratře... Ur-Grome!... AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_09"); //No tak, skřete, to se stává. Rád jsem ťe poznal! AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_12"); //Počkej... Člověk přinést velmi dobré zprávy, jsem potěšen! AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_15"); //Ur-Thrall děkovat člověku. Musím přemýšlet jak odvděčit... Člověk si vybrat sám! Vybrat vše co chtít. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_16"); //Teď nepotřebuju nic. Ale možná později... AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_17"); //Ur-Thrall dát slovo, Ur-Thrall nikdy nezapomene! Člověk přijít a zeptat se. Ur-Thrall udělat! AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrGrom_Info_18_20"); //Děkuju. BROTHERCOMPLETE = TRUE; ORCPROMISE = TRUE; AI_StopProcessInfos(self); }; instance DIA_ORC_8550_URNAZUL_PROMISE(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_promise_condition; information = dia_orc_8550_urnazul_promise_info; important = FALSE; permanent = TRUE; description = "Znáš skřeta jménem Ur-Shak?"; }; func int dia_orc_8550_urnazul_promise_condition() { if((ORCPROMISE == TRUE) && (ORCPROMISEMAKE == FALSE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_promise_info() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_Promise_Info_01_00"); //Znáš skřeta jménem Ur-Shak? AI_Output(self,other,"DIA_Orc_8550_UrNazul_Promise_Info_01_01"); //Ano, být velký syn ducha, před mnoha zimami. Chtěl být přáteli s lidmi. Proč se ptáš? AI_Output(other,self,"DIA_Orc_8550_UrNazul_Promise_Info_01_02"); //Já ho znám, vím kdo to je. A vím i to, že ho skřeti vyhnali. AI_Output(other,self,"DIA_Orc_8550_UrNazul_Promise_Info_01_04"); //Slíbil jsi splnit mou žádost, a proto tě prosím - dovol mu vrátit se a opět být vaším šamanem, tak jako předtím. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevel_01_11"); //Hmmmm. Ur-Thrall si pamatuje, že člověk porazit zlého draka. AI_Output(self,other,"DIA_Orc_8550_UrNazul_LowLevel_01_12"); //To je stejně silné jako démon v hlubokém dolu! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Promise_Info_01_05"); //Ur-Thrall nečekal takovou žádost. Ale Ur-Thrall držet své slovo! AI_Output(self,other,"DIA_Orc_8550_UrNazul_Promise_Info_01_06"); //Ur-Shak být odpuštěno - bude se moci vrátit domů. Opět být syn ducha! AI_Output(other,self,"DIA_Orc_8550_UrNazul_Promise_Info_01_07"); //Děkuji! B_LogEntry(TOPIC_Urshak,"Mluvil jsem s vůdcem skřetů o Ur-Shakovi. Vůdce nezapomněl na svůj slib a souhlasil vyhovět mé žádosti. Teď musím najít Ur-Shaka a říct mu o tom."); ORCPROMISEMAKE = TRUE; }; //--------------------------------------Chernaya ruda-------------------------------------------------------------- instance DIA_ORC_8550_URNAZUL_BLACKORE(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_blackore_condition; information = dia_orc_8550_urnazul_blackore_info; permanent = FALSE; // description = "Řekni mi, jestli vy skřeti víte, kde hledat černou rudu."; }; func int dia_orc_8550_urnazul_blackore_condition() { DIA_ORC_8550_URNAZUL_BLACKORE.description = ConcatStrings(CZ_SkillCheckCondition(CZ_SKILL_RHE, 75, TRUE), "Řekni mi, jestli vy skřeti víte, kde hledat černou rudu."); if((MIS_URNAZULRAGE == LOG_SUCCESS) && (FINDOREALREADY == FALSE) && Npc_KnowsInfo(hero,xbs_7513_darrion_blackore) // && (RhetorikSkillValue[1] >= 75) ) { return TRUE; }; }; func void dia_orc_8550_urnazul_blackore_info() { B_GivePlayerXP(500); AI_Output(other,self,"DIA_Orc_8550_UrNazul_BlackOre_01_01"); //Řekni mi, jestli vy skřeti víte, kde hledat černou rudu. AI_Output(self,other,"DIA_Orc_8550_UrNazul_BlackOre_01_02"); //Člověk potřebovat černou rudu?! AI_Output(self,other,"DIA_Orc_8550_UrNazul_BlackOre_01_04"); //Hmmm... (zamyšleně) Kdysi dávno, když Ur-Thrall žít s bratmi daleko odsud - najít spoustu černé rudy a vytvořit silný pancíř, zabíjet všechny nepřátele. AI_Output(self,other,"DIA_Orc_8550_UrNazul_BlackOre_01_05"); //Člověk se vrátit do údolí, kde žil Ur Thrall, a tam hledat rudu. B_LogEntry(TOPIC_GUARDIANS,"Darrion měl pravdu. Ur-Thrall mi řekl, kde najít vzácnou černou rudu. Měl bych jít do Údolí stínů a tam ji hledat."); }; //-----------------------------------------------------Khag-Tar------------------------------------------------ instance DIA_ORC_8550_URNAZUL_URHAN(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_urhan_condition; information = dia_orc_8550_urnazul_urhan_info; permanent = FALSE; description = "Mám pro tebe ještě něco."; }; func int dia_orc_8550_urnazul_urhan_condition() { if(MIS_KILLURTRALL == LOG_Running) { return TRUE; }; }; func void dia_orc_8550_urnazul_urhan_info() { B_GivePlayerXP(200); AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_01_04"); //Mám pro tebe ještě něco. Znáš skřeta jménem Hag-Tar? AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_01_05"); //Ano, být jedním z mých nejlepších válečníků. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_01_06"); //Ur-Thrall ho poslat do války s lidmi ve velkém údolí, vzít pevnost. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_01_07"); //A Hag-Tar již to udělat. Ur-Thrall respektovat Hag-Tar! AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_01_08"); //To je všechno pekné, jen zatím nevíš, že ten tvuj generál te chce zabít a sám se stát vudcem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_01_09"); //Co?! Hag-Tar chtít smrt Ur-Thrall? AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_01_10"); //Ano, přesně tak! Chce to udělat aby se stal vůdcem místo tebe. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_01_11"); //KHATAG BAT NAR!... (výhružně) Jestli člověk lže - člověk zemřít. Pomalu zemřít. Být hodně bolesti. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_01_12"); //Říkám pravdu. Hag-Tar mě vyzval abych tě zabil, a za odměnu slíbil propustit zajaté paladiny. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_01_16"); //Pokud si nevěříš zeptej se Ur-Shaka, on může potvrdit moje slova. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_01_17"); //Ríkat syn ducha a říkat člověk, to značit pravda. Ur-Thrall věřit. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_01_22"); //Ale Ur-Thrall nechápe, proč mu to člověk říct? Info_ClearChoices(dia_orc_8550_urnazul_urhan); Info_AddChoice(dia_orc_8550_urnazul_urhan,"Jednoduše nerad zabíjím bez varování!",dia_orc_8550_urnazul_urhan_killyou); if((CANFREEPALADIN == FALSE) && (CASTLEISFREE == FALSE)) { Info_AddChoice(dia_orc_8550_urnazul_urhan,"Mám k tomu své důvody...",dia_orc_8550_urnazul_urhan_helpyou); }; }; func void dia_orc_8550_urnazul_urhan_killyou() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_KillYou_01_01"); //Jednoduše nerad zabíjím bez varování! AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_KillYou_01_02"); //KHROTOK YABART! (vztekle) Takže se přesto rozhodnout mě výzvat?! AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_KillYou_01_06"); //Člověk být hloupý, já rozervat člověk na kusy! Ulu-Mulu nepomůže. Arrrrrrrg! URNAZULFUCKOFF = TRUE; ULUMULUISEQUIP_NO = TRUE; ULUMULUISEQUIP = FALSE; AI_StopProcessInfos(self); self.aivar[AIV_EnemyOverride] = FALSE; }; func void dia_orc_8550_urnazul_urhan_helpyou() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_03"); //Mám k tomu své důvody. Chci, abys osvobodil paladiny, které Hag-Tar zajal v pevnosti. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_04"); //KHROTOK YABART! (vztekle) Ne! Lidé být nepřátel! Nepřátel prohrát - musí zemřít. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_05"); //Vůdče, životy několika lidí výměnou za tvůj. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_06"); //Hag-Tar údeří, když ne dnes, tak zítra. Pokud to neudělám já, pak některý ze skřetů. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_09"); //Arrgh... Dobře! Ur-Thrall odpustit lidem, vyměnit životy. Ale ne za jeho vlastní, ale za život Hag-Tar! AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_12"); //Člověk zabije zrádce - Ur-Thrall nechat lidi! AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_13"); //Co?! A jak to mám udělat? Je obklopen řadami nižších skřetů. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_14"); //Přece nebudou jen přihlížet, až zaútočím na jejich generála. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_15"); //Člověk nemusí mít strach! AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_16"); //Člověk mít pravdu... Ur-Thrall dát člověku svůj talisman - Totem síly! Je symbolem moci Ur-Thrall. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_HelpYou_01_17"); //Žádný skřet se neodváží zaútočit na člověk, když ho bude nést. Info_ClearChoices(dia_orc_8550_urnazul_urhan); Info_AddChoice(dia_orc_8550_urnazul_urhan,"Nevěřím ti.",dia_orc_8550_urnazul_urhan_no); Info_AddChoice(dia_orc_8550_urnazul_urhan,"Dobře! Souhlasím.",dia_orc_8550_urnazul_urhan_Ok); }; func void dia_orc_8550_urnazul_urhan_no() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_No_01_01"); //Vypadám snad jako idiot? Chceš se zbavit nepřítele i vraha jedním tahem. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_No_01_02"); //Hmmm... (zamyšleně) Pak mi člověk nedáva na výběr! AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_No_01_03"); //Přikážu svým vojákům člověka zabít, člověk zemřít. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_No_01_04"); //Jdete na špatného chlapa! URNAZULFUCKOFF = TRUE; ULUMULUISEQUIP_NO = TRUE; ULUMULUISEQUIP = FALSE; AI_StopProcessInfos(self); self.aivar[AIV_EnemyOverride] = FALSE; }; func void dia_orc_8550_urnazul_urhan_Ok() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_Ok_01_01"); //Dobře! Souhlasím. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHan_Ok_01_02"); //Pak tedy člověk vzít talisman a jít zabít Hag-Tar! B_GiveInvItems(self,other,itmi_orcmaintotem,1); AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHan_Ok_01_04"); //Jak říkáš. URNAZULGIVETASK = TRUE; B_LogEntry(TOPIC_KILLURTRALL,"Rozhodl jsem se informovat vůdce skřetů o zradě a plánu jeho zabití - řekl mi, abych Hag-Tara zabil! Když to udělám, propustí Garonda a jeho muže. Ur-Thrall mi dal talisman - totem síly, který potvrzuje jeho moc. Pak na mě skřeti nezaůtočí a Hag-Tar bude muset přijmout výzvu."); AI_StopProcessInfos(self); }; instance DIA_ORC_8550_URNAZUL_URHANKILLDONE(C_Info) { npc = orc_8550_urnazul; condition = dia_orc_8550_urnazul_urhankilldone_condition; information = dia_orc_8550_urnazul_urhankilldone_info; permanent = FALSE; description = "Hag-Tar je mrtvý."; }; func int dia_orc_8550_urnazul_urhankilldone_condition() { if((MIS_KILLURTRALL == LOG_Running) && (KILLHAGTARURTRALL == TRUE)) { return TRUE; }; }; func void dia_orc_8550_urnazul_urhankilldone_info() { B_GivePlayerXP(200); AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHanKillDone_01_01"); //Hag-Tar je mrtvý. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHanKillDone_01_02"); //Být dobrá zpráva. Ur-Thrall být šťastný! AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHanKillDone_01_03"); //A co naše dohoda - pustíš uvězňené paladiny? AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHanKillDone_01_04"); //Nejdřív člověk vrátit talisman moci. Pak mluvit o lidech. MIS_KILLURTRALL = LOG_SUCCESS; Log_SetTopicStatus(TOPIC_KILLURTRALL,LOG_SUCCESS); B_LogEntry(TOPIC_KILLURTRALL,"Řekl jsem Ur-Thrallovi o smrti Hag-Tara. Myslím, že teď už paladiny pustí."); Info_ClearChoices(dia_orc_8550_urnazul_urhankilldone); Info_AddChoice(dia_orc_8550_urnazul_urhankilldone,"Nechám si ho pro sebe.",dia_orc_8550_urnazul_urhankilldone_no); if(Npc_HasItems(hero,itmi_orcmaintotem) >= 1) { Info_AddChoice(dia_orc_8550_urnazul_urhankilldone,"Tady.",dia_orc_8550_urnazul_urhankilldone_Ok); }; }; func void dia_orc_8550_urnazul_urhankilldone_no() { AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHanKillDone_No_01_01"); //Proč? Nechám si ho pro sebe, je to užitečná věc. AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHanKillDone_No_01_02"); //Cože?!... (vztekle) Drzý člověk! CHROTOK YABART! if(MIS_NEWSSURVIVERS == LOG_Running) { B_LogEntry(TOPIC_NEWSSURVIVERS,"Obávám se, že teď budou skřeti jen stěží souhlasit aby vydali Garonda a jeho muže."); }; BOGNARREFUSETALK = TRUE; Kurgan.aivar[93] = TRUE; URNAZULFUCKOFF = TRUE; ULUMULUISEQUIP_NO = TRUE; ULUMULUISEQUIP = FALSE; AI_StopProcessInfos(self); self.aivar[AIV_EnemyOverride] = FALSE; }; func void dia_orc_8550_urnazul_urhankilldone_Ok() { B_GivePlayerXP(300); AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHanKillDone_Ok_01_01"); //Tady. B_GiveInvItems(other,self,itmi_orcmaintotem,1); AI_Output(self,other,"DIA_Orc_8550_UrNazul_UrHanKillDone_Ok_01_02"); //Dobře! Ur-Thrall nechat lidi jít, jak slíbil. AI_Output(other,self,"DIA_Orc_8550_UrNazul_UrHanKillDone_Ok_01_04"); //Děkuji, náčelníku. CANFREEPALADIN = TRUE; if(MIS_NEWSSURVIVERS == LOG_Running) { B_LogEntry(TOPIC_NEWSSURVIVERS,"Paladinové jsou teď svobodní! Musím je o tom informovat."); }; Info_ClearChoices(dia_orc_8550_urnazul_urhankilldone); }; //---------------------------Gor Kar------------------------------- instance DIA_ORC_7550_GORKAR_EXIT(C_Info) { npc = ORC_7550_GORKAR; condition = dia_ORC_7550_GORKAR_exit_condition; information = dia_ORC_7550_GORKAR_exit_info; important = FALSE; permanent = TRUE; nr = 999; description = Dialog_Ende; }; func int dia_ORC_7550_GORKAR_exit_condition() { return TRUE; }; func void dia_ORC_7550_GORKAR_exit_info() { AI_StopProcessInfos(self); }; var int GorKarFM; instance DIA_ORC_7550_GORKAR_NOHIFIRST(C_Info) { npc = ORC_7550_GORKAR; condition = dia_ORC_7550_GORKAR_nohifirst_condition; information = dia_ORC_7550_GORKAR_nohifirst_info; important = TRUE; permanent = FALSE; }; func int dia_ORC_7550_GORKAR_nohifirst_condition() { if(PlayerKnowsOrcLanguage == FALSE) { return TRUE; }; }; func void dia_ORC_7550_GORKAR_nohifirst_info() { if(GorKarFM == FALSE) { AI_Output(self,other,"DIA_Orc_7550_GorKar_NoHiFirst_01_01"); //KUTAR GOR DAR DRAK! AI_Output(self,other,"DIA_Orc_7550_GorKar_NoHiFirst_01_02"); //KRAT BUR ŠAR DIR? AI_Output(other,self,"DIA_Orc_7550_GorKar_NoHiFirst_01_03"); //Um... Co to říkáš? AI_Output(self,other,"DIA_Orc_7550_GorKar_NoHiFirst_01_04"); //MORRA TUP DUR... (zavrtí hlavou) GORKAR STAR KAR OR... GorKarFM = TRUE; } else { AI_Output(self,other,"DIA_Orc_7550_GorKar_NoHiFirst_01_05"); //MORRA GOR! GORKAR RAT... }; AI_StopProcessInfos(self); }; instance DIA_ORC_7550_GORKAR_HIFIRST(C_Info) { npc = ORC_7550_GORKAR; condition = dia_ORC_7550_GORKAR_hifirst_condition; information = dia_ORC_7550_GORKAR_hifirst_info; important = TRUE; permanent = TRUE; }; func int dia_ORC_7550_GORKAR_hifirst_condition() { if((PlayerKnowsOrcLanguage == TRUE) && (GorKarInv == FALSE)) { return TRUE; }; }; func void dia_ORC_7550_GORKAR_hifirst_info() { var C_Item itm; itm = Npc_GetEquippedArmor(other); if((Hlp_IsItem(itm,ITAR_ORCARMOR) == TRUE) || (Hlp_IsItem(itm,ITAR_ORCARMOR_DEX) == TRUE) || (Hlp_IsItem(itm,ITAR_SHAMANROBE) == TRUE)) { if(GorKarFM == FALSE) { AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_01"); //(zlostně) Co tu chceš, Morra? Ty přišel hledat svou smrt? } else { AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_02"); //(zlostně) Zase Morra. Ty přišel hledat svou smrt? }; AI_Output(other,self,"DIA_Orc_7550_GorKar_HiFirst_01_03"); //Přivádí mě sem poněkud odlišná záležitost. AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_04"); //CHROT DAR!... (překvapeně) Morra rozumět jazyku skřetů?! CHAR TUR RAT... AI_Output(other,self,"DIA_Orc_7550_GorKar_HiFirst_01_05"); //To tě tolik překvapilo? AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_06"); //Morra mít pravdu! Gor-Kar nikdy nepotkat člověk, který by rozumět jeho řeči. AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_07"); //Ale ještě víc překvapen, že člověk nosit skřetí zbroj. Gor-Kar nejdřív myslet, že člověk být skřet. Kdo ho vzít Morra?! AI_Output(other,self,"DIA_Orc_7550_GorKar_HiFirst_01_08"); //Dal mi ho Ur-Thrall, vůdce skretího klanu. Slyšel jsi o něm? AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_09"); //GRAT, GRAT... (přikývne) Gor-Kar znát velký vůdce Ur-Thrall! AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_10"); //On žít hluboko v hoře a být velmi silný válečník. AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_11"); //Nicméně, Gor-Kar nechápe, proč by velký vůdce dát člověk taková zbroj. AI_Output(other,self,"DIA_Orc_7550_GorKar_HiFirst_01_12"); //Je to dlouhý příběh, skřete. Ale ve zkratce, pomáhal jsem Ur-Thrallovi s jednou velmi delikátní záležitostí. AI_Output(other,self,"DIA_Orc_7550_GorKar_HiFirst_01_14"); //A jako projev své úcty a vděčnosti mi dal tuto zbroj. AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_15"); //NUR DAR... (zmatenost) Gor-Kar nikdy takové neslyšet! AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_16"); //Lidé vždy být nepřítel, a bratři jich vždy zabít a pak jíst. AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_17"); //Ale jestli sám velký vůdce pod horou respektovat člověk, Gor-Kar nezabije Morra. AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_18"); //Pokud on neudělat nic špatného. GorKarInv = TRUE; } else { AI_Output(self,other,"DIA_Orc_7550_GorKar_HiFirst_01_01"); //Zase ty, Morro... (rozzlobeně) Pořád tady hledat svou smrt? AI_StopProcessInfos(self); }; }; instance DIA_ORC_7550_GORKAR_NoArmor(C_Info) { npc = ORC_7550_GORKAR; condition = dia_ORC_7550_GORKAR_NoArmor_condition; information = dia_ORC_7550_GORKAR_NoArmor_info; permanent = FALSE; description = "A kdybych neměl tuhle zbroj?"; }; func int dia_ORC_7550_GORKAR_NoArmor_condition() { if(GorKarInv == TRUE) { return TRUE; }; }; func void dia_ORC_7550_GORKAR_NoArmor_info() { AI_Output(other,self,"DIA_Orc_7550_GorKar_NoArmor_01_01"); //A kdybych neměl tuhle zbroj? AI_Output(self,other,"DIA_Orc_7550_GorKar_NoArmor_01_02"); //Pak Gor-Kar zabít Morra... (rozzlobeně) Všechny lidé mají být jeho nepřítelem! AI_Output(other,self,"DIA_Orc_7550_GorKar_NoArmor_01_03"); //Takže se mnou opravdu mluvíš jen kvůli němu? AI_Output(self,other,"DIA_Orc_7550_GorKar_NoArmor_01_04"); //CHAR RA?... (zavrtí hlavou) Ne! Gor-Kar jen přemýšlet, kdo být ten Morra a proč nosit zbroj skřetů. AI_Output(self,other,"DIA_Orc_7550_GorKar_NoArmor_01_05"); //Pokud by to Gor-Kar nezajímat, pancíř nezachránit člověk před smrtí. AI_Output(self,other,"DIA_Orc_7550_GorKar_NoArmor_01_06"); //Ostatní bratři také zabít Morra, když ho uvidět! AI_Output(other,self,"DIA_Orc_7550_GorKar_NoArmor_01_07"); //Takže jsem měl prostě štěstí. }; instance DIA_ORC_7550_GORKAR_Ulumulu(C_Info) { npc = ORC_7550_GORKAR; condition = dia_ORC_7550_GORKAR_Ulumulu_condition; information = dia_ORC_7550_GORKAR_Ulumulu_info; permanent = FALSE; description = "Mám Ulu-Mulu."; }; func int dia_ORC_7550_GORKAR_Ulumulu_condition() { if((Npc_KnowsInfo(other,DIA_Orc_7550_GorKar_NoArmor) == TRUE) && (Npc_HasItems(other,ITMW_2H_ORCPRESTIGE) >= 1)) { return TRUE; }; }; func void dia_ORC_7550_GORKAR_Ulumulu_info() { AI_Output(other,self,"DIA_Orc_7550_GorKar_Ulumulu_01_01"); //Mám Ulu-Mulu. AI_Output(self,other,"DIA_Orc_7550_GorKar_Ulumulu_01_02"); //GOR AKH, KUTU... (s údivem) Co to být?! AI_Output(other,self,"DIA_Orc_7550_GorKar_Ulumulu_01_03"); //Cože?! Copak ty nevíš? AI_Output(other,self,"DIA_Orc_7550_GorKar_Ulumulu_01_04"); //Je to znamení skřetí sily! Jeho majitele se skřeti obvykle nedotýkají. AI_Output(self,other,"DIA_Orc_7550_GorKar_Ulumulu_01_05"); //Gor-Kar neví co za věc člověk ukazovat. AI_Output(self,other,"DIA_Orc_7550_GorKar_Ulumulu_01_06"); //Gor-Kar vidět, že věc vytvořena skřety. Ale on nevědět, na co to je! AI_Output(other,self,"DIA_Orc_7550_GorKar_Ulumulu_01_07"); //Zajímavé. Vypadá to, že tě ostatní skřeti moc nezajímaj, když nevíš nic o Ulu-Mulu. AI_Output(self,other,"DIA_Orc_7550_GorKar_Ulumulu_01_09"); //AR GAR... (přikyvuje) Bratři Gor-Kara být jiní než ty, kteří žit ve velkém údolí. AI_Output(self,other,"DIA_Orc_7550_GorKar_Ulumulu_01_10"); //Skřeti žít v těchto horách od dávných dob! Tady mít svého nepřítele i svoje zvyky. }; instance DIA_ORC_7550_GORKAR_Difference(C_Info) { npc = ORC_7550_GORKAR; condition = dia_ORC_7550_GORKAR_Difference_condition; information = dia_ORC_7550_GORKAR_Difference_info; permanent = FALSE; description = "Máte tady nepřítele?!"; }; func int dia_ORC_7550_GORKAR_Difference_condition() { if(Npc_KnowsInfo(other,DIA_Orc_7550_GorKar_Ulumulu) == TRUE) { return TRUE; }; }; func void dia_ORC_7550_GORKAR_Difference_info() { AI_Output(other,self,"DIA_Orc_7550_GorKar_Difference_01_01"); //Máte tady nepřítele?! AI_Output(self,other,"DIA_Orc_7550_GorKar_Difference_01_02"); //Na sever od těchto hor být velký klan Ledového větru! To být náš největší nepřítel. AI_Output(self,other,"DIA_Orc_7550_GorKar_Difference_01_03"); //Gor-Kar a jeho bratři bojovat se jejích válečníky již po mnoho zim. AI_Output(other,self,"DIA_Orc_7550_GorKar_Difference_01_04"); //A jaké je jméno tvého klanu? AI_Output(self,other,"DIA_Orc_7550_GorKar_Difference_01_05"); //Ohnivý kámen! Tam kdysi Gor-Kar žít. AI_Output(other,self,"DIA_Orc_7550_GorKar_Difference_01_06"); //Chápu. A proč ses od nich oddělil? AI_Output(self,other,"DIA_Orc_7550_GorKar_Difference_01_07"); //Bratři vždy bojovat za magickou rudu! Klan získat víc rudy - být silnější. AI_Output(other,self,"DIA_Orc_7550_GorKar_Difference_01_08"); //Tak vy bojujete o magickou rudu? Ale proč?! AI_Output(self,other,"DIA_Orc_7550_GorKar_Difference_01_09"); //Magická ruda být velmi silná! Šamani vzít z ní moc aby mluvit s duchy. AI_Output(self,other,"DIA_Orc_7550_GorKar_Difference_01_10"); //Síla rudy chránit klan před nebezpečím. Proto jí potřebovat hodně! AI_Output(self,other,"DIA_Orc_7550_GorKar_Difference_01_11"); //Náš nepřítel strážit taky hodně magické rudy! AI_Output(self,other,"DIA_Orc_7550_GorKar_Difference_01_12"); //Pokud oni získat víc rudy, stát se ještě silnější a rychle nás zničit. AI_Output(other,self,"DIA_Orc_7550_GorKar_Difference_01_13"); //Hmmm... No, zní to vážně. }; instance DIA_ORC_7550_GORKAR_WhatDo(C_Info) { npc = ORC_7550_GORKAR; condition = dia_ORC_7550_GORKAR_WhatDo_condition; information = dia_ORC_7550_GORKAR_WhatDo_info; permanent = FALSE; description = "Co tady děláš?"; }; func int dia_ORC_7550_GORKAR_WhatDo_condition() { if(Npc_KnowsInfo(other,DIA_Orc_7550_GorKar_NoArmor) == TRUE) { return TRUE; }; }; func void dia_ORC_7550_GORKAR_WhatDo_info() { AI_Output(other,self,"DIA_Orc_7550_GorKar_WhatDo_01_01"); //Co tady děláš? AI_Output(self,other,"DIA_Orc_7550_GorKar_WhatDo_01_02"); //Gor-Kar hledat nové útočiště pro své bratry! Být dlouhá a náročná práce. AI_Output(other,self,"DIA_Orc_7550_GorKar_WhatDo_01_03"); //Co se stalo s tvým starým domovem? AI_Output(self,other,"DIA_Orc_7550_GorKar_WhatDo_01_04"); //Na starou svatyni útočit válečníci Ledového Větru! Mnoho bratrů Gor-Kar zemřít. AI_Output(self,other,"DIA_Orc_7550_GorKar_WhatDo_01_05"); //Teď všichni mrtví a nikdo jiný nemůže vstoupit do chrámu. AI_Output(self,other,"DIA_Orc_7550_GorKar_WhatDo_01_06"); //Skřeti tam už víc nemůžou chodit mluvit s duchy. }; instance DIA_ORC_7550_GORKAR_TrailOrcCamp(C_Info) { npc = ORC_7550_GORKAR; condition = dia_ORC_7550_GORKAR_TrailOrcCamp_condition; information = dia_ORC_7550_GORKAR_TrailOrcCamp_info; permanent = FALSE; description = "Mám jednu otázku."; }; func int dia_ORC_7550_GORKAR_TrailOrcCamp_condition() { if((Npc_KnowsInfo(other,DIA_Orc_7550_GorKar_Difference) == TRUE) && (CanTrailOrcCamp == TRUE) && (MIS_MissOldFriend == LOG_Running)) { return TRUE; }; }; func void dia_ORC_7550_GORKAR_TrailOrcCamp_info() { B_GivePlayerXP(500); AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_01"); //Mám jednu otázku. AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_02"); //Co chtít člověk učit od Gor-Kar? AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_03"); //Hledám tu jistou skupinku lidí. Poslední dobou byli v malé pevnosti nedaleko odtud. AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_04"); //Víš o tom něco? AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_05"); //GRAT TAR... (zavrtí hlavou) Gor-Kar neznát! Nevidět tady lidi už dlouhou dobu. AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_06"); //Pokud o nich někdo může vědět, být jedine Grum Lok. AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_07"); //Grum Lok? Kdo je to? AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_08"); //Být vůdce klanu, nejsilnější válečník z bratrů Gor-Kar! AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_09"); //No, zřejmě ho budu muset navštívit. AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_10"); //Pokud chce člověk prostě přijít do tábora Gor-Kar, skřeti ho zabít. Nebudou s ním mluvit bez zjevného důvodu. AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_11"); //A co mám dělat? AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_12"); //Morra by měl přinést něco pro bratry, za co budou ochotni naslouchat. AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_13"); //Například to, co jim pomoct v boji jejich nepříteli! AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_14"); //Hmmm... narážíš na magickou rudu? AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_15"); //Gor-Kar myslet, že pro mnoho kusů magické rudy bratři opravdu nebíjet člověk. AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_16"); //'Mnoho' je kolik? AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_17"); //Gor-Kar počítat, že minimálně sto kusů. Nebo víc! AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_18"); //Ale vždyť to je celá hromada rudy! AI_Output(self,other,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_19"); //NUR GAR... (zavrtí hlavou) Mín bratrům nebude stačit! Člověk musí rozhodnout, kolik stát jeho život. AI_Output(other,self,"DIA_Orc_7550_GorKar_TrailOrcCamp_01_20"); //Dobře, pochopil jsem. B_LogEntry(TOPIC_MissOldFriend,"V horách, jsem se potkal s skřetího šamana Gor-Kara. Nezaútočil na mně, protože ho zaujala má výzbroj, kterou mi daroval Ur-Thrall. Po rozhovoru s ním jsem se dozvěděl, že o osudu Dariuse by mohl vědět vůdce jeho klanu - Grum Lok. Nicméně, aby se mnou skřeti mluvili, musím přinést co jim rozváže jazyk. Podle Gor-Kara by na to mohlo stačit sto kusů magické rudy. Zřejme si bude muset trochu zohýbat záda v dolu, pokud chci získat pozornost jejich vůdce."); GorKarShowMe = TRUE; }; instance DIA_ORC_7550_GORKAR_Perm(C_Info) { npc = ORC_7550_GORKAR; condition = dia_ORC_7550_GORKAR_Perm_condition; information = dia_ORC_7550_GORKAR_Perm_info; permanent = TRUE; description = "Tak co, našel jsi to správné místo?"; }; func int dia_ORC_7550_GORKAR_Perm_condition() { if(Npc_KnowsInfo(other,DIA_Orc_7550_GorKar_WhatDo) == TRUE) { return TRUE; }; }; func void dia_ORC_7550_GORKAR_Perm_info() { AI_Output(other,self,"DIA_Orc_7550_GorKar_Perm_01_01"); //Tak co, našel jsi to správné místo? AI_Output(self,other,"DIA_Orc_7550_GorKar_Perm_01_02"); //Gor-Kar pořád hledat. Člověk se nemíchat! AI_StopProcessInfos(self); }; //---------------------------Strazh lagerya------------------------------- instance DIA_GorkCampGuard_EXIT(C_Info) { npc = GorkCampGuard; condition = DIA_GorkCampGuard_exit_condition; information = DIA_GorkCampGuard_exit_info; important = FALSE; permanent = TRUE; nr = 999; description = Dialog_Ende; }; func int DIA_GorkCampGuard_exit_condition() { return TRUE; }; func void DIA_GorkCampGuard_exit_info() { AI_StopProcessInfos(self); }; instance DIA_GorkCampGuard_Hello(C_Info) { npc = GorkCampGuard; condition = DIA_GorkCampGuard_Hello_condition; information = DIA_GorkCampGuard_Hello_info; important = TRUE; permanent = FALSE; }; func int DIA_GorkCampGuard_Hello_condition() { if((PlayerKnowsOrcLanguage == TRUE) && (GorKarShowMe == TRUE)) { return TRUE; }; }; func void DIA_GorkCampGuard_Hello_info() { AI_Output(self,other,"DIA_GorkCampGuard_Hello_01_01"); //(překvapeně) KRAT DAR! Poprvé vidět, že jídlo samotné přijít ke skřetům! AI_Output(self,other,"DIA_GorkCampGuard_Hello_01_02"); //Zdá se, že dnes duchové obzvlášť šlechetní, když jej k nám poslat. AI_Output(self,other,"DIA_GorkCampGuard_Hello_01_03"); //Nyní Morra rychle zemřít! A pak bratři jeho sníst... Musí být chutné maso. AI_Output(other,self,"DIA_GorkCampGuard_Hello_01_04"); //Počkej, skřete! Můžeš mě nejdřív vyslechnout? AI_Output(self,other,"DIA_GorkCampGuard_Hello_01_05"); //(překvapeně) GORA DAR! Jídlo je také schopno mluvit řečí skřetů?! AI_Output(other,self,"DIA_GorkCampGuard_Hello_01_06"); //Už dost údivu! Přišel jsem si promluvit s tvým vůdcem Grum Lokem. AI_Output(self,other,"DIA_GorkCampGuard_Hello_01_07"); //Morra vědět o Grum Lok?! (zmateně) Co Morra chtít od vůdce? Info_ClearChoices(DIA_GorkCampGuard_Hello); Info_AddChoice(DIA_GorkCampGuard_Hello,"To se tě netýká, skřete.",DIA_GorkCampGuard_Hello_No); if(Npc_HasItems(hero,ItMi_Nugget) >= 100) { Info_AddChoice(DIA_GorkCampGuard_Hello,"(ukázat magickou rudu)",DIA_GorkCampGuard_Hello_Ore); }; }; func void DIA_GorkCampGuard_Hello_Ore() { AI_Output(other,self,"DIA_GorkCampGuard_Ore_01_01"); //Tady - přináším sto kusů magické rudy. AI_Output(other,self,"DIA_GorkCampGuard_Ore_01_02"); //Chci ji předat tvému vůdci jako malý dárek. AI_Output(self,other,"DIA_GorkCampGuard_Ore_01_03"); //BAR TAK... Magická ruda! Mnoho rudy! Být dobře, bratři potřebovat hodně magické rudy. AI_Output(other,self,"DIA_GorkCampGuard_Ore_01_04"); //Takže můžu jít? AI_Output(self,other,"DIA_GorkCampGuard_Ore_01_05"); //Morra může jít k vůdci a bratři se ho nedotýkat. AI_Output(other,self,"DIA_GorkCampGuard_Ore_01_06"); //A kde najdu Grum Loka? AI_Output(self,other,"DIA_GorkCampGuard_Ore_01_07"); //Člověk jít dál a hledat ve středu velkou jeskyni - tam být vůdce. PassGrumLok = TRUE; AI_StopProcessInfos(self); }; func void DIA_GorkCampGuard_Hello_No() { AI_Output(other,self,"DIA_GorkCampGuard_Hello_No_01_01"); //To se tě netýká, skřete. AI_Output(self,other,"DIA_GorkCampGuard_Hello_No_01_02"); //Pak bratři zabít Morra! FinishSTLSD = TRUE; AI_StopProcessInfos(self); }; //---------------------------Vozhd' gornykh orkov------------------------------- instance DIA_GorkOrcBoss_EXIT(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_exit_condition; information = DIA_GorkOrcBoss_exit_info; important = FALSE; permanent = TRUE; nr = 999; description = Dialog_Ende; }; func int DIA_GorkOrcBoss_exit_condition() { return TRUE; }; func void DIA_GorkOrcBoss_exit_info() { AI_StopProcessInfos(self); }; instance DIA_GorkOrcBoss_Hello(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_Hello_condition; information = DIA_GorkOrcBoss_Hello_info; important = TRUE; permanent = FALSE; }; func int DIA_GorkOrcBoss_Hello_condition() { return TRUE; }; func void DIA_GorkOrcBoss_Hello_info() { AI_Output(self,other,"DIA_GorkOrcBoss_Hello_01_01"); //DAR TUK! (vztekle) Kdo pustit sem Morra?! AI_Output(other,self,"DIA_GorkOrcBoss_Hello_01_02"); //Přinesl jsem ti dárek, vůdce. AI_Output(self,other,"DIA_GorkOrcBoss_Hello_01_03"); //UR MORA DAR... (se zájmem) Morra přinést dar pro Grum Lok? Co to být? Info_ClearChoices(DIA_GorkOrcBoss_Hello); Info_AddChoice(DIA_GorkOrcBoss_Hello,"Obávám se, že ho nemám u sebe.",DIA_GorkOrcBoss_Hello_No); if(Npc_HasItems(other,ItMi_Nugget) >= 100) { Info_AddChoice(DIA_GorkOrcBoss_Hello,"Zde je sto kusů magické rudy pro tebe.",DIA_GorkOrcBoss_Hello_Ore); }; }; func void DIA_GorkOrcBoss_Hello_No() { AI_Output(other,self,"DIA_GorkOrcBoss_Hello_No_01_01"); //Obávám se, že ho nemám u sebe. AI_Output(self,other,"DIA_GorkOrcBoss_Hello_No_01_02"); //Pak Morra teď zemřít! FinishSTLSD = TRUE; AI_StopProcessInfos(self); }; func void DIA_GorkOrcBoss_Hello_Ore() { B_GivePlayerXP(1000); AI_Output(other,self,"DIA_GorkOrcBoss_Hello_Ore_01_01"); //Zde je sto kusů magické rudy pro tebe. B_GiveInvItems(other,self,ItMi_Nugget,100); Npc_RemoveInvItems(self,ItMi_Nugget,100); AI_Output(self,other,"DIA_GorkOrcBoss_Hello_Yes_01_02"); //Morra přinést Grum Lok magickou rudu?! Být dobře... moc dobře. AI_Output(self,other,"DIA_GorkOrcBoss_Hello_Yes_01_03"); //Dar se líbit Grum Lok! Teď nezabít Morra. AI_Output(self,other,"DIA_GorkOrcBoss_Hello_Yes_01_04"); //Avšak, pořád nechápe, proč to člověk dělat. AI_Output(self,other,"DIA_GorkOrcBoss_Hello_Yes_01_05"); //A proč sem přijít?! GrumLokAgreed = TRUE; Info_ClearChoices(DIA_GorkOrcBoss_Hello); }; instance DIA_GorkOrcBoss_Talk(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_Talk_condition; information = DIA_GorkOrcBoss_Talk_info; permanent = FALSE; description = "Hledám tu malou skupinu lidí."; }; func int DIA_GorkOrcBoss_Talk_condition() { if((GrumLokAgreed == TRUE) && (MIS_MissOldFriend == LOG_Running)) { return TRUE; }; }; func void DIA_GorkOrcBoss_Talk_info() { AI_Output(other,self,"DIA_GorkOrcBoss_Talk_01_04"); //Hledám tu malou skupinu lidí. Naposledy byli v malé pevnosti na východě. AI_Output(other,self,"DIA_GorkOrcBoss_Talk_01_05"); //Víš o tom něco? AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_06"); //Hmmm... (zamyšleně) Takže Morra hledat svoje lidi, a přišel sem. AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_07"); //Grum Lok o tom něco vědět. No on nic nebude říkat lidem! AI_Output(other,self,"DIA_GorkOrcBoss_Talk_01_08"); //Ale proč?! To ani ruda, kterou jsem přinesl ti nerozváže jazyk? AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_09"); //Ruda být dobrá! Ale být trochu málo... (zavrtí hlavou) AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_10"); //Člověk vždy být nepřítel Grum Lok! Proto se musí ujistit, že jemu může důvěřovat. AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_11"); //Morra musí přinést důkaz pro Grum Lok! Pak Grum Lok pomůže člověk. AI_Output(other,self,"DIA_GorkOrcBoss_Talk_01_12"); //A jaký důkaz potřebuješ? AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_13"); //Člověk přinést hlavu mého nepřítele! Hlavu jednoho ze starších klanu Ledového větru. AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_14"); //Pak on věřit člověk a mluvit s ním o jeho lidech. AI_Output(other,self,"DIA_GorkOrcBoss_Talk_01_15"); //Dobře, dobře! A kde najdu nějakého z jejich starších? AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_16"); //Jít do klanu Ledového větru a zabít staršího být špatný nápad... AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_17"); //Morra může zemřít! Být mnoho silných válečníků nepřítele. AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_18"); //Grum Lok zná malý tábor na severu. AI_Output(self,other,"DIA_GorkOrcBoss_Talk_01_19"); //Člověk může vystoupat tudy a hledat tam staršího. AI_Output(other,self,"DIA_GorkOrcBoss_Talk_01_20"); //Dobře, zkusím to. MIS_GrumLockProve = LOG_Running; Log_CreateTopic(TOPIC_GrumLockProve,LOG_MISSION); Log_SetTopicStatus(TOPIC_GrumLockProve,LOG_Running); B_LogEntry(TOPIC_GrumLockProve,"Mluvil jsem s vůdcem Grum Lokem. Pokud se chci dozvědět něco o osudu Dariuse musím si nejdřív získat jeho důvěru. Požádal mě, abych mu přinesl válečnou kořist - hlavu jednoho ze starších klanu Ledového větru. Jen pak mi Grum Lok řekne co ví o mích lidech."); }; instance DIA_GorkOrcBoss_TalkGood(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_TalkGood_condition; information = DIA_GorkOrcBoss_TalkGood_info; permanent = FALSE; description = "Tady je hlava starešiny!"; }; func int DIA_GorkOrcBoss_TalkGood_condition() { if((MIS_GrumLockProve == LOG_Running) && (Npc_HasItems(other,ItAt_OlderHead) >= 1)) { return TRUE; }; }; func void DIA_GorkOrcBoss_TalkGood_info() { B_GivePlayerXP(500); AI_Output(other,self,"DIA_GorkOrcBoss_TalkGood_01_01"); //Tady je hlava starešiny! B_GiveInvItems(other,self,ItAt_OlderHead,1); Npc_RemoveInvItems(self,ItAt_OlderHead,1); AI_Output(self,other,"DIA_GorkOrcBoss_TalkGood_01_02"); //GRAT GRAT... (uctivě) Člověk nelže! On přinést hlavu nepřítele Grum Lok. AI_Output(self,other,"DIA_GorkOrcBoss_TalkGood_01_03"); //On znát toho starešinu - nazývat Mork-Ut. Zabít mnoho bratří Grum Lok. AI_Output(self,other,"DIA_GorkOrcBoss_TalkGood_01_04"); //Oni teď být pomstěni! Nyní Grum Lok respektovat člověk a důvěřovat mu. MIS_GrumLockProve = LOG_SUCCESS; Log_SetTopicStatus(TOPIC_GrumLockProve,LOG_SUCCESS); B_LogEntry(TOPIC_GrumLockProve,"Přinesl jsem Grum Lokovi hlavu stařešiny z klanu Ledového větru. Myslím, že teď už začne mluvit."); }; instance DIA_GorkOrcBoss_Darius(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_Darius_condition; information = DIA_GorkOrcBoss_Darius_info; permanent = FALSE; description = "Takže co moji lidé?"; }; func int DIA_GorkOrcBoss_Darius_condition() { if((MIS_GrumLockProve == LOG_SUCCESS) && (MIS_MissOldFriend == LOG_Running)) { return TRUE; }; }; func void DIA_GorkOrcBoss_Darius_info() { AI_Output(other,self,"DIA_GorkOrcBoss_Darius_01_01"); //Takže co moji lidé? AI_Output(self,other,"DIA_GorkOrcBoss_Darius_01_02"); //Grum Lok slíbit člověk, Grum Lok dodržet své slovo... AI_StopProcessInfos(self); DariusInsert = TRUE; Wld_InsertNpc(SLD_852_Darius,"ORC_DARIUS"); }; instance DIA_GorkOrcBoss_Clans(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_Clans_condition; information = DIA_GorkOrcBoss_Clans_info; permanent = FALSE; description = "Jsou tu jestě další klany skřetů?"; }; func int DIA_GorkOrcBoss_Clans_condition() { if(MIS_GrumLockProve == LOG_SUCCESS) { return TRUE; }; }; func void DIA_GorkOrcBoss_Clans_info() { AI_Output(other,self,"DIA_GorkOrcBoss_Clans_01_01"); //Jsou tu jestě další klany skřetů? AI_Output(self,other,"DIA_GorkOrcBoss_Clans_01_02"); //Daleko v horách být ještě hodně skřetích klanů. AI_Output(self,other,"DIA_GorkOrcBoss_Clans_01_03"); //Ale oni nechodit sem! Být velmi dlouhá cesta přes hory. }; instance DIA_GorkOrcBoss_War(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_War_condition; information = DIA_GorkOrcBoss_War_info; permanent = FALSE; description = "Proč bojujete s klanem Ledového větru?"; }; func int DIA_GorkOrcBoss_War_condition() { if(MIS_GrumLockProve == LOG_SUCCESS) { return TRUE; }; }; func void DIA_GorkOrcBoss_War_info() { AI_Output(other,self,"DIA_GorkOrcBoss_War_01_01"); //Proč bojujete s klanem Ledového větru? AI_Output(self,other,"DIA_GorkOrcBoss_War_01_02"); //Chtějí zachvátit naši zem! Grum Lok a bratři ji chránit. AI_Output(other,self,"DIA_GorkOrcBoss_War_01_03"); //Proč si myslíte, že je vaše? AI_Output(self,other,"DIA_GorkOrcBoss_War_01_04"); //Můj klan první obsadit tyto hory, žít tady mnoho zim, stavět mnoho chrámů svých předků. AI_Output(self,other,"DIA_GorkOrcBoss_War_01_05"); //Pak přijít klan Ledového větru! Začít zabíjet mé bratry a zničit náš obětní oltář. AI_Output(self,other,"DIA_GorkOrcBoss_War_01_06"); //Grum Lok vztek, bratři vztek! My dát slib zničit je všechny. AI_Output(self,other,"DIA_GorkOrcBoss_War_01_07"); //Teď oni být jeho úhlavní nepřítel. Grum Lok hodně k jejich smrti více než kdokoli jiný! AI_Output(other,self,"DIA_GorkOrcBoss_War_01_08"); //Rozumím. }; instance DIA_GorkOrcBoss_WarDo(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_WarDo_condition; information = DIA_GorkOrcBoss_WarDo_info; permanent = FALSE; description = "Proč neútočíte na jejich tábor?"; }; func int DIA_GorkOrcBoss_WarDo_condition() { if(Npc_KnowsInfo(hero,DIA_GorkOrcBoss_War) == TRUE) { return TRUE; }; }; func void DIA_GorkOrcBoss_WarDo_info() { AI_Output(other,self,"DIA_GorkOrcBoss_WarDo_01_01"); //Proč neútočíte na jejich tábor? AI_Output(self,other,"DIA_GorkOrcBoss_WarDo_01_02"); //Být velmi nebezpečné... (zavrtí hlavou) Pokud budeme útočit, šaman Ledového Větru využít sílu magické rudy. AI_Output(self,other,"DIA_GorkOrcBoss_WarDo_01_03"); //Nepřítel má hodně magické rudy! Mnoho bratří Grum Lok pak zemře. AI_Output(other,self,"DIA_GorkOrcBoss_WarDo_01_04"); //A jakým způsobem používají magickou rudu? AI_Output(self,other,"DIA_GorkOrcBoss_WarDo_01_05"); //Jejich šaman vyvolat duchy, aby udělili obrovskou sílu jejich válečníkům, když být blízko k magické rudě. AI_Output(self,other,"DIA_GorkOrcBoss_WarDo_01_06"); //Válečníci nepřítele pak velmi zuřivý a silný! Bratři Grum Lok je neporazit. AI_Output(self,other,"DIA_GorkOrcBoss_WarDo_01_07"); //Člověk tam nechodit sám. Jinak rychle zemřít! }; instance DIA_GorkOrcBoss_Ruda(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_Ruda_condition; information = DIA_GorkOrcBoss_Ruda_info; permanent = FALSE; description = "Ve tvém klanu máte taky hromadu rudy!"; }; func int DIA_GorkOrcBoss_Ruda_condition() { if(Npc_KnowsInfo(hero,DIA_GorkOrcBoss_WarDo) == TRUE) { return TRUE; }; }; func void DIA_GorkOrcBoss_Ruda_info() { AI_Output(other,self,"DIA_GorkOrcBoss_Ruda_01_01"); //Ve tvém klanu máte taky hromadu rudy! AI_Output(self,other,"DIA_GorkOrcBoss_Ruda_01_02"); //Ale náš šaman nezná jejich tajemství... (zavrtí hlavou) Neví jak používat sílu magické rudy. AI_Output(self,other,"DIA_GorkOrcBoss_Ruda_01_03"); //To ale nepřítel nevědět! Proto mají strach sem přijít. AI_Output(other,self,"DIA_GorkOrcBoss_Ruda_01_04"); //Aha, tak takhle to je. }; instance DIA_GorkOrcBoss_WhatDo(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_WhatDo_condition; information = DIA_GorkOrcBoss_WhatDo_info; permanent = FALSE; description = "A jak je teda chcete porazit?"; }; func int DIA_GorkOrcBoss_WhatDo_condition() { if(Npc_KnowsInfo(hero,DIA_GorkOrcBoss_WarDo) == TRUE) { return TRUE; }; }; func void DIA_GorkOrcBoss_WhatDo_info() { AI_Output(other,self,"DIA_GorkOrcBoss_WhatDo_01_01"); //A jak je teda chcete porazit? AI_Output(self,other,"DIA_GorkOrcBoss_WhatDo_01_02"); //Je třeba vzít jejich kouzlo rudy! Pak bratři Grum Lok porazit svého nepřítele. AI_Output(self,other,"DIA_GorkOrcBoss_WhatDo_01_03"); //Grum Lok ale neví, jak to udělat. Možná, že člověk zná? AI_Output(self,other,"DIA_GorkOrcBoss_WhatDo_01_04"); //Grum Lok dát Morra jeho nejcennější dar, jestli on pomůže zničit magickou rudu nepřítele! AI_Output(other,self,"DIA_GorkOrcBoss_WhatDo_01_05"); //A to nejcennější - co je to? AI_Output(self,other,"DIA_GorkOrcBoss_WhatDo_01_06"); //Černá ruda, velmi vzácné, hodně černé rudy! AI_Output(self,other,"DIA_GorkOrcBoss_WhatDo_01_07"); //Nebo pak může sám vybrat odměnu. AI_Output(other,self,"DIA_GorkOrcBoss_WhatDo_01_08"); //Budu přemýšlet o tvém návrhu. MIS_ClansWar = LOG_Running; Log_CreateTopic(TOPIC_ClansWar,LOG_MISSION); Log_SetTopicStatus(TOPIC_ClansWar,LOG_Running); B_LogEntry(TOPIC_ClansWar,"Grum Lok mi slíbil štědrou odměnu, když mu pomůžu porazit klan Ledového větru. Problém je v tom, že válečníky nepřátelského klanu chrání magická ruda. Pokud se mi podaří připravit je o tuto výhodu, Grum Lok bude konečně schopen zaútočiť."); }; instance DIA_GorkOrcBoss_WhatDoDone(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_WhatDoDone_condition; information = DIA_GorkOrcBoss_WhatDoDone_info; permanent = FALSE; description = "Váš nepřítel ztratil sílu magické rudy."; }; func int DIA_GorkOrcBoss_WhatDoDone_condition() { if((MIS_ClansWar == LOG_Running) && (MagicPlace05 == TRUE)) { return TRUE; }; }; func void DIA_GorkOrcBoss_WhatDoDone_info() { B_GivePlayerXP(2500); AI_Output(other,self,"DIA_GorkOrcBoss_WhatDoDone_01_01"); //Tvůj nepřítel brzy ztratí sílu magické rudy. AI_Output(self,other,"DIA_GorkOrcBoss_WhatDoDone_01_02"); //Morra být naprosto jistý?! AI_Output(other,self,"DIA_GorkOrcBoss_WhatDoDone_01_03"); //Můžeš poslat své vojáky a podívat se. AI_Output(other,self,"DIA_GorkOrcBoss_WhatDoDone_01_04"); //A bude lepší neztrácet čas, ať ji nenashromáždí znovu! AI_Output(self,other,"DIA_GorkOrcBoss_WhatDoDone_01_05"); //Hmmm... (zamyšleně) Potom Grum Lok myslí, že lepší moment k útoku nebýt. AI_Output(self,other,"DIA_GorkOrcBoss_WhatDoDone_01_06"); //On okamžitě poslat své nejlepší válečníky! AI_Output(self,other,"DIA_GorkOrcBoss_WhatDoDone_01_07"); //Pokud chce, člověk se může také zúčastnit bitvy. Pomoct bratrům Grum Lok porazit svého nepřítele. AI_Output(other,self,"DIA_GorkOrcBoss_WhatDoDone_01_08"); //To sem měl taky v plánu. AI_Output(self,other,"DIA_GorkOrcBoss_WhatDoDone_01_09"); //Pak Morra neztrácet čas! Jít a pomáhat bratrům Grum Lok. B_LogEntry(TOPIC_ClansWar,"Řekl jsem Grum Lokovi, že se mi podařilo vzít všechnu sílu magické rudy klanu Ledového větru. Nyní je potřeba se tam vypravit s jeho válečníky a zničit tábor nepřítele."); LessMagicPower = TRUE; AI_StopProcessInfos(self); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_LOA_ORCCAMP_01"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_LOA_ORCCAMP_02"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_10"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_11"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_LOA_ORCCAMP_07"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_LOA_ORCCAMP_07_01"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_LOA_ORCCAMP_06"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_21"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_23"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_22"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_ORCWARRIOR_01"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_12"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_01"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_ORCWARRIOR_03"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_13"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_14"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_15"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_02"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_04"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_ORC_HIGHGUARD_01"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_07"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_ORCPWARRIOR_01"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_ORC_HIGHGUARD_03"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_03"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_06"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_05"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_19"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_20"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_09"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_18"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_16"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_17"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_LOA_ORCCAMP_03"); Wld_InsertNpc(GorkOrcWarriorTroops,"FP_ROAM_CAMP_02_08"); }; instance DIA_GorkOrcBoss_WarWin(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_WarWin_condition; information = DIA_GorkOrcBoss_WarWin_info; permanent = FALSE; description = "Vůdce klanu Ledového větru je mrtvý."; }; func int DIA_GorkOrcBoss_WarWin_condition() { if((MIS_ClansWar == LOG_Running) && (LessMagicPower == TRUE) && (MorkOrcBossIsDead == TRUE)) { return TRUE; }; }; func void DIA_GorkOrcBoss_WarWin_info() { B_GivePlayerXP(2500); AI_Output(other,self,"DIA_GorkOrcBoss_WarWin_01_01"); //Vůdce klanu Ledového větru je mrtvý. AI_Output(self,other,"DIA_GorkOrcBoss_WarWin_01_02"); //CHROBOR YARAT... (s úlevou) Být nejlepší zpráva pro Grum Lok! AI_Output(self,other,"DIA_GorkOrcBoss_WarWin_01_03"); //Jeho nepřítel být mrtvý a tato země opět naše. AI_Output(self,other,"DIA_GorkOrcBoss_WarWin_01_04"); //Grum Lok pomstít své bratry a děkovat Morra, za jeho pomoc. AI_Output(self,other,"DIA_GorkOrcBoss_WarWin_01_05"); //NUR GAT... (s úctou) B_GiveInvItems(self,other,ItMi_Zeitspalt_Addon,10); AI_PlayAni(self,"T_GREETGRD"); MIS_ClansWar = LOG_SUCCESS; Log_SetTopicStatus(TOPIC_ClansWar,LOG_SUCCESS); B_LogEntry(TOPIC_ClansWar,"Řekl jsem Grum Lokovi, že jeho nepřítel je poražen. Vůdce byl šťastný jako dítě, které dostalo hračku."); }; instance DIA_GorkOrcBoss_FreeDar(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_FreeDar_condition; information = DIA_GorkOrcBoss_FreeDar_info; permanent = FALSE; description = "Co chceš výměnou za život tvých vězňů?"; }; func int DIA_GorkOrcBoss_FreeDar_condition() { if((NeedDariusFree == TRUE) && (MIS_MissOldFriend == LOG_Running)) { return TRUE; }; }; func void DIA_GorkOrcBoss_FreeDar_info() { AI_Output(other,self,"DIA_GorkOrcBoss_FreeDar_01_01"); //Co chceš výměnou za život tvých vězňů? AI_Output(self,other,"DIA_GorkOrcBoss_FreeDar_01_02"); //GROK TAR... (zamyšleně) Grum Lok myslí, že život je lidských vézňů být velmi drahé. AI_Output(self,other,"DIA_GorkOrcBoss_FreeDar_01_03"); //Morra by měl dát Grum Lok velmi cennou věc, aby on souhlasil je propustit. AI_Output(other,self,"DIA_GorkOrcBoss_FreeDar_01_04"); //Mám přinést další magickou rudu? AI_Output(self,other,"DIA_GorkOrcBoss_FreeDar_01_05"); //Ne. Grum Lok už nepotřebuje. AI_Output(self,other,"DIA_GorkOrcBoss_FreeDar_01_06"); //Tentokrát Morra přinést Grum Lok velkou kůži z bílý horský trol. AI_Output(self,other,"DIA_GorkOrcBoss_FreeDar_01_07"); //Tato zvěr velmi vzácná a kůže být velmi cenná! AI_Output(self,other,"DIA_GorkOrcBoss_FreeDar_01_08"); //Morra ji přinést Grum Lok, a on pak pustit lidské vézně. AI_Output(other,self,"DIA_GorkOrcBoss_FreeDar_01_09"); //A kde ten trol žije? AI_Output(self,other,"DIA_GorkOrcBoss_FreeDar_01_10"); //Velké zvíře žít v obrovské jeskyni, tam kde být vysoká hora. AI_Output(other,self,"DIA_GorkOrcBoss_FreeDar_01_11"); //Jsme v horách. Můžeš to trochu upřesnit? AI_Output(self,other,"DIA_GorkOrcBoss_FreeDar_01_12"); //Grum Lok mluvit o hoře, která být nedaleko od starého tábora lidí. AI_Output(self,other,"DIA_GorkOrcBoss_FreeDar_01_13"); //Člověk by měl hledat zvěr tam! hora být velká, Morra ho rychle najít. MIS_FreePrice = LOG_Running; Log_CreateTopic(TOPIC_FreePrice,LOG_MISSION); Log_SetTopicStatus(TOPIC_FreePrice,LOG_Running); B_LogEntry(TOPIC_FreePrice,"Grum Lok souhlasil propustit Dariuse výměnou za velkou kůži bílého horského trola."); }; instance DIA_GorkOrcBoss_FreeDarius(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_FreeDarius_condition; information = DIA_GorkOrcBoss_FreeDarius_info; permanent = FALSE; description = "Tady je tvoje kůže."; }; func int DIA_GorkOrcBoss_FreeDarius_condition() { if((MIS_FreePrice == LOG_Running) && (Npc_HasItems(other,ItAt_WhiteTroll) >= 1)) { return TRUE; }; }; func void DIA_GorkOrcBoss_FreeDarius_info() { B_GivePlayerXP(1500); AI_Output(other,self,"DIA_GorkOrcBoss_FreeDarius_01_01"); //Tady je tvoje kůže. B_GiveInvItems(other,self,ItAt_WhiteTroll,1); Npc_RemoveInvItems(self,ItAt_WhiteTroll,1); AI_Output(other,self,"DIA_GorkOrcBoss_FreeDarius_01_02"); //Teď propustíš Dariuse? AI_Output(self,other,"DIA_GorkOrcBoss_FreeDarius_01_03"); //Dobře... (vážně) Lidský vězeň teď být volný! AI_Output(self,other,"DIA_GorkOrcBoss_FreeDarius_01_04"); //On se může vrátit do svého klanu. AI_Output(other,self,"DIA_GorkOrcBoss_FreeDarius_01_05"); //Děkuji, náčelníku. MIS_FreePrice = LOG_SUCCESS; Log_SetTopicStatus(TOPIC_FreePrice,LOG_SUCCESS); B_LogEntry(TOPIC_FreePrice,"Přinesl jsem Grum Lokovi kůži bílého trola, a on souhlasil, že nechá Dariuse jít. Starý přítel je teď osvobozen..."); }; instance DIA_GorkOrcBoss_Perm(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_Perm_condition; information = DIA_GorkOrcBoss_Perm_info; permanent = TRUE; description = "Jak to jde, vůdče?"; }; func int DIA_GorkOrcBoss_Perm_condition() { if(MIS_FreePrice == LOG_SUCCESS) { return TRUE; }; }; func void DIA_GorkOrcBoss_Perm_info() { AI_Output(other,self,"DIA_GorkOrcBoss_Perm_01_01"); //Jak to jde, vůdče? if(MIS_ClansWar == LOG_SUCCESS) { AI_Output(self,other,"DIA_GorkOrcBoss_Perm_01_02"); //Všechno v pořádku, Morra! } else { AI_Output(self,other,"DIA_GorkOrcBoss_Perm_01_03"); //Dokud nepřítel žít, všechno být špatně. }; }; instance DIA_GorkOrcBoss_NeedPathDarius(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_NeedPathDarius_condition; information = DIA_GorkOrcBoss_NeedPathDarius_info; permanent = FALSE; description = "Bude potřebovat doprovod."; }; func int DIA_GorkOrcBoss_NeedPathDarius_condition() { if((MIS_FreePrice == LOG_SUCCESS) && (MIS_MissOldFriend == LOG_Running)) { return TRUE; }; }; func void DIA_GorkOrcBoss_NeedPathDarius_info() { AI_Output(other,self,"DIA_GorkOrcBoss_NeedPathDarius_01_01"); //Bude potřebovat doprovod. if(MIS_ClansWar == LOG_SUCCESS) { AI_Output(self,other,"DIA_GorkOrcBoss_NeedPathDarius_01_02"); //Morra pomohl Grum Lok porazit jeho největší nepřítel! AI_Output(self,other,"DIA_GorkOrcBoss_NeedPathDarius_01_03"); //On dát člověku několik válečníků aby vyprovodit Morra dolů z hor. AI_Output(other,self,"DIA_GorkOrcBoss_NeedPathDarius_01_04"); //Děkuju. DariusHasPath = TRUE; B_LogEntry(TOPIC_MissOldFriend,"Vůdce Grum Lok souhlasil, že dá Dariusovi několik vojáků aby ho vyprovodili z hor. Je načase promluvit si Dariusem."); } else { AI_PlayAni(self,"T_NO"); AI_Output(self,other,"DIA_GorkOrcBoss_NeedPathDarius_01_05"); //Grum Lok nepomůže Morra... (zavrtí hlavou) AI_Output(self,other,"DIA_GorkOrcBoss_NeedPathDarius_01_06"); //Nemůže teď dát válečníky aby lidem ukázat cestu. AI_Output(self,other,"DIA_GorkOrcBoss_NeedPathDarius_01_07"); //Kdyby nepřítel zaútočit, Grum Lok bude potřebovat hodně válečníků na obranu tábora! AI_Output(self,other,"DIA_GorkOrcBoss_NeedPathDarius_01_08"); //Když porazil svého nepřítele, pak Grum Lok pomůže. AI_Output(other,self,"DIA_GorkOrcBoss_NeedPathDarius_01_09"); //Rozumím. B_LogEntry(TOPIC_MissOldFriend,"Vůdce Grum Lok mi dá průvodčí četu pouze v případě, že nepřátelský klan Ledového větru bude zničen."); NeedDeastoyWind = TRUE; }; }; instance DIA_GorkOrcBoss_NeedPathDariusDone(C_Info) { npc = GorkOrcBoss_Rest; condition = DIA_GorkOrcBoss_NeedPathDariusDone_condition; information = DIA_GorkOrcBoss_NeedPathDariusDone_info; permanent = FALSE; description = "Teď už mi dáš doprovod?"; }; func int DIA_GorkOrcBoss_NeedPathDariusDone_condition() { if((NeedDeastoyWind == TRUE) && (MIS_MissOldFriend == LOG_Running) && (MIS_ClansWar == LOG_SUCCESS)) { return TRUE; }; }; func void DIA_GorkOrcBoss_NeedPathDariusDone_info() { AI_Output(other,self,"DIA_GorkOrcBoss_NeedPathDariusDone_01_01"); //Teď už mi dáš doprovod? AI_Output(self,other,"DIA_GorkOrcBoss_NeedPathDariusDone_01_02"); //Morra pomohl Grum Lok porazit jeho největší nepřítel! AI_Output(self,other,"DIA_GorkOrcBoss_NeedPathDariusDone_01_03"); //On dát člověku několik válečníků aby vyprovodit Morra dolů z hor. AI_Output(other,self,"DIA_GorkOrcBoss_NeedPathDariusDone_01_04"); //Děkuju. DariusHasPath = TRUE; B_LogEntry(TOPIC_MissOldFriend,"Vůdce Grum Lok souhlasil, že dá Dariusovi několik vojáků aby ho vyprovodili z hor. Je načase promluvit si Dariusem."); };
D
/** * Implementation of associative arrays. * * Copyright: Copyright Digital Mars 2000 - 2015. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Martin Nowak */ module rt.aaA; /// AA version for debuggers, bump whenever changing the layout extern (C) immutable int _aaVersion = 1; import core.memory : GC; // grow threshold private enum GROW_NUM = 4; private enum GROW_DEN = 5; // shrink threshold private enum SHRINK_NUM = 1; private enum SHRINK_DEN = 8; // grow factor private enum GROW_FAC = 4; // growing the AA doubles it's size, so the shrink threshold must be // smaller than half the grow threshold to have a hysteresis static assert(GROW_FAC * SHRINK_NUM * GROW_DEN < GROW_NUM * SHRINK_DEN); // initial load factor (for literals), mean of both thresholds private enum INIT_NUM = (GROW_DEN * SHRINK_NUM + GROW_NUM * SHRINK_DEN) / 2; private enum INIT_DEN = SHRINK_DEN * GROW_DEN; private enum INIT_NUM_BUCKETS = 8; // magic hash constants to distinguish empty, deleted, and filled buckets private enum HASH_EMPTY = 0; private enum HASH_DELETED = 0x1; private enum HASH_FILLED_MARK = size_t(1) << 8 * size_t.sizeof - 1; /// Opaque AA wrapper struct AA { Impl* impl; alias impl this; private @property bool empty() const pure nothrow @nogc { return impl is null || !impl.length; } } private struct Impl { private: this(in TypeInfo_AssociativeArray ti, size_t sz = INIT_NUM_BUCKETS) { keysz = cast(uint) ti.key.tsize; valsz = cast(uint) ti.value.tsize; buckets = allocBuckets(sz); firstUsed = cast(uint) buckets.length; valoff = cast(uint) talign(keysz, ti.value.talign); import rt.lifetime : hasPostblit, unqualify; if (hasPostblit(unqualify(ti.key))) flags |= Flags.keyHasPostblit; if ((ti.key.flags | ti.value.flags) & 1) flags |= Flags.hasPointers; entryTI = fakeEntryTI(this, ti.key, ti.value); } Bucket[] buckets; uint used; uint deleted; TypeInfo_Struct entryTI; uint firstUsed; immutable uint keysz; immutable uint valsz; immutable uint valoff; Flags flags; enum Flags : ubyte { none = 0x0, keyHasPostblit = 0x1, hasPointers = 0x2, } @property size_t length() const pure nothrow @nogc { assert(used >= deleted); return used - deleted; } @property size_t dim() const pure nothrow @nogc @safe { return buckets.length; } @property size_t mask() const pure nothrow @nogc { return dim - 1; } // find the first slot to insert a value with hash inout(Bucket)* findSlotInsert(size_t hash) inout pure nothrow @nogc { for (size_t i = hash & mask, j = 1;; ++j) { if (!buckets[i].filled) return &buckets[i]; i = (i + j) & mask; } } // lookup a key inout(Bucket)* findSlotLookup(size_t hash, in void* pkey, in TypeInfo keyti) inout { for (size_t i = hash & mask, j = 1;; ++j) { if (buckets[i].hash == hash && keyti.equals(pkey, buckets[i].entry)) return &buckets[i]; else if (buckets[i].empty) return null; i = (i + j) & mask; } } void grow(in TypeInfo keyti) { // If there are so many deleted entries, that growing would push us // below the shrink threshold, we just purge deleted entries instead. if (length * SHRINK_DEN < GROW_FAC * dim * SHRINK_NUM) resize(dim); else resize(GROW_FAC * dim); } void shrink(in TypeInfo keyti) { if (dim > INIT_NUM_BUCKETS) resize(dim / GROW_FAC); } void resize(size_t ndim) pure nothrow { auto obuckets = buckets; buckets = allocBuckets(ndim); foreach (ref b; obuckets[firstUsed .. $]) if (b.filled) *findSlotInsert(b.hash) = b; firstUsed = 0; used -= deleted; deleted = 0; GC.free(obuckets.ptr); // safe to free b/c impossible to reference } void clear() pure nothrow { import core.stdc.string : memset; // clear all data, but don't change bucket array length memset(&buckets[firstUsed], 0, (buckets.length - firstUsed) * Bucket.sizeof); deleted = used = 0; firstUsed = cast(uint) dim; } } //============================================================================== // Bucket //------------------------------------------------------------------------------ private struct Bucket { private pure nothrow @nogc: size_t hash; void* entry; @property bool empty() const { return hash == HASH_EMPTY; } @property bool deleted() const { return hash == HASH_DELETED; } @property bool filled() const @safe { return cast(ptrdiff_t) hash < 0; } } Bucket[] allocBuckets(size_t dim) @trusted pure nothrow { enum attr = GC.BlkAttr.NO_INTERIOR; immutable sz = dim * Bucket.sizeof; return (cast(Bucket*) GC.calloc(sz, attr))[0 .. dim]; } //============================================================================== // Entry //------------------------------------------------------------------------------ private void* allocEntry(in Impl* aa, in void* pkey) { import rt.lifetime : _d_newitemU; import core.stdc.string : memcpy, memset; immutable akeysz = aa.valoff; void* res = void; if (aa.entryTI) res = _d_newitemU(aa.entryTI); else { auto flags = (aa.flags & Impl.Flags.hasPointers) ? 0 : GC.BlkAttr.NO_SCAN; res = GC.malloc(akeysz + aa.valsz, flags); } memcpy(res, pkey, aa.keysz); // copy key memset(res + akeysz, 0, aa.valsz); // zero value return res; } package void entryDtor(void* p, const TypeInfo_Struct sti) { // key and value type info stored after the TypeInfo_Struct by tiEntry() auto sizeti = __traits(classInstanceSize, TypeInfo_Struct); auto extra = cast(const(TypeInfo)*)(cast(void*) sti + sizeti); extra[0].destroy(p); extra[1].destroy(p + talign(extra[0].tsize, extra[1].talign)); } private bool hasDtor(const TypeInfo ti) { import rt.lifetime : unqualify; if (typeid(ti) is typeid(TypeInfo_Struct)) if ((cast(TypeInfo_Struct) cast(void*) ti).xdtor) return true; if (typeid(ti) is typeid(TypeInfo_StaticArray)) return hasDtor(unqualify(ti.next)); return false; } private immutable(void)* getRTInfo(const TypeInfo ti) { // classes are references const isNoClass = ti && typeid(ti) !is typeid(TypeInfo_Class); return isNoClass ? ti.rtInfo() : rtinfoHasPointers; } // build type info for Entry with additional key and value fields TypeInfo_Struct fakeEntryTI(ref Impl aa, const TypeInfo keyti, const TypeInfo valti) { import rt.lifetime : unqualify; auto kti = unqualify(keyti); auto vti = unqualify(valti); // figure out whether RTInfo has to be generated (indicated by rtisize > 0) enum pointersPerWord = 8 * (void*).sizeof * (void*).sizeof; auto rtinfo = rtinfoNoPointers; size_t rtisize = 0; immutable(size_t)* keyinfo = void; immutable(size_t)* valinfo = void; if (aa.flags & Impl.Flags.hasPointers) { // classes are references keyinfo = cast(immutable(size_t)*) getRTInfo(keyti); valinfo = cast(immutable(size_t)*) getRTInfo(valti); if (keyinfo is rtinfoHasPointers && valinfo is rtinfoHasPointers) rtinfo = rtinfoHasPointers; else rtisize = 1 + (aa.valoff + aa.valsz + pointersPerWord - 1) / pointersPerWord; } bool entryHasDtor = hasDtor(kti) || hasDtor(vti); if (rtisize == 0 && !entryHasDtor) return null; // save kti and vti after type info for struct enum sizeti = __traits(classInstanceSize, TypeInfo_Struct); void* p = GC.malloc(sizeti + (2 + rtisize) * (void*).sizeof); import core.stdc.string : memcpy; memcpy(p, typeid(TypeInfo_Struct).initializer().ptr, sizeti); auto ti = cast(TypeInfo_Struct) p; auto extra = cast(TypeInfo*)(p + sizeti); extra[0] = cast() kti; extra[1] = cast() vti; static immutable tiName = __MODULE__ ~ ".Entry!(...)"; ti.name = tiName; ti.m_RTInfo = rtisize > 0 ? rtinfoEntry(aa, keyinfo, valinfo, cast(size_t*)(extra + 2), rtisize) : rtinfo; ti.m_flags = ti.m_RTInfo is rtinfoNoPointers ? cast(TypeInfo_Struct.StructFlags)0 : TypeInfo_Struct.StructFlags.hasPointers; // we don't expect the Entry objects to be used outside of this module, so we have control // over the non-usage of the callback methods and other entries and can keep these null // xtoHash, xopEquals, xopCmp, xtoString and xpostblit immutable entrySize = aa.valoff + aa.valsz; ti.m_init = (cast(ubyte*) null)[0 .. entrySize]; // init length, but not ptr if (entryHasDtor) { // xdtor needs to be built from the dtors of key and value for the GC ti.xdtorti = &entryDtor; ti.m_flags |= TypeInfo_Struct.StructFlags.isDynamicType; } ti.m_align = cast(uint) max(kti.talign, vti.talign); return ti; } // build appropriate RTInfo at runtime immutable(void)* rtinfoEntry(ref Impl aa, immutable(size_t)* keyinfo, immutable(size_t)* valinfo, size_t* rtinfoData, size_t rtinfoSize) { enum bitsPerWord = 8 * size_t.sizeof; rtinfoData[0] = aa.valoff + aa.valsz; rtinfoData[1..rtinfoSize] = 0; void copyKeyInfo(string src)() { size_t pos = 1; size_t keybits = aa.keysz / (void*).sizeof; while (keybits >= bitsPerWord) { rtinfoData[pos] = mixin(src); keybits -= bitsPerWord; pos++; } if (keybits > 0) rtinfoData[pos] = mixin(src) & ((cast(size_t) 1 << keybits) - 1); } if (keyinfo is rtinfoHasPointers) copyKeyInfo!"~cast(size_t) 0"(); else if (keyinfo !is rtinfoNoPointers) copyKeyInfo!"keyinfo[pos]"(); void copyValInfo(string src)() { size_t bitpos = aa.valoff / (void*).sizeof; size_t pos = 1; size_t dstpos = 1 + bitpos / bitsPerWord; size_t begoff = bitpos % bitsPerWord; size_t valbits = aa.valsz / (void*).sizeof; size_t endoff = (bitpos + valbits) % bitsPerWord; for (;;) { const bits = bitsPerWord - begoff; size_t s = mixin(src); rtinfoData[dstpos] |= s << begoff; if (begoff > 0 && valbits > bits) rtinfoData[dstpos+1] |= s >> bits; if (valbits < bitsPerWord) break; valbits -= bitsPerWord; dstpos++; pos++; } if (endoff > 0) rtinfoData[dstpos] &= ((cast(size_t) 1 << endoff) - 1); } if (valinfo is rtinfoHasPointers) copyValInfo!"~cast(size_t) 0"(); else if (valinfo !is rtinfoNoPointers) copyValInfo!"valinfo[pos]"(); return cast(immutable(void)*) rtinfoData; } unittest { void test(K, V)() { static struct Entry { K key; V val; } auto keyti = typeid(K); auto valti = typeid(V); auto valrti = getRTInfo(valti); auto keyrti = getRTInfo(keyti); auto impl = new Impl(typeid(V[K])); if (valrti is rtinfoNoPointers && keyrti is rtinfoNoPointers) { assert(!(impl.flags & Impl.Flags.hasPointers)); assert(impl.entryTI is null); } else if (valrti is rtinfoHasPointers && keyrti is rtinfoHasPointers) { assert(impl.flags & Impl.Flags.hasPointers); assert(impl.entryTI is null); } else { auto rtInfo = cast(size_t*) impl.entryTI.rtInfo(); auto refInfo = cast(size_t*) typeid(Entry).rtInfo(); assert(rtInfo[0] == refInfo[0]); // size enum bytesPerWord = 8 * size_t.sizeof * (void*).sizeof; size_t words = (rtInfo[0] + bytesPerWord - 1) / bytesPerWord; foreach (i; 0 .. words) assert(rtInfo[1 + i] == refInfo[i + 1]); } } test!(long, int)(); test!(string, string); test!(ubyte[16], Object); static struct Small { ubyte[16] guid; string name; } test!(string, Small); static struct Large { ubyte[1024] data; string[412] names; ubyte[1024] moredata; } test!(Large, Large); } //============================================================================== // Helper functions //------------------------------------------------------------------------------ private size_t talign(size_t tsize, size_t algn) @safe pure nothrow @nogc { immutable mask = algn - 1; assert(!(mask & algn)); return (tsize + mask) & ~mask; } // mix hash to "fix" bad hash functions private size_t mix(size_t h) @safe pure nothrow @nogc { // final mix function of MurmurHash2 enum m = 0x5bd1e995; h ^= h >> 13; h *= m; h ^= h >> 15; return h; } private size_t calcHash(in void* pkey, in TypeInfo keyti) { immutable hash = keyti.getHash(pkey); // highest bit is set to distinguish empty/deleted from filled buckets return mix(hash) | HASH_FILLED_MARK; } private size_t nextpow2(in size_t n) pure nothrow @nogc { import core.bitop : bsr; if (!n) return 1; const isPowerOf2 = !((n - 1) & n); return 1 << (bsr(n) + !isPowerOf2); } pure nothrow @nogc unittest { // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 foreach (const n, const pow2; [1, 1, 2, 4, 4, 8, 8, 8, 8, 16]) assert(nextpow2(n) == pow2); } private T min(T)(T a, T b) pure nothrow @nogc { return a < b ? a : b; } private T max(T)(T a, T b) pure nothrow @nogc { return b < a ? a : b; } //============================================================================== // API Implementation //------------------------------------------------------------------------------ /// Determine number of entries in associative array. extern (C) size_t _aaLen(in AA aa) pure nothrow @nogc { return aa ? aa.length : 0; } /****************************** * Lookup *pkey in aa. * Called only from implementation of (aa[key]) expressions when value is mutable. * Params: * aa = associative array opaque pointer * ti = TypeInfo for the associative array * valsz = ignored * pkey = pointer to the key value * Returns: * if key was in the aa, a mutable pointer to the existing value. * If key was not in the aa, a mutable pointer to newly inserted value which * is set to all zeros */ extern (C) void* _aaGetY(AA* aa, const TypeInfo_AssociativeArray ti, in size_t valsz, in void* pkey) { bool found; return _aaGetX(aa, ti, valsz, pkey, found); } /****************************** * Lookup *pkey in aa. * Called only from implementation of require * Params: * aa = associative array opaque pointer * ti = TypeInfo for the associative array * valsz = ignored * pkey = pointer to the key value * found = true if the value was found * Returns: * if key was in the aa, a mutable pointer to the existing value. * If key was not in the aa, a mutable pointer to newly inserted value which * is set to all zeros */ extern (C) void* _aaGetX(AA* aa, const TypeInfo_AssociativeArray ti, in size_t valsz, in void* pkey, out bool found) { // lazily alloc implementation if (aa.impl is null) aa.impl = new Impl(ti); // get hash and bucket for key immutable hash = calcHash(pkey, ti.key); // found a value => return it if (auto p = aa.findSlotLookup(hash, pkey, ti.key)) { found = true; return p.entry + aa.valoff; } auto p = aa.findSlotInsert(hash); if (p.deleted) --aa.deleted; // check load factor and possibly grow else if (++aa.used * GROW_DEN > aa.dim * GROW_NUM) { aa.grow(ti.key); p = aa.findSlotInsert(hash); assert(p.empty); } // update search cache and allocate entry aa.firstUsed = min(aa.firstUsed, cast(uint)(p - aa.buckets.ptr)); p.hash = hash; p.entry = allocEntry(aa.impl, pkey); // postblit for key if (aa.flags & Impl.Flags.keyHasPostblit) { import rt.lifetime : __doPostblit, unqualify; __doPostblit(p.entry, aa.keysz, unqualify(ti.key)); } // return pointer to value return p.entry + aa.valoff; } /****************************** * Lookup *pkey in aa. * Called only from implementation of (aa[key]) expressions when value is not mutable. * Params: * aa = associative array opaque pointer * keyti = TypeInfo for the key * valsz = ignored * pkey = pointer to the key value * Returns: * pointer to value if present, null otherwise */ extern (C) inout(void)* _aaGetRvalueX(inout AA aa, in TypeInfo keyti, in size_t valsz, in void* pkey) { return _aaInX(aa, keyti, pkey); } /****************************** * Lookup *pkey in aa. * Called only from implementation of (key in aa) expressions. * Params: * aa = associative array opaque pointer * keyti = TypeInfo for the key * pkey = pointer to the key value * Returns: * pointer to value if present, null otherwise */ extern (C) inout(void)* _aaInX(inout AA aa, in TypeInfo keyti, in void* pkey) { if (aa.empty) return null; immutable hash = calcHash(pkey, keyti); if (auto p = aa.findSlotLookup(hash, pkey, keyti)) return p.entry + aa.valoff; return null; } /// Delete entry in AA, return true if it was present extern (C) bool _aaDelX(AA aa, in TypeInfo keyti, in void* pkey) { if (aa.empty) return false; immutable hash = calcHash(pkey, keyti); if (auto p = aa.findSlotLookup(hash, pkey, keyti)) { // clear entry p.hash = HASH_DELETED; p.entry = null; ++aa.deleted; if (aa.length * SHRINK_DEN < aa.dim * SHRINK_NUM) aa.shrink(keyti); return true; } return false; } /// Remove all elements from AA. extern (C) void _aaClear(AA aa) pure nothrow { if (!aa.empty) { aa.impl.clear(); } } /// Rehash AA extern (C) void* _aaRehash(AA* paa, in TypeInfo keyti) pure nothrow { if (!paa.empty) paa.resize(nextpow2(INIT_DEN * paa.length / INIT_NUM)); return *paa; } /// Return a GC allocated array of all values extern (C) inout(void[]) _aaValues(inout AA aa, in size_t keysz, in size_t valsz, const TypeInfo tiValueArray) pure nothrow { if (aa.empty) return null; import rt.lifetime : _d_newarrayU; auto res = _d_newarrayU(tiValueArray, aa.length).ptr; auto pval = res; immutable off = aa.valoff; foreach (b; aa.buckets[aa.firstUsed .. $]) { if (!b.filled) continue; pval[0 .. valsz] = b.entry[off .. valsz + off]; pval += valsz; } // postblit is done in object.values return (cast(inout(void)*) res)[0 .. aa.length]; // fake length, return number of elements } /// Return a GC allocated array of all keys extern (C) inout(void[]) _aaKeys(inout AA aa, in size_t keysz, const TypeInfo tiKeyArray) pure nothrow { if (aa.empty) return null; import rt.lifetime : _d_newarrayU; auto res = _d_newarrayU(tiKeyArray, aa.length).ptr; auto pkey = res; foreach (b; aa.buckets[aa.firstUsed .. $]) { if (!b.filled) continue; pkey[0 .. keysz] = b.entry[0 .. keysz]; pkey += keysz; } // postblit is done in object.keys return (cast(inout(void)*) res)[0 .. aa.length]; // fake length, return number of elements } // opApply callbacks are extern(D) extern (D) alias dg_t = int delegate(void*); extern (D) alias dg2_t = int delegate(void*, void*); /// foreach opApply over all values extern (C) int _aaApply(AA aa, in size_t keysz, dg_t dg) { if (aa.empty) return 0; immutable off = aa.valoff; foreach (b; aa.buckets) { if (!b.filled) continue; if (auto res = dg(b.entry + off)) return res; } return 0; } /// foreach opApply over all key/value pairs extern (C) int _aaApply2(AA aa, in size_t keysz, dg2_t dg) { if (aa.empty) return 0; immutable off = aa.valoff; foreach (b; aa.buckets) { if (!b.filled) continue; if (auto res = dg(b.entry, b.entry + off)) return res; } return 0; } /// Construct an associative array of type ti from keys and value extern (C) Impl* _d_assocarrayliteralTX(const TypeInfo_AssociativeArray ti, void[] keys, void[] vals) { assert(keys.length == vals.length); immutable keysz = ti.key.tsize; immutable valsz = ti.value.tsize; immutable length = keys.length; if (!length) return null; auto aa = new Impl(ti, nextpow2(INIT_DEN * length / INIT_NUM)); void* pkey = keys.ptr; void* pval = vals.ptr; immutable off = aa.valoff; uint actualLength = 0; foreach (_; 0 .. length) { immutable hash = calcHash(pkey, ti.key); auto p = aa.findSlotLookup(hash, pkey, ti.key); if (p is null) { p = aa.findSlotInsert(hash); p.hash = hash; p.entry = allocEntry(aa, pkey); // move key, no postblit aa.firstUsed = min(aa.firstUsed, cast(uint)(p - aa.buckets.ptr)); actualLength++; } else if (aa.entryTI && hasDtor(ti.value)) { // destroy existing value before overwriting it ti.value.destroy(p.entry + off); } // set hash and blit value auto pdst = p.entry + off; pdst[0 .. valsz] = pval[0 .. valsz]; // move value, no postblit pkey += keysz; pval += valsz; } aa.used = actualLength; return aa; } /// compares 2 AAs for equality extern (C) int _aaEqual(in TypeInfo tiRaw, in AA aa1, in AA aa2) { if (aa1.impl is aa2.impl) return true; immutable len = _aaLen(aa1); if (len != _aaLen(aa2)) return false; if (!len) // both empty return true; import rt.lifetime : unqualify; auto uti = unqualify(tiRaw); auto ti = *cast(TypeInfo_AssociativeArray*)&uti; // compare the entries immutable off = aa1.valoff; foreach (b1; aa1.buckets) { if (!b1.filled) continue; auto pb2 = aa2.findSlotLookup(b1.hash, b1.entry, ti.key); if (pb2 is null || !ti.value.equals(b1.entry + off, pb2.entry + off)) return false; } return true; } /// compute a hash extern (C) hash_t _aaGetHash(in AA* aa, in TypeInfo tiRaw) nothrow { if (aa.empty) return 0; import rt.lifetime : unqualify; auto uti = unqualify(tiRaw); auto ti = *cast(TypeInfo_AssociativeArray*)&uti; immutable off = aa.valoff; auto keyHash = &ti.key.getHash; auto valHash = &ti.value.getHash; size_t h; foreach (b; aa.buckets) { if (!b.filled) continue; size_t[2] h2 = [keyHash(b.entry), valHash(b.entry + off)]; // use addition here, so that hash is independent of element order h += hashOf(h2); } return h; } /** * _aaRange implements a ForwardRange */ struct Range { Impl* impl; size_t idx; alias impl this; } extern (C) pure nothrow @nogc @safe { Range _aaRange(AA aa) { if (!aa) return Range(); foreach (i; aa.firstUsed .. aa.dim) { if (aa.buckets[i].filled) return Range(aa.impl, i); } return Range(aa, aa.dim); } bool _aaRangeEmpty(Range r) { return r.impl is null || r.idx >= r.dim; } void* _aaRangeFrontKey(Range r) { assert(!_aaRangeEmpty(r)); if (r.idx >= r.dim) return null; return r.buckets[r.idx].entry; } void* _aaRangeFrontValue(Range r) { assert(!_aaRangeEmpty(r)); if (r.idx >= r.dim) return null; auto entry = r.buckets[r.idx].entry; return entry is null ? null : (() @trusted { return entry + r.valoff; } ()); } void _aaRangePopFront(ref Range r) { if (r.idx >= r.dim) return; for (++r.idx; r.idx < r.dim; ++r.idx) { if (r.buckets[r.idx].filled) break; } } } // Most tests are now in in test_aa.d // test postblit for AA literals unittest { static struct T { ubyte field; static size_t postblit, dtor; this(this) { ++postblit; } ~this() { ++dtor; } } T t; auto aa1 = [0 : t, 1 : t]; assert(T.dtor == 0 && T.postblit == 2); aa1[0] = t; assert(T.dtor == 1 && T.postblit == 3); T.dtor = 0; T.postblit = 0; auto aa2 = [0 : t, 1 : t, 0 : t]; // literal with duplicate key => value overwritten assert(T.dtor == 1 && T.postblit == 3); T.dtor = 0; T.postblit = 0; auto aa3 = [t : 0]; assert(T.dtor == 0 && T.postblit == 1); aa3[t] = 1; assert(T.dtor == 0 && T.postblit == 1); aa3.remove(t); assert(T.dtor == 0 && T.postblit == 1); aa3[t] = 2; assert(T.dtor == 0 && T.postblit == 2); // dtor will be called by GC finalizers aa1 = null; aa2 = null; aa3 = null; GC.runFinalizers((cast(char*)(&entryDtor))[0 .. 1]); assert(T.dtor == 6 && T.postblit == 2); }
D
module UnrealScript.Engine.ActorChannel; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.Channel; extern(C++) interface ActorChannel : Channel { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class Engine.ActorChannel")); } private static __gshared ActorChannel mDefaultProperties; @property final static ActorChannel DefaultProperties() { mixin(MGDPC("ActorChannel", "ActorChannel Engine.Default__ActorChannel")); } }
D
module app; import std.stdio, std.file, std.algorithm.iteration, std.datetime.stopwatch, std.format, std.conv; import utils.ds; import qscript.parser, qscript.tokens, qscript.compiler; version(unittest){}else int main(string[] args){ // tokenize file Flags!TokenType ignore; ignore |= TokenType.Whitespace; ignore |= TokenType.Comment; ignore |= TokenType.CommentMultiline; auto range = Tokenizer(cast(string)read("sample"), ignore); /*foreach (tok; range) stderr.writeln(tok);*/ if (args.length > 1 && args[1] == "time" ){ timeIt(range, args.length > 2 ? args[2].to!uint : 1); return 0; } auto result = parseScript(range); if (!result){ stderr.writeln("error: ", result.error.msg); return 1; } Node rootNode = result.value; if (rootNode) writeln(rootNode.toJSON.toPrettyString); else stderr.writeln("root is null"); return 0; } void timeIt(Tokenizer toks, uint times){ void benchmark(ref StopWatch sw){ auto branch = toks; sw.start; parseScript(branch); sw.stop; } bench(&benchmark, times).writeln; } struct Times{ ulong min = ulong.max; ulong max = 0; ulong total = 0; ulong avg = 0; string toString() const @safe pure{ return format!"min\tmax\tavg\ttotal\t/msecs\n%d\t%d\t%d\t%d"( min, max, avg, total); } } Times bench(void delegate(ref StopWatch sw) func, ulong runs = 100_000){ Times time; StopWatch sw = StopWatch(AutoStart.no); foreach (i; 0 .. runs){ func(sw); immutable ulong currentTime = sw.peek.total!"msecs" - time.total; time.min = currentTime < time.min ? currentTime : time.min; time.max = currentTime > time.max ? currentTime : time.max; time.total = sw.peek.total!"msecs"; } time.avg = time.total / runs; return time; }
D
//Written in the D programming language /++ $(LUCKY Regular expressions) are a commonly used method of pattern matching on strings, with $(I regex) being a catchy word for a pattern in this domain specific language. Typical problems usually solved by regular expressions include validation of user input and the ubiquitous find & replace in text processing utilities. Synposis: --- import std.regex; import std.stdio; void main() { // Print out all possible dd/mm/yy(yy) dates found in user input. // g - global: find all matches. auto r = regex(r"\b[0-9][0-9]?/[0-9][0-9]?/[0-9][0-9](?:[0-9][0-9])?\b", "g"); foreach(line; stdin.byLine) { // Match returns a range that can be iterated // to get all subsequent matches. foreach(c; match(line, r)) writeln(c.hit); } } ... // Create a static regex at compile-time, which contains fast native code. enum ctr = ctRegex!(`^.*/([^/]+)/?$`); // It works just like a normal regex: auto m2 = match("foo/bar", ctr); // First match found here, if any assert(m2); // Be sure to check if there is a match before examining contents! assert(m2.captures[1] == "bar"); // Captures is a range of submatches: 0 = full match. ... // The result of the match is directly testable with if/assert/while. // e.g. test if a string consists of letters: assert(match("Letter", `^\p{L}+$`)); --- The general usage guideline is to keep regex complexity on the side of simplicity, as its capabilities reside in purely character-level manipulation, and as such are ill-suited for tasks involving higher level invariants like matching an integer number $(U bounded) in an [a,b] interval. Checks of this sort of are better addressed by additional post-processing. The basic syntax shouldn't surprise experienced users of regular expressions. Thankfully, nowadays the web is bustling with resources to help newcomers, and a good $(WEB www.regular-expressions.info, reference with tutorial) on regular expressions can be found. This library uses an ECMAScript syntax flavor with the following extensions: $(UL $(LI Named subexpressions, with Python syntax. ) $(LI Unicode properties such as Scripts, Blocks and common binary properties e.g Alphabetic, White_Space, Hex_Digit etc.) $(LI Arbitrary length and complexity lookbehind, including lookahead in lookbehind and vise-versa.) ) $(REG_START Pattern syntax ) $(I std.regex operates on codepoint level, 'character' in this table denotes a single unicode codepoint.) $(REG_TABLE $(REG_TITLE Pattern element, Semantics ) $(REG_TITLE Atoms, Match single characters ) $(REG_ROW any character except [{|*+?()^$, Matches the character itself. ) $(REG_ROW ., In single line mode matches any charcter. Otherwise it matches any character except '\n' and '\r'. ) $(REG_ROW [class], Matches a single character that belongs to this character class. ) $(REG_ROW [^class], Matches a single character that does $(U not) belong to this character class.) $(REG_ROW \cC, Matches the control character corresponding to letter C) $(REG_ROW \xXX, Matches a character with hexadecimal value of XX. ) $(REG_ROW \uXXXX, Matches a character with hexadecimal value of XXXX. ) $(REG_ROW \U00YYYYYY, Matches a character with hexadecimal value of YYYYYY. ) $(REG_ROW \f, Matches a formfeed character. ) $(REG_ROW \n, Matches a linefeed character. ) $(REG_ROW \r, Matches a carriage return character. ) $(REG_ROW \t, Matches a tab character. ) $(REG_ROW \v, Matches a vertical tab character. ) $(REG_ROW \d, Matches any unicode digit. ) $(REG_ROW \D, Matches any character except unicode digits. ) $(REG_ROW \w, Matches any word character (note: this includes numbers).) $(REG_ROW \W, Matches any non-word character.) $(REG_ROW \s, Matches whitespace, same as \p{White_Space}.) $(REG_ROW \S, Matches any character except those recognized as $(I \s ). ) $(REG_ROW \\, Matches \ character. ) $(REG_ROW \c where c is one of [|*+?(), Matches the character c itself. ) $(REG_ROW \p{PropertyName}, Matches a character that belongs to the unicode PropertyName set. Single letter abbreviations can be used without surrounding {,}. ) $(REG_ROW \P{PropertyName}, Matches a character that does not belong to the unicode PropertyName set. Single letter abbreviations can be used without surrounding {,}. ) $(REG_ROW \p{InBasicLatin}, Matches any character that is part of the BasicLatin unicode $(U block).) $(REG_ROW \P{InBasicLatin}, Matches any character except ones in the BasicLatin unicode $(U block).) $(REG_ROW \p{Cyrilic}, Matches any character that is part of Cyrilic $(U script).) $(REG_ROW \P{Cyrilic}, Matches any character except ones in Cyrilic $(U script).) $(REG_TITLE Quantifiers, Specify repetition of other elements) $(REG_ROW *, Matches previous character/subexpression 0 or more times. Greedy version - tries as many times as possible.) $(REG_ROW *?, Matches previous character/subexpression 0 or more times. Lazy version - stops as early as possible.) $(REG_ROW +, Matches previous character/subexpression 1 or more times. Greedy version - tries as many times as possible.) $(REG_ROW +?, Matches previous character/subexpression 1 or more times. Lazy version - stops as early as possible.) $(REG_ROW {n}, Matches previous character/subexpression exactly n times. ) $(REG_ROW {n&#44}, Matches previous character/subexpression n times or more. Greedy version - tries as many times as possible. ) $(REG_ROW {n&#44}?, Matches previous character/subexpression n times or more. Lazy version - stops as early as possible.) $(REG_ROW {n&#44m}, Matches previous character/subexpression n to m times. Greedy version - tries as many times as possible, but no more than m times. ) $(REG_ROW {n&#44m}?, Matches previous character/subexpression n to m times. Lazy version - stops as early as possible, but no less then n times.) $(REG_TITLE Other, Subexpressions & alternations ) $(REG_ROW (regex), Matches subexpression regex, saving matched portion of text for later retrieval. ) $(REG_ROW (?:regex), Matches subexpression regex, $(U not) saving matched portion of text. Useful to speed up matching. ) $(REG_ROW A|B, Matches subexpression A, or failing that, matches B. ) $(REG_ROW (?P&lt;name&gt;regex), Matches named subexpression regex labeling it with name 'name'. When referring to a matched portion of text, names work like aliases in addition to direct numbers. ) $(REG_TITLE Assertions, Match position rather than character ) $(REG_ROW ^, Matches at the begining of input or line (in multiline mode).) $(REG_ROW $, Matches at the end of input or line (in multiline mode). ) $(REG_ROW \b, Matches at word boundary. ) $(REG_ROW \B, Matches when $(U not) at word boundary. ) $(REG_ROW (?=regex), Zero-width lookahead assertion. Matches at a point where the subexpression regex could be matched starting from the current position. ) $(REG_ROW (?!regex), Zero-width negative lookahead assertion. Matches at a point where the subexpression regex could $(U not) be matched starting from the current position. ) $(REG_ROW (?<=regex), Zero-width lookbehind assertion. Matches at a point where the subexpression regex could be matched ending at the current position (matching goes backwards). ) $(REG_ROW (?<!regex), Zero-width negative lookbehind assertion. Matches at a point where the subexpression regex could $(U not) be matched ending at the current position (matching goes backwards). ) ) $(REG_START Character classes ) $(REG_TABLE $(REG_TITLE Pattern element, Semantics ) $(REG_ROW Any atom, Has the same meaning as outside of a character class.) $(REG_ROW a-z, Includes characters a, b, c, ..., z. ) $(REG_ROW [a||b]&#44 [a--b]&#44 [a~~b]&#44 [a&&b], Where a, b are arbitrary classes, means union, set difference, symmetric set difference, and intersection respectively. $(I Any sequence of character class elements implicitly forms a union.) ) ) $(REG_START Regex flags ) $(REG_TABLE $(REG_TITLE Flag, Semantics ) $(REG_ROW g, Global regex, repeat over the whole input. ) $(REG_ROW i, Case insensitive matching. ) $(REG_ROW m, Multi-line mode, match ^, $ on start and end line separators as well as start and end of input.) $(REG_ROW s, Single-line mode, makes . match '\n' and '\r' as well. ) $(REG_ROW x, Free-form syntax, ignores whitespace in pattern, useful for formatting complex regular expressions. ) ) $(B Unicode support) This library provides full Level 1 support* according to $(WEB unicode.org/reports/tr18/, UTS 18). Specifically: $(UL $(LI 1.1 Hex notation via any of \uxxxx, \U00YYYYYY, \xZZ.) $(LI 1.2 Unicode properties.) $(LI 1.3 Character classes with set operations.) $(LI 1.4 Word boundaries use the full set of "word" characters.) $(LI 1.5 Using simple casefolding to match case insensitively across the full range of codepoints.) $(LI 1.6 Respecting line breaks as any of \u000A | \u000B | \u000C | \u000D | \u0085 | \u2028 | \u2029 | \u000D\u000A.) $(LI 1.7 Operating on codepoint level.) ) *With exception of point 1.1.1, as of yet, normalization of input is expected to be enforced by user. $(B Slicing) All matches returned by pattern matching functionality in this library are slices of the original input, with the notable exception of the $(D replace) family of functions which generate a new string from the input. Copyright: Copyright Dmitry Olshansky, 2011 License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Dmitry Olshansky, API and utility constructs are based on original $(D std.regex) by Walter Bright and Andrei Alexandrescu. Source: $(PHOBOSSRC std/_regex.d) Macros: REG_ROW = $(TR $(TD $(I $1 )) $(TD $+) ) REG_TITLE = $(TR $(TD $(B $1)) $(TD $(B $2)) ) REG_TABLE = <table border="1" cellspacing="0" cellpadding="5" > $0 </table> REG_START = <h3><div align="center"> $0 </div></h3> +/ module std.regex; import std.internal.uni, std.internal.uni_tab;//unicode property tables import std.array, std.algorithm, std.range, std.conv, std.exception, std.traits, std.typetuple, std.uni, std.utf, std.format, std.typecons, std.bitmanip, std.functional, std.exception; import core.bitop, core.stdc.string, core.stdc.stdlib; static import ascii = std.ascii; import std.string : representation; debug import std.stdio; private: @safe: //uncomment to get a barrage of debug info //debug = fred_parser; //debug = fred_matching; //debug = fred_charset; // IR bit pattern: 0b1_xxxxx_yy // where yy indicates class of instruction, xxxxx for actual operation code // 00: atom, a normal instruction // 01: open, opening of a group, has length of contained IR in the low bits // 10: close, closing of a group, has length of contained IR in the low bits // 11 unused // // Loops with Q (non-greedy, with ? mark) must have the same size / other properties as non Q version // Possible changes: //* merge group, option, infinite/repeat start (to never copy during parsing of (a|b){1,2}) //* reorganize groups to make n args easier to find, or simplify the check for groups of similar ops // (like lookaround), or make it easier to identify hotspots. enum IR:uint { Char = 0b1_00000_00, //a character Any = 0b1_00001_00, //any character CodepointSet = 0b1_00010_00, //a most generic CodepointSet [...] Trie = 0b1_00011_00, //CodepointSet implemented as Trie //match with any of a consecutive OrChar's in this sequence //(used for case insensitive match) //OrChar holds in upper two bits of data total number of OrChars in this _sequence_ //the drawback of this representation is that it is difficult // to detect a jump in the middle of it OrChar = 0b1_00100_00, Nop = 0b1_00101_00, //no operation (padding) End = 0b1_00110_00, //end of program Bol = 0b1_00111_00, //beginning of a string ^ Eol = 0b1_01000_00, //end of a string $ Wordboundary = 0b1_01001_00, //boundary of a word Notwordboundary = 0b1_01010_00, //not a word boundary Backref = 0b1_01011_00, //backreference to a group (that has to be pinned, i.e. locally unique) (group index) GroupStart = 0b1_01100_00, //start of a group (x) (groupIndex+groupPinning(1bit)) GroupEnd = 0b1_01101_00, //end of a group (x) (groupIndex+groupPinning(1bit)) Option = 0b1_01110_00, //start of an option within an alternation x | y (length) GotoEndOr = 0b1_01111_00, //end of an option (length of the rest) //... any additional atoms here OrStart = 0b1_00000_01, //start of alternation group (length) OrEnd = 0b1_00000_10, //end of the or group (length,mergeIndex) //with this instruction order //bit mask 0b1_00001_00 could be used to test/set greediness InfiniteStart = 0b1_00001_01, //start of an infinite repetition x* (length) InfiniteEnd = 0b1_00001_10, //end of infinite repetition x* (length,mergeIndex) InfiniteQStart = 0b1_00010_01, //start of a non eager infinite repetition x*? (length) InfiniteQEnd = 0b1_00010_10, //end of non eager infinite repetition x*? (length,mergeIndex) RepeatStart = 0b1_00011_01, //start of a {n,m} repetition (length) RepeatEnd = 0b1_00011_10, //end of x{n,m} repetition (length,step,minRep,maxRep) RepeatQStart = 0b1_00100_01, //start of a non eager x{n,m}? repetition (length) RepeatQEnd = 0b1_00100_10, //end of non eager x{n,m}? repetition (length,step,minRep,maxRep) // LookaheadStart = 0b1_00101_01, //begin of the lookahead group (length) LookaheadEnd = 0b1_00101_10, //end of a lookahead group (length) NeglookaheadStart = 0b1_00110_01, //start of a negative lookahead (length) NeglookaheadEnd = 0b1_00110_10, //end of a negative lookahead (length) LookbehindStart = 0b1_00111_01, //start of a lookbehind (length) LookbehindEnd = 0b1_00111_10, //end of a lookbehind (length) NeglookbehindStart= 0b1_01000_01, //start of a negative lookbehind (length) NeglookbehindEnd = 0b1_01000_10, //end of negative lookbehind (length) } //a shorthand for IR length - full length of specific opcode evaluated at compile time template IRL(IR code) { enum uint IRL = lengthOfIR(code); } static assert (IRL!(IR.LookaheadStart) == 3); //how many parameters follow the IR, should be optimized fixing some IR bits int immediateParamsIR(IR i){ switch (i){ case IR.OrEnd,IR.InfiniteEnd,IR.InfiniteQEnd: return 1; case IR.RepeatEnd, IR.RepeatQEnd: return 4; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: return 2; default: return 0; } } //full length of IR instruction inlcuding all parameters that might follow it int lengthOfIR(IR i) { return 1 + immediateParamsIR(i); } //full length of the paired IR instruction inlcuding all parameters that might follow it int lengthOfPairedIR(IR i) { return 1 + immediateParamsIR(pairedIR(i)); } //if the operation has a merge point (this relies on the order of the ops) bool hasMerge(IR i) { return (i&0b11)==0b10 && i <= IR.RepeatQEnd; } //is an IR that opens a "group" bool isStartIR(IR i) { return (i&0b11)==0b01; } //is an IR that ends a "group" bool isEndIR(IR i) { return (i&0b11)==0b10; } //is a standalone IR bool isAtomIR(IR i) { return (i&0b11)==0b00; } //makes respective pair out of IR i, swapping start/end bits of instruction IR pairedIR(IR i) { assert(isStartIR(i) || isEndIR(i)); return cast(IR)(i ^ 0b11); } //encoded IR instruction struct Bytecode { uint raw; //natural constraints enum maxSequence = 2+4; enum maxData = 1<<22; enum maxRaw = 1<<31; this(IR code, uint data) { assert(data < (1<<22) && code < 256); raw = code<<24 | data; } this(IR code, uint data, uint seq) { assert(data < (1<<22) && code < 256 ); assert(seq >= 2 && seq < maxSequence); raw = code<<24 | ((seq-2)<<22) | data; } //store raw data static Bytecode fromRaw(uint data) { Bytecode t; t.raw = data; return t; } //bit twiddling helpers @property uint data() const { return raw & 0x003f_ffff; } //ditto @property uint sequence() const { return 2+((raw >>22) & 0x3); } //ditto @property IR code() const { return cast(IR)(raw>>24); } //ditto @property bool hotspot() const { return hasMerge(code); } //test the class of this instruction @property bool isAtom() const { return isAtomIR(code); } //ditto @property bool isStart() const { return isStartIR(code); } //ditto @property bool isEnd() const { return isEndIR(code); } //number of arguments for this instruction @property int args() const { return immediateParamsIR(code); } //mark this GroupStart or GroupEnd as referenced in backreference void setBackrefence() { assert(code == IR.GroupStart || code == IR.GroupEnd); raw = raw | (1<<23); } //is referenced @property bool backreference() const { assert(code == IR.GroupStart || code == IR.GroupEnd); return cast(bool)(raw & (1<<23)); } //mark as local reference (for backrefs in lookarounds) void setLocalRef() { assert(code == IR.Backref); raw = raw | (1<<23); } //is a local ref @property bool localRef() const { assert(code == IR.Backref); return cast(bool)(raw & (1<<23)); } //human readable name of instruction @trusted @property string mnemonic() const {//@@@BUG@@@ to is @system return to!string(code); } //full length of instruction @property uint length() const { return lengthOfIR(code); } //full length of respective start/end of this instruction @property uint pairedLength() const { return lengthOfPairedIR(code); } //returns bytecode of paired instruction (assuming this one is start or end) @property Bytecode paired() const {//depends on bit and struct layout order assert(isStart || isEnd); return Bytecode.fromRaw(raw ^ (0b11<<24)); } //gets an index into IR block of the respective pair uint indexOfPair(uint pc) const { assert(isStart || isEnd); return isStart ? pc + data + length : pc - data - lengthOfPairedIR(code); } } static assert(Bytecode.sizeof == 4); //debugging tool, prints out instruction along with opcodes @trusted string disassemble(in Bytecode[] irb, uint pc, in NamedGroup[] dict=[]) { auto output = appender!string(); formattedWrite(output,"%s", irb[pc].mnemonic); switch(irb[pc].code) { case IR.Char: formattedWrite(output, " %s (0x%x)",cast(dchar)irb[pc].data, irb[pc].data); break; case IR.OrChar: formattedWrite(output, " %s (0x%x) seq=%d", cast(dchar)irb[pc].data, irb[pc].data, irb[pc].sequence); break; case IR.RepeatStart, IR.InfiniteStart, IR.Option, IR.GotoEndOr, IR.OrStart: //forward-jump instructions uint len = irb[pc].data; formattedWrite(output, " pc=>%u", pc+len+IRL!(IR.RepeatStart)); break; case IR.RepeatEnd, IR.RepeatQEnd: //backward-jump instructions uint len = irb[pc].data; formattedWrite(output, " pc=>%u min=%u max=%u step=%u" , pc-len, irb[pc+3].raw, irb[pc+4].raw, irb[pc+2].raw); break; case IR.InfiniteEnd, IR.InfiniteQEnd, IR.OrEnd: //ditto uint len = irb[pc].data; formattedWrite(output, " pc=>%u", pc-len); break; case IR.LookaheadEnd, IR.NeglookaheadEnd: //ditto uint len = irb[pc].data; formattedWrite(output, " pc=>%u", pc-len); break; case IR.GroupStart, IR.GroupEnd: uint n = irb[pc].data; string name; foreach(v;dict) if(v.group == n) { name = "'"~v.name~"'"; break; } formattedWrite(output, " %s #%u " ~ (irb[pc].backreference ? "referenced" : ""), name, n); break; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: uint len = irb[pc].data; uint start = irb[pc+1].raw, end = irb[pc+2].raw; formattedWrite(output, " pc=>%u [%u..%u]", pc + len + IRL!(IR.LookaheadStart), start, end); break; case IR.Backref: case IR.CodepointSet: case IR.Trie: uint n = irb[pc].data; formattedWrite(output, " %u", n); if(irb[pc].code == IR.Backref) formattedWrite(output, " %s", irb[pc].localRef ? "local" : "global"); break; default://all data-free instructions } if(irb[pc].hotspot) formattedWrite(output, " Hotspot %u", irb[pc+1].raw); return output.data; } //another pretty printer, writes out the bytecode of a regex and where the pc is @trusted void prettyPrint(Sink,Char = const(char)) (Sink sink, const(Bytecode)[] irb, uint pc = uint.max, int indent = 3, size_t index = 0) if (isOutputRange!(Sink,Char)) {//formattedWrite is @system while(irb.length > 0) { formattedWrite(sink,"%3d",index); if(pc == 0 && irb[0].code!=IR.Char) { for (int i = 0;i < indent-2;++i) put(sink,"="); put(sink,"> "); } else { if(isEndIR(irb[0].code)) { indent -= 2; } if(indent > 0) { string spaces=" "; put(sink,spaces[0..(indent%spaces.length)]); for (size_t i = indent/spaces.length;i > 0;--i) put(sink,spaces); } } if(irb[0].code == IR.Char) { put(sink,`"`); int i = 0; do { put(sink,cast(char[])([cast(dchar)irb[i].data])); ++i; } while(i < irb.length && irb[i].code == IR.Char); put(sink,"\""); if(pc < i) { put(sink,"\n"); for (int ii = indent+pc+1;ii > 0;++ii) put(sink,"="); put(sink,"^"); } index += i; irb = irb[i..$]; } else { put(sink,irb[0].mnemonic); put(sink,"("); formattedWrite(sink,"%d",irb[0].data); int nArgs= irb[0].args; for(int iarg = 0;iarg < nArgs;++iarg) { if(iarg+1 < irb.length) formattedWrite(sink,",%d",irb[iarg+1].data); else put(sink,"*error* incomplete irb stream"); } put(sink,")"); if(isStartIR(irb[0].code)) { indent += 2; } index += lengthOfIR(irb[0].code); irb = irb[lengthOfIR(irb[0].code)..$]; } put(sink,"\n"); } } //index entry structure for name --> number of submatch struct NamedGroup { string name; uint group; } //holds pair of start-end markers for a submatch struct Group(DataIndex) { DataIndex begin, end; @trusted string toString() const { auto a = appender!string(); formattedWrite(a, "%s..%s", begin, end); return a.data; } } //Regular expression engine/parser options: // global - search all nonoverlapping matches in input // casefold - case insensitive matching, do casefolding on match in unicode mode // freeform - ignore whitespace in pattern, to match space use [ ] or \s // multiline - switch ^, $ detect start and end of linesinstead of just start and end of input enum RegexOption: uint { global = 0x1, casefold = 0x2, freeform = 0x4, nonunicode = 0x8, multiline = 0x10, singleline = 0x20 }; alias TypeTuple!('g', 'i', 'x', 'U', 'm', 's') RegexOptionNames;//do not reorder this list static assert( RegexOption.max < 0x80); enum RegexInfo : uint { oneShot = 0x80 }; private enum NEL = '\u0085', LS = '\u2028', PS = '\u2029'; //test if a given string starts with hex number of maxDigit that's a valid codepoint //returns it's value and skips these maxDigit chars on success, throws on failure dchar parseUniHex(Char)(ref Char[] str, size_t maxDigit) { //std.conv.parse is both @system and bogus enforce(str.length >= maxDigit,"incomplete escape sequence"); uint val; for(int k = 0; k < maxDigit; k++) { auto current = str[k];//accepts ascii only, so it's OK to index directly if('0' <= current && current <= '9') val = val * 16 + current - '0'; else if('a' <= current && current <= 'f') val = val * 16 + current -'a' + 10; else if('A' <= current && current <= 'F') val = val * 16 + current - 'A' + 10; else throw new Exception("invalid escape sequence"); } enforce(val <= 0x10FFFF, "invalid codepoint"); str = str[maxDigit..$]; return val; } @system unittest //BUG canFind is system { string[] non_hex = [ "000j", "000z", "FffG", "0Z"]; string[] hex = [ "01", "ff", "00af", "10FFFF" ]; int value[] = [ 1, 0xFF, 0xAF, 0x10FFFF ]; foreach(v; non_hex) assert(collectException(parseUniHex(v, v.length)).msg .canFind("invalid escape sequence")); foreach(i, v; hex) assert(parseUniHex(v, v.length) == value[i]); string over = "0011FFFF"; assert(collectException(parseUniHex(over, over.length)).msg .canFind("invalid codepoint")); } //heuristic value determines maximum CodepointSet length suitable for linear search enum maxCharsetUsed = 6; enum maxCachedTries = 8; alias CodepointTrie!8 Trie; Trie[const(CodepointSet)] trieCache; //accessor with caching @trusted Trie getTrie(in CodepointSet set) {// @@@BUG@@@ 6357 almost all properties of AA are not @safe if(__ctfe || maxCachedTries == 0) return Trie(set); else { auto p = set in trieCache; if(p) return *p; if(trieCache.length == maxCachedTries) { // flush entries in trieCache trieCache = null; } return (trieCache[set] = Trie(set)); } } //property for \w character class @property CodepointSet wordCharacter() { return memoizeExpr!("CodepointSet.init.add(unicodeAlphabetic).add(unicodeMn).add(unicodeMc) .add(unicodeMe).add(unicodeNd).add(unicodePc)")(); } @property Trie wordTrie() { return memoizeExpr!("Trie(wordCharacter)")(); } auto memoizeExpr(string expr)() { if(__ctfe) return mixin(expr); alias typeof(mixin(expr)) T; static T slot; static bool initialized; if(!initialized) { slot = mixin(expr); initialized = true; } return slot; } /+ fetch codepoint set corresponding to a name (InBlock or binary property) +/ @trusted const(CodepointSet) getUnicodeSet(in char[] name, bool negated, bool casefold) { alias comparePropertyName ucmp; CodepointSet s; //unicode property //helper: direct access with a sanity check if(ucmp(name, "L") == 0 || ucmp(name, "Letter") == 0) { s.add(unicodeLu).add(unicodeLl).add(unicodeLt) .add(unicodeLo).add(unicodeLm); } else if(ucmp(name,"LC") == 0 || ucmp(name,"Cased Letter") == 0) { s.add(unicodeLl).add(unicodeLu).add(unicodeLt);//Title case } else if(ucmp(name, "M") == 0 || ucmp(name, "Mark") == 0) { s.add(unicodeMn).add(unicodeMc).add(unicodeMe); } else if(ucmp(name, "P") == 0 || ucmp(name, "Punctuation") == 0) { s.add(unicodePc).add(unicodePd).add(unicodePs).add(unicodePe) .add(unicodePi).add(unicodePf).add(unicodePo); } else if(ucmp(name, "S") == 0 || ucmp(name, "Symbol") == 0) { s.add(unicodeSm).add(unicodeSc).add(unicodeSk).add(unicodeSo); } else if(ucmp(name, "Z") == 0 || ucmp(name, "Separator") == 0) { s.add(unicodeZs).add(unicodeZl).add(unicodeZp); } else if(ucmp(name, "C") == 0 || ucmp(name, "Other") == 0) { s.add(unicodeCo).add(unicodeLo).add(unicodeNo) .add(unicodeSo).add(unicodePo); } else if(ucmp(name, "any") == 0) s.add(Interval(0,0x10FFFF)); else if(ucmp(name, "ascii") == 0) s.add(Interval(0,0x7f)); else { auto range = assumeSorted!((x,y) => ucmp(x.name, y.name) < 0)(unicodeProperties); //creating empty Codepointset is a workaround auto eq = range.lowerBound(UnicodeProperty(cast(string)name,CodepointSet.init)).length; enforce(eq != range.length && ucmp(name,range[eq].name) == 0, "invalid property name"); s = range[eq].set.dup; } if(casefold) s = caseEnclose(s); if(negated) s.negate(); return cast(const CodepointSet)s; } //basic stack, just in case it gets used anywhere else then Parser @trusted struct Stack(T, bool CTFE = false) { static if(!CTFE) Appender!(T[]) stack;//compiles but bogus at CTFE else { struct Proxy { T[] data; void put(T val) { data ~= val; } void shrinkTo(size_t sz){ data = data[0..sz]; } } Proxy stack; } @property bool empty(){ return stack.data.empty; } void push(T item) { stack.put(item); } @property ref T top() { assert(!empty); return stack.data[$-1]; } @property size_t length() { return stack.data.length; } T pop() { assert(!empty); auto t = stack.data[$-1]; stack.shrinkTo(stack.data.length-1); return t; } } //safety limits enum maxGroupNumber = 2^^19; enum maxLookaroundDepth = 16; // *Bytecode.sizeof, i.e. 1Mb of bytecode alone enum maxCompiledLength = 2^^18; //amounts to up to 4 Mb of auxilary table for matching enum maxCumulativeRepetitionLength = 2^^20; template BasicElementOf(Range) { alias Unqual!(ElementEncodingType!Range) BasicElementOf; } struct Parser(R, bool CTFE = false) if (isForwardRange!R && is(ElementType!R : dchar)) { enum infinite = ~0u; dchar _current; bool empty; R pat, origin; //keep full pattern for pretty printing error messages Bytecode[] ir; //resulting bytecode uint re_flags = 0; //global flags e.g. multiline + internal ones Stack!(uint, CTFE) fixupStack; //stack of opened start instructions NamedGroup[] dict; //maps name -> user group number //current num of group, group nesting level and repetitions step Stack!(uint, CTFE) groupStack; uint nesting = 0; uint lookaroundNest = 0; uint counterDepth = 0; //current depth of nested counted repetitions const(CodepointSet)[] charsets; // const(Trie)[] tries; // uint[] backrefed; //bitarray for groups @trusted this(S)(R pattern, S flags) if(isSomeString!S) { pat = origin = pattern; //reserve slightly more then avg as sampled from unittests if(!__ctfe) ir.reserve((pat.length*5+2)/4); parseFlags(flags); _current = ' ';//a safe default for freeform parsing next(); try { parseRegex(); } catch(Exception e) { error(e.msg);//also adds pattern location } put(Bytecode(IR.End, 0)); } //mark referenced groups for latter processing void markBackref(uint n) { if(n/32 >= backrefed.length) backrefed.length = n/32 + 1; backrefed[n/32] |= 1<<(n & 31); } @property dchar current(){ return _current; } bool _next() { if(pat.empty) { empty = true; return false; } _current = pat.front; pat.popFront(); return true; } void skipSpace() { while(isWhite(current) && _next()){ } } bool next() { if(re_flags & RegexOption.freeform) { bool r = _next(); skipSpace(); return r; } else return _next(); } void put(Bytecode code) { enforce(ir.length < maxCompiledLength , "maximum compiled pattern length is exceeded"); if(__ctfe) { ir = ir ~ code; } else ir ~= code; } void putRaw(uint number) { enforce(ir.length < maxCompiledLength , "maximum compiled pattern length is exceeded"); ir ~= Bytecode.fromRaw(number); } //parsing number with basic overflow check uint parseDecimal() { uint r = 0; while(ascii.isDigit(current)) { if(r >= (uint.max/10)) error("Overflow in decimal number"); r = 10*r + cast(uint)(current-'0'); if(!next()) break; } return r; } //parse control code of form \cXXX, c assumed to be the current symbol dchar parseControlCode() { enforce(next(), "Unfinished escape sequence"); enforce(('a' <= current && current <= 'z') || ('A' <= current && current <= 'Z'), "Only letters are allowed after \\c"); return current & 0x1f; } // @trusted void parseFlags(S)(S flags) {//@@@BUG@@@ text is @system foreach(ch; flags)//flags are ASCII anyway { L_FlagSwitch: switch(ch) { foreach(i, op; __traits(allMembers, RegexOption)) { case RegexOptionNames[i]: if(re_flags & mixin("RegexOption."~op)) throw new RegexException(text("redundant flag specified: ",ch)); re_flags |= mixin("RegexOption."~op); break L_FlagSwitch; } default: if(__ctfe) assert(text("unknown regex flag '",ch,"'")); else new RegexException(text("unknown regex flag '",ch,"'")); } } } //parse and store IR for regex pattern @trusted void parseRegex() { fixupStack.push(0); groupStack.push(1);//0 - whole match auto maxCounterDepth = counterDepth; uint fix;//fixup pointer while(!empty) { debug(fred_parser) writeln("*LR*\nSource: ", pat, "\nStack: ",fixupStack.stack.data); switch(current) { case '(': next(); nesting++; uint nglob; fixupStack.push(cast(uint)ir.length); if(current == '?') { next(); switch(current) { case ':': put(Bytecode(IR.Nop, 0)); next(); break; case '=': genLookaround(IR.LookaheadStart); next(); break; case '!': genLookaround(IR.NeglookaheadStart); next(); break; case 'P': next(); if(current != '<') error("Expected '<' in named group"); string name; while(next() && isAlpha(current)) { name ~= current; } if(current != '>') error("Expected '>' closing named group"); next(); nglob = groupStack.top++; enforce(groupStack.top <= maxGroupNumber, "limit on submatches is exceeded"); auto t = NamedGroup(name, nglob); auto d = assumeSorted!"a.name < b.name"(dict); auto ind = d.lowerBound(t).length; insertInPlaceAlt(dict, ind, t); put(Bytecode(IR.GroupStart, nglob)); break; case '<': next(); if(current == '=') genLookaround(IR.LookbehindStart); else if(current == '!') genLookaround(IR.NeglookbehindStart); else error("'!' or '=' expected after '<'"); next(); break; default: error(" ':', '=', '<', 'P' or '!' expected after '(?' "); } } else { nglob = groupStack.top++; enforce(groupStack.top <= maxGroupNumber, "limit on number of submatches is exceeded"); put(Bytecode(IR.GroupStart, nglob)); } break; case ')': enforce(nesting, "Unmatched ')'"); nesting--; next(); fix = fixupStack.pop(); switch(ir[fix].code) { case IR.GroupStart: put(Bytecode(IR.GroupEnd,ir[fix].data)); parseQuantifier(fix); break; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: assert(lookaroundNest); fixLookaround(fix); lookaroundNest--; put(ir[fix].paired); break; case IR.Option: //| xxx ) //two fixups: last option + full OR finishAlternation(fix); fix = fixupStack.top; switch(ir[fix].code) { case IR.GroupStart: fixupStack.pop(); put(Bytecode(IR.GroupEnd,ir[fix].data)); parseQuantifier(fix); break; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: assert(lookaroundNest); lookaroundNest--; fix = fixupStack.pop(); fixLookaround(fix); put(ir[fix].paired); break; default://(?:xxx) fixupStack.pop(); parseQuantifier(fix); } break; default://(?:xxx) parseQuantifier(fix); } break; case '|': next(); fix = fixupStack.top; if(ir.length > fix && ir[fix].code == IR.Option) { ir[fix] = Bytecode(ir[fix].code, cast(uint)ir.length - fix); put(Bytecode(IR.GotoEndOr, 0)); fixupStack.top = cast(uint)ir.length; //replace latest fixup for Option put(Bytecode(IR.Option, 0)); break; } uint len, orStart; //start a new option if(fixupStack.length == 1) {//only root entry, effectively no fixup len = cast(uint)ir.length + IRL!(IR.GotoEndOr); orStart = 0; } else {//IR.lookahead, etc. fixups that have length > 1, thus check ir[x].length len = cast(uint)ir.length - fix - (ir[fix].length - 1); orStart = fix + ir[fix].length; } insertInPlaceAlt(ir, orStart, Bytecode(IR.OrStart, 0), Bytecode(IR.Option, len)); assert(ir[orStart].code == IR.OrStart); put(Bytecode(IR.GotoEndOr, 0)); fixupStack.push(orStart); //fixup for StartOR fixupStack.push(cast(uint)ir.length); //for second Option put(Bytecode(IR.Option, 0)); break; default://no groups or whatever uint start = cast(uint)ir.length; parseAtom(); parseQuantifier(start); } } if(fixupStack.length != 1) { fix = fixupStack.pop(); enforce(ir[fix].code == IR.Option, "no matching ')'"); finishAlternation(fix); enforce(fixupStack.length == 1, "no matching ')'"); } } //helper function, finalizes IR.Option, fix points to the first option of sequence void finishAlternation(uint fix) { enforce(ir[fix].code == IR.Option, "no matching ')'"); ir[fix] = Bytecode(ir[fix].code, cast(uint)ir.length - fix - IRL!(IR.OrStart)); fix = fixupStack.pop(); enforce(ir[fix].code == IR.OrStart, "no matching ')'"); ir[fix] = Bytecode(IR.OrStart, cast(uint)ir.length - fix - IRL!(IR.OrStart)); put(Bytecode(IR.OrEnd, cast(uint)ir.length - fix - IRL!(IR.OrStart))); uint pc = fix + IRL!(IR.OrStart); while(ir[pc].code == IR.Option) { pc = pc + ir[pc].data; if(ir[pc].code != IR.GotoEndOr) break; ir[pc] = Bytecode(IR.GotoEndOr, cast(uint)(ir.length - pc - IRL!(IR.OrEnd))); pc += IRL!(IR.GotoEndOr); } put(Bytecode.fromRaw(0)); } //parse and store IR for atom-quantifier pair @trusted void parseQuantifier(uint offset) {//copy is @system uint replace = ir[offset].code == IR.Nop; if(empty && !replace) return; uint min, max; switch(current) { case '*': min = 0; max = infinite; break; case '?': min = 0; max = 1; break; case '+': min = 1; max = infinite; break; case '{': enforce(next(), "Unexpected end of regex pattern"); enforce(ascii.isDigit(current), "First number required in repetition"); min = parseDecimal(); if(current == '}') max = min; else if(current == ',') { next(); if(ascii.isDigit(current)) max = parseDecimal(); else if(current == '}') max = infinite; else error("Unexpected symbol in regex pattern"); skipSpace(); if(current != '}') error("Unmatched '{' in regex pattern"); } else error("Unexpected symbol in regex pattern"); break; default: if(replace) { copyForwardAlt(ir[offset+1..$],ir[offset..$-1]); ir.length -= 1; } return; } uint len = cast(uint)ir.length - offset - replace; bool greedy = true; //check only if we managed to get new symbol if(next() && current == '?') { greedy = false; next(); } if(max != infinite) { if(min != 1 || max != 1) { Bytecode op = Bytecode(greedy ? IR.RepeatStart : IR.RepeatQStart, len); if(replace) ir[offset] = op; else insertInPlaceAlt(ir, offset, op); put(Bytecode(greedy ? IR.RepeatEnd : IR.RepeatQEnd, len)); put(Bytecode.init); //hotspot putRaw(1); putRaw(min); putRaw(max); counterDepth = std.algorithm.max(counterDepth, nesting+1); } } else if(min) //&& max is infinite { if(min != 1) { Bytecode op = Bytecode(greedy ? IR.RepeatStart : IR.RepeatQStart, len); if(replace) ir[offset] = op; else insertInPlaceAlt(ir, offset, op); offset += 1;//so it still points to the repeated block put(Bytecode(greedy ? IR.RepeatEnd : IR.RepeatQEnd, len)); put(Bytecode.init); //hotspot putRaw(1); putRaw(min); putRaw(min); counterDepth = std.algorithm.max(counterDepth, nesting+1); } else if(replace) { copyForwardAlt(ir[offset+1 .. $],ir[offset .. $-1]); ir.length -= 1; } put(Bytecode(greedy ? IR.InfiniteStart : IR.InfiniteQStart, len)); enforce(ir.length + len < maxCompiledLength, "maximum compiled pattern length is exceeded"); //workaround @@@BUG@@@ 9634 if(__ctfe) { foreach(v; ir[offset .. offset+len]) ir ~= v; } else ir ~= ir[offset .. offset+len]; //IR.InfinteX is always a hotspot put(Bytecode(greedy ? IR.InfiniteEnd : IR.InfiniteQEnd, len)); put(Bytecode.init); //merge index } else//vanila {0,inf} { Bytecode op = Bytecode(greedy ? IR.InfiniteStart : IR.InfiniteQStart, len); if(replace) ir[offset] = op; else insertInPlaceAlt(ir, offset, op); //IR.InfinteX is always a hotspot put(Bytecode(greedy ? IR.InfiniteEnd : IR.InfiniteQEnd, len)); put(Bytecode.init); //merge index } } //parse and store IR for atom void parseAtom() { if(empty) return; switch(current) { case '*', '?', '+', '|', '{', '}': error("'*', '+', '?', '{', '}' not allowed in atom"); break; case '.': put(Bytecode(IR.Any, 0)); next(); break; case '[': parseCharset(); break; case '\\': enforce(_next(), "Unfinished escape sequence"); parseEscape(); break; case '^': put(Bytecode(IR.Bol, 0)); next(); break; case '$': put(Bytecode(IR.Eol, 0)); next(); break; default: if(re_flags & RegexOption.casefold) { dchar[5] data; auto range = getCommonCasing(current, data); assert(range.length <= 5); if(range.length == 1) put(Bytecode(IR.Char, range[0])); else foreach(v; range) put(Bytecode(IR.OrChar, v, cast(uint)range.length)); } else put(Bytecode(IR.Char, current)); next(); } } //generate code for start of lookaround: (?= (?! (?<= (?<! void genLookaround(IR opcode) { put(Bytecode(opcode, 0)); put(Bytecode.fromRaw(0)); put(Bytecode.fromRaw(0)); groupStack.push(0); lookaroundNest++; enforce(lookaroundNest <= maxLookaroundDepth , "maximum lookaround depth is exceeded"); } //fixup lookaround with start at offset fix void fixLookaround(uint fix) { ir[fix] = Bytecode(ir[fix].code , cast(uint)ir.length - fix - IRL!(IR.LookaheadStart)); auto g = groupStack.pop(); assert(!groupStack.empty); ir[fix+1] = Bytecode.fromRaw(groupStack.top); //groups are cumulative across lookarounds ir[fix+2] = Bytecode.fromRaw(groupStack.top+g); groupStack.top += g; } //CodepointSet operations relatively in order of priority enum Operator:uint { Open = 0, Negate, Difference, SymDifference, Intersection, Union, None }; //parse unit of CodepointSet spec, most notably escape sequences and char ranges //also fetches next set operation Tuple!(CodepointSet,Operator) parseCharTerm() { enum State{ Start, Char, Escape, CharDash, CharDashEscape, PotentialTwinSymbolOperator } Operator op = Operator.None; dchar last; CodepointSet set; State state = State.Start; static void addWithFlags(ref CodepointSet set, uint ch, uint re_flags) { if(re_flags & RegexOption.casefold) { dchar[5] chars; auto range = getCommonCasing(ch, chars); foreach(v; range) set.add(v); } else set.add(ch); } static Operator twinSymbolOperator(dchar symbol) { switch(symbol) { case '|': return Operator.Union; case '-': return Operator.Difference; case '~': return Operator.SymDifference; case '&': return Operator.Intersection; default: assert(false); } } L_CharTermLoop: for(;;) { final switch(state) { case State.Start: switch(current) { case '|': case '-': case '~': case '&': state = State.PotentialTwinSymbolOperator; last = current; break; case '[': op = Operator.Union; goto case; case ']': break L_CharTermLoop; case '\\': state = State.Escape; break; default: state = State.Char; last = current; } break; case State.Char: // xxx last current xxx switch(current) { case '|': case '~': case '&': // then last is treated as normal char and added as implicit union state = State.PotentialTwinSymbolOperator; addWithFlags(set, last, re_flags); last = current; break; case '-': // still need more info state = State.CharDash; break; case '\\': set.add(last); state = State.Escape; break; case '[': op = Operator.Union; goto case; case ']': set.add(last); break L_CharTermLoop; default: addWithFlags(set, last, re_flags); last = current; } break; case State.PotentialTwinSymbolOperator: // xxx last current xxxx // where last = [|-&~] if(current == last) { op = twinSymbolOperator(last); next();//skip second twin char break L_CharTermLoop; } goto case State.Char;// it's not a twin lets re-run normal logic case State.Escape: // xxx \ current xxx switch(current) { case 'f': last = '\f'; state = State.Char; break; case 'n': last = '\n'; state = State.Char; break; case 'r': last = '\r'; state = State.Char; break; case 't': last = '\t'; state = State.Char; break; case 'v': last = '\v'; state = State.Char; break; case 'c': last = parseControlCode(); state = State.Char; break; case '[',']','\\','^','$','.','|','?',',','-',';',':' ,'#','&','%','/','<','>','`' ,'*','+','(',')','{','}', '~': last = current; state = State.Char; break; case 'p': set.add(parseUnicodePropertySpec(false)); state = State.Start; continue L_CharTermLoop; //next char already fetched case 'P': set.add(parseUnicodePropertySpec(true)); state = State.Start; continue L_CharTermLoop; //next char already fetched case 'x': last = parseUniHex(pat, 2); state = State.Char; break; case 'u': last = parseUniHex(pat, 4); state = State.Char; break; case 'U': last = parseUniHex(pat, 8); state = State.Char; break; case 'd': set.add(unicodeNd); state = State.Start; break; case 'D': set.add(unicodeNd.dup.negate()); state = State.Start; break; case 's': set.add(unicodeWhite_Space); state = State.Start; break; case 'S': set.add(unicodeWhite_Space.dup.negate()); state = State.Start; break; case 'w': set.add(wordCharacter); state = State.Start; break; case 'W': set.add(wordCharacter.dup.negate()); state = State.Start; break; default: enforce(false, "invalid escape sequence"); } break; case State.CharDash: // xxx last - current xxx switch(current) { case '[': op = Operator.Union; goto case; case ']': //means dash is a single char not an interval specifier addWithFlags(set, last, re_flags); addWithFlags(set, '-', re_flags); break L_CharTermLoop; case '-'://set Difference again addWithFlags(set, last, re_flags); op = Operator.Difference; next();//skip '-' break L_CharTermLoop; case '\\': state = State.CharDashEscape; break; default: enforce(last <= current, "inverted range"); if(re_flags & RegexOption.casefold) { for(uint ch = last; ch <= current; ch++) addWithFlags(set, ch, re_flags); } else set.add(Interval(last, current)); state = State.Start; } break; case State.CharDashEscape: //xxx last - \ current xxx uint end; switch(current) { case 'f': end = '\f'; break; case 'n': end = '\n'; break; case 'r': end = '\r'; break; case 't': end = '\t'; break; case 'v': end = '\v'; break; case '[',']','\\','^','$','.','|','?',',','-',';',':' ,'#','&','%','/','<','>','`' ,'*','+','(',')','{','}', '~': end = current; break; case 'c': end = parseControlCode(); break; case 'x': end = parseUniHex(pat, 2); break; case 'u': end = parseUniHex(pat, 4); break; case 'U': end = parseUniHex(pat, 8); break; default: error("invalid escape sequence"); } enforce(last <= end,"inverted range"); set.add(Interval(last,end)); state = State.Start; break; } enforce(next(), "unexpected end of CodepointSet"); } return tuple(set, op); } alias Stack!(CodepointSet, CTFE) ValStack; alias Stack!(Operator, CTFE) OpStack; //parse and store IR for CodepointSet void parseCharset() { ValStack vstack; OpStack opstack; // static bool apply(Operator op, ref ValStack stack) { switch(op) { case Operator.Negate: stack.top.negate(); break; case Operator.Union: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '||'"); stack.top.add(s); break; case Operator.Difference: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '--'"); stack.top.sub(s); break; case Operator.SymDifference: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '~~'"); stack.top.symmetricSub(s); break; case Operator.Intersection: auto s = stack.pop();//2nd operand enforce(!stack.empty, "no operand for '&&'"); stack.top.intersect(s); break; default: return false; } return true; } static bool unrollWhile(alias cond)(ref ValStack vstack, ref OpStack opstack) { while(cond(opstack.top)) { debug(fred_charset) writeln(opstack.stack.data); if(!apply(opstack.pop(),vstack)) return false;//syntax error if(opstack.empty) return false; } return true; } L_CharsetLoop: do { switch(current) { case '[': opstack.push(Operator.Open); enforce(next(), "unexpected end of CodepointSet"); if(current == '^') { opstack.push(Operator.Negate); enforce(next(), "unexpected end of CodepointSet"); } //[] is prohibited enforce(current != ']', "wrong CodepointSet"); goto default; case ']': enforce(unrollWhile!(unaryFun!"a != a.Open")(vstack, opstack) , "CodepointSet syntax error"); enforce(!opstack.empty, "unmatched ']'"); opstack.pop(); next(); if(opstack.empty) break L_CharsetLoop; auto pair = parseCharTerm(); if(!pair[0].empty)//not only operator e.g. -- or ~~ { vstack.top.add(pair[0]);//apply union } if(pair[1] != Operator.None) { if(opstack.top == Operator.Union) unrollWhile!(unaryFun!"a == a.Union")(vstack, opstack); opstack.push(pair[1]); } break; // default://yet another pair of term(op)? auto pair = parseCharTerm(); if(pair[1] != Operator.None) { if(opstack.top == Operator.Union) unrollWhile!(unaryFun!"a == a.Union")(vstack, opstack); opstack.push(pair[1]); } vstack.push(pair[0]); } }while(!empty || !opstack.empty); while(!opstack.empty) apply(opstack.pop(),vstack); assert(vstack.length == 1); charsetToIr(vstack.top); } //try to generate optimal IR code for this CodepointSet @trusted void charsetToIr(in CodepointSet set) {//@@@BUG@@@ writeln is @system uint chars = set.chars; if(chars < Bytecode.maxSequence) { switch(chars) { case 1: put(Bytecode(IR.Char, set.ivals[0])); break; case 0: error("empty CodepointSet not allowed"); break; default: foreach(ch; set[]) put(Bytecode(IR.OrChar, ch, chars)); } } else { if(set.ivals.length > maxCharsetUsed) { auto t = getTrie(set); put(Bytecode(IR.Trie, cast(uint)tries.length)); tries ~= t; debug(fred_allocation) writeln("Trie generated"); } else { put(Bytecode(IR.CodepointSet, cast(uint)charsets.length)); tries ~= Trie.init; } charsets ~= set; assert(charsets.length == tries.length); } } //parse and generate IR for escape stand alone escape sequence @trusted void parseEscape() {//accesses array of appender switch(current) { case 'f': next(); put(Bytecode(IR.Char, '\f')); break; case 'n': next(); put(Bytecode(IR.Char, '\n')); break; case 'r': next(); put(Bytecode(IR.Char, '\r')); break; case 't': next(); put(Bytecode(IR.Char, '\t')); break; case 'v': next(); put(Bytecode(IR.Char, '\v')); break; case 'd': next(); charsetToIr(unicodeNd); break; case 'D': next(); charsetToIr(unicodeNd.dup.negate()); break; case 'b': next(); put(Bytecode(IR.Wordboundary, 0)); break; case 'B': next(); put(Bytecode(IR.Notwordboundary, 0)); break; case 's': next(); charsetToIr(unicodeWhite_Space); break; case 'S': next(); charsetToIr(unicodeWhite_Space.dup.negate()); break; case 'w': next(); charsetToIr(wordCharacter); break; case 'W': next(); charsetToIr(wordCharacter.dup.negate()); break; case 'p': case 'P': auto CodepointSet = parseUnicodePropertySpec(current == 'P'); charsetToIr(CodepointSet); break; case 'x': uint code = parseUniHex(pat, 2); next(); put(Bytecode(IR.Char,code)); break; case 'u': case 'U': uint code = parseUniHex(pat, current == 'u' ? 4 : 8); next(); put(Bytecode(IR.Char, code)); break; case 'c': //control codes Bytecode code = Bytecode(IR.Char, parseControlCode()); next(); put(code); break; case '0': next(); put(Bytecode(IR.Char, 0));//NUL character break; case '1': .. case '9': uint nref = cast(uint)current - '0'; uint maxBackref; foreach(v; groupStack.stack.data) maxBackref += v; uint localLimit = maxBackref - groupStack.top; enforce(nref < maxBackref, "Backref to unseen group"); //perl's disambiguation rule i.e. //get next digit only if there is such group number while(nref < maxBackref && next() && ascii.isDigit(current)) { nref = nref * 10 + current - '0'; } if(nref >= maxBackref) nref /= 10; if(nref >= localLimit) { put(Bytecode(IR.Backref, nref-localLimit)); ir[$-1].setLocalRef(); } else put(Bytecode(IR.Backref, nref)); markBackref(nref); break; default: auto op = Bytecode(IR.Char, current); next(); put(op); } } //parse and return a CodepointSet for \p{...Property...} and \P{...Property..}, //\ - assumed to be processed, p - is current const(CodepointSet) parseUnicodePropertySpec(bool negated) { alias comparePropertyName ucmp; enum MAX_PROPERTY = 128; char[MAX_PROPERTY] result; uint k = 0; enforce(next()); if(current == '{') { while(k < MAX_PROPERTY && next() && current !='}' && current !=':') if(current != '-' && current != ' ' && current != '_') result[k++] = cast(char)ascii.toLower(current); enforce(k != MAX_PROPERTY, "invalid property name"); enforce(current == '}', "} expected "); } else {//single char properties e.g.: \pL, \pN ... enforce(current < 0x80, "invalid property name"); result[k++] = cast(char)current; } auto s = getUnicodeSet(result[0..k], negated , cast(bool)(re_flags & RegexOption.casefold)); enforce(!s.empty, "unrecognized unicode property spec"); next(); return s; } // @trusted void error(string msg) { auto app = appender!string(); ir = null; formattedWrite(app, "%s\nPattern with error: `%s` <--HERE-- `%s`", msg, origin[0..$-pat.length], pat); throw new RegexException(app.data); } alias BasicElementOf!R Char; //packages parsing results into a RegEx object @property Regex!Char program() { return Regex!Char(this); } } /++ $(D Regex) object holds regular expression pattern in compiled form. Instances of this object are constructed via calls to $(D regex). This is an intended form for caching and storage of frequently used regular expressions. +/ public struct Regex(Char) { //temporary workaround for identifier lookup const(CodepointSet)[] charsets; // Bytecode[] ir; //compiled bytecode of pattern /++ Test if this object doesn't contain any compiled pattern. Example: --- Regex!char r; assert(r.empty); r = regex(""); // Note: "" is a valid regex pattern. assert(!r.empty); --- +/ @property bool empty() const nothrow { return ir is null; } private: NamedGroup[] dict; //maps name -> user group number uint ngroup; //number of internal groups uint maxCounterDepth; //max depth of nested {n,m} repetitions uint hotspotTableSize; //number of entries in merge table uint threadCount; uint flags; //global regex flags const(Trie)[] tries; // uint[] backrefed; //bit array of backreferenced submatches Kickstart!Char kickstart; //bit access helper uint isBackref(uint n) { if(n/32 >= backrefed.length) return 0; return backrefed[n/32] & (1<<(n&31)); } //check if searching is not needed void checkIfOneShot() { if(flags & RegexOption.multiline) return; L_CheckLoop: for(uint i = 0; i < ir.length; i += ir[i].length) { switch(ir[i].code) { case IR.Bol: flags |= RegexInfo.oneShot; break L_CheckLoop; case IR.GroupStart, IR.GroupEnd, IR.Eol, IR.Wordboundary, IR.Notwordboundary: break; default: break L_CheckLoop; } } } /+ lightweight post process step, only essentials +/ @trusted void lightPostprocess() {//@@@BUG@@@ write is @system struct FixedStack(T) { T[] arr; uint _top; //this(T[] storage){ arr = storage; _top = -1; } @property ref T top(){ assert(!empty); return arr[_top]; } void push(T x){ arr[++_top] = x; } T pop() { assert(!empty); return arr[_top--]; } @property bool empty(){ return _top == -1; } } auto counterRange = FixedStack!uint(new uint[maxCounterDepth+1], -1); counterRange.push(1); ulong cumRange = 0; for(uint i = 0; i < ir.length; i += ir[i].length) { if(ir[i].hotspot) { assert(i + 1 < ir.length , "unexpected end of IR while looking for hotspot"); ir[i+1] = Bytecode.fromRaw(hotspotTableSize); hotspotTableSize += counterRange.top; } switch(ir[i].code) { case IR.RepeatStart, IR.RepeatQStart: uint repEnd = cast(uint)(i + ir[i].data + IRL!(IR.RepeatStart)); assert(ir[repEnd].code == ir[i].paired.code); uint max = ir[repEnd + 4].raw; ir[repEnd+2].raw = counterRange.top; ir[repEnd+3].raw *= counterRange.top; ir[repEnd+4].raw *= counterRange.top; ulong cntRange = cast(ulong)(max)*counterRange.top; cumRange += cntRange; enforce(cumRange < maxCumulativeRepetitionLength , "repetition length limit is exceeded"); counterRange.push(cast(uint)cntRange + counterRange.top); threadCount += counterRange.top; break; case IR.RepeatEnd, IR.RepeatQEnd: threadCount += counterRange.top; counterRange.pop(); break; case IR.GroupStart: if(isBackref(ir[i].data)) ir[i].setBackrefence(); threadCount += counterRange.top; break; case IR.GroupEnd: if(isBackref(ir[i].data)) ir[i].setBackrefence(); threadCount += counterRange.top; break; default: threadCount += counterRange.top; } } checkIfOneShot(); if(!(flags & RegexInfo.oneShot)) kickstart = Kickstart!Char(this, new uint[](256)); debug(fred_allocation) writefln("IR processed, max threads: %d", threadCount); } //IR code validator - proper nesting, illegal instructions, etc. @trusted void validate() {//@@@BUG@@@ text is @system for(uint pc = 0; pc < ir.length; pc += ir[pc].length) { if(ir[pc].isStart || ir[pc].isEnd) { uint dest = ir[pc].indexOfPair(pc); assert(dest < ir.length, text("Wrong length in opcode at pc=" , pc, " ", dest, " vs ", ir.length)); assert(ir[dest].paired == ir[pc] ,text("Wrong pairing of opcodes at pc=", pc, "and pc=", dest)); } else if(ir[pc].isAtom) { } else assert(0, text("Unknown type of instruction at pc=", pc)); } } //print out disassembly a program's IR @trusted debug public void print() const {//@@@BUG@@@ write is system writefln("PC\tINST\n"); prettyPrint(delegate void(const(char)[] s){ write(s); },ir); writefln("\n"); for(uint i = 0; i < ir.length; i += ir[i].length) { writefln("%d\t%s ", i, disassemble(ir, i, dict)); } writeln("Total merge table size: ", hotspotTableSize); writeln("Max counter nesting depth: ", maxCounterDepth); } // this(S,bool x)(Parser!(S,x) p) { if(__ctfe)//CTFE something funky going on with array ir = p.ir.dup; else ir = p.ir; dict = p.dict; ngroup = p.groupStack.top; maxCounterDepth = p.counterDepth; flags = p.re_flags; charsets = p.charsets; tries = p.tries; backrefed = p.backrefed; lightPostprocess(); debug(fred_parser) { print(); } debug validate(); } } // @trusted uint lookupNamedGroup(String)(NamedGroup[] dict, String name) {//equal is @system? auto fnd = assumeSorted!"cmp(a,b) < 0"(map!"a.name"(dict)).lowerBound(name).length; enforce(equal(dict[fnd].name, name), text("no submatch named ", name)); return dict[fnd].group; } //whether ch is one of unicode newline sequences bool endOfLine(dchar front, bool seenCr) { return ((front == '\n') ^ seenCr) || front == '\r' || front == NEL || front == LS || front == PS; } // bool startOfLine(dchar back, bool seenNl) { return ((back == '\r') ^ seenNl) || back == '\n' || back == NEL || back == LS || back == PS; } //Test if bytecode starting at pc in program 're' can match given codepoint //Returns: 0 - can't tell, -1 if doesn't match int quickTestFwd(RegEx)(uint pc, dchar front, const ref RegEx re) { static assert(IRL!(IR.OrChar) == 1);//used in code processing IR.OrChar for(;;) switch(re.ir[pc].code) { case IR.OrChar: uint len = re.ir[pc].sequence; uint end = pc + len; if(re.ir[pc].data != front && re.ir[pc+1].data != front) { for(pc = pc+2; pc < end; pc++) if(re.ir[pc].data == front) break; if(pc == end) return -1; } return 0; case IR.Char: if(front == re.ir[pc].data) return 0; else return -1; case IR.Any: return 0; case IR.CodepointSet: if(re.charsets[re.ir[pc].data].scanFor(front)) return 0; else return -1; case IR.GroupStart, IR.GroupEnd: pc += IRL!(IR.GroupStart); break; case IR.Trie: if(re.tries[re.ir[pc].data][front]) return 0; else return -1; default: return 0; } } /* Useful utility for self-testing, an infinite range of string samples that _have_ to match given compiled regex. Caveats: supports only a simple subset of bytecode. */ @trusted public struct SampleGenerator(Char) { import std.random; const(Regex!Char) re; Appender!(char[]) app; uint limit, seed; Xorshift gen; //generator for pattern r, with soft maximum of threshold elements //and a given random seed this(in Regex!Char r, uint threshold, uint randomSeed) { re = r; limit = threshold; seed = randomSeed; app = appender!(Char[])(); compose(); } uint rand(uint x) { uint r = gen.front % x; gen.popFront(); return r; } void compose() { uint pc = 0, counter = 0, dataLenOld = uint.max; for(;;) { switch(re.ir[pc].code) { case IR.Char: formattedWrite(app,"%s", cast(dchar)re.ir[pc].data); pc += IRL!(IR.Char); break; case IR.OrChar: uint len = re.ir[pc].sequence; formattedWrite(app, "%s", cast(dchar)re.ir[pc + rand(len)].data); pc += len; break; case IR.CodepointSet: case IR.Trie: auto set = re.charsets[re.ir[pc].data]; auto x = rand(set.ivals.length/2); auto y = rand(set.ivals[x*2+1] - set.ivals[2*x]); formattedWrite(app, "%s", cast(dchar)(set.ivals[2*x]+y)); pc += IRL!(IR.CodepointSet); break; case IR.Any: uint x; do { x = rand(0x11_000); }while(x == '\r' || x == '\n' || !isValidDchar(x)); formattedWrite(app, "%s", cast(dchar)x); pc += IRL!(IR.Any); break; case IR.GotoEndOr: pc += IRL!(IR.GotoEndOr)+re.ir[pc].data; assert(re.ir[pc].code == IR.OrEnd); goto case; case IR.OrEnd: pc += IRL!(IR.OrEnd); break; case IR.OrStart: pc += IRL!(IR.OrStart); goto case; case IR.Option: uint next = pc + re.ir[pc].data + IRL!(IR.Option); uint nOpt = 0; //queue next Option while(re.ir[next].code == IR.Option) { nOpt++; next += re.ir[next].data + IRL!(IR.Option); } nOpt++; nOpt = rand(nOpt); for(;nOpt; nOpt--) { pc += re.ir[pc].data + IRL!(IR.Option); } assert(re.ir[pc].code == IR.Option); pc += IRL!(IR.Option); break; case IR.RepeatStart:case IR.RepeatQStart: pc += IRL!(IR.RepeatStart)+re.ir[pc].data; goto case IR.RepeatEnd; case IR.RepeatEnd: case IR.RepeatQEnd: uint len = re.ir[pc].data; uint step = re.ir[pc+2].raw; uint min = re.ir[pc+3].raw; if(counter < min) { counter += step; pc -= len; break; } uint max = re.ir[pc+4].raw; if(counter < max) { if(app.data.length < limit && rand(3) > 0) { pc -= len; counter += step; } else { counter = counter%step; pc += IRL!(IR.RepeatEnd); } } else { counter = counter%step; pc += IRL!(IR.RepeatEnd); } break; case IR.InfiniteStart, IR.InfiniteQStart: pc += re.ir[pc].data + IRL!(IR.InfiniteStart); goto case IR.InfiniteEnd; //both Q and non-Q case IR.InfiniteEnd: case IR.InfiniteQEnd: uint len = re.ir[pc].data; if(app.data.length == dataLenOld) { pc += IRL!(IR.InfiniteEnd); break; } dataLenOld = app.data.length; if(app.data.length < limit && rand(3) > 0) pc = pc - len; else pc = pc + IRL!(IR.InfiniteEnd); break; case IR.GroupStart, IR.GroupEnd: pc += IRL!(IR.GroupStart); break; case IR.Bol, IR.Wordboundary, IR.Notwordboundary: case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: default: return; } } } @property Char[] front() { return app.data; } @property empty(){ return false; } void popFront() { app.shrinkTo(0); compose(); } } /++ A $(D StaticRegex) is $(D Regex) object that contains specially generated machine code to speed up matching. Implicitly convertible to normal $(D Regex), however doing so will result in losing this additional capability. +/ public struct StaticRegex(Char) { private: alias BacktrackingMatcher!(true) Matcher; alias bool function(ref Matcher!Char) MatchFn; MatchFn nativeFn; public: Regex!Char _regex; alias _regex this; this(Regex!Char re, MatchFn fn) { _regex = re; nativeFn = fn; } } //utility for shiftOr, returns a minimum number of bytes to test in a Char uint effectiveSize(Char)() { static if(is(Char == char)) return 1; else static if(is(Char == wchar)) return 2; else static if(is(Char == dchar)) return 3; else static assert(0); } /* Kickstart engine using ShiftOr algorithm, a bit parallel technique for inexact string searching. */ struct ShiftOr(Char) { private: uint[] table; uint fChar; uint n_length; enum charSize = effectiveSize!Char(); //maximum number of chars in CodepointSet to process enum uint charsetThreshold = 32_000; static struct ShiftThread { uint[] tab; uint mask; uint idx; uint pc, counter, hops; this(uint newPc, uint newCounter, uint[] table) { pc = newPc; counter = newCounter; mask = 1; idx = 0; hops = 0; tab = table; } void setMask(uint idx, uint mask) { tab[idx] |= mask; } void setInvMask(uint idx, uint mask) { tab[idx] &= ~mask; } void set(alias setBits = setInvMask)(dchar ch) { static if(charSize == 3) { uint val = ch, tmask = mask; setBits(val&0xFF, tmask); tmask <<= 1; val >>= 8; setBits(val&0xFF, tmask); tmask <<= 1; val >>= 8; assert(val <= 0x10); setBits(val, tmask); tmask <<= 1; } else { Char[dchar.sizeof/Char.sizeof] buf; uint tmask = mask; size_t total = encode(buf, ch); for(size_t i = 0; i < total; i++, tmask<<=1) { static if(charSize == 1) setBits(buf[i], tmask); else static if(charSize == 2) { setBits(buf[i]&0xFF, tmask); tmask <<= 1; setBits(buf[i]>>8, tmask); } } } } void add(dchar ch){ return set!setInvMask(ch); } void advance(uint s) { mask <<= s; idx += s; } @property bool full(){ return !mask; } } static ShiftThread fork(ShiftThread t, uint newPc, uint newCounter) { ShiftThread nt = t; nt.pc = newPc; nt.counter = newCounter; return nt; } @trusted static ShiftThread fetch(ref ShiftThread[] worklist) { auto t = worklist[$-1]; worklist.length -= 1; if(!__ctfe) worklist.assumeSafeAppend(); return t; } static uint charLen(uint ch) { assert(ch <= 0x10FFFF); return codeLength!Char(cast(dchar)ch)*charSize; } public: @trusted this(const ref Regex!Char re, uint[] memory) { assert(memory.length == 256); fChar = uint.max; L_FindChar: for(size_t i = 0;;) { switch(re.ir[i].code) { case IR.Char: fChar = re.ir[i].data; static if(charSize != 3) { Char buf[dchar.sizeof/Char.sizeof]; encode(buf, fChar); fChar = buf[0]; } fChar = fChar & 0xFF; break L_FindChar; case IR.GroupStart, IR.GroupEnd: i += IRL!(IR.GroupStart); break; case IR.Bol, IR.Wordboundary, IR.Notwordboundary: i += IRL!(IR.Bol); break; default: break L_FindChar; } } table = memory; table[] = uint.max; ShiftThread[] trs; ShiftThread t = ShiftThread(0, 0, table); //locate first fixed char if any n_length = 32; for(;;) { L_Eval_Thread: for(;;) { switch(re.ir[t.pc].code) { case IR.Char: uint s = charLen(re.ir[t.pc].data); if(t.idx+s > n_length) goto L_StopThread; t.add(re.ir[t.pc].data); t.advance(s); t.pc += IRL!(IR.Char); break; case IR.OrChar://assumes IRL!(OrChar) == 1 uint len = re.ir[t.pc].sequence; uint end = t.pc + len; uint[Bytecode.maxSequence] s; uint numS; for(uint i = 0; i < len; i++) { auto x = charLen(re.ir[t.pc+i].data); if(countUntil(s[0..numS], x) < 0) s[numS++] = x; } for(uint i = t.pc; i < end; i++) { t.add(re.ir[i].data); } for(uint i = 0; i < numS; i++) { auto tx = fork(t, t.pc + len, t.counter); if(tx.idx + s[i] <= n_length) { tx.advance(s[i]); trs ~= tx; } } if(!trs.empty) t = fetch(trs); else goto L_StopThread; break; case IR.CodepointSet: case IR.Trie: auto set = re.charsets[re.ir[t.pc].data]; uint[4] s; uint numS; static if(charSize == 3) { s[0] = charSize; numS = 1; } else { static if(charSize == 1) static immutable codeBounds = [0x0, 0x7F, 0x80, 0x7FF, 0x800, 0xFFFF, 0x10000, 0x10FFFF]; else //== 2 static immutable codeBounds = [0x0, 0xFFFF, 0x10000, 0x10FFFF]; auto srange = assumeSorted!"a <= b"(set.ivals); for(uint i = 0; i < codeBounds.length/2; i++) { auto start = srange.lowerBound(codeBounds[2*i]).length; auto end = srange.lowerBound(codeBounds[2*i+1]).length; if(end > start || (end == start && (end & 1))) s[numS++] = (i+1)*charSize; } } if(numS == 0 || t.idx + s[numS-1] > n_length) goto L_StopThread; auto chars = set.chars; if(chars > charsetThreshold) goto L_StopThread; foreach(ch; set[]) { //avoid surrogate pairs if(0xD800 <= ch && ch <= 0xDFFF) continue; t.add(ch); } for(uint i = 0; i < numS; i++) { auto tx = fork(t, t.pc + IRL!(IR.CodepointSet), t.counter); tx.advance(s[i]); trs ~= tx; } if(!trs.empty) t = fetch(trs); else goto L_StopThread; break; case IR.Any: goto L_StopThread; case IR.GotoEndOr: t.pc += IRL!(IR.GotoEndOr)+re.ir[t.pc].data; assert(re.ir[t.pc].code == IR.OrEnd); goto case; case IR.OrEnd: t.pc += IRL!(IR.OrEnd); break; case IR.OrStart: t.pc += IRL!(IR.OrStart); goto case; case IR.Option: uint next = t.pc + re.ir[t.pc].data + IRL!(IR.Option); //queue next Option if(re.ir[next].code == IR.Option) { trs ~= fork(t, next, t.counter); } t.pc += IRL!(IR.Option); break; case IR.RepeatStart:case IR.RepeatQStart: t.pc += IRL!(IR.RepeatStart)+re.ir[t.pc].data; goto case IR.RepeatEnd; case IR.RepeatEnd: case IR.RepeatQEnd: uint len = re.ir[t.pc].data; uint step = re.ir[t.pc+2].raw; uint min = re.ir[t.pc+3].raw; if(t.counter < min) { t.counter += step; t.pc -= len; break; } uint max = re.ir[t.pc+4].raw; if(t.counter < max) { trs ~= fork(t, t.pc - len, t.counter + step); t.counter = t.counter%step; t.pc += IRL!(IR.RepeatEnd); } else { t.counter = t.counter%step; t.pc += IRL!(IR.RepeatEnd); } break; case IR.InfiniteStart, IR.InfiniteQStart: t.pc += re.ir[t.pc].data + IRL!(IR.InfiniteStart); goto case IR.InfiniteEnd; //both Q and non-Q case IR.InfiniteEnd: case IR.InfiniteQEnd: uint len = re.ir[t.pc].data; uint pc1, pc2; //branches to take in priority order if(++t.hops == 32) goto L_StopThread; pc1 = t.pc + IRL!(IR.InfiniteEnd); pc2 = t.pc - len; trs ~= fork(t, pc2, t.counter); t.pc = pc1; break; case IR.GroupStart, IR.GroupEnd: t.pc += IRL!(IR.GroupStart); break; case IR.Bol, IR.Wordboundary, IR.Notwordboundary: t.pc += IRL!(IR.Bol); break; case IR.LookaheadStart, IR.NeglookaheadStart, IR.LookbehindStart, IR.NeglookbehindStart: t.pc += IRL!(IR.LookaheadStart) + IRL!(IR.LookaheadEnd) + re.ir[t.pc].data; break; default: L_StopThread: assert(re.ir[t.pc].code >= 0x80, text(re.ir[t.pc].code)); debug (fred_search) writeln("ShiftOr stumbled on ",re.ir[t.pc].mnemonic); n_length = min(t.idx, n_length); break L_Eval_Thread; } } if(trs.empty) break; t = fetch(trs); } debug(fred_search) { writeln("Min length: ", n_length); } } @property bool empty() const { return n_length == 0; } @property uint length() const{ return n_length/charSize; } // lookup compatible bit pattern in haystack, return starting index // has a useful trait: if supplied with valid UTF indexes, // returns only valid UTF indexes // (that given the haystack in question is valid UTF string) @trusted size_t search(const(Char)[] haystack, size_t idx) {//@BUG: apparently assumes little endian machines assert(!empty); auto p = cast(const(ubyte)*)(haystack.ptr+idx); uint state = uint.max; uint limit = 1u<<(n_length - 1u); debug(fred_search) writefln("Limit: %32b",limit); if(fChar != uint.max) { const(ubyte)* end = cast(ubyte*)(haystack.ptr + haystack.length); const orginalAlign = cast(size_t)p & (Char.sizeof-1); while(p != end) { if(!~state) {//speed up seeking first matching place for(;;) { assert(p <= end, text(p," vs ", end)); p = cast(ubyte*)memchr(p, fChar, end - p); if(!p) return haystack.length; if((cast(size_t)p & (Char.sizeof-1)) == orginalAlign) break; if(++p == end) return haystack.length; } state = ~1u; assert((cast(size_t)p & (Char.sizeof-1)) == orginalAlign); static if(charSize == 3) { state = (state<<1) | table[p[1]]; state = (state<<1) | table[p[2]]; p += 4; } else p++; //first char is tested, see if that's all if(!(state & limit)) return (p-cast(ubyte*)haystack.ptr)/Char.sizeof -length; } else {//have some bits/states for possible matches, //use the usual shift-or cycle static if(charSize == 3) { state = (state<<1) | table[p[0]]; state = (state<<1) | table[p[1]]; state = (state<<1) | table[p[2]]; p += 4; } else { state = (state<<1) | table[p[0]]; p++; } if(!(state & limit)) return (p-cast(ubyte*)haystack.ptr)/Char.sizeof -length; } debug(fred_search) writefln("State: %32b", state); } } else { //normal path, partially unrolled for char/wchar static if(charSize == 3) { const(ubyte)* end = cast(ubyte*)(haystack.ptr + haystack.length); while(p != end) { state = (state<<1) | table[p[0]]; state = (state<<1) | table[p[1]]; state = (state<<1) | table[p[2]]; p += 4; if(!(state & limit))//division rounds down for dchar return (p-cast(ubyte*)haystack.ptr)/Char.sizeof -length; } } else { auto len = cast(ubyte*)(haystack.ptr + haystack.length) - p; size_t i = 0; if(len & 1) { state = (state<<1) | table[p[i++]]; if(!(state & limit)) return idx+i/Char.sizeof-length; } while(i < len) { state = (state<<1) | table[p[i++]]; if(!(state & limit)) return idx+i/Char.sizeof -length; state = (state<<1) | table[p[i++]]; if(!(state & limit)) return idx+i/Char.sizeof -length; debug(fred_search) writefln("State: %32b", state); } } } return haystack.length; } @system debug static void dump(uint[] table) {//@@@BUG@@@ writef(ln) is @system import std.stdio; for(size_t i = 0; i < table.length; i += 4) { writefln("%32b %32b %32b %32b",table[i], table[i+1], table[i+2], table[i+3]); } } } unittest { @trusted void test_fixed(alias Kick)() { foreach(i, v; TypeTuple!(char, wchar, dchar)) { alias v Char; alias immutable(v)[] String; auto r = regex(to!String(`abc$`)); auto kick = Kick!Char(r, new uint[256]); assert(kick.length == 3, text(Kick.stringof," ",v.stringof, " == ", kick.length)); auto r2 = regex(to!String(`(abc){2}a+`)); kick = Kick!Char(r2, new uint[256]); assert(kick.length == 7, text(Kick.stringof,v.stringof," == ", kick.length)); auto r3 = regex(to!String(`\b(a{2}b{3}){2,4}`)); kick = Kick!Char(r3, new uint[256]); assert(kick.length == 10, text(Kick.stringof,v.stringof," == ", kick.length)); auto r4 = regex(to!String(`\ba{2}c\bxyz`)); kick = Kick!Char(r4, new uint[256]); assert(kick.length == 6, text(Kick.stringof,v.stringof, " == ", kick.length)); auto r5 = regex(to!String(`\ba{2}c\b`)); kick = Kick!Char(r5, new uint[256]); size_t x = kick.search("aabaacaa", 0); assert(x == 3, text(Kick.stringof,v.stringof," == ", kick.length)); x = kick.search("aabaacaa", x+1); assert(x == 8, text(Kick.stringof,v.stringof," == ", kick.length)); } } @trusted void test_flex(alias Kick)() { foreach(i, v;TypeTuple!(char, wchar, dchar)) { alias v Char; alias immutable(v)[] String; auto r = regex(to!String(`abc[a-z]`)); auto kick = Kick!Char(r, new uint[256]); auto x = kick.search(to!String("abbabca"), 0); assert(x == 3, text("real x is ", x, " ",v.stringof)); auto r2 = regex(to!String(`(ax|bd|cdy)`)); String s2 = to!String("abdcdyabax"); kick = Kick!Char(r2, new uint[256]); x = kick.search(s2, 0); assert(x == 1, text("real x is ", x)); x = kick.search(s2, x+1); assert(x == 3, text("real x is ", x)); x = kick.search(s2, x+1); assert(x == 8, text("real x is ", x)); auto rdot = regex(to!String(`...`)); kick = Kick!Char(rdot, new uint[256]); assert(kick.length == 0); auto rN = regex(to!String(`a(b+|c+)x`)); kick = Kick!Char(rN, new uint[256]); assert(kick.length == 3); assert(kick.search("ababx",0) == 2); assert(kick.search("abaacba",0) == 3);//expected inexact } } test_fixed!(ShiftOr)(); test_flex!(ShiftOr)(); } alias ShiftOr Kickstart; //Simple UTF-string abstraction compatible with stream interface struct Input(Char) if(is(Char :dchar)) { alias size_t DataIndex; alias const(Char)[] String; String _origin; size_t _index; //constructs Input object out of plain string this(String input, size_t idx = 0) { _origin = input; _index = idx; } //codepoint at current stream position bool nextChar(ref dchar res, ref size_t pos) { pos = _index; if(_index == _origin.length) return false; res = std.utf.decode(_origin, _index); return true; } @property bool atEnd(){ return _index == _origin.length; } bool search(Kickstart)(ref Kickstart kick, ref dchar res, ref size_t pos) { size_t idx = kick.search(_origin, _index); _index = idx; return nextChar(res, pos); } //index of at End position @property size_t lastIndex(){ return _origin.length; } //support for backtracker engine, might not be present void reset(size_t index){ _index = index; } String opSlice(size_t start, size_t end){ return _origin[start..end]; } struct BackLooper { alias size_t DataIndex; String _origin; size_t _index; this(Input input, size_t index) { _origin = input._origin; _index = index; } @trusted bool nextChar(ref dchar res,ref size_t pos) { pos = _index; if(_index == 0) return false; res = _origin[0.._index].back; _index -= std.utf.strideBack(_origin, _index); return true; } @property atEnd(){ return _index == 0 || _index == std.utf.strideBack(_origin, _index); } auto loopBack(size_t index){ return Input(_origin, index); } //support for backtracker engine, might not be present //void reset(size_t index){ _index = index ? index-std.utf.strideBack(_origin, index) : 0; } void reset(size_t index){ _index = index; } String opSlice(size_t start, size_t end){ return _origin[end..start]; } //index of at End position @property size_t lastIndex(){ return 0; } } auto loopBack(size_t index){ return BackLooper(this, index); } } //both helperd below are internal, on its own are quite "explosive" //unsafe, no initialization of elements @system T[] mallocArray(T)(size_t len) { return (cast(T*)malloc(len*T.sizeof))[0..len]; } //very unsafe, no initialization @system T[] arrayInChunk(T)(size_t len, ref void[] chunk) { auto ret = (cast(T*)chunk.ptr)[0..len]; chunk = chunk[len*T.sizeof..$]; return ret; } /+ BacktrackingMatcher implements backtracking scheme of matching regular expressions. +/ template BacktrackingMatcher(bool CTregex) { @trusted struct BacktrackingMatcher(Char, Stream = Input!Char) if(is(Char : dchar)) { alias Stream.DataIndex DataIndex; struct State {//top bit in pc is set if saved along with matches DataIndex index; uint pc, counter, infiniteNesting; } static assert(State.sizeof % size_t.sizeof == 0); enum stateSize = State.sizeof / size_t.sizeof; enum initialStack = 1<<16; alias const(Char)[] String; static if(CTregex) alias StaticRegex!Char RegEx; else alias Regex!Char RegEx; RegEx re; //regex program //Stream state Stream s; DataIndex index; dchar front; bool exhausted; //backtracking machine state uint pc, counter; DataIndex lastState = 0; //top of state stack DataIndex[] trackers; static if(!CTregex) uint infiniteNesting; size_t[] memory; //local slice of matches, global for backref Group!DataIndex[] matches, backrefed; static if(__traits(hasMember,Stream, "search")) { enum kicked = true; } else enum kicked = false; static size_t initialMemory(const ref RegEx re) { return (re.ngroup+1)*DataIndex.sizeof //trackers + stackSize(re)*size_t.sizeof; } static size_t stackSize(const ref RegEx re) { return initialStack*(stateSize + re.ngroup*(Group!DataIndex).sizeof/size_t.sizeof)+1; } @property bool atStart(){ return index == 0; } @property bool atEnd(){ return index == s.lastIndex && s.atEnd; } void next() { if(!s.nextChar(front, index)) index = s.lastIndex; } void search() { static if(kicked) { if(!s.search(re.kickstart, front, index)) { index = s.lastIndex; } } else next(); } // void newStack() { auto chunk = mallocArray!(size_t)(stackSize(re)); chunk[0] = cast(size_t)(memory.ptr); memory = chunk[1..$]; } void initExternalMemory(void[] memBlock) { trackers = arrayInChunk!(DataIndex)(re.ngroup+1, memBlock); memory = cast(size_t[])memBlock; memory[0] = 0; //hidden pointer memory = memory[1..$]; } void initialize(ref RegEx program, Stream stream, void[] memBlock) { re = program; s = stream; exhausted = false; initExternalMemory(memBlock); backrefed = null; } auto dupTo(void[] memory) { typeof(this) tmp = this; tmp.initExternalMemory(memory); return tmp; } // this(ref RegEx program, Stream stream, void[] memBlock) { initialize(program, stream, memBlock); next(); } // this(ref RegEx program, Stream stream, void[] memBlock, dchar ch, DataIndex idx) { initialize(program, stream, memBlock); front = ch; index = idx; } // bool matchFinalize() { size_t start = index; if(matchImpl()) {//stream is updated here matches[0].begin = start; matches[0].end = index; if(!(re.flags & RegexOption.global) || atEnd) exhausted = true; if(start == index)//empty match advances input next(); return true; } else return false; } //lookup next match, fill matches with indices into input bool match(Group!DataIndex matches[]) { debug(fred_matching) { writeln("------------------------------------------"); } if(exhausted) //all matches collected return false; this.matches = matches; if(re.flags & RegexInfo.oneShot) { exhausted = true; DataIndex start = index; auto m = matchImpl(); if(m) { matches[0].begin = start; matches[0].end = index; } return m; } static if(kicked) auto searchFn = re.kickstart.empty ? &this.next :&this.search; else auto searchFn = &this.next; for(;;) { if(matchFinalize()) return true; else { if(atEnd) break; searchFn(); if(atEnd) { exhausted = true; return matchFinalize(); } } } exhausted = true; return false; } /+ match subexpression against input, results are stored in matches +/ bool matchImpl() { static if(CTregex && is(typeof(re.nativeFn(this)))) { if(re.nativeFn) { version(fred_ct) debug writeln("using C-T matcher"); return re.nativeFn(this); } } else { pc = 0; counter = 0; lastState = 0; infiniteNesting = -1;//intentional auto start = s._index; debug(fred_matching) writeln("Try match starting at ", s[index..s.lastIndex]); for(;;) { debug(fred_matching) writefln("PC: %s\tCNT: %s\t%s \tfront: %s src: %s" , pc, counter, disassemble(re.ir, pc, re.dict) , front, s._index); switch(re.ir[pc].code) { case IR.OrChar://assumes IRL!(OrChar) == 1 if(atEnd) goto L_backtrack; uint len = re.ir[pc].sequence; uint end = pc + len; if(re.ir[pc].data != front && re.ir[pc+1].data != front) { for(pc = pc+2; pc < end; pc++) if(re.ir[pc].data == front) break; if(pc == end) goto L_backtrack; } pc = end; next(); break; case IR.Char: if(atEnd || front != re.ir[pc].data) goto L_backtrack; pc += IRL!(IR.Char); next(); break; case IR.Any: if(atEnd || (!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n'))) goto L_backtrack; pc += IRL!(IR.Any); next(); break; case IR.CodepointSet: if(atEnd || !re.charsets[re.ir[pc].data].scanFor(front)) goto L_backtrack; next(); pc += IRL!(IR.CodepointSet); break; case IR.Trie: if(atEnd || !re.tries[re.ir[pc].data][front]) goto L_backtrack; next(); pc += IRL!(IR.Trie); break; case IR.Wordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { pc += IRL!(IR.Wordboundary); break; } else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) { pc += IRL!(IR.Wordboundary); break; } else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { pc += IRL!(IR.Wordboundary); break; } } goto L_backtrack; case IR.Notwordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) goto L_backtrack; else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) goto L_backtrack; else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) goto L_backtrack; } pc += IRL!(IR.Wordboundary); break; case IR.Bol: dchar back; DataIndex bi; if(atStart) pc += IRL!(IR.Bol); else if((re.flags & RegexOption.multiline) && s.loopBack(index).nextChar(back,bi) && endOfLine(back, front == '\n')) { pc += IRL!(IR.Bol); } else goto L_backtrack; break; case IR.Eol: dchar back; DataIndex bi; debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); //no matching inside \r\n if(atEnd || ((re.flags & RegexOption.multiline) && endOfLine(front, s.loopBack(index).nextChar(back,bi) && back == '\r'))) { pc += IRL!(IR.Eol); } else goto L_backtrack; break; case IR.InfiniteStart, IR.InfiniteQStart: trackers[infiniteNesting+1] = index; pc += re.ir[pc].data + IRL!(IR.InfiniteStart); //now pc is at end IR.Infininite(Q)End uint len = re.ir[pc].data; int test; if(re.ir[pc].code == IR.InfiniteEnd) { test = quickTestFwd(pc+IRL!(IR.InfiniteEnd), front, re); if(test >= 0) pushState(pc+IRL!(IR.InfiniteEnd), counter); infiniteNesting++; pc -= len; } else { test = quickTestFwd(pc - len, front, re); if(test >= 0) { infiniteNesting++; pushState(pc - len, counter); infiniteNesting--; } pc += IRL!(IR.InfiniteEnd); } break; case IR.RepeatStart, IR.RepeatQStart: pc += re.ir[pc].data + IRL!(IR.RepeatStart); break; case IR.RepeatEnd: case IR.RepeatQEnd: //len, step, min, max uint len = re.ir[pc].data; uint step = re.ir[pc+2].raw; uint min = re.ir[pc+3].raw; uint max = re.ir[pc+4].raw; if(counter < min) { counter += step; pc -= len; } else if(counter < max) { if(re.ir[pc].code == IR.RepeatEnd) { pushState(pc + IRL!(IR.RepeatEnd), counter%step); counter += step; pc -= len; } else { pushState(pc - len, counter + step); counter = counter%step; pc += IRL!(IR.RepeatEnd); } } else { counter = counter%step; pc += IRL!(IR.RepeatEnd); } break; case IR.InfiniteEnd: case IR.InfiniteQEnd: uint len = re.ir[pc].data; debug(fred_matching) writeln("Infinited nesting:", infiniteNesting); assert(infiniteNesting < trackers.length); if(trackers[infiniteNesting] == index) {//source not consumed pc += IRL!(IR.InfiniteEnd); infiniteNesting--; break; } else trackers[infiniteNesting] = index; int test; if(re.ir[pc].code == IR.InfiniteEnd) { test = quickTestFwd(pc+IRL!(IR.InfiniteEnd), front, re); if(test >= 0) { infiniteNesting--; pushState(pc + IRL!(IR.InfiniteEnd), counter); infiniteNesting++; } pc -= len; } else { test = quickTestFwd(pc-len, front, re); if(test >= 0) pushState(pc-len, counter); pc += IRL!(IR.InfiniteEnd); infiniteNesting--; } break; case IR.OrEnd: pc += IRL!(IR.OrEnd); break; case IR.OrStart: pc += IRL!(IR.OrStart); goto case; case IR.Option: uint len = re.ir[pc].data; if(re.ir[pc+len].code == IR.GotoEndOr)//not a last one { pushState(pc + len + IRL!(IR.Option), counter); //remember 2nd branch } pc += IRL!(IR.Option); break; case IR.GotoEndOr: pc = pc + re.ir[pc].data + IRL!(IR.GotoEndOr); break; case IR.GroupStart: uint n = re.ir[pc].data; matches[n].begin = index; debug(fred_matching) writefln("IR group #%u starts at %u", n, index); pc += IRL!(IR.GroupStart); break; case IR.GroupEnd: uint n = re.ir[pc].data; matches[n].end = index; debug(fred_matching) writefln("IR group #%u ends at %u", n, index); pc += IRL!(IR.GroupEnd); break; case IR.LookaheadStart: case IR.NeglookaheadStart: uint len = re.ir[pc].data; auto save = index; uint ms = re.ir[pc+1].raw, me = re.ir[pc+2].raw; auto mem = malloc(initialMemory(re))[0..initialMemory(re)]; scope(exit) free(mem.ptr); auto matcher = BacktrackingMatcher(re, s, mem, front, index); matcher.matches = matches[ms .. me]; matcher.backrefed = backrefed.empty ? matches : backrefed; matcher.re.ir = re.ir[pc+IRL!(IR.LookaheadStart) .. pc+IRL!(IR.LookaheadStart)+len+IRL!(IR.LookaheadEnd)]; bool match = matcher.matchImpl() ^ (re.ir[pc].code == IR.NeglookaheadStart); s.reset(save); next(); if(!match) goto L_backtrack; else { pc += IRL!(IR.LookaheadStart)+len+IRL!(IR.LookaheadEnd); } break; case IR.LookbehindStart: case IR.NeglookbehindStart: uint len = re.ir[pc].data; uint ms = re.ir[pc+1].raw, me = re.ir[pc+2].raw; auto mem = malloc(initialMemory(re))[0..initialMemory(re)]; scope(exit) free(mem.ptr); auto backMatcher = BacktrackingMatcher!(Char, typeof(s.loopBack(index)))(re, s.loopBack(index), mem); backMatcher.matches = matches[ms .. me]; backMatcher.re.ir = re.ir[pc .. pc+IRL!(IR.LookbehindStart)+len]; backMatcher.backrefed = backrefed.empty ? matches : backrefed; bool match = backMatcher.matchBackImpl() ^ (re.ir[pc].code == IR.NeglookbehindStart); if(!match) goto L_backtrack; else { pc += IRL!(IR.LookbehindStart)+len+IRL!(IR.LookbehindEnd); } break; case IR.Backref: uint n = re.ir[pc].data; auto referenced = re.ir[pc].localRef ? s[matches[n].begin .. matches[n].end] : s[backrefed[n].begin .. backrefed[n].end]; while(!atEnd && !referenced.empty && front == referenced.front) { next(); referenced.popFront(); } if(referenced.empty) pc++; else goto L_backtrack; break; case IR.Nop: pc += IRL!(IR.Nop); break; case IR.LookaheadEnd: case IR.NeglookaheadEnd: case IR.End: return true; default: assert(0); L_backtrack: if(!popState()) { s.reset(start); return false; } } } } assert(0); } @property size_t stackAvail() { return memory.length - lastState; } bool prevStack() { size_t* prev = memory.ptr-1; prev = cast(size_t*)*prev;//take out hidden pointer if(!prev) return false; free(memory.ptr);//last segment is freed in RegexMatch immutable size = initialStack*(stateSize + 2*re.ngroup); memory = prev[0..size]; lastState = size; return true; } void stackPush(T)(T val) if(!isDynamicArray!T) { *cast(T*)&memory[lastState] = val; enum delta = (T.sizeof+size_t.sizeof/2)/size_t.sizeof; lastState += delta; debug(fred_matching) writeln("push element SP= ", lastState); } void stackPush(T)(T[] val) { static assert(T.sizeof % size_t.sizeof == 0); (cast(T*)&memory[lastState])[0..val.length] = val[0..$]; lastState += val.length*(T.sizeof/size_t.sizeof); debug(fred_matching) writeln("push array SP= ", lastState); } void stackPop(T)(ref T val) if(!isDynamicArray!T) { enum delta = (T.sizeof+size_t.sizeof/2)/size_t.sizeof; lastState -= delta; val = *cast(T*)&memory[lastState]; debug(fred_matching) writeln("pop element SP= ", lastState); } void stackPop(T)(T[] val) { stackPop(val); // call ref version } void stackPop(T)(ref T[] val) { lastState -= val.length*(T.sizeof/size_t.sizeof); val[0..$] = (cast(T*)&memory[lastState])[0..val.length]; debug(fred_matching) writeln("pop array SP= ", lastState); } static if(!CTregex) { //helper function, saves engine state void pushState(uint pc, uint counter) { if(stateSize + matches.length > stackAvail) { newStack(); lastState = 0; } *cast(State*)&memory[lastState] = State(index, pc, counter, infiniteNesting); lastState += stateSize; memory[lastState..lastState+2*matches.length] = (cast(size_t[])matches)[]; lastState += 2*matches.length; debug(fred_matching) writefln("Saved(pc=%s) front: %s src: %s" , pc, front, s[index..s.lastIndex]); } //helper function, restores engine state bool popState() { if(!lastState) return prevStack(); lastState -= 2*matches.length; auto pm = cast(size_t[])matches; pm[] = memory[lastState .. lastState+2*matches.length]; lastState -= stateSize; State* state = cast(State*)&memory[lastState]; index = state.index; pc = state.pc; counter = state.counter; infiniteNesting = state.infiniteNesting; debug(fred_matching) { writefln("Restored matches", front, s[index .. s.lastIndex]); foreach(i, m; matches) writefln("Sub(%d) : %s..%s", i, m.begin, m.end); } s.reset(index); next(); debug(fred_matching) writefln("Backtracked (pc=%s) front: %s src: %s" , pc, front, s[index..s.lastIndex]); return true; } /+ Match subexpression against input, executing re.ir backwards. Results are stored in matches +/ bool matchBackImpl() { pc = cast(uint)re.ir.length-1; counter = 0; lastState = 0; infiniteNesting = -1;//intentional auto start = index; debug(fred_matching) writeln("Try matchBack at ",retro(s[index..s.lastIndex])); for(;;) { debug(fred_matching) writefln("PC: %s\tCNT: %s\t%s \tfront: %s src: %s" , pc, counter, disassemble(re.ir, pc, re.dict) , front, retro(s[index..s.lastIndex])); switch(re.ir[pc].code) { case IR.OrChar://assumes IRL!(OrChar) == 1 if(atEnd) goto L_backtrack; uint len = re.ir[pc].sequence; uint end = pc - len; if(re.ir[pc].data != front && re.ir[pc-1].data != front) { for(pc = pc-2; pc > end; pc--) if(re.ir[pc].data == front) break; if(pc == end) goto L_backtrack; } pc = end; next(); break; case IR.Char: if(atEnd || front != re.ir[pc].data) goto L_backtrack; pc--; next(); break; case IR.Any: if(atEnd || (!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n'))) goto L_backtrack; pc--; next(); break; case IR.CodepointSet: if(atEnd || !re.charsets[re.ir[pc].data].scanFor(front)) goto L_backtrack; next(); pc--; break; case IR.Trie: if(atEnd || !re.tries[re.ir[pc].data][front]) goto L_backtrack; next(); pc--; break; case IR.Wordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { pc--; break; } else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) { pc--; break; } else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { pc--; break; } } goto L_backtrack; case IR.Notwordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) goto L_backtrack; else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) goto L_backtrack; else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) goto L_backtrack; } pc--; break; case IR.Bol: dchar back; DataIndex bi; if(atStart) pc--; else if((re.flags & RegexOption.multiline) && s.loopBack(index).nextChar(back,bi) && endOfLine(back, front == '\n')) { pc--; } else goto L_backtrack; break; case IR.Eol: dchar back; DataIndex bi; debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); //no matching inside \r\n if((re.flags & RegexOption.multiline) && s.loopBack(index).nextChar(back,bi) && endOfLine(front, back == '\r')) { pc -= IRL!(IR.Eol); } else goto L_backtrack; break; case IR.InfiniteStart, IR.InfiniteQStart: uint len = re.ir[pc].data; assert(infiniteNesting < trackers.length); if(trackers[infiniteNesting] == index) {//source not consumed pc--; //out of loop infiniteNesting--; break; } else trackers[infiniteNesting] = index; if(re.ir[pc].code == IR.InfiniteStart)//greedy { infiniteNesting--; pushState(pc-1, counter);//out of loop infiniteNesting++; pc += len; } else { pushState(pc+len, counter); pc--; infiniteNesting--; } break; case IR.InfiniteEnd: case IR.InfiniteQEnd://now it's a start uint len = re.ir[pc].data; trackers[infiniteNesting+1] = index; pc -= len+IRL!(IR.InfiniteStart); assert(re.ir[pc].code == IR.InfiniteStart || re.ir[pc].code == IR.InfiniteQStart); debug(fred_matching) writeln("(backmatch) Infinite nesting:", infiniteNesting); if(re.ir[pc].code == IR.InfiniteStart)//greedy { pushState(pc-1, counter); infiniteNesting++; pc += len; } else { infiniteNesting++; pushState(pc + len, counter); infiniteNesting--; pc--; } break; case IR.RepeatStart, IR.RepeatQStart: uint len = re.ir[pc].data; uint tail = pc + len + 1; uint step = re.ir[tail+2].raw; uint min = re.ir[tail+3].raw; uint max = re.ir[tail+4].raw; if(counter < min) { counter += step; pc += len; } else if(counter < max) { if(re.ir[pc].code == IR.RepeatStart)//greedy { pushState(pc-1, counter%step); counter += step; pc += len; } else { pushState(pc + len, counter + step); counter = counter%step; pc--; } } else { counter = counter%step; pc--; } break; case IR.RepeatEnd: case IR.RepeatQEnd: pc -= re.ir[pc].data+IRL!(IR.RepeatStart); assert(re.ir[pc].code == IR.RepeatStart || re.ir[pc].code == IR.RepeatQStart); goto case IR.RepeatStart; case IR.OrEnd: uint len = re.ir[pc].data; pc -= len; assert(re.ir[pc].code == IR.Option); len = re.ir[pc].data; auto pc_save = pc+len-IRL!(IR.GotoEndOr); pc = pc + len + IRL!(IR.Option); while(re.ir[pc].code == IR.Option) { pushState(pc-IRL!(IR.GotoEndOr)-1, counter); len = re.ir[pc].data; pc += len + IRL!(IR.Option); } assert(re.ir[pc].code == IR.OrEnd); pc--; if(pc != pc_save) { pushState(pc, counter); pc = pc_save; } break; case IR.OrStart: assert(0); case IR.Option: assert(re.ir[pc].code == IR.Option); pc += re.ir[pc].data + IRL!(IR.Option); if(re.ir[pc].code == IR.Option) { pc--;//hackish, assumes size of IR.Option == 1 if(re.ir[pc].code == IR.GotoEndOr) { pc += re.ir[pc].data + IRL!(IR.GotoEndOr); } } assert(re.ir[pc].code == IR.OrEnd); pc -= re.ir[pc].data + IRL!(IR.OrStart)+1; break; case IR.GotoEndOr: assert(0); case IR.GroupStart: uint n = re.ir[pc].data; matches[n].begin = index; debug(fred_matching) writefln("IR group #%u starts at %u", n, index); pc --; break; case IR.GroupEnd: uint n = re.ir[pc].data; matches[n].end = index; debug(fred_matching) writefln("IR group #%u ends at %u", n, index); pc --; break; case IR.LookaheadStart: case IR.NeglookaheadStart: assert(0); case IR.LookaheadEnd: case IR.NeglookaheadEnd: uint len = re.ir[pc].data; pc -= len + IRL!(IR.LookaheadStart); uint ms = re.ir[pc+1].raw, me = re.ir[pc+2].raw; auto mem = malloc(initialMemory(re))[0..initialMemory(re)]; scope(exit) free(mem.ptr); auto matcher = BacktrackingMatcher!(Char, typeof(s.loopBack(index)))(re, s.loopBack(index), mem); matcher.matches = matches[ms .. me]; matcher.backrefed = backrefed.empty ? matches : backrefed; matcher.re.ir = re.ir[pc+IRL!(IR.LookaheadStart) .. pc+IRL!(IR.LookaheadStart)+len+IRL!(IR.LookaheadEnd)]; bool match = matcher.matchImpl() ^ (re.ir[pc].code == IR.NeglookaheadStart); if(!match) goto L_backtrack; else { pc --; } break; case IR.LookbehindEnd: case IR.NeglookbehindEnd: uint len = re.ir[pc].data; pc -= len + IRL!(IR.LookbehindStart); auto save = index; uint ms = re.ir[pc+1].raw, me = re.ir[pc+2].raw; auto mem = malloc(initialMemory(re))[0..initialMemory(re)]; scope(exit) free(mem.ptr); auto matcher = BacktrackingMatcher(re, s, mem, front, index); matcher.re.ngroup = me - ms; matcher.matches = matches[ms .. me]; matcher.backrefed = backrefed.empty ? matches : backrefed; matcher.re.ir = re.ir[pc .. pc+IRL!(IR.LookbehindStart)+len]; bool match = matcher.matchBackImpl() ^ (re.ir[pc].code == IR.NeglookbehindStart); s.reset(save); next(); if(!match) goto L_backtrack; else { pc --; } break; case IR.Backref: uint n = re.ir[pc].data; auto referenced = re.ir[pc].localRef ? s[matches[n].begin .. matches[n].end] : s[backrefed[n].begin .. backrefed[n].end]; while(!atEnd && !referenced.empty && front == referenced.front) { next(); referenced.popFront(); } if(referenced.empty) pc--; else goto L_backtrack; break; case IR.Nop: pc --; break; case IR.LookbehindStart: case IR.NeglookbehindStart: return true; default: assert(re.ir[pc].code < 0x80); pc --; //data break; L_backtrack: if(!popState()) { s.reset(start); return false; } } } return true; } } } } //very shitty string formatter, $$ replaced with next argument converted to string @trusted string ctSub( U...)(string format, U args) { bool seenDollar; foreach(i, ch; format) { if(ch == '$') { if(seenDollar) { static if(args.length > 0) { return format[0..i-1] ~ to!string(args[0]) ~ ctSub(format[i+1..$], args[1..$]); } else assert(0); } else seenDollar = true; } else seenDollar = false; } return format; } //generate code for TypeTuple(S, S+1, S+2, ... E) @system string ctGenSeq(int S, int E) { string s = "alias TypeTuple!("; if(S < E) s ~= to!string(S); for(int i = S+1; i < E;i++) { s ~= ", "; s ~= to!string(i); } return s ~") Sequence;"; } //alias to TypeTuple(S, S+1, S+2, ... E) template Sequence(int S, int E) { mixin(ctGenSeq(S,E)); } struct CtContext { //dirty flags bool counter, infNesting; int nInfLoops; // to make a unique advancement counter per loop int match, total_matches; //state of codegenerator struct CtState { string code; int addr; } this(Char)(Regex!Char re) { match = 1; total_matches = re.ngroup; } //restore state having current context string restoreCode() { string text; //stack is checked in L_backtrack text ~= counter ? " stackPop(counter);" : " counter = 0;"; if(match < total_matches) { text ~= ctSub(" stackPop(matches[1..$$]);", match); text ~= ctSub(" matches[$$..$] = typeof(matches[0]).init;", match); } else text ~= " stackPop(matches[1..$]);"; return text; } //save state having current context string saveCode(uint pc, string count_expr="counter") { string text = ctSub(" if(stackAvail < $$*(Group!(DataIndex)).sizeof/size_t.sizeof + $$) { newStack(); lastState = 0; }", match-1, cast(int)counter + 2); if(match < total_matches) text ~= ctSub(" stackPush(matches[1..$$]);", match); else text ~= " stackPush(matches[1..$]);"; text ~= counter ? ctSub(" stackPush($$);", count_expr) : ""; text ~= ctSub(" stackPush(index); stackPush($$); \n", pc); return text; } // CtState ctGenBlock(Bytecode[] ir, int addr) { CtState result; result.addr = addr; while(!ir.empty) { auto n = ctGenGroup(ir, result.addr); result.code ~= n.code; result.addr = n.addr; } return result; } // CtState ctGenGroup(ref Bytecode[] ir, int addr) { CtState r; assert(!ir.empty); switch(ir[0].code) { case IR.InfiniteStart, IR.InfiniteQStart, IR.RepeatStart, IR.RepeatQStart: bool infLoop = ir[0].code == IR.InfiniteStart || ir[0].code == IR.InfiniteQStart; infNesting = infNesting || infLoop; if(infLoop) nInfLoops++; counter = counter || ir[0].code == IR.RepeatStart || ir[0].code == IR.RepeatQStart; uint len = ir[0].data; auto nir = ir[ir[0].length .. ir[0].length+len]; r = ctGenBlock(nir, addr+1); //start/end codegen //r.addr is at last test+ jump of loop, addr+1 is body of loop nir = ir[ir[0].length+len..$]; r.code = ctGenFixupCode(ir[0..ir[0].length], addr, r.addr) ~ r.code; r.code ~= ctGenFixupCode(nir, r.addr, addr+1); r.addr += 2; //account end instruction + restore state ir = nir; break; case IR.OrStart: uint len = ir[0].data; auto nir = ir[ir[0].length .. ir[0].length+len]; r = ctGenAlternation(nir, addr); ir = ir[ir[0].length+len..$]; assert(ir[0].code == IR.OrEnd); ir = ir[ir[0].length..$]; break; default: assert(ir[0].isAtom, text(ir[0].mnemonic)); r = ctGenAtom(ir, addr); } return r; } //generate source for bytecode contained in OrStart ... OrEnd CtState ctGenAlternation(Bytecode[] ir, int addr) { CtState[] pieces; CtState r; enum optL = IRL!(IR.Option); for(;;) { assert(ir[0].code == IR.Option); auto len = ir[0].data; auto nir = ir[optL .. optL+len-IRL!(IR.GotoEndOr)]; if(optL+len < ir.length && ir[optL+len].code == IR.Option)//not a last option { r = ctGenBlock(nir, addr+2);//space for Option + restore state //r.addr+1 to account GotoEndOr at end of branch r.code = ctGenFixupCode(ir[0 .. ir[0].length], addr, r.addr+1) ~ r.code; addr = r.addr+1;//leave space for GotoEndOr pieces ~= r; ir = ir[optL+len..$]; } else { pieces ~= ctGenBlock(ir[optL..$], addr); addr = pieces[$-1].addr; break; } } r = pieces[0]; for(uint i = 1; i < pieces.length; i++) { r.code ~= ctSub(` case $$: goto case $$; `, pieces[i-1].addr, addr); r.code ~= pieces[i].code; } r.addr = addr; return r; } // generate fixup code for instruction in ir, // fixup means it has an alternative way for control flow string ctGenFixupCode(Bytecode[] ir, int addr, int fixup) { return ctGenFixupCode(ir, addr, fixup); // call ref Bytecode[] version } string ctGenFixupCode(ref Bytecode[] ir, int addr, int fixup) { string r; string testCode; r = ctSub(` case $$: debug(fred_matching) writeln("$$");`, addr, addr); switch(ir[0].code) { case IR.InfiniteStart, IR.InfiniteQStart: r ~= ctSub( ` tracker_$$ = DataIndex.max; goto case $$;`, nInfLoops-1, fixup); ir = ir[ir[0].length..$]; break; case IR.InfiniteEnd: testCode = ctQuickTest(ir[IRL!(IR.InfiniteEnd)..$],addr+1); r ~= ctSub( ` if(tracker_$$ == index) {//source not consumed goto case $$; } tracker_$$ = index; $$ { $$ } goto case $$; case $$: //restore state and go out of loop $$ goto case;`, nInfLoops-1, addr+2 , nInfLoops-1, testCode, saveCode(addr+1) , fixup, addr+1, restoreCode()); ir = ir[ir[0].length..$]; break; case IR.InfiniteQEnd: testCode = ctQuickTest(ir[IRL!(IR.InfiniteEnd)..$],addr+1); r ~= ctSub( ` if(tracker_$$ == index) {//source not consumed goto case $$; } tracker_$$ = index; $$ { $$ goto case $$; } else goto case $$; case $$://restore state and go inside loop $$ goto case $$;`, nInfLoops-1, addr+2, nInfLoops-1 , testCode, saveCode(addr+1) , addr+2, fixup, addr+1, restoreCode(), fixup); ir = ir[ir[0].length..$]; break; case IR.RepeatStart, IR.RepeatQStart: r ~= ctSub( ` goto case $$;`, fixup); ir = ir[ir[0].length..$]; break; case IR.RepeatEnd, IR.RepeatQEnd: //len, step, min, max uint len = ir[0].data; uint step = ir[2].raw; uint min = ir[3].raw; uint max = ir[4].raw; r ~= ctSub(` if(counter < $$) { debug(fred_matching) writeln("RepeatEnd min case pc=", $$); counter += $$; goto case $$; }`, min, addr, step, fixup); if(ir[0].code == IR.RepeatEnd) { string counter_expr = ctSub("counter % $$", step); r ~= ctSub(` else if(counter < $$) { $$ counter += $$; goto case $$; }`, max, saveCode(addr+1, counter_expr), step, fixup); } else { string counter_expr = ctSub("counter % $$", step); r ~= ctSub(` else if(counter < $$) { $$ counter = counter % $$; goto case $$; }`, max, saveCode(addr+1,counter_expr), step, addr+2); } r ~= ctSub(` else { counter = counter % $$; goto case $$; } case $$: //restore state $$ goto case $$;`, step, addr+2, addr+1, restoreCode() , ir[0].code == IR.RepeatEnd ? addr+2 : fixup ); ir = ir[ir[0].length..$]; break; case IR.Option: r ~= ctSub( ` { $$ } goto case $$; case $$://restore thunk to go to the next group $$ goto case $$;`, saveCode(addr+1), addr+2 , addr+1, restoreCode(), fixup); ir = ir[ir[0].length..$]; break; default: assert(0, text(ir[0].mnemonic)); } return r; } string ctQuickTest(Bytecode[] ir, int id) { uint pc = 0; while(pc < ir.length && ir[pc].isAtom) { if(ir[pc].code == IR.GroupStart || ir[pc].code == IR.GroupEnd) { pc++; } else { auto code = ctAtomCode(ir[pc..$], -1); return ctSub(` int test_$$() { $$ //$$ } if(test_$$() >= 0)`, id, code ? code : "return 0;" , ir[pc].mnemonic, id); } } return ""; } //process & generate source for simple bytecodes at front of ir using address addr CtState ctGenAtom(ref Bytecode[] ir, int addr) { CtState result; result.code = ctAtomCode(ir, addr); ir.popFrontN(ir[0].code == IR.OrChar ? ir[0].sequence : ir[0].length); result.addr = addr + 1; return result; } //D code for atom at ir using address addr, addr < 0 means quickTest string ctAtomCode(Bytecode[] ir, int addr) { string code; string bailOut, nextInstr; if(addr < 0) { bailOut = "return -1;"; nextInstr = "return 0;"; } else { bailOut = "goto L_backtrack;"; nextInstr = ctSub("goto case $$;", addr+1); code ~= ctSub( ` case $$: debug(fred_matching) writeln("#$$"); `, addr, addr); } switch(ir[0].code) { case IR.OrChar://assumes IRL!(OrChar) == 1 code ~= ctSub(` if(atEnd) $$`, bailOut); uint len = ir[0].sequence; for(uint i = 0; i < len; i++) { code ~= ctSub( ` if(front == $$) { $$ $$ }`, ir[i].data, addr >= 0 ? "next();" :"", nextInstr); } code ~= ctSub( ` $$`, bailOut); break; case IR.Char: code ~= ctSub( ` if(atEnd || front != $$) $$ $$ $$`, ir[0].data, bailOut, addr >= 0 ? "next();" :"", nextInstr); break; case IR.Any: code ~= ctSub( ` if(atEnd || (!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n'))) $$ $$ $$`, bailOut, addr >= 0 ? "next();" :"",nextInstr); break; case IR.CodepointSet: code ~= ctSub( ` if(atEnd || !re.charsets[$$].scanFor(front)) $$ $$ $$`, ir[0].data, bailOut, addr >= 0 ? "next();" :"", nextInstr); break; case IR.Trie: code ~= ctSub( ` if(atEnd || !re.tries[$$][front]) $$ $$ $$`, ir[0].data, bailOut, addr >= 0 ? "next();" :"", nextInstr); break; case IR.Wordboundary: code ~= ctSub( ` dchar back; DataIndex bi; if(atStart && wordTrie[front]) { $$ } else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) { $$ } else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { $$ } } $$` , nextInstr, nextInstr, nextInstr, bailOut); break; case IR.Notwordboundary: code ~= ctSub( ` dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) $$ else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) $$ else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) $$ } $$`, bailOut, bailOut, bailOut, nextInstr); break; case IR.Bol: code ~= ctSub(` dchar back; DataIndex bi; if(atStart || ((re.flags & RegexOption.multiline) && s.loopBack(index).nextChar(back,bi) && endOfLine(back, front == '\n'))) { $$ } else $$`, nextInstr, bailOut); break; case IR.Eol: code ~= ctSub(` dchar back; DataIndex bi; debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); //no matching inside \r\n if(atEnd || ((re.flags & RegexOption.multiline) && s.loopBack(index).nextChar(back,bi) && endOfLine(front, back == '\r'))) { $$ } else $$`, nextInstr, bailOut); break; case IR.GroupStart: code ~= ctSub(` matches[$$].begin = index; $$`, ir[0].data, nextInstr); match = ir[0].data+1; break; case IR.GroupEnd: code ~= ctSub(` matches[$$].end = index; $$`, ir[0].data, nextInstr); break; case IR.Backref: string mStr = ir[0].localRef ? ctSub("matches[$$].begin .. matches[$$].end];", ir[0].data, ir[0].data) : ctSub("s[backrefed[$$].begin .. backrefed[$$].end];",ir[0].data, ir[0].data); code ~= ctSub( ` $$ while(!atEnd && !referenced.empty && front == referenced.front) { next(); referenced.popFront(); } if(referenced.empty) $$ else $$`, mStr, nextInstr, bailOut); break; case IR.Nop: case IR.End: break; default: assert(0, text(ir[0].mnemonic, "is not supported yet")); } return code; } //generate D code for the whole regex public string ctGenRegEx(Char)(ref Regex!Char re) { auto bdy = ctGenBlock(re.ir, 0); auto r = ` with(matcher) { pc = 0; counter = 0; lastState = 0; auto start = s._index;`; for(int i = 0; i < nInfLoops; i++) r ~= ctSub(` size_t tracker_$$;`, i); r ~= ` goto StartLoop; debug(fred_matching) writeln("Try CT matching starting at ",s[index..s.lastIndex]); L_backtrack: if(lastState || prevStack()) { stackPop(pc); stackPop(index); s.reset(index); next(); } else { s.reset(start); return false; } StartLoop: switch(pc) { `; r ~= bdy.code; r ~= ctSub(` case $$: break;`,bdy.addr); r ~= ` default: assert(0); } return true; } `; return r; } } string ctGenRegExCode(Char)(Regex!Char re) { auto context = CtContext(re); return context.ctGenRegEx(re); } //State of VM thread struct Thread(DataIndex) { Thread* next; //intrusive linked list uint pc; uint counter; //loop counter uint uopCounter; //counts micro operations inside one macro instruction (e.g. BackRef) Group!DataIndex[1] matches; } //head-tail singly-linked list struct ThreadList(DataIndex) { Thread!DataIndex* tip = null, toe = null; //add new thread to the start of list void insertFront(Thread!DataIndex* t) { if(tip) { t.next = tip; tip = t; } else { t.next = null; tip = toe = t; } } //add new thread to the end of list void insertBack(Thread!DataIndex* t) { if(toe) { toe.next = t; toe = t; } else tip = toe = t; toe.next = null; } //move head element out of list Thread!DataIndex* fetch() { auto t = tip; if(tip == toe) tip = toe = null; else tip = tip.next; return t; } //non-destructive iteration of ThreadList struct ThreadRange { const(Thread!DataIndex)* ct; this(ThreadList tlist){ ct = tlist.tip; } @property bool empty(){ return ct is null; } @property const(Thread!DataIndex)* front(){ return ct; } @property popFront() { assert(ct); ct = ct.next; } } @property bool empty() { return tip == null; } ThreadRange opSlice() { return ThreadRange(this); } } //direction parameter for thompson one-shot match evaluator enum OneShot { Fwd, Bwd }; /+ Thomspon matcher does all matching in lockstep, never looking at the same char twice +/ @trusted struct ThompsonMatcher(Char, Stream = Input!Char) if(is(Char : dchar)) { alias Stream.DataIndex DataIndex; Thread!DataIndex* freelist; ThreadList!DataIndex clist, nlist; DataIndex[] merge; Group!DataIndex[] backrefed; Regex!Char re; //regex program Stream s; dchar front; DataIndex index; DataIndex genCounter; //merge trace counter, goes up on every dchar size_t threadSize; bool matched; bool exhausted; static if(__traits(hasMember,Stream, "search")) { enum kicked = true; } else enum kicked = false; static size_t getThreadSize(const ref Regex!Char re) { return re.ngroup ? (Thread!DataIndex).sizeof + (re.ngroup-1)*(Group!DataIndex).sizeof : (Thread!DataIndex).sizeof - (Group!DataIndex).sizeof; } static size_t initialMemory(const ref Regex!Char re) { return getThreadSize(re)*re.threadCount + re.hotspotTableSize*size_t.sizeof; } //true if it's start of input @property bool atStart(){ return index == 0; } //true if it's end of input @property bool atEnd(){ return index == s.lastIndex && s.atEnd; } bool next() { if(!s.nextChar(front, index)) { index = s.lastIndex; return false; } return true; } static if(kicked) { bool search() { if(!s.search(re.kickstart, front, index)) { index = s.lastIndex; return false; } return true; } } void initExternalMemory(void[] memory) { threadSize = getThreadSize(re); prepareFreeList(re.threadCount, memory); if(re.hotspotTableSize) { merge = arrayInChunk!(DataIndex)(re.hotspotTableSize, memory); merge[] = 0; } } this()(Regex!Char program, Stream stream, void[] memory) { re = program; s = stream; initExternalMemory(memory); genCounter = 0; } this(S)(ref ThompsonMatcher!(Char,S) matcher, Bytecode[] piece, Stream stream) { s = stream; re = matcher.re; re.ir = piece; threadSize = matcher.threadSize; merge = matcher.merge; genCounter = matcher.genCounter; freelist = matcher.freelist; } auto dupTo(void[] memory) { typeof(this) tmp = this;//bitblit tmp.initExternalMemory(memory); tmp.genCounter = 0; return tmp; } enum MatchResult{ NoMatch, PartialMatch, Match, } //match the input and fill matches bool match(Group!DataIndex[] matches) { debug(fred_matching) writeln("------------------------------------------"); if(exhausted) { return false; } if(re.flags & RegexInfo.oneShot) { next(); exhausted = true; return matchOneShot!(OneShot.Fwd)(matches)==MatchResult.Match; } static if(kicked) auto searchFn = re.kickstart.empty ? &this.next : &this.search; else auto searchFn = &this.next; if((!matched) && clist.empty) { searchFn(); } else//char in question is fetched in prev call to match { matched = false; } if(!atEnd)//if no char for(;;) { genCounter++; debug(fred_matching) { writefln("Threaded matching threads at %s", s[index..s.lastIndex]); foreach(t; clist[]) { assert(t); writef("pc=%s ",t.pc); write(t.matches); writeln(); } } for(Thread!DataIndex* t = clist.fetch(); t; t = clist.fetch()) { eval!true(t, matches); } if(!matched)//if we already have match no need to push the engine eval!true(createStart(index), matches);//new thread staring at this position else if(nlist.empty) { debug(fred_matching) writeln("Stopped matching before consuming full input"); break;//not a partial match for sure } clist = nlist; nlist = (ThreadList!DataIndex).init; if(clist.tip is null) { if(!searchFn()) break; } else if(!next()) { if (!atEnd) return false; exhausted = true; break; } } genCounter++; //increment also on each end debug(fred_matching) writefln("Threaded matching threads at end"); //try out all zero-width posibilities for(Thread!DataIndex* t = clist.fetch(); t; t = clist.fetch()) { eval!false(t, matches); } if(!matched) eval!false(createStart(index), matches);//new thread starting at end of input if(matched) {//in case NFA found match along the way //and last possible longer alternative ultimately failed s.reset(matches[0].end);//reset to last successful match next();//and reload front character //--- here the exact state of stream was restored --- exhausted = atEnd || !(re.flags & RegexOption.global); //+ empty match advances the input if(!exhausted && matches[0].begin == matches[0].end) next(); } return matched; } /+ handle succesful threads +/ void finish(const(Thread!DataIndex)* t, Group!DataIndex[] matches) { matches.ptr[0..re.ngroup] = t.matches.ptr[0..re.ngroup]; debug(fred_matching) { writef("FOUND pc=%s prog_len=%s", t.pc, re.ir.length); if(!matches.empty) writefln(": %s..%s", matches[0].begin, matches[0].end); foreach(v; matches) writefln("%d .. %d", v.begin, v.end); } matched = true; } /+ match thread against codepoint, cutting trough all 0-width instructions and taking care of control flow, then add it to nlist +/ void eval(bool withInput)(Thread!DataIndex* t, Group!DataIndex[] matches) { ThreadList!DataIndex worklist; debug(fred_matching) writeln("---- Evaluating thread"); for(;;) { debug(fred_matching) { writef("\tpc=%s [", t.pc); foreach(x; worklist[]) writef(" %s ", x.pc); writeln("]"); } switch(re.ir[t.pc].code) { case IR.End: finish(t, matches); matches[0].end = index; //fix endpoint of the whole match recycle(t); //cut off low priority threads recycle(clist); recycle(worklist); debug(fred_matching) writeln("Finished thread ", matches); return; case IR.Wordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { t.pc += IRL!(IR.Wordboundary); break; } else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) { t.pc += IRL!(IR.Wordboundary); break; } else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { t.pc += IRL!(IR.Wordboundary); break; } } recycle(t); t = worklist.fetch(); if(!t) return; break; case IR.Notwordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { recycle(t); t = worklist.fetch(); if(!t) return; break; } else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) { recycle(t); t = worklist.fetch(); if(!t) return; break; } else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back] != 0; if(af ^ ab) { recycle(t); t = worklist.fetch(); if(!t) return; break; } } t.pc += IRL!(IR.Wordboundary); break; case IR.Bol: dchar back; DataIndex bi; if(atStart ||( (re.flags & RegexOption.multiline) && s.loopBack(index).nextChar(back,bi) && startOfLine(back, front == '\n'))) { t.pc += IRL!(IR.Bol); } else { recycle(t); t = worklist.fetch(); if(!t) return; } break; case IR.Eol: debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); dchar back; DataIndex bi; //no matching inside \r\n if(atEnd || ((re.flags & RegexOption.multiline) && endOfLine(front, s.loopBack(index).nextChar(back, bi) && back == '\r'))) { t.pc += IRL!(IR.Eol); } else { recycle(t); t = worklist.fetch(); if(!t) return; } break; case IR.InfiniteStart, IR.InfiniteQStart: t.pc += re.ir[t.pc].data + IRL!(IR.InfiniteStart); goto case IR.InfiniteEnd; //both Q and non-Q case IR.RepeatStart, IR.RepeatQStart: t.pc += re.ir[t.pc].data + IRL!(IR.RepeatStart); goto case IR.RepeatEnd; //both Q and non-Q case IR.RepeatEnd: case IR.RepeatQEnd: //len, step, min, max uint len = re.ir[t.pc].data; uint step = re.ir[t.pc+2].raw; uint min = re.ir[t.pc+3].raw; if(t.counter < min) { t.counter += step; t.pc -= len; break; } if(merge[re.ir[t.pc + 1].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); merge[re.ir[t.pc + 1].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); recycle(t); t = worklist.fetch(); if(!t) return; break; } uint max = re.ir[t.pc+4].raw; if(t.counter < max) { if(re.ir[t.pc].code == IR.RepeatEnd) { //queue out-of-loop thread worklist.insertFront(fork(t, t.pc + IRL!(IR.RepeatEnd), t.counter % step)); t.counter += step; t.pc -= len; } else { //queue into-loop thread worklist.insertFront(fork(t, t.pc - len, t.counter + step)); t.counter %= step; t.pc += IRL!(IR.RepeatEnd); } } else { t.counter %= step; t.pc += IRL!(IR.RepeatEnd); } break; case IR.InfiniteEnd: case IR.InfiniteQEnd: if(merge[re.ir[t.pc + 1].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); merge[re.ir[t.pc + 1].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); recycle(t); t = worklist.fetch(); if(!t) return; break; } uint len = re.ir[t.pc].data; uint pc1, pc2; //branches to take in priority order if(re.ir[t.pc].code == IR.InfiniteEnd) { pc1 = t.pc - len; pc2 = t.pc + IRL!(IR.InfiniteEnd); } else { pc1 = t.pc + IRL!(IR.InfiniteEnd); pc2 = t.pc - len; } static if(withInput) { int test = quickTestFwd(pc1, front, re); if(test >= 0) { worklist.insertFront(fork(t, pc2, t.counter)); t.pc = pc1; } else t.pc = pc2; } else { worklist.insertFront(fork(t, pc2, t.counter)); t.pc = pc1; } break; case IR.OrEnd: if(merge[re.ir[t.pc + 1].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, s[index..s.lastIndex], genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); merge[re.ir[t.pc + 1].raw+t.counter] = genCounter; t.pc += IRL!(IR.OrEnd); } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, s[index..s.lastIndex], genCounter, merge[re.ir[t.pc + 1].raw+t.counter] ); recycle(t); t = worklist.fetch(); if(!t) return; } break; case IR.OrStart: t.pc += IRL!(IR.OrStart); goto case; case IR.Option: uint next = t.pc + re.ir[t.pc].data + IRL!(IR.Option); //queue next Option if(re.ir[next].code == IR.Option) { worklist.insertFront(fork(t, next, t.counter)); } t.pc += IRL!(IR.Option); break; case IR.GotoEndOr: t.pc = t.pc + re.ir[t.pc].data + IRL!(IR.GotoEndOr); goto case IR.OrEnd; case IR.GroupStart: uint n = re.ir[t.pc].data; t.matches.ptr[n].begin = index; t.pc += IRL!(IR.GroupStart); break; case IR.GroupEnd: uint n = re.ir[t.pc].data; t.matches.ptr[n].end = index; t.pc += IRL!(IR.GroupEnd); break; case IR.Backref: uint n = re.ir[t.pc].data; Group!DataIndex* source = re.ir[t.pc].localRef ? t.matches.ptr : backrefed.ptr; assert(source); if(source[n].begin == source[n].end)//zero-width Backref! { t.pc += IRL!(IR.Backref); } else static if(withInput) { size_t idx = source[n].begin + t.uopCounter; size_t end = source[n].end; if(s[idx..end].front == front) { t.uopCounter += std.utf.stride(s[idx..end], 0); if(t.uopCounter + source[n].begin == source[n].end) {//last codepoint t.pc += IRL!(IR.Backref); t.uopCounter = 0; } nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); if(!t) return; break; } else { recycle(t); t = worklist.fetch(); if(!t) return; break; } break; case IR.LookbehindStart: case IR.NeglookbehindStart: auto matcher = ThompsonMatcher!(Char, typeof(s.loopBack(index))) (this, re.ir[t.pc..t.pc+re.ir[t.pc].data+IRL!(IR.LookbehindStart)], s.loopBack(index)); matcher.re.ngroup = re.ir[t.pc+2].raw - re.ir[t.pc+1].raw; matcher.backrefed = backrefed.empty ? t.matches : backrefed; //backMatch matcher.next(); //load first character from behind bool match = (matcher.matchOneShot!(OneShot.Bwd)(t.matches)==MatchResult.Match) ^ (re.ir[t.pc].code == IR.LookbehindStart); freelist = matcher.freelist; genCounter = matcher.genCounter; if(match) { recycle(t); t = worklist.fetch(); if(!t) return; break; } else t.pc += re.ir[t.pc].data + IRL!(IR.LookbehindStart) + IRL!(IR.LookbehindEnd); break; case IR.LookaheadEnd: case IR.NeglookaheadEnd: t.pc = re.ir[t.pc].indexOfPair(t.pc); assert(re.ir[t.pc].code == IR.LookaheadStart || re.ir[t.pc].code == IR.NeglookaheadStart); uint ms = re.ir[t.pc+1].raw, me = re.ir[t.pc+2].raw; finish(t, matches.ptr[ms..me]); recycle(t); //cut off low priority threads recycle(clist); recycle(worklist); return; case IR.LookaheadStart: case IR.NeglookaheadStart: auto save = index; uint len = re.ir[t.pc].data; uint ms = re.ir[t.pc+1].raw, me = re.ir[t.pc+2].raw; bool positive = re.ir[t.pc].code == IR.LookaheadStart; auto matcher = ThompsonMatcher(this, re.ir[t.pc .. t.pc+len+IRL!(IR.LookaheadEnd)+IRL!(IR.LookaheadStart)], s); matcher.front = front; matcher.index = index; matcher.re.ngroup = me - ms; matcher.backrefed = backrefed.empty ? t.matches : backrefed; bool nomatch = (matcher.matchOneShot!(OneShot.Fwd)(t.matches, IRL!(IR.LookaheadStart)) == MatchResult.Match) ^ positive; freelist = matcher.freelist; genCounter = matcher.genCounter; s.reset(index); next(); if(nomatch) { recycle(t); t = worklist.fetch(); if(!t) return; break; } else t.pc += len + IRL!(IR.LookaheadEnd) + IRL!(IR.LookaheadStart); break; case IR.LookbehindEnd: case IR.NeglookbehindEnd: assert(0); case IR.Nop: t.pc += IRL!(IR.Nop); break; static if(withInput) { case IR.OrChar: uint len = re.ir[t.pc].sequence; uint end = t.pc + len; static assert(IRL!(IR.OrChar) == 1); for(; t.pc < end; t.pc++) if(re.ir[t.pc].data == front) break; if(t.pc != end) { t.pc = end; nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); if(!t) return; break; case IR.Char: if(front == re.ir[t.pc].data) { t.pc += IRL!(IR.Char); nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); if(!t) return; break; case IR.Any: t.pc += IRL!(IR.Any); if(!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n')) recycle(t); else nlist.insertBack(t); t = worklist.fetch(); if(!t) return; break; case IR.CodepointSet: if(re.charsets[re.ir[t.pc].data].scanFor(front)) { t.pc += IRL!(IR.CodepointSet); nlist.insertBack(t); } else { recycle(t); } t = worklist.fetch(); if(!t) return; break; case IR.Trie: if(re.tries[re.ir[t.pc].data][front]) { t.pc += IRL!(IR.Trie); nlist.insertBack(t); } else { recycle(t); } t = worklist.fetch(); if(!t) return; break; default: assert(0, "Unrecognized instruction " ~ re.ir[t.pc].mnemonic); } else { default: recycle(t); t = worklist.fetch(); if(!t) return; } } } } enum uint RestartPc = uint.max; //match the input, evaluating IR without searching MatchResult matchOneShot(OneShot direction)(Group!DataIndex[] matches, uint startPc = 0) { debug(fred_matching) { writefln("---------------single shot match %s----------------- ", direction == OneShot.Fwd ? "forward" : "backward"); } static if(direction == OneShot.Fwd) alias eval evalFn; else alias evalBack evalFn; assert(clist == (ThreadList!DataIndex).init || startPc == RestartPc); // incorrect after a partial match assert(nlist == (ThreadList!DataIndex).init || startPc == RestartPc); static if(direction == OneShot.Fwd) startPc = startPc; else startPc = cast(uint)re.ir.length-IRL!(IR.LookbehindEnd); if(!atEnd)//if no char { debug(fred_matching) { static if(direction == OneShot.Fwd) writefln("-- Threaded matching (forward) threads at %s", s[index..s.lastIndex]); else writefln("-- Threaded matching (backward) threads at %s", retro(s[index..s.lastIndex])); } if(startPc!=RestartPc) { auto startT = createStart(index, startPc); genCounter++; evalFn!true(startT, matches); } for(;;) { debug(fred_matching) writeln("\n-- Started iteration of main cycle"); genCounter++; debug(fred_matching) { foreach(t; clist[]) { assert(t); } } for(Thread!DataIndex* t = clist.fetch(); t; t = clist.fetch()) { evalFn!true(t, matches); } if(nlist.empty) { debug(fred_matching) writeln("Stopped matching before consuming full input"); break;//not a partial match for sure } clist = nlist; nlist = (ThreadList!DataIndex).init; if(!next()) { if (!atEnd) return MatchResult.PartialMatch; break; } debug(fred_matching) writeln("-- Ended iteration of main cycle\n"); } } genCounter++; //increment also on each end debug(fred_matching) writefln("-- Threaded matching (%s) threads at end", direction == OneShot.Fwd ? "forward" : "backward"); //try out all zero-width posibilities for(Thread!DataIndex* t = clist.fetch(); t; t = clist.fetch()) { evalFn!false(t, matches); } if(!matched) evalFn!false(createStart(index, startPc), matches); return (matched?MatchResult.Match:MatchResult.NoMatch); } /+ a version of eval that executes IR backwards +/ void evalBack(bool withInput)(Thread!DataIndex* t, Group!DataIndex[] matches) { ThreadList!DataIndex worklist; debug(fred_matching) writeln("---- Evaluating thread backwards"); do { debug(fred_matching) { writef("\tpc=%s [", t.pc); foreach(x; worklist[]) writef(" %s ", x.pc); writeln("]"); } debug(fred_matching) writeln(disassemble(re.ir, t.pc)); switch(re.ir[t.pc].code) { case IR.Wordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { t.pc--; break; } else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) { t.pc--; break; } else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { t.pc--; break; } } recycle(t); t = worklist.fetch(); break; case IR.Notwordboundary: dchar back; DataIndex bi; //at start & end of input if(atStart && wordTrie[front]) { recycle(t); t = worklist.fetch(); break; } else if(atEnd && s.loopBack(index).nextChar(back, bi) && wordTrie[back]) { recycle(t); t = worklist.fetch(); break; } else if(s.loopBack(index).nextChar(back, bi)) { bool af = wordTrie[front]; bool ab = wordTrie[back]; if(af ^ ab) { recycle(t); t = worklist.fetch(); break; } } t.pc--; break; case IR.Bol: dchar back; DataIndex bi; if(atStart ||((re.flags & RegexOption.multiline) && s.loopBack(index).nextChar(back,bi) && startOfLine(back, front == '\n'))) { t.pc--; } else { recycle(t); t = worklist.fetch(); } break; case IR.Eol: debug(fred_matching) writefln("EOL (front 0x%x) %s", front, s[index..s.lastIndex]); dchar back; DataIndex bi; //no matching inside \r\n if((re.flags & RegexOption.multiline) && endOfLine(front, s.loopBack(index).nextChar(back, bi) && back == '\r')) { t.pc--; } else { recycle(t); t = worklist.fetch(); } break; case IR.InfiniteStart, IR.InfiniteQStart: uint len = re.ir[t.pc].data; uint mIdx = t.pc + len + IRL!(IR.InfiniteEnd); //we're always pointed at the tail of instruction if(merge[re.ir[mIdx].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[mIdx].raw+t.counter] ); merge[re.ir[mIdx].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[mIdx].raw+t.counter] ); recycle(t); t = worklist.fetch(); break; } if(re.ir[t.pc].code == IR.InfiniteStart)//greedy { worklist.insertFront(fork(t, t.pc-1, t.counter)); t.pc += len; } else { worklist.insertFront(fork(t, t.pc+len, t.counter)); t.pc--; } break; case IR.InfiniteEnd: case IR.InfiniteQEnd://now it's a start uint len = re.ir[t.pc].data; t.pc -= len+IRL!(IR.InfiniteStart); assert(re.ir[t.pc].code == IR.InfiniteStart || re.ir[t.pc].code == IR.InfiniteQStart); goto case IR.InfiniteStart; case IR.RepeatStart, IR.RepeatQStart: uint len = re.ir[t.pc].data; uint tail = t.pc + len + IRL!(IR.RepeatStart); uint step = re.ir[tail+2].raw; uint min = re.ir[tail+3].raw; if(t.counter < min) { t.counter += step; t.pc += len; break; } uint max = re.ir[tail+4].raw; if(merge[re.ir[tail+1].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[tail+1].raw+t.counter] ); merge[re.ir[tail+1].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[tail+1].raw+t.counter] ); recycle(t); t = worklist.fetch(); break; } if(t.counter < max) { if(re.ir[t.pc].code == IR.RepeatStart)//greedy { worklist.insertFront(fork(t, t.pc-1, t.counter%step)); t.counter += step; t.pc += len; } else { worklist.insertFront(fork(t, t.pc + len, t.counter + step)); t.counter = t.counter%step; t.pc--; } } else { t.counter = t.counter%step; t.pc--; } break; case IR.RepeatEnd: case IR.RepeatQEnd: t.pc -= re.ir[t.pc].data+IRL!(IR.RepeatStart); assert(re.ir[t.pc].code == IR.RepeatStart || re.ir[t.pc].code == IR.RepeatQStart); goto case IR.RepeatStart; case IR.OrEnd: uint len = re.ir[t.pc].data; t.pc -= len; assert(re.ir[t.pc].code == IR.Option); len = re.ir[t.pc].data; t.pc = t.pc + len; //to IR.GotoEndOr or just before IR.OrEnd break; case IR.OrStart: uint len = re.ir[t.pc].data; uint mIdx = t.pc + len + IRL!(IR.OrEnd); //should point to the end of OrEnd if(merge[re.ir[mIdx].raw+t.counter] < genCounter) { debug(fred_matching) writefln("A thread(t.pc=%s) passed there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[mIdx].raw+t.counter] ); merge[re.ir[mIdx].raw+t.counter] = genCounter; } else { debug(fred_matching) writefln("A thread(t.pc=%s) got merged there : %s ; GenCounter=%s mergetab=%s", t.pc, index, genCounter, merge[re.ir[mIdx].raw+t.counter] ); recycle(t); t = worklist.fetch(); break; } t.pc--; break; case IR.Option: assert(re.ir[t.pc].code == IR.Option); t.pc += re.ir[t.pc].data + IRL!(IR.Option); if(re.ir[t.pc].code == IR.Option) { t.pc--;//hackish, assumes size of IR.Option == 1 if(re.ir[t.pc].code == IR.GotoEndOr) { t.pc += re.ir[t.pc].data + IRL!(IR.GotoEndOr); } } assert(re.ir[t.pc].code == IR.OrEnd); t.pc -= re.ir[t.pc].data + 1; break; case IR.GotoEndOr: assert(re.ir[t.pc].code == IR.GotoEndOr); uint npc = t.pc+IRL!(IR.GotoEndOr); assert(re.ir[npc].code == IR.Option); worklist.insertFront(fork(t, npc + re.ir[npc].data, t.counter));//queue next branch t.pc--; break; case IR.GroupStart: uint n = re.ir[t.pc].data; t.matches.ptr[n].begin = index; t.pc--; break; case IR.GroupEnd: uint n = re.ir[t.pc].data; t.matches.ptr[n].end = index; t.pc--; break; case IR.Backref: uint n = re.ir[t.pc].data; auto source = re.ir[t.pc].localRef ? t.matches.ptr : backrefed.ptr; assert(source); if(source[n].begin == source[n].end)//zero-width Backref! { t.pc--; } else static if(withInput) { size_t idx = source[n].begin + t.uopCounter; size_t end = source[n].end; if(s[idx..end].front == front)//could be a BUG in backward matching { t.uopCounter += std.utf.stride(s[idx..end], 0); if(t.uopCounter + source[n].begin == source[n].end) {//last codepoint t.pc--; t.uopCounter = 0; } nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); } else { recycle(t); t = worklist.fetch(); } break; case IR.LookbehindStart: case IR.NeglookbehindStart: uint ms = re.ir[t.pc+1].raw, me = re.ir[t.pc+2].raw; finish(t, matches.ptr[ms .. me]); recycle(t); //cut off low priority threads recycle(clist); recycle(worklist); return; case IR.LookaheadStart: case IR.NeglookaheadStart: assert(0); case IR.LookaheadEnd: case IR.NeglookaheadEnd: uint len = re.ir[t.pc].data; t.pc -= len + IRL!(IR.LookaheadStart); bool positive = re.ir[t.pc].code == IR.LookaheadStart; auto matcher = ThompsonMatcher!(Char, typeof(s.loopBack(index))) (this , re.ir[t.pc .. t.pc+len+IRL!(IR.LookbehindStart)+IRL!(IR.LookbehindEnd)] , s.loopBack(index)); matcher.re.ngroup = re.ir[t.pc+2].raw - re.ir[t.pc+1].raw; matcher.backrefed = backrefed.empty ? t.matches : backrefed; matcher.next(); //fetch a char, since direction was reversed bool match = (matcher.matchOneShot!(OneShot.Fwd)(t.matches, IRL!(IR.LookaheadStart)) == MatchResult.Match) ^ positive; freelist = matcher.freelist; if(match) { recycle(t); t = worklist.fetch(); } else t.pc--; break; case IR.LookbehindEnd: case IR.NeglookbehindEnd: auto save = index; uint len = re.ir[t.pc].data; t.pc -= len + IRL!(IR.LookbehindStart); uint ms = re.ir[t.pc+1].raw, me = re.ir[t.pc+2].raw; bool positive = re.ir[t.pc].code == IR.LookbehindStart; auto matcher = ThompsonMatcher(this, re.ir[t.pc .. t.pc+len+IRL!(IR.LookbehindStart)], s); matcher.front = front; matcher.index = index; matcher.re.ngroup = me - ms; matcher.backrefed = backrefed.empty ? t.matches : backrefed; bool nomatch = (matcher.matchOneShot!(OneShot.Bwd)(t.matches) == MatchResult.Match) ^ positive; freelist = matcher.freelist; s.reset(index); next(); if(nomatch) { recycle(t); t = worklist.fetch(); if(!t) return; // } else t.pc--; break; case IR.Nop: t.pc--; break; static if(withInput) { case IR.OrChar://assumes IRL!(OrChar) == 1 uint len = re.ir[t.pc].sequence; uint end = t.pc - len; for(; t.pc > end; t.pc--) if(re.ir[t.pc].data == front) break; if(t.pc != end) { t.pc = end; nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); break; case IR.Char: if(front == re.ir[t.pc].data) { t.pc--; nlist.insertBack(t); } else recycle(t); t = worklist.fetch(); break; case IR.Any: t.pc--; if(!(re.flags & RegexOption.singleline) && (front == '\r' || front == '\n')) recycle(t); else nlist.insertBack(t); t = worklist.fetch(); break; case IR.CodepointSet: if(re.charsets[re.ir[t.pc].data].scanFor(front)) { t.pc--; nlist.insertBack(t); } else { recycle(t); } t = worklist.fetch(); break; case IR.Trie: if(re.tries[re.ir[t.pc].data][front]) { t.pc--; nlist.insertBack(t); } else { recycle(t); } t = worklist.fetch(); break; default: assert(re.ir[t.pc].code < 0x80, "Unrecognized instruction " ~ re.ir[t.pc].mnemonic); t.pc--; } else { default: if(re.ir[t.pc].code < 0x80) t.pc--; else { recycle(t); t = worklist.fetch(); } } } }while(t); } //get a dirty recycled Thread Thread!DataIndex* allocate() { assert(freelist, "not enough preallocated memory"); Thread!DataIndex* t = freelist; freelist = freelist.next; return t; } //link memory into a free list of Threads void prepareFreeList(size_t size, ref void[] memory) { void[] mem = memory[0 .. threadSize*size]; memory = memory[threadSize*size..$]; freelist = cast(Thread!DataIndex*)&mem[0]; size_t i; for(i = threadSize; i < threadSize*size; i += threadSize) (cast(Thread!DataIndex*)&mem[i-threadSize]).next = cast(Thread!DataIndex*)&mem[i]; (cast(Thread!DataIndex*)&mem[i-threadSize]).next = null; } //dispose a thread void recycle(Thread!DataIndex* t) { t.next = freelist; freelist = t; } //dispose list of threads void recycle(ref ThreadList!DataIndex list) { auto t = list.tip; while(t) { auto next = t.next; recycle(t); t = next; } list = list.init; } //creates a copy of master thread with given pc Thread!DataIndex* fork(Thread!DataIndex* master, uint pc, uint counter) { auto t = allocate(); t.matches.ptr[0..re.ngroup] = master.matches.ptr[0..re.ngroup]; t.pc = pc; t.counter = counter; t.uopCounter = 0; return t; } //creates a start thread Thread!DataIndex* createStart(DataIndex index, uint pc = 0) { auto t = allocate(); t.matches.ptr[0..re.ngroup] = (Group!DataIndex).init; t.matches[0].begin = index; t.pc = pc; t.counter = 0; t.uopCounter = 0; return t; } } /++ $(D Captures) object contains submatches captured during a call to $(D match) or iteration over $(D RegexMatch) range. First element of range is the whole match. Example, showing basic operations on $(D Captures): ---- import std.regex; import std.range; void main() { auto m = match("@abc#", regex(`(\w)(\w)(\w)`)); auto c = m.captures; assert(c.pre == "@"); // Part of input preceeding match assert(c.post == "#"); // Immediately after match assert(c.hit == c[0] && c.hit == "abc"); // The whole match assert(c[2] =="b"); assert(c.front == "abc"); c.popFront(); assert(c.front == "a"); assert(c.back == "c"); c.popBack(); assert(c.back == "b"); popFrontN(c, 2); assert(c.empty); } ---- +/ @trusted public struct Captures(R, DIndex = size_t) if(isSomeString!R) {//@trusted because of union inside alias DIndex DataIndex; alias R String; private: R _input; bool _empty; enum smallString = 3; union { Group!DataIndex[] big_matches; Group!DataIndex[smallString] small_matches; } uint f, b; uint ngroup; NamedGroup[] names; this(alias Engine)(ref RegexMatch!(R,Engine) rmatch) { _input = rmatch._input; ngroup = rmatch._engine.re.ngroup; names = rmatch._engine.re.dict; newMatches(); b = ngroup; f = 0; } @property Group!DataIndex[] matches() { return ngroup > smallString ? big_matches : small_matches[0..ngroup]; } void newMatches() { if(ngroup > smallString) big_matches = new Group!DataIndex[ngroup]; } public: ///Slice of input prior to the match. @property R pre() { return _empty ? _input[] : _input[0 .. matches[0].begin]; } ///Slice of input immediately after the match. @property R post() { return _empty ? _input[] : _input[matches[0].end .. $]; } ///Slice of matched portion of input. @property R hit() { assert(!_empty); return _input[matches[0].begin .. matches[0].end]; } ///Range interface. @property R front() { assert(!empty); return _input[matches[f].begin .. matches[f].end]; } ///ditto @property R back() { assert(!empty); return _input[matches[b-1].begin .. matches[b-1].end]; } ///ditto void popFront() { assert(!empty); ++f; } ///ditto void popBack() { assert(!empty); --b; } ///ditto @property bool empty() const { return _empty || f >= b; } ///ditto R opIndex()(size_t i) /*const*/ //@@@BUG@@@ { assert(f+i < b,text("requested submatch number ", i," is out of range")); assert(matches[f+i].begin <= matches[f+i].end, text("wrong match: ", matches[f+i].begin, "..", matches[f+i].end)); return _input[matches[f+i].begin..matches[f+i].end]; } /++ Lookup named submatch. --- import std.regex; import std.range; auto m = match("a = 42;", regex(`(?P<var>\w+)\s*=\s*(?P<value>\d+);`)); auto c = m.captures; assert(c["var"] == "a"); assert(c["value"] == "42"); popFrontN(c, 2); //named groups are unaffected by range primitives assert(c["var"] =="a"); assert(c.front == "42"); ---- +/ R opIndex(String)(String i) /*const*/ //@@@BUG@@@ if(isSomeString!String) { size_t index = lookupNamedGroup(names, i); return _input[matches[index].begin..matches[index].end]; } ///Number of matches in this object. @property size_t length() const { return _empty ? 0 : b-f; } ///A hook for compatibility with original std.regex. @property ref captures(){ return this; } } unittest//verify example { auto m = match("@abc#", regex(`(\w)(\w)(\w)`)); auto c = m.captures; assert(c.pre == "@");// part of input preceeding match assert(c.post == "#"); // immediately after match assert(c.hit == c[0] && c.hit == "abc");// the whole match assert(c[2] =="b"); assert(c.front == "abc"); c.popFront(); assert(c.front == "a"); assert(c.back == "c"); c.popBack(); assert(c.back == "b"); popFrontN(c, 2); assert(c.empty); } /++ A regex engine state, as returned by $(D match) family of functions. Effectively it's a forward range of Captures!R, produced by lazily searching for matches in a given input. alias Engine specifies an engine type to use during matching, and is automatically deduced in a call to $(D match)/$(D bmatch). +/ @trusted public struct RegexMatch(R, alias Engine = ThompsonMatcher) if(isSomeString!R) { private: alias BasicElementOf!R Char; alias Engine!Char EngineType; EngineType _engine; R _input; Captures!(R,EngineType.DataIndex) _captures; void[] _memory;//is ref-counted this(RegEx)(RegEx prog, R input) { _input = input; immutable size = EngineType.initialMemory(prog)+size_t.sizeof; _memory = (enforce(malloc(size))[0..size]); scope(failure) free(_memory.ptr); *cast(size_t*)_memory.ptr = 1; _engine = EngineType(prog, Input!Char(input), _memory[size_t.sizeof..$]); _captures = Captures!(R,EngineType.DataIndex)(this); _captures._empty = !_engine.match(_captures.matches); debug(fred_allocation) writefln("RefCount (ctor): %x %d", _memory.ptr, counter); } @property ref size_t counter(){ return *cast(size_t*)_memory.ptr; } public: this(this) { if(_memory.ptr) { ++counter; debug(fred_allocation) writefln("RefCount (postblit): %x %d" , _memory.ptr, *cast(size_t*)_memory.ptr); } } ~this() { if(_memory.ptr && --*cast(size_t*)_memory.ptr == 0) { debug(fred_allocation) writefln("RefCount (dtor): %x %d" , _memory.ptr, *cast(size_t*)_memory.ptr); free(cast(void*)_memory.ptr); } } ///Shorthands for front.pre, front.post, front.hit. @property R pre() { return _captures.pre; } ///ditto @property R post() { return _captures.post; } ///ditto @property R hit() { return _captures.hit; } /++ Functionality for processing subsequent matches of global regexes via range interface: --- import std.regex; auto m = match("Hello, world!", regex(`\w+`, "g")); assert(m.front.hit == "Hello"); m.popFront(); assert(m.front.hit == "world"); m.popFront(); assert(m.empty); --- +/ @property auto front() { return _captures; } ///ditto void popFront() { if(counter != 1) {//do cow magic first counter--;//we abandon this reference immutable size = EngineType.initialMemory(_engine.re)+size_t.sizeof; _memory = (enforce(malloc(size))[0..size]); _engine = _engine.dupTo(_memory[size_t.sizeof..size]); counter = 1;//points to new chunk } //previous _captures can have escaped references from Capture object _captures.newMatches(); _captures._empty = !_engine.match(_captures.matches); } ///ditto auto save(){ return this; } ///Test if this match object is empty. @property bool empty(){ return _captures._empty; } ///Same as !(x.empty), provided for its convenience in conditional statements. T opCast(T:bool)(){ return !empty; } /// Same as .front, provided for compatibility with original std.regex. @property auto captures(){ return _captures; } } /++ Compile regular expression pattern for the later execution. Returns: $(D Regex) object that works on inputs having the same character width as $(D pattern). Params: pattern = Regular expression flags = The _attributes (g, i, m and x accepted) Throws: $(D RegexException) if there were any errors during compilation. +/ @trusted public auto regex(S)(S pattern, const(char)[] flags="") if(isSomeString!(S)) { enum cacheSize = 8; //TODO: invent nice interface to control regex caching if(__ctfe) return regexImpl(pattern, flags); return memoize!(regexImpl!S, cacheSize)(pattern, flags); } public auto regexImpl(S)(S pattern, const(char)[] flags="") if(isSomeString!(S)) { alias Regex!(BasicElementOf!S) Reg; if(!__ctfe) { auto parser = Parser!(Unqual!(typeof(pattern)))(pattern, flags); Regex!(BasicElementOf!S) r = parser.program; return r; } else { auto parser = Parser!(Unqual!(typeof(pattern)), true)(pattern, flags); Regex!(BasicElementOf!S) r = parser.program; return r; } } template ctRegexImpl(alias pattern, string flags=[]) { enum r = regex(pattern, flags); alias BasicElementOf!(typeof(pattern)) Char; enum source = ctGenRegExCode(r); alias BacktrackingMatcher!(true) Matcher; @trusted bool func(ref Matcher!Char matcher) { version(fred_ct) debug pragma(msg, source); mixin(source); } enum nr = StaticRegex!Char(r, &func); } /++ Experimental feature. Compile regular expression using CTFE and generate optimized native machine code for matching it. Returns: StaticRegex object for faster matching. Params: pattern = Regular expression flags = The _attributes (g, i, m and x accepted) +/ public template ctRegex(alias pattern, alias flags=[]) { enum ctRegex = ctRegexImpl!(pattern, flags).nr; } template isRegexFor(RegEx, R) { enum isRegexFor = is(RegEx == Regex!(BasicElementOf!R)) || is(RegEx == StaticRegex!(BasicElementOf!R)); } /++ Start matching $(D input) to regex pattern $(D re), using Thompson NFA matching scheme. This is the $(U recommended) method for matching regular expression. $(D re) parameter can be one of three types: $(UL $(LI Plain string, in which case it's compiled to bytecode before matching. ) $(LI Regex!char (wchar/dchar) that contains pattern in form of precompiled bytecode. ) $(LI StaticRegex!char (wchar/dchar) that contains pattern in form of specially crafted native code. ) ) Returns: a $(D RegexMatch) object holding engine state after first match. +/ public auto match(R, RegEx)(R input, RegEx re) if(isSomeString!R && is(RegEx == Regex!(BasicElementOf!R))) { return RegexMatch!(Unqual!(typeof(input)),ThompsonMatcher)(re, input); } ///ditto public auto match(R, String)(R input, String re) if(isSomeString!R && isSomeString!String) { return RegexMatch!(Unqual!(typeof(input)),ThompsonMatcher)(regex(re), input); } public auto match(R, RegEx)(R input, RegEx re) if(isSomeString!R && is(RegEx == StaticRegex!(BasicElementOf!R))) { return RegexMatch!(Unqual!(typeof(input)),BacktrackingMatcher!true)(re, input); } /++ Start matching $(D input) to regex pattern $(D re), using traditional $(LUCKY backtracking) matching scheme. $(D re) parameter can be one of three types: $(UL $(LI Plain string, in which case it's compiled to bytecode before matching. ) $(LI Regex!char (wchar/dchar) that contains pattern in form of precompiled bytecode. ) $(LI StaticRegex!char (wchar/dchar) that contains pattern in form of specially crafted native code. ) ) Returns: a $(D RegexMatch) object holding engine state after first match. +/ public auto bmatch(R, RegEx)(R input, RegEx re) if(isSomeString!R && is(RegEx == Regex!(BasicElementOf!R))) { return RegexMatch!(Unqual!(typeof(input)), BacktrackingMatcher!false)(re, input); } ///ditto public auto bmatch(R, String)(R input, String re) if(isSomeString!R && isSomeString!String) { return RegexMatch!(Unqual!(typeof(input)), BacktrackingMatcher!false)(regex(re), input); } public auto bmatch(R, RegEx)(R input, RegEx re) if(isSomeString!R && is(RegEx == StaticRegex!(BasicElementOf!R))) { return RegexMatch!(Unqual!(typeof(input)),BacktrackingMatcher!true)(re, input); } /++ Construct a new string from $(D input) by replacing each match with a string generated from match according to $(D format) specifier. To replace all occurrences use regex with "g" flag, otherwise only the first occurrence gets replaced. Params: input = string to search re = compiled regular expression to use format = format string to generate replacements from Example: --- // Comify a number auto com = regex(r"(?<=\d)(?=(\d\d\d)+\b)","g"); assert(replace("12000 + 42100 = 54100", com, ",") == "12,000 + 42,100 = 54,100"); --- The format string can reference parts of match using the following notation. $(REG_TABLE $(REG_TITLE Format specifier, Replaced by ) $(REG_ROW $&amp;, the whole match. ) $(REG_ROW $`, part of input $(I preceding) the match. ) $(REG_ROW $', part of input $(I following) the match. ) $(REG_ROW $$, '$' character. ) $(REG_ROW \c &#44 where c is any character, the character c itself. ) $(REG_ROW \\, '\' character. ) $(REG_ROW &#36;1 .. &#36;99, submatch number 1 to 99 respectively. ) ) --- assert(replace("noon", regex("^n"), "[$&]") == "[n]oon"); --- +/ public @trusted R replace(alias scheme = match, R, RegEx)(R input, RegEx re, R format) if(isSomeString!R && isRegexFor!(RegEx, R)) { auto app = appender!(R)(); auto matches = scheme(input, re); size_t offset = 0; foreach(ref m; matches) { app.put(m.pre[offset .. $]); replaceFmt(format, m.captures, app); offset = m.pre.length + m.hit.length; } app.put(input[offset .. $]); return app.data; } /++ Search string for matches using regular expression pattern $(D re) and pass captures for each match to user-defined functor $(D fun). To replace all occurrances use regex with "g" flag, otherwise only first occurrence gets replaced. Returns: new string with all matches replaced by return values of $(D fun). Params: s = string to search re = compiled regular expression fun = delegate to use Example: Capitalize the letters 'a' and 'r': --- string baz(Captures!(string) m) { return std.string.toUpper(m.hit); } auto s = replace!(baz)("Strap a rocket engine on a chicken.", regex("[ar]", "g")); assert(s == "StRAp A Rocket engine on A chicken."); --- +/ public @trusted R replace(alias fun, R, RegEx, alias scheme = match)(R input, RegEx re) if(isSomeString!R && isRegexFor!(RegEx, R)) { auto app = appender!(R)(); auto matches = scheme(input, re); size_t offset = 0; foreach(m; matches) { app.put(m.pre[offset .. $]); app.put(fun(m)); offset = m.pre.length + m.hit.length; } app.put(input[offset .. $]); return app.data; } //produce replacement string from format using captures for substitue public @trusted void replaceFmt(R, Capt, OutR) (R format, Capt captures, OutR sink, bool ignoreBadSubs = false) if(isOutputRange!(OutR, ElementEncodingType!R[]) && isOutputRange!(OutR, ElementEncodingType!(Capt.String)[])) { enum State { Normal, Dollar } auto state = State.Normal; size_t offset; L_Replace_Loop: while(!format.empty) final switch(state) { case State.Normal: for(offset = 0; offset < format.length; offset++)//no decoding { if(format[offset] == '$') { state = State.Dollar; sink.put(format[0 .. offset]); format = format[offset+1 .. $];//ditto continue L_Replace_Loop; } } sink.put(format[0 .. offset]); format = format[offset .. $]; break; case State.Dollar: if(ascii.isDigit(format[0])) { uint digit = parse!uint(format); enforce(ignoreBadSubs || digit < captures.length, text("invalid submatch number ", digit)); if(digit < captures.length) sink.put(captures[digit]); } else if(format[0] == '{') { auto x = find!(a => !ascii.isAlpha(a))(format[1..$]); enforce(!x.empty && x[0] == '}', "no matching '}' in replacement format"); auto name = format[1 .. $ - x.length]; format = x[1..$]; enforce(!name.empty, "invalid name in ${...} replacement format"); sink.put(captures[name]); } else if(format[0] == '&') { sink.put(captures[0]); format = format[1 .. $]; } else if(format[0] == '`') { sink.put(captures.pre); format = format[1 .. $]; } else if(format[0] == '\'') { sink.put(captures.post); format = format[1 .. $]; } else if(format[0] == '$') { sink.put(format[0 .. 1]); format = format[1 .. $]; } state = State.Normal; break; } enforce(state == State.Normal, "invalid format string in regex replace"); } /++ Range that splits a string using a regular expression as a separator. Example: ---- auto s1 = ", abc, de, fg, hi, "; assert(equal(splitter(s1, regex(", *")), ["", "abc", "de", "fg", "hi", ""])); ---- +/ public struct Splitter(Range, alias RegEx = Regex) if(isSomeString!Range && isRegexFor!(RegEx, Range)) { private: Range _input; size_t _offset; alias typeof(match(Range.init,RegEx.init)) Rx; Rx _match; @trusted this(Range input, RegEx separator) {//@@@BUG@@@ generated opAssign of RegexMatch is not @trusted _input = input; separator.flags |= RegexOption.global; if (_input.empty) { //there is nothing to match at all, make _offset > 0 _offset = 1; } else { _match = Rx(separator, _input); } } public: auto ref opSlice() { return this.save; } ///Forward range primitives. @property Range front() { assert(!empty && _offset <= _match.pre.length && _match.pre.length <= _input.length); return _input[_offset .. min($, _match.pre.length)]; } ///ditto @property bool empty() { return _offset > _input.length; } ///ditto void popFront() { assert(!empty); if (_match.empty) { //No more separators, work is done here _offset = _input.length + 1; } else { //skip past the separator _offset = _match.pre.length + _match.hit.length; _match.popFront(); } } ///ditto @property auto save() { return this; } } /** A helper function, creates a $(D Splitter) on range $(D r) separated by regex $(D pat). Captured subexpressions have no effect on the resulting range. */ public Splitter!(Range, RegEx) splitter(Range, RegEx)(Range r, RegEx pat) if(is(BasicElementOf!Range : dchar) && isRegexFor!(RegEx, Range)) { return Splitter!(Range, RegEx)(r, pat); } ///An eager version of $(D splitter) that creates an array with splitted slices of $(D input). public @trusted String[] split(String, RegEx)(String input, RegEx rx) if(isSomeString!String && isRegexFor!(RegEx, String)) { auto a = appender!(String[])(); foreach(e; splitter(input, rx)) a.put(e); return a.data; } ///Exception object thrown in case of errors during regex compilation. public class RegexException : Exception { /// @trusted this(string msg, string file = __FILE__, size_t line = __LINE__) {//@@@BUG@@@ Exception constructor is not @safe super(msg, file, line); } } //--------------------- TEST SUITE --------------------------------- version(unittest) { @system: unittest {//sanity checks regex("(a|b)*"); regex(`(?:([0-9A-F]+)\.\.([0-9A-F]+)|([0-9A-F]+))\s*;\s*(.*)\s*#`); regex("abc|edf|ighrg"); auto r1 = regex("abc"); auto r2 = regex("(gylba)"); assert(match("abcdef", r1).hit == "abc"); assert(!match("wida",r2)); assert(bmatch("abcdef", r1).hit == "abc"); assert(!bmatch("wida", r2)); assert(match("abc", "abc".dup)); assert(bmatch("abc", "abc".dup)); Regex!char rc; assert(rc.empty); rc = regex("test"); assert(!rc.empty); } /* The test vectors in this file are altered from Henry Spencer's regexp test code. His copyright notice is: Copyright (c) 1986 by University of Toronto. Written by Henry Spencer. Not derived from licensed software. Permission is granted to anyone to use this software for any purpose on any computer system, and to redistribute it freely, subject to the following restrictions: 1. The author is not responsible for the consequences of use of this software, no matter how awful, even if they arise from defects in it. 2. The origin of this software must not be misrepresented, either by explicit claim or by omission. 3. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. */ unittest { struct TestVectors { string pattern; string input; string result; string format; string replace; string flags; } enum TestVectors tv[] = [ TestVectors( "a\\b", "a", "y", "$&", "a" ), TestVectors( "(a)b\\1", "abaab","y", "$&", "aba" ), TestVectors( "()b\\1", "aaab", "y", "$&", "b" ), TestVectors( "abc", "abc", "y", "$&", "abc" ), TestVectors( "abc", "xbc", "n", "-", "-" ), TestVectors( "abc", "axc", "n", "-", "-" ), TestVectors( "abc", "abx", "n", "-", "-" ), TestVectors( "abc", "xabcy","y", "$&", "abc" ), TestVectors( "abc", "ababc","y", "$&", "abc" ), TestVectors( "ab*c", "abc", "y", "$&", "abc" ), TestVectors( "ab*bc", "abc", "y", "$&", "abc" ), TestVectors( "ab*bc", "abbc", "y", "$&", "abbc" ), TestVectors( "ab*bc", "abbbbc","y", "$&", "abbbbc" ), TestVectors( "ab+bc", "abbc", "y", "$&", "abbc" ), TestVectors( "ab+bc", "abc", "n", "-", "-" ), TestVectors( "ab+bc", "abq", "n", "-", "-" ), TestVectors( "ab+bc", "abbbbc","y", "$&", "abbbbc" ), TestVectors( "ab?bc", "abbc", "y", "$&", "abbc" ), TestVectors( "ab?bc", "abc", "y", "$&", "abc" ), TestVectors( "ab?bc", "abbbbc","n", "-", "-" ), TestVectors( "ab?c", "abc", "y", "$&", "abc" ), TestVectors( "^abc$", "abc", "y", "$&", "abc" ), TestVectors( "^abc$", "abcc", "n", "-", "-" ), TestVectors( "^abc", "abcc", "y", "$&", "abc" ), TestVectors( "^abc$", "aabc", "n", "-", "-" ), TestVectors( "abc$", "aabc", "y", "$&", "abc" ), TestVectors( "^", "abc", "y", "$&", "" ), TestVectors( "$", "abc", "y", "$&", "" ), TestVectors( "a.c", "abc", "y", "$&", "abc" ), TestVectors( "a.c", "axc", "y", "$&", "axc" ), TestVectors( "a.*c", "axyzc","y", "$&", "axyzc" ), TestVectors( "a.*c", "axyzd","n", "-", "-" ), TestVectors( "a[bc]d", "abc", "n", "-", "-" ), TestVectors( "a[bc]d", "abd", "y", "$&", "abd" ), TestVectors( "a[b-d]e", "abd", "n", "-", "-" ), TestVectors( "a[b-d]e", "ace", "y", "$&", "ace" ), TestVectors( "a[b-d]", "aac", "y", "$&", "ac" ), TestVectors( "a[-b]", "a-", "y", "$&", "a-" ), TestVectors( "a[b-]", "a-", "y", "$&", "a-" ), TestVectors( "a[b-a]", "-", "c", "-", "-" ), TestVectors( "a[]b", "-", "c", "-", "-" ), TestVectors( "a[", "-", "c", "-", "-" ), TestVectors( "a]", "a]", "y", "$&", "a]" ), TestVectors( "a[\\]]b", "a]b", "y", "$&", "a]b" ), TestVectors( "a[^bc]d", "aed", "y", "$&", "aed" ), TestVectors( "a[^bc]d", "abd", "n", "-", "-" ), TestVectors( "a[^-b]c", "adc", "y", "$&", "adc" ), TestVectors( "a[^-b]c", "a-c", "n", "-", "-" ), TestVectors( "a[^\\]b]c", "adc", "y", "$&", "adc" ), TestVectors( "ab|cd", "abc", "y", "$&", "ab" ), TestVectors( "ab|cd", "abcd", "y", "$&", "ab" ), TestVectors( "()ef", "def", "y", "$&-$1", "ef-" ), TestVectors( "()*", "-", "y", "-", "-" ), TestVectors( "*a", "-", "c", "-", "-" ), TestVectors( "^*", "-", "y", "-", "-" ), TestVectors( "$*", "-", "y", "-", "-" ), TestVectors( "(*)b", "-", "c", "-", "-" ), TestVectors( "$b", "b", "n", "-", "-" ), TestVectors( "a\\", "-", "c", "-", "-" ), TestVectors( "a\\(b", "a(b", "y", "$&-$1", "a(b-" ), TestVectors( "a\\(*b", "ab", "y", "$&", "ab" ), TestVectors( "a\\(*b", "a((b", "y", "$&", "a((b" ), TestVectors( "a\\\\b", "a\\b", "y", "$&", "a\\b" ), TestVectors( "abc)", "-", "c", "-", "-" ), TestVectors( "(abc", "-", "c", "-", "-" ), TestVectors( "((a))", "abc", "y", "$&-$1-$2", "a-a-a" ), TestVectors( "(a)b(c)", "abc", "y", "$&-$1-$2", "abc-a-c" ), TestVectors( "a+b+c", "aabbabc","y", "$&", "abc" ), TestVectors( "a**", "-", "c", "-", "-" ), TestVectors( "a*?a", "aa", "y", "$&", "a" ), TestVectors( "(a*)*", "aaa", "y", "-", "-" ), TestVectors( "(a*)+", "aaa", "y", "-", "-" ), TestVectors( "(a|)*", "-", "y", "-", "-" ), TestVectors( "(a*|b)*", "aabb", "y", "-", "-" ), TestVectors( "(a|b)*", "ab", "y", "$&-$1", "ab-b" ), TestVectors( "(a+|b)*", "ab", "y", "$&-$1", "ab-b" ), TestVectors( "(a+|b)+", "ab", "y", "$&-$1", "ab-b" ), TestVectors( "(a+|b)?", "ab", "y", "$&-$1", "a-a" ), TestVectors( "[^ab]*", "cde", "y", "$&", "cde" ), TestVectors( "(^)*", "-", "y", "-", "-" ), TestVectors( "(ab|)*", "-", "y", "-", "-" ), TestVectors( ")(", "-", "c", "-", "-" ), TestVectors( "", "abc", "y", "$&", "" ), TestVectors( "abc", "", "n", "-", "-" ), TestVectors( "a*", "", "y", "$&", "" ), TestVectors( "([abc])*d", "abbbcd", "y", "$&-$1", "abbbcd-c" ), TestVectors( "([abc])*bcd", "abcd", "y", "$&-$1", "abcd-a" ), TestVectors( "a|b|c|d|e", "e", "y", "$&", "e" ), TestVectors( "(a|b|c|d|e)f", "ef", "y", "$&-$1", "ef-e" ), TestVectors( "((a*|b))*", "aabb", "y", "-", "-" ), TestVectors( "abcd*efg", "abcdefg", "y", "$&", "abcdefg" ), TestVectors( "ab*", "xabyabbbz", "y", "$&", "ab" ), TestVectors( "ab*", "xayabbbz", "y", "$&", "a" ), TestVectors( "(ab|cd)e", "abcde", "y", "$&-$1", "cde-cd" ), TestVectors( "[abhgefdc]ij", "hij", "y", "$&", "hij" ), TestVectors( "^(ab|cd)e", "abcde", "n", "x$1y", "xy" ), TestVectors( "(abc|)ef", "abcdef", "y", "$&-$1", "ef-" ), TestVectors( "(a|b)c*d", "abcd", "y", "$&-$1", "bcd-b" ), TestVectors( "(ab|ab*)bc", "abc", "y", "$&-$1", "abc-a" ), TestVectors( "a([bc]*)c*", "abc", "y", "$&-$1", "abc-bc" ), TestVectors( "a([bc]*)(c*d)", "abcd", "y", "$&-$1-$2", "abcd-bc-d" ), TestVectors( "a([bc]+)(c*d)", "abcd", "y", "$&-$1-$2", "abcd-bc-d" ), TestVectors( "a([bc]*)(c+d)", "abcd", "y", "$&-$1-$2", "abcd-b-cd" ), TestVectors( "a[bcd]*dcdcde", "adcdcde", "y", "$&", "adcdcde" ), TestVectors( "a[bcd]+dcdcde", "adcdcde", "n", "-", "-" ), TestVectors( "(ab|a)b*c", "abc", "y", "$&-$1", "abc-ab" ), TestVectors( "((a)(b)c)(d)", "abcd", "y", "$1-$2-$3-$4", "abc-a-b-d" ), TestVectors( "[a-zA-Z_][a-zA-Z0-9_]*", "alpha", "y", "$&", "alpha" ), TestVectors( "^a(bc+|b[eh])g|.h$", "abh", "y", "$&-$1", "bh-" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "effgz", "y", "$&-$1-$2", "effgz-effgz-" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "ij", "y", "$&-$1-$2", "ij-ij-j" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "effg", "n", "-", "-" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "bcdd", "n", "-", "-" ), TestVectors( "(bc+d$|ef*g.|h?i(j|k))", "reffgz", "y", "$&-$1-$2", "effgz-effgz-" ), TestVectors( "(((((((((a)))))))))", "a", "y", "$&", "a" ), TestVectors( "multiple words of text", "uh-uh", "n", "-", "-" ), TestVectors( "multiple words", "multiple words, yeah", "y", "$&", "multiple words" ), TestVectors( "(.*)c(.*)", "abcde", "y", "$&-$1-$2", "abcde-ab-de" ), TestVectors( "\\((.*), (.*)\\)", "(a, b)", "y", "($2, $1)", "(b, a)" ), TestVectors( "abcd", "abcd", "y", "$&-&-$$$&", "abcd-&-$abcd" ), TestVectors( "a(bc)d", "abcd", "y", "$1-$$1-$$$1", "bc-$1-$bc" ), TestVectors( "[k]", "ab", "n", "-", "-" ), TestVectors( "[ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "[ -~ -~ -~ -~ -~ -~ -~]*", "abc", "y", "$&", "abc" ), TestVectors( "a{2}", "candy", "n", "", "" ), TestVectors( "a{2}", "caandy", "y", "$&", "aa" ), TestVectors( "a{2}", "caaandy", "y", "$&", "aa" ), TestVectors( "a{2,}", "candy", "n", "", "" ), TestVectors( "a{2,}", "caandy", "y", "$&", "aa" ), TestVectors( "a{2,}", "caaaaaandy", "y", "$&", "aaaaaa" ), TestVectors( "a{1,3}", "cndy", "n", "", "" ), TestVectors( "a{1,3}", "candy", "y", "$&", "a" ), TestVectors( "a{1,3}", "caandy", "y", "$&", "aa" ), TestVectors( "a{1,3}", "caaaaaandy", "y", "$&", "aaa" ), TestVectors( "e?le?", "angel", "y", "$&", "el" ), TestVectors( "e?le?", "angle", "y", "$&", "le" ), TestVectors( "\\bn\\w", "noonday", "y", "$&", "no" ), TestVectors( "\\wy\\b", "possibly yesterday", "y", "$&", "ly" ), TestVectors( "\\w\\Bn", "noonday", "y", "$&", "on" ), TestVectors( "y\\B\\w", "possibly yesterday", "y", "$&", "ye" ), TestVectors( "\\cJ", "abc\ndef", "y", "$&", "\n" ), TestVectors( "\\d", "B2 is", "y", "$&", "2" ), TestVectors( "\\D", "B2 is", "y", "$&", "B" ), TestVectors( "\\s\\w*", "foo bar", "y", "$&", " bar" ), TestVectors( "\\S\\w*", "foo bar", "y", "$&", "foo" ), TestVectors( "abc", "ababc", "y", "$&", "abc" ), TestVectors( "apple(,)\\sorange\\1", "apple, orange, cherry, peach", "y", "$&", "apple, orange," ), TestVectors( "(\\w+)\\s(\\w+)", "John Smith", "y", "$2, $1", "Smith, John" ), TestVectors( "\\n\\f\\r\\t\\v", "abc\n\f\r\t\vdef", "y", "$&", "\n\f\r\t\v" ), TestVectors( ".*c", "abcde", "y", "$&", "abc" ), TestVectors( "^\\w+((;|=)\\w+)+$", "some=host=tld", "y", "$&-$1-$2", "some=host=tld-=tld-=" ), TestVectors( "^\\w+((\\.|-)\\w+)+$", "some.host.tld", "y", "$&-$1-$2", "some.host.tld-.tld-." ), TestVectors( "q(a|b)*q", "xxqababqyy", "y", "$&-$1", "qababq-b" ), TestVectors( "^(a)(b){0,1}(c*)", "abcc", "y", "$1 $2 $3", "a b cc" ), TestVectors( "^(a)((b){0,1})(c*)", "abcc", "y", "$1 $2 $3", "a b b" ), TestVectors( "^(a)(b)?(c*)", "abcc", "y", "$1 $2 $3", "a b cc" ), TestVectors( "^(a)((b)?)(c*)", "abcc", "y", "$1 $2 $3", "a b b" ), TestVectors( "^(a)(b){0,1}(c*)", "acc", "y", "$1 $2 $3", "a cc" ), TestVectors( "^(a)((b){0,1})(c*)", "acc", "y", "$1 $2 $3", "a " ), TestVectors( "^(a)(b)?(c*)", "acc", "y", "$1 $2 $3", "a cc" ), TestVectors( "^(a)((b)?)(c*)", "acc", "y", "$1 $2 $3", "a " ), TestVectors( "(?:ab){3}", "_abababc","y", "$&-$1", "ababab-" ), TestVectors( "(?:a(?:x)?)+", "aaxaxx", "y", "$&-$1-$2", "aaxax--" ), TestVectors( `\W\w\W`, "aa b!ca", "y", "$&", " b!"), //more repetitions: TestVectors( "(?:a{2,4}b{1,3}){1,2}", "aaabaaaabbb", "y", "$&", "aaabaaaabbb" ), TestVectors( "(?:a{2,4}b{1,3}){1,2}?", "aaabaaaabbb", "y", "$&", "aaab" ), //groups: TestVectors( "(abc)|(edf)|(xyz)", "xyz", "y", "$1-$2-$3","--xyz"), TestVectors( "(?P<q>\\d+)/(?P<d>\\d+)", "2/3", "y", "${d}/${q}", "3/2"), //set operations: TestVectors( "[a-z--d-f]", " dfa", "y", "$&", "a"), TestVectors( "[abc[pq--acq]]{2}", "bqpaca", "y", "$&", "pa"), TestVectors( "[a-z9&&abc0-9]{3}", "z90a0abc", "y", "$&", "abc"), TestVectors( "[0-9a-f~~0-5a-z]{2}", "g0a58x", "y", "$&", "8x"), TestVectors( "[abc[pq]xyz[rs]]{4}", "cqxr", "y", "$&", "cqxr"), TestVectors( "[abcdf--[ab&&[bcd]][acd]]", "abcdefgh", "y", "$&", "f"), //unicode blocks & properties: TestVectors( `\P{Inlatin1suppl ement}`, "\u00c2!", "y", "$&", "!"), TestVectors( `\p{InLatin-1 Supplement}\p{in-mathematical-operators}\P{Inlatin1suppl ement}`, "\u00c2\u2200\u00c3\u2203.", "y", "$&", "\u00c3\u2203."), TestVectors( `[-+*/\p{in-mathematical-operators}]{2}`, "a+\u2212", "y", "$&", "+\u2212"), TestVectors( `\p{Ll}+`, "XabcD", "y", "$&", "abc"), TestVectors( `\p{Lu}+`, "абвГДЕ", "y", "$&", "ГДЕ"), TestVectors( `^\p{Currency Symbol}\p{Sc}` "$₤", "y", "$&", "$₤"), TestVectors( `\p{Common}\p{Thai}` "!ฆ", "y", "$&", "!ฆ"), TestVectors( `[\d\s]*\D`, "12 \t3\U00001680\u0F20_2", "y", "$&", "12 \t3\U00001680\u0F20_"), TestVectors( `[c-wф]фф`, "ффф", "y", "$&", "ффф"), //case insensitive: TestVectors( `^abcdEf$`, "AbCdEF" "y", "$&", "AbCdEF", "i"), TestVectors( `Русский язык`, "рУсскИй ЯзЫк", "y", "$&", "рУсскИй ЯзЫк", "i"), TestVectors( `ⒶⒷⓒ` , "ⓐⓑⒸ", "y", "$&", "ⓐⓑⒸ", "i"), TestVectors( "\U00010400{2}", "\U00010428\U00010400 ", "y", "$&", "\U00010428\U00010400", "i"), TestVectors( `[adzУ-Я]{4}`, "DzюА" "y", "$&", "DzЮа", "i"), TestVectors( `\p{L}\p{Lu}{10}`, "абвгдеЖЗИКЛ", "y", "$&", "абвгдеЖЗИКЛ", "i"), TestVectors( `(?:Dåb){3}`, "DåbDÅBdÅb", "y", "$&", "DåbDÅBdÅb", "i"), //escapes: TestVectors( `\u0041\u005a\U00000065\u0001`, "AZe\u0001", "y", "$&", "AZe\u0001"), TestVectors( `\u`, "", "c", "-", "-"), TestVectors( `\U`, "", "c", "-", "-"), TestVectors( `\u003`, "", "c", "-", "-"), TestVectors( `[\x00-\x7f]{4}`, "\x00\x09ab", "y", "$&", "\x00\x09ab"), TestVectors( `[\cJ\cK\cA-\cD]{3}\cQ`, "\x01\x0B\x0A\x11", "y", "$&", "\x01\x0B\x0A\x11"), TestVectors( `\r\n\v\t\f\\`, "\r\n\v\t\f\\", "y", "$&", "\r\n\v\t\f\\"), TestVectors( `[\u0003\u0001]{2}`, "\u0001\u0003", "y", "$&", "\u0001\u0003"), TestVectors( `^[\u0020-\u0080\u0001\n-\r]{8}`, "abc\u0001\v\f\r\n", "y", "$&", "abc\u0001\v\f\r\n"), TestVectors( `\w+\S\w+`, "ab7!44c", "y", "$&", "ab7!44c"), TestVectors( `\b\w+\b`, " abde4 ", "y", "$&", "abde4"), TestVectors( `\b\w+\b`, " abde4", "y", "$&", "abde4"), TestVectors( `\b\w+\b`, "abde4 ", "y", "$&", "abde4"), TestVectors( `\pL\pS`, "a\u02DA", "y", "$&", "a\u02DA"), TestVectors( `\pX`, "", "c", "-", "-"), // ^, $, \b, \B, multiline : TestVectors( `\r.*?$`, "abc\r\nxy", "y", "$&", "\r\nxy", "sm"), TestVectors( `^a$^b$`, "a\r\nb\n", "n", "$&", "-", "m"), TestVectors( `^a$\r\n^b$`,"a\r\nb\n", "y", "$&", "a\r\nb", "m"), TestVectors( `^$`, "\r\n", "y", "$&", "", "m"), TestVectors( `^a$\nx$`, "a\nx\u2028","y", "$&", "a\nx", "m"), TestVectors( `^a$\nx$`, "a\nx\u2029","y", "$&", "a\nx", "m"), TestVectors( `^a$\nx$`, "a\nx\u0085","y", "$&", "a\nx","m"), TestVectors( `^x$`, "\u2028x", "y", "$&", "x", "m"), TestVectors( `^x$`, "\u2029x", "y", "$&", "x", "m"), TestVectors( `^x$`, "\u0085x", "y", "$&", "x", "m"), TestVectors( `\b^.`, "ab", "y", "$&", "a"), TestVectors( `\B^.`, "ab", "n", "-", "-"), TestVectors( `^ab\Bc\B`, "\r\nabcd", "y", "$&", "abc", "m"), TestVectors( `^.*$`, "12345678", "y", "$&", "12345678"), // luckily obtained regression on incremental matching in backtracker TestVectors( `^(?:(?:([0-9A-F]+)\.\.([0-9A-F]+)|([0-9A-F]+))\s*;\s*([^ ]*)\s*#|# (?:\w|_)+=((?:\w|_)+))`, "0020 ; White_Space # ", "y", "$1-$2-$3", "--0020"), //lookahead TestVectors( "(foo.)(?=(bar))", "foobar foodbar", "y", "$&-$1-$2", "food-food-bar" ), TestVectors( `\b(\d+)[a-z](?=\1)`, "123a123", "y", "$&-$1", "123a-123" ), TestVectors( `\$(?!\d{3})\w+`, "$123 $abc", "y", "$&", "$abc"), TestVectors( `(abc)(?=(ed(f))\3)`, "abcedff", "y", "-", "-"), TestVectors( `\b[A-Za-z0-9.]+(?=(@(?!gmail)))`, "a@gmail,x@com", "y", "$&-$1", "x-@"), TestVectors( `x()(abc)(?=(d)(e)(f)\2)`, "xabcdefabc", "y", "$&", "xabc"), TestVectors( `x()(abc)(?=(d)(e)(f)()\3\4\5)`, "xabcdefdef", "y", "$&", "xabc"), //lookback TestVectors( `(?<=(ab))\d`, "12ba3ab4", "y", "$&-$1", "4-ab", "i"), TestVectors( `\w(?<!\d)\w`, "123ab24", "y", "$&", "ab"), TestVectors( `(?<=Dåb)x\w`, "DåbDÅBxdÅb", "y", "$&", "xd", "i"), TestVectors( `(?<=(ab*c))x`, "abbbbcxac", "y", "$&-$1", "x-abbbbc"), TestVectors( `(?<=(ab*?c))x`, "abbbbcxac", "y", "$&-$1", "x-abbbbc"), TestVectors( `(?<=(a.*?c))x`, "ababbcxac", "y", "$&-$1", "x-abbc"), TestVectors( `(?<=(a{2,4}b{1,3}))x`, "yyaaaabx", "y", "$&-$1", "x-aaaab"), TestVectors( `(?<=((?:a{2,4}b{1,3}){1,2}))x`, "aabbbaaaabx", "y", "$&-$1", "x-aabbbaaaab"), TestVectors( `(?<=((?:a{2,4}b{1,3}){1,2}?))x`, "aabbbaaaabx", "y", "$&-$1", "x-aaaab"), TestVectors( `(?<=(abc|def|aef))x`, "abcx", "y", "$&-$1", "x-abc"), TestVectors( `(?<=(abc|def|aef))x`, "aefx", "y", "$&-$1", "x-aef"), TestVectors( `(?<=(abc|dabc))(x)`, "dabcx", "y", "$&-$1-$2", "x-abc-x"), TestVectors( `(?<=(|abc))x`, "dabcx", "y", "$&-$1", "x-"), TestVectors( `(?<=((ab|da)*))x`, "abdaabx", "y", "$&-$2-$1", "x-ab-abdaab"), TestVectors( `a(?<=(ba(?<=(aba)(?<=aaba))))`, "aabaa", "y", "$&-$1-$2", "a-ba-aba"), TestVectors( `.(?<!b).`, "bax", "y", "$&", "ax"), TestVectors( `(?<=b(?<!ab)).`, "abbx", "y", "$&", "x"), TestVectors( `(?<=\.|[!?]+)X`, "Hey?!X", "y", "$&", "X"), TestVectors( `(?<=\.|[!?]+)a{3}`, ".Nope.aaaX", "y", "$&", "aaa"), //mixed lookaround TestVectors( `a(?<=a(?=b))b`, "ab", "y", "$&", "ab"), TestVectors( `a(?<=a(?!b))c`, "ac", "y", "$&", "ac"), ]; string produceExpected(M,String)(auto ref M m, String fmt) { auto app = appender!(String)(); replaceFmt(fmt, m.captures, app, true); return app.data; } void run_tests(alias matchFn)() { int i; foreach(Char; TypeTuple!( char, wchar, dchar)) { alias immutable(Char)[] String; String produceExpected(M,Range)(auto ref M m, Range fmt) { auto app = appender!(String)(); replaceFmt(fmt, m.captures, app, true); return app.data; } Regex!(Char) r; foreach(a, tvd; tv) { uint c = tvd.result[0]; debug(fred_test) writeln(" Test #", a, " pattern: ", tvd.pattern, " with Char = ", Char.stringof); try { i = 1; r = regex(to!(String)(tvd.pattern), tvd.flags); } catch (RegexException e) { i = 0; debug(fred_test) writeln(e.msg); } assert((c == 'c') ? !i : i, "failed to compile pattern "~tvd.pattern); if(c != 'c') { auto m = matchFn(to!(String)(tvd.input), r); i = !m.empty; assert((c == 'y') ? i : !i, text(matchFn.stringof ~": failed to match pattern #", a ,": ", tvd.pattern)); if(c == 'y') { auto result = produceExpected(m, to!(String)(tvd.format)); assert(result == to!String(tvd.replace), text(matchFn.stringof ~": mismatch pattern #", a, ": ", tvd.pattern," expected: ", tvd.replace, " vs ", result)); } } } } debug(fred_test) writeln("!!! FReD bulk test done "~matchFn.stringof~" !!!"); } static string generate(uint n,uint[] black_list...) { string s = "TypeTuple!("; for(uint i = 0; i < n; i++) { uint j; for(j =0; j < black_list.length; j++) if(i == black_list[j]) break; if(j == black_list.length) { s ~= to!string(i); s ~= ","; } } s ~= ")"; return s; } //CTFE parsing version(fred_ct) void ct_tests() { foreach(a, v; mixin(generate(140,38,39,40,52,55,57,62,63,67,80,190,191,192))) { enum tvd = tv[v]; enum r = regex(tvd.pattern, tvd.flags); auto nr = regex(tvd.pattern, tvd.flags); debug(fred_test) { writeln(" Test #", a, " pattern: ", tvd.pattern); if(!equal(r.ir, nr.ir)) { writeln("C-T version :"); r.print(); writeln("R-T version :"); nr.print(); assert(0, text("!C-T regex! failed to compile pattern #", a ,": ", tvd.pattern)); } } else assert(equal(r.ir, nr.ir), text("!C-T regex! failed to compile pattern #", a ,": ", tvd.pattern)); } debug(fred_test) writeln("!!! FReD C-T test done !!!"); } version(fred_ct) ct_tests(); else { run_tests!bmatch(); //backtracker run_tests!match(); //thompson VM } } version(fred_ct) { unittest { auto cr = ctRegex!("abc"); assert(bmatch("abc",cr).hit == "abc"); auto cr2 = ctRegex!("ab*c"); assert(bmatch("abbbbc",cr2).hit == "abbbbc"); auto cr3 = ctRegex!("^abc$"); assert(bmatch("abc",cr3).hit == "abc"); auto cr4 = ctRegex!(`\b(a\B[a-z]b)\b`); assert(array(match("azb",cr4).captures) == ["azb", "azb"]); auto cr5 = ctRegex!("(?:a{2,4}b{1,3}){1,2}"); assert(bmatch("aaabaaaabbb", cr5).hit == "aaabaaaabbb"); auto cr6 = ctRegex!("(?:a{2,4}b{1,3}){1,2}?"w); assert(bmatch("aaabaaaabbb"w, cr6).hit == "aaab"w); auto cr7 = ctRegex!(`\r.*?$`,"m"); assert(bmatch("abc\r\nxy", cr7).hit == "\r\nxy"); auto greed = ctRegex!("<packet.*?/packet>"); assert(bmatch("<packet>text</packet><packet>text</packet>", greed).hit == "<packet>text</packet>"); auto cr8 = ctRegex!("^(a)(b)?(c*)"); auto m8 = bmatch("abcc",cr8); assert(m8); assert(m8.captures[1] == "a"); assert(m8.captures[2] == "b"); assert(m8.captures[3] == "cc"); auto cr9 = ctRegex!("q(a|b)*q"); auto m9 = match("xxqababqyy",cr9); assert(m9); assert(equal(bmatch("xxqababqyy",cr9).captures, ["qababq", "b"])); auto rtr = regex("a|b|c"); enum ctr = regex("a|b|c"); assert(equal(rtr.ir,ctr.ir)); //CTFE parser BUG is triggered by group //in the middle of alternation (at least not first and not last) version(fred_bug) { enum testCT = regex(`abc|(edf)|xyz`); auto testRT = regex(`abc|(edf)|xyz`); debug { writeln("C-T version :"); testCT.print(); writeln("R-T version :"); testRT.print(); } } } unittest { enum cx = ctRegex!"(A|B|C)"; auto mx = match("B",cx); assert(mx); assert(equal(mx.captures, [ "B", "B"])); enum cx2 = ctRegex!"(A|B)*"; assert(match("BAAA",cx2)); enum cx3 = ctRegex!("a{3,4}","i"); auto mx3 = match("AaA",cx3); assert(mx3); assert(mx3.captures[0] == "AaA"); enum cx4 = ctRegex!(`^a{3,4}?[a-zA-Z0-9~]{1,2}`,"i"); auto mx4 = match("aaaabc", cx4); assert(mx4); assert(mx4.captures[0] == "aaaab"); auto cr8 = ctRegex!("(a)(b)?(c*)"); auto m8 = bmatch("abcc",cr8); assert(m8); assert(m8.captures[1] == "a"); assert(m8.captures[2] == "b"); assert(m8.captures[3] == "cc"); auto cr9 = ctRegex!(".*$", "gm"); auto m9 = match("First\rSecond"); assert(m9); assert(equal(map!"a.hit"(m9.captures), ["First", "", "Second"])); } } else { unittest { //global matching void test_body(alias matchFn)() { string s = "a quick brown fox jumps over a lazy dog"; auto r1 = regex("\\b[a-z]+\\b","g"); string[] test; foreach(m; matchFn(s, r1)) test ~= m.hit; assert(equal(test, [ "a", "quick", "brown", "fox", "jumps", "over", "a", "lazy", "dog"])); auto free_reg = regex(` abc \s+ " ( [^"]+ | \\ " )+ " z `, "x"); auto m = match(`abc "quoted string with \" inside"z`,free_reg); assert(m); string mails = " hey@you.com no@spam.net "; auto rm = regex(`@(?<=\S+@)\S+`,"g"); assert(equal(map!"a[0]"(matchFn(mails, rm)), ["@you.com", "@spam.net"])); auto m2 = matchFn("First line\nSecond line",regex(".*$","gm")); assert(equal(map!"a[0]"(m2), ["First line", "", "Second line"])); auto m2a = matchFn("First line\nSecond line",regex(".+$","gm")); assert(equal(map!"a[0]"(m2a), ["First line", "Second line"])); auto m2b = matchFn("First line\nSecond line",regex(".+?$","gm")); assert(equal(map!"a[0]"(m2b), ["First line", "Second line"])); debug(fred_test) writeln("!!! FReD FLAGS test done "~matchFn.stringof~" !!!"); } test_body!bmatch(); test_body!match(); } //tests for accomulated std.regex issues and other regressions unittest { void test_body(alias matchFn)() { //issue 5857 //matching goes out of control if ... in (...){x} has .*/.+ auto c = matchFn("axxxzayyyyyzd",regex("(a.*z){2}d")).captures; assert(c[0] == "axxxzayyyyyzd"); assert(c[1] == "ayyyyyz"); auto c2 = matchFn("axxxayyyyyd",regex("(a.*){2}d")).captures; assert(c2[0] == "axxxayyyyyd"); assert(c2[1] == "ayyyyy"); //issue 2108 //greedy vs non-greedy auto nogreed = regex("<packet.*?/packet>"); assert(matchFn("<packet>text</packet><packet>text</packet>", nogreed).hit == "<packet>text</packet>"); auto greed = regex("<packet.*/packet>"); assert(matchFn("<packet>text</packet><packet>text</packet>", greed).hit == "<packet>text</packet><packet>text</packet>"); //issue 4574 //empty successful match still advances the input string[] pres, posts, hits; foreach(m; matchFn("abcabc", regex("","g"))) { pres ~= m.pre; posts ~= m.post; assert(m.hit.empty); } auto heads = [ "abcabc", "abcab", "abca", "abc", "ab", "a", "" ]; auto tails = [ "abcabc", "bcabc", "cabc", "abc", "bc", "c", "" ]; assert(pres == array(retro(heads))); assert(posts == tails); //issue 6076 //regression on .* auto re = regex("c.*|d"); auto m = matchFn("mm", re); assert(!m); debug(fred_test) writeln("!!! FReD REGRESSION test done "~matchFn.stringof~" !!!"); auto rprealloc = regex(`((.){5}.{1,10}){5}`); auto arr = array(repeat('0',100)); auto m2 = matchFn(arr, rprealloc); assert(m2); assert(collectException( regex(r"^(import|file|binary|config)\s+([^\(]+)\(?([^\)]*)\)?\s*$") ) is null); foreach(ch; ['^','$','.','|','?',',','-',';',':' ,'#','&','%','/','<','>','`' ,'*','+','(',')','{','}']) { assert(match(to!string(ch),regex(`[\`~ch~`]`))); assert(!match(to!string(ch),regex(`[^\`~ch~`]`))); if(ch != '-') //'--' is an operator assert(match(to!string(ch),regex(`[\`~ch~`-\`~ch~`]`))); } //bugzilla 7718 string strcmd = "./myApp.rb -os OSX -path \"/GIT/Ruby Apps/sec\" -conf 'notimer'"; auto reStrCmd = regex (`(".*")|('.*')`, "g"); assert(equal(map!"a[0]"(matchFn(strcmd, reStrCmd)), [`"/GIT/Ruby Apps/sec"`, `'notimer'`])); } test_body!bmatch(); test_body!match(); } // tests for replace unittest { void test(alias matchFn)() { import std.string : toUpper; foreach(i, v; TypeTuple!(string, wstring, dstring)) { auto baz(Cap)(Cap m) if (is(Cap == Captures!(Cap.String))) { return std.string.toUpper(m.hit); } alias v String; assert(std.regex.replace!(matchFn)(to!String("ark rapacity"), regex(to!String("r")), to!String("c")) == to!String("ack rapacity")); assert(std.regex.replace!(matchFn)(to!String("ark rapacity"), regex(to!String("r"), "g"), to!String("c")) == to!String("ack capacity")); assert(std.regex.replace!(matchFn)(to!String("noon"), regex(to!String("^n")), to!String("[$&]")) == to!String("[n]oon")); assert(std.regex.replace!(matchFn)(to!String("test1 test2"), regex(to!String(`\w+`),"g"), to!String("$`:$'")) == to!String(": test2 test1 :")); auto s = std.regex.replace!(baz!(Captures!(String)))(to!String("Strap a rocket engine on a chicken."), regex(to!String("[ar]"), "g")); assert(s == "StRAp A Rocket engine on A chicken."); } debug(fred_test) writeln("!!! Replace test done "~matchFn.stringof~" !!!"); } test!(bmatch)(); test!(match)(); } // tests for splitter unittest { auto s1 = ", abc, de, fg, hi, "; auto sp1 = splitter(s1, regex(", *")); auto w1 = ["", "abc", "de", "fg", "hi", ""]; assert(equal(sp1, w1)); auto s2 = ", abc, de, fg, hi"; auto sp2 = splitter(s2, regex(", *")); auto w2 = ["", "abc", "de", "fg", "hi"]; uint cnt; foreach(e; sp2) { assert(w2[cnt++] == e); } assert(equal(sp2, w2)); } unittest { char[] s1 = ", abc, de, fg, hi, ".dup; auto sp2 = splitter(s1, regex(", *")); } unittest { auto s1 = ", abc, de, fg, hi, "; auto w1 = ["", "abc", "de", "fg", "hi", ""]; assert(equal(split(s1, regex(", *")), w1[])); } unittest { // bugzilla 7141 string pattern = `[a\--b]`; assert(match("-", pattern)); assert(match("b", pattern)); string pattern2 = `[&-z]`; assert(match("b", pattern2)); } unittest {//bugzilla 7111 assert(match("", regex("^"))); } unittest {//bugzilla 7300 assert(!match("a"d, "aa"d)); } unittest {//bugzilla 7674 assert("1234".replace(regex("^"), "$$") == "$1234"); assert("hello?".replace(regex(r"\?", "g"), r"\?") == r"hello\?"); assert("hello?".replace(regex(r"\?", "g"), r"\\?") != r"hello\?"); } unittest {// bugzilla 7679 foreach(S; TypeTuple!(string, wstring, dstring)) { enum re = ctRegex!(to!S(r"\.")); auto str = to!S("a.b"); assert(equal(std.regex.splitter(str, re), [to!S("a"), to!S("b")])); assert(split(str, re) == [to!S("a"), to!S("b")]); } } unittest {//bugzilla 8203 string data = " NAME = XPAW01_STA:STATION NAME = XPAW01_STA "; auto uniFileOld = data; auto r = regex( r"^NAME = (?P<comp>[a-zA-Z0-9_]+):*(?P<blk>[a-zA-Z0-9_]*)","gm"); auto uniCapturesNew = match(uniFileOld, r); for(int i = 0; i < 20; i++) foreach (matchNew; uniCapturesNew) {} } unittest {// bugzilla 8637 purity of enforce auto m = match("hello world", regex("world")); enforce(m); } // bugzilla 8725 unittest { static italic = regex( r"\* (?!\s+) (.*?) (?!\s+) \*", "gx" ); string input = "this * is* interesting, *very* interesting"; assert(replace(input, italic, "<i>$1</i>") == "this * is* interesting, <i>very</i> interesting"); } // bugzilla 8349 unittest { enum peakRegexStr = r"\>(wgEncode.*Tfbs.*\.(?:narrow)|(?:broad)Peak.gz)</a>"; enum peakRegex = ctRegex!(peakRegexStr); //note that the regex pattern itself is probably bogus assert(match(r"\>wgEncode-blah-Tfbs.narrow</a>", peakRegex)); } // bugzilla 9211 unittest { auto rx_1 = regex(r"^(\w)*(\d)"); auto m = match("1234", rx_1); assert(equal(m.front, ["1234", "3", "4"])); auto rx_2 = regex(r"^([0-9])*(\d)"); auto m2 = match("1234", rx_2); assert(equal(m2.front, ["1234", "3", "4"])); } // bugzilla 9280 unittest { string tomatch = "a!b@c"; static r = regex(r"^(?P<nick>.*?)!(?P<ident>.*?)@(?P<host>.*?)$"); auto nm = match(tomatch, r); assert(nm); auto c = nm.captures; assert(c[1] == "a"); assert(c["nick"] == "a"); } // bugzilla 9634 unittest { auto re = ctRegex!"(?:a+)"; assert(match("aaaa", re).hit == "aaaa"); } } }//version(unittest)
D
/** * Anytris input. * * License: $(LINK2 http://opensource.org/licenses/zlib-license, Zlib License). * * Authors: Leandro Motta Barros */ module anytris.input; import fewdee.all; /** * The time, in seconds, between two consecutive left/right piece movements * while the corresponding key is kept pressed. */ enum leftRightRepeatingInterval = 0.15; /** * The time, in seconds, between two consecutive soft drop steps (while * maintaining the key pressed). */ enum downRepeatingInterval = 0.1; /// The high-level commands used by Anytris. public enum Commands { MOVE_LEFT, /// Moves the piece one block to the right. MOVE_RIGHT, /// Moves the piece one block to the left. ROTATE_CCW, /// Rotates the piece in the counter-clockwise direction. ROTATE_CW, /// Rotates the piece in the clockwise direction. SOFT_DROP, /// Moves the piece one block down. HARD_DROP, /// Moves the piece down as much as possible. } // Sets the input subsystem up. public void setupInput() { initInputCommandsConstants!Commands(); with (Commands) { InputManager.addCommandTrigger( MOVE_LEFT, new RepeatingTrigger( new KeyDownTrigger(ALLEGRO_KEY_LEFT), new KeyUpTrigger(ALLEGRO_KEY_LEFT), leftRightRepeatingInterval)); InputManager.addCommandTrigger( MOVE_RIGHT, new RepeatingTrigger( new KeyDownTrigger(ALLEGRO_KEY_RIGHT), new KeyUpTrigger(ALLEGRO_KEY_RIGHT), leftRightRepeatingInterval)); InputManager.addCommandTrigger( ROTATE_CW, new KeyDownTrigger(ALLEGRO_KEY_X)); InputManager.addCommandTrigger( ROTATE_CCW, new KeyDownTrigger(ALLEGRO_KEY_Z)); InputManager.addCommandTrigger( SOFT_DROP, new RepeatingTrigger( new KeyDownTrigger(ALLEGRO_KEY_DOWN), new KeyUpTrigger(ALLEGRO_KEY_DOWN), downRepeatingInterval)); InputManager.addCommandTrigger( HARD_DROP, new KeyDownTrigger(ALLEGRO_KEY_SPACE)); } }
D
module java.util.ArrayList; import java.lang.all; import java.util.AbstractList; import java.util.List; import java.util.ListIterator; import java.util.Collection; import java.util.Iterator; class ArrayList : AbstractList, List { private Object[] data; this(){ } this(int size){ data.length = size; data.length = 0; } this(Collection col){ this(cast(int)(col.size*1.1)); addAll(col); } override void add(int index, Object element){ data.length = data.length +1; System.arraycopy( data, index, data, index+1, data.length - index -1 ); data[index] = element; } override bool add(Object o){ data ~= o; return true; } override public bool add(String o){ return add(stringcast(o)); } override bool addAll(Collection c){ if( c.size() is 0 ) return false; size_t idx = data.length; data.length = data.length + c.size(); foreach( o; c ){ data[ idx++ ] = o; } return true; } override bool addAll(int index, Collection c){ implMissing( __FILE__, __LINE__ ); return false; } override void clear(){ data.length = 0; } ArrayList clone(){ implMissing( __FILE__, __LINE__ ); return null; } override bool contains(Object o){ foreach( v; data ){ if( o is v ){ return true; } if(( o is null ) || ( v is null )){ continue; } if( o == v ){ return true; } } return false; } override bool contains(String o){ return contains(stringcast(o)); } override bool containsAll(Collection c){ implMissing( __FILE__, __LINE__ ); return false; } override equals_t opEquals(Object o){ if( auto other = cast(ArrayList)o ){ if( data.length !is other.data.length ){ return false; } for( int i = 0; i < data.length; i++ ){ if( data[i] is other.data[i] ){ continue; } if(( data[i] is null ) || ( other.data[i] is null )){ return false; } if( data[i] == other.data[i] ){ continue; } return false; } return true; } return false; } override Object get(int index){ return data[index]; } public override hash_t toHash(){ // http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html#hashCode() hash_t hashCode = 1; for( int i = 0; i < data.length; i++ ){ Object obj = data[i]; hashCode = 31 * hashCode + (obj is null ? 0 : obj.toHash()); } return hashCode; } override int indexOf(Object o){ foreach( i, v; data ){ if( data[i] is o ){ return cast(int)/*64bit*/i; } if(( data[i] is null ) || ( o is null )){ continue; } if( data[i] == o ){ return cast(int)/*64bit*/i; } } return -1; } override bool isEmpty(){ return data.length is 0; } class LocalIterator : Iterator{ int idx = -1; public this(){ } public bool hasNext(){ return idx+1 < data.length; } public Object next(){ idx++; Object res = data[idx]; return res; } public void remove(){ implMissing( __FILE__, __LINE__ ); this.outer.remove(idx); idx--; } } override Iterator iterator(){ return new LocalIterator(); } override int lastIndexOf(Object o){ foreach_reverse( i, v; data ){ if( data[i] is o ){ return cast(int)/*64bit*/i; } if(( data[i] is null ) || ( o is null )){ continue; } if( data[i] == o ){ return cast(int)/*64bit*/i; } } return -1; } class LocalListIterator : ListIterator { int idx_next = 0; public bool hasNext(){ return idx_next < data.length; } public Object next(){ Object res = data[idx_next]; idx_next++; return res; } public void remove(){ implMissing( __FILE__, __LINE__ ); this.outer.remove(idx_next); idx_next--; } public void add(Object o){ implMissing( __FILE__, __LINE__ ); } public void add(String o){ implMissing( __FILE__, __LINE__ ); } public bool hasPrevious(){ return idx_next > 0; } public int nextIndex(){ return idx_next; } public Object previous(){ idx_next--; Object res = data[idx_next]; return res; } public int previousIndex(){ return idx_next-1; } public void set(Object o){ implMissing( __FILE__, __LINE__ ); } } override ListIterator listIterator(){ return new LocalListIterator(); } override ListIterator listIterator(int index){ implMissing( __FILE__, __LINE__ ); return null; } override Object remove(int index){ Object res = data[index]; System.arraycopy( data, index+1, data, index, data.length - index - 1 ); data.length = data.length -1; return res; } override bool remove(Object o){ int idx = -1; for( int i = 0; i < data.length; i++ ){ if( data[i] is null ? o is null : data[i] == o ){ idx = i; break; } } if( idx is -1 ){ return false; } for( int i = idx + 1; i < data.length; i++ ){ data[i-1] = data[i]; } data.length = data.length - 1; return true; } override public bool remove(String key){ return remove(stringcast(key)); } override bool removeAll(Collection c){ implMissing( __FILE__, __LINE__ ); return false; } override bool retainAll(Collection c){ implMissing( __FILE__, __LINE__ ); return false; } override protected void removeRange(int fromIndex, int toIndex){ implMissing( __FILE__, __LINE__ ); } override Object set(int index, Object element){ Object res = data[index]; data[index] = element; return res; } override int size(){ return cast(int)/*64bit*/data.length; } override List subList(int fromIndex, int toIndex){ implMissing( __FILE__, __LINE__ ); return null; } override Object[] toArray(){ return data.dup; } override Object[] toArray(Object[] a){ if( data.length <= a.length ){ a[ 0 .. data.length ] = data; } else{ return data.dup; } if( data.length < a.length ){ a[data.length] = null; } return a; } override String[] toArray(String[] a){ version(Tango){ auto res = a; if( res.length < data.length ){ res.length = data.length; } int idx = 0; foreach( o; data ){ res[idx] = stringcast(o); } return res; } else { // Phobos implMissingInPhobos(); return null; } } // only for D override public int opApply (int delegate(ref Object value) dg){ foreach( o; data ){ auto res = dg( o ); if( res ) return res; } return 0; } override public String toString(){ return super.toString(); } }
D
module android.java.android.provider.MediaStore_Images_Thumbnails_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import3 = android.java.android.graphics.Bitmap_d_interface; import import5 = android.java.java.lang.Class_d_interface; import import0 = android.java.android.database.Cursor_d_interface; import import1 = android.java.android.content.ContentResolver_d_interface; import import2 = android.java.android.net.Uri_d_interface; import import4 = android.java.android.graphics.BitmapFactory_Options_d_interface; @JavaName("MediaStore$Images$Thumbnails") final class MediaStore_Images_Thumbnails : IJavaObject { static immutable string[] _d_canCastTo = [ "android/provider/BaseColumns", ]; @Import this(arsd.jni.Default); @Import static import0.Cursor query(import1.ContentResolver, import2.Uri, string[]); @Import static import0.Cursor queryMiniThumbnails(import1.ContentResolver, import2.Uri, int, string[]); @Import static import0.Cursor queryMiniThumbnail(import1.ContentResolver, long, int, string[]); @Import static void cancelThumbnailRequest(import1.ContentResolver, long); @Import static import3.Bitmap getThumbnail(import1.ContentResolver, long, int, import4.BitmapFactory_Options); @Import static void cancelThumbnailRequest(import1.ContentResolver, long, long); @Import static import3.Bitmap getThumbnail(import1.ContentResolver, long, long, int, import4.BitmapFactory_Options); @Import static import2.Uri getContentUri(string); @Import import5.Class getClass(); @Import int hashCode(); @Import bool equals(IJavaObject); @Import @JavaName("toString") string toString_(); override string toString() { return arsd.jni.javaObjectToString(this); } @Import void notify(); @Import void notifyAll(); @Import void wait(long); @Import void wait(long, int); @Import void wait(); mixin IJavaObjectImplementation!(false); public static immutable string _javaParameterString = "Landroid/provider/MediaStore$Images$Thumbnails;"; }
D
/Users/ThiagoBevi/Dev-iOS/Marvel/Build/Intermediates/Pods.build/Debug-iphonesimulator/Nimble.build/Objects-normal/x86_64/BeIdenticalTo.o : /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/DSL.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Async.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/FailureMessage.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Match.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Functional.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Expression.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Expectation.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Errors.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/DSL+Wait.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Await.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/XCTest.swiftmodule /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/DSL.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/Nimble-umbrella.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/Nimble.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/NMBExceptionCapture.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/CwlPreconditionTesting.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/CwlCatchException.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/CwlMachBadInstructionHandler.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/mach_excServer.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/NMBStringify.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/Nimble.modulemap /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Modules/module.modulemap /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/objc/ObjectiveC.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/Darwin.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Headers/XCTest.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/ThiagoBevi/Dev-iOS/Marvel/Build/Intermediates/Pods.build/Debug-iphonesimulator/Nimble.build/Objects-normal/x86_64/BeIdenticalTo~partial.swiftmodule : /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/DSL.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Async.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/FailureMessage.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Match.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Functional.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Expression.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Expectation.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Errors.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/DSL+Wait.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Await.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/XCTest.swiftmodule /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/DSL.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/Nimble-umbrella.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/Nimble.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/NMBExceptionCapture.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/CwlPreconditionTesting.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/CwlCatchException.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/CwlMachBadInstructionHandler.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/mach_excServer.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/NMBStringify.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/Nimble.modulemap /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Modules/module.modulemap /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/objc/ObjectiveC.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/Darwin.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Headers/XCTest.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/ThiagoBevi/Dev-iOS/Marvel/Build/Intermediates/Pods.build/Debug-iphonesimulator/Nimble.build/Objects-normal/x86_64/BeIdenticalTo~partial.swiftdoc : /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/DSL.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Async.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/FailureMessage.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Match.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Functional.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Expression.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Expectation.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Errors.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/DSL+Wait.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Utils/Await.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.swift /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/XCTest.swiftmodule /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/DSL.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/Nimble-umbrella.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/Nimble.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/NMBExceptionCapture.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/CwlPreconditionTesting.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/CwlCatchException.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/CwlMachBadInstructionHandler.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/mach_excServer.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/NMBStringify.h /Users/ThiagoBevi/Dev-iOS/Marvel/Pods/Headers/Public/Nimble/Nimble.modulemap /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Modules/module.modulemap /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/objc/ObjectiveC.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/usr/include/Darwin.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Headers/XCTest.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/ThiagoBevi/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with gtkD; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // generated automatically - do not change // find conversion definition on APILookup.txt // implement new conversion functionalities on the wrap.utils pakage /* * Conversion parameters: * inFile = cairo-error-status.html * outPack = cairo * outFile = Status * strct = * realStrct= * ctorStrct= * clss = Status * interf = * class Code: No * interface Code: No * template for: * extend = * implements: * prefixes: * - cairo_status_t * - cairo_ * omit structs: * omit prefixes: * omit code: * omit signals: * imports: * - gtkD.glib.Str * structWrap: * module aliases: * local aliases: * overrides: */ module gtkD.cairo.Status; public import gtkD.gtkc.cairotypes; private import gtkD.gtkc.cairo; private import gtkD.glib.ConstructionException; private import gtkD.glib.Str; /** * Description * Cairo uses a single status type to represent all kinds of errors. A status * value of CAIRO_STATUS_SUCCESS represents no error and has an integer value * of zero. All other status values represent an error. * Cairo's error handling is designed to be easy to use and safe. All major * cairo objects retain an error status internally which * can be queried anytime by the users using cairo*_status() calls. In * the mean time, it is safe to call all cairo functions normally even if the * underlying object is in an error status. This means that no error handling * code is required before or after each individual cairo function call. */ public class Status { /** */ /** * Provides a human-readable description of a cairo_status_t. * Params: * status = a cairo status * Returns: a string representation of the status */ public static string oString(cairo_status_t status) { // const char* cairo_status_to_string (cairo_status_t status); return Str.toString(cairo_status_to_string(status)); } /** * Resets all static data within cairo to its original state, * (ie. identical to the state at the time of program invocation). For * example, all caches within cairo will be flushed empty. * This function is intended to be useful when using memory-checking * tools such as valgrind. When valgrind's memcheck analyzes a * cairo-using program without a call to cairo_debug_reset_static_data(), * it will report all data reachable via cairo's static objects as * "still reachable". Calling cairo_debug_reset_static_data() just prior * to program termination will make it easier to get squeaky clean * reports from valgrind. * WARNING: It is only safe to call this function when there are no * active cairo objects remaining, (ie. the appropriate destroy * functions have been called as necessary). If there are active cairo * objects, this call is likely to cause a crash, (eg. an assertion * failure due to a hash table being destroyed when non-empty). */ public static void debugResetStaticData() { // void cairo_debug_reset_static_data (void); cairo_debug_reset_static_data(); } }
D
/Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/TemplateKit.build/AST/TemplateDataContext.swift.o : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/TemplateKit.build/AST/TemplateDataContext~partial.swiftmodule : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/TemplateKit.build/AST/TemplateDataContext~partial.swiftdoc : /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateData.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateEmbed.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Deprecated.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSource.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataStorage.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/ASTCache.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataRepresentable.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/HTMLEscape.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntaxType.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Uppercase.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Lowercase.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Capitalize.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateTag.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConditional.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateCustom.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateExpression.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Var.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Data/TemplateDataEncoder.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIdentifier.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateByteScanner.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/PlaintextRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/ViewRenderer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateParser.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Pipeline/TemplateSerializer.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/TemplateError.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateIterator.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Contains.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Utilities/Exports.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/DateFormat.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateConstant.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Comment.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Print.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Count.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateDataContext.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/TagContext.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/Tag/Raw.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateRaw.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/View.swift /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/template-kit/Sources/TemplateKit/AST/TemplateSyntax.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/weirujian/Desktop/WeiRuJian/Vapor/AuthServer/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/vincent/Desktop/波卡课程/substratelearning/hw04/command/target/debug/deps/structopt-7bf5b12c741c12db.rmeta: /Users/vincent/.cargo/registry/src/github.com-1ecc6299db9ec823/structopt-0.3.16/src/lib.rs /Users/vincent/Desktop/波卡课程/substratelearning/hw04/command/target/debug/deps/libstructopt-7bf5b12c741c12db.rlib: /Users/vincent/.cargo/registry/src/github.com-1ecc6299db9ec823/structopt-0.3.16/src/lib.rs /Users/vincent/Desktop/波卡课程/substratelearning/hw04/command/target/debug/deps/structopt-7bf5b12c741c12db.d: /Users/vincent/.cargo/registry/src/github.com-1ecc6299db9ec823/structopt-0.3.16/src/lib.rs /Users/vincent/.cargo/registry/src/github.com-1ecc6299db9ec823/structopt-0.3.16/src/lib.rs:
D
// Written in the D programming language. /** Functions that manipulate other functions. Macros: WIKI = Phobos/StdFunctional Copyright: Copyright Andrei Alexandrescu 2008 - 2009. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: $(WEB erdani.org, Andrei Alexandrescu) Source: $(PHOBOSSRC std/_functional.d) */ /* Copyright Andrei Alexandrescu 2008 - 2009. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ module std.functional; import std.traits, std.typetuple; /** Transforms a string representing an expression into a unary function. The string must use symbol name $(D a) as the parameter. If $(D fun) is not a string, $(D unaryFun) aliases itself away to $(D fun). Example: ---- alias unaryFun!("(a & 1) == 0") isEven; assert(isEven(2) && !isEven(1)); ---- */ template unaryFun(alias fun, string parmName = "a") { static if (is(typeof(fun) : string)) { import std.traits, std.typecons, std.typetuple; import std.algorithm, std.conv, std.exception, std.math, std.range, std.string; auto unaryFun(ElementType)(auto ref ElementType __a) { mixin("alias " ~ parmName ~ " = __a ;"); return mixin(fun); } } else { alias unaryFun = fun; } } /+ Undocumented, will be removed December 2014+/ deprecated("Parameter byRef is obsolete. Please call unaryFun!(fun, parmName) directly.") template unaryFun(alias fun, bool byRef, string parmName = "a") { alias unaryFun = unaryFun!(fun, parmName); } unittest { static int f1(int a) { return a + 1; } static assert(is(typeof(unaryFun!(f1)(1)) == int)); assert(unaryFun!(f1)(41) == 42); int f2(int a) { return a + 1; } static assert(is(typeof(unaryFun!(f2)(1)) == int)); assert(unaryFun!(f2)(41) == 42); assert(unaryFun!("a + 1")(41) == 42); //assert(unaryFun!("return a + 1;")(41) == 42); int num = 41; assert(unaryFun!("a + 1", true)(num) == 42); } /** Transforms a string representing an expression into a Boolean binary predicate. The string must use symbol names $(D a) and $(D b) as the compared elements. If $(D fun) is not a string, $(D binaryFun) aliases itself away to $(D fun). Example: ---- alias less = binaryFun!("a < b"); assert(less(1, 2) && !less(2, 1)); alias greater = binaryFun!("a > b"); assert(!greater("1", "2") && greater("2", "1")); ---- */ template binaryFun(alias fun, string parm1Name = "a", string parm2Name = "b") { static if (is(typeof(fun) : string)) { import std.traits, std.typecons, std.typetuple; import std.algorithm, std.conv, std.exception, std.math, std.range, std.string; auto binaryFun(ElementType1, ElementType2) (auto ref ElementType1 __a, auto ref ElementType2 __b) { mixin("alias "~parm1Name~" = __a ;"); mixin("alias "~parm2Name~" = __b ;"); return mixin(fun); } } else { alias binaryFun = fun; } } unittest { alias less = binaryFun!(q{a < b}); assert(less(1, 2) && !less(2, 1)); assert(less("1", "2") && !less("2", "1")); static int f1(int a, string b) { return a + 1; } static assert(is(typeof(binaryFun!(f1)(1, "2")) == int)); assert(binaryFun!(f1)(41, "a") == 42); string f2(int a, string b) { return b ~ "2"; } static assert(is(typeof(binaryFun!(f2)(1, "1")) == string)); assert(binaryFun!(f2)(1, "4") == "42"); assert(binaryFun!("a + b")(41, 1) == 42); //@@BUG //assert(binaryFun!("return a + b;")(41, 1) == 42); } /* Predicate that returns $(D_PARAM a < b). */ //bool less(T)(T a, T b) { return a < b; } //alias less = binaryFun!(q{a < b}); /* Predicate that returns $(D_PARAM a > b). */ //alias greater = binaryFun!(q{a > b}); /* Predicate that returns $(D_PARAM a == b). */ //alias equalTo = binaryFun!(q{a == b}); /** N-ary predicate that reverses the order of arguments, e.g., given $(D pred(a, b, c)), returns $(D pred(c, b, a)). */ template reverseArgs(alias pred) { auto reverseArgs(Args...)(auto ref Args args) if (is(typeof(pred(Reverse!args)))) { return pred(Reverse!args); } } unittest { alias gt = reverseArgs!(binaryFun!("a < b")); assert(gt(2, 1) && !gt(1, 1)); int x = 42; bool xyz(int a, int b) { return a * x < b / x; } auto foo = &xyz; foo(4, 5); alias zyx = reverseArgs!(foo); assert(zyx(5, 4) == foo(4, 5)); int abc(int a, int b, int c) { return a * b + c; } alias cba = reverseArgs!abc; assert(abc(91, 17, 32) == cba(32, 17, 91)); int a(int a) { return a * 2; } alias _a = reverseArgs!a; assert(a(2) == _a(2)); int b() { return 4; } alias _b = reverseArgs!b; assert(b() == _b()); } /** Binary predicate that reverses the order of arguments, e.g., given $(D pred(a, b)), returns $(D pred(b, a)). */ template binaryReverseArgs(alias pred) { auto binaryReverseArgs(ElementType1, ElementType2) (ElementType1 a, ElementType2 b) { return pred(b, a); } } unittest { alias gt = binaryReverseArgs!(binaryFun!("a < b")); assert(gt(2, 1) && !gt(1, 1)); int x = 42; bool xyz(int a, int b) { return a * x < b / x; } auto foo = &xyz; foo(4, 5); alias zyx = binaryReverseArgs!(foo); assert(zyx(5, 4) == foo(4, 5)); } /** Negates predicate $(D pred). Example: ---- string a = " Hello, world!"; assert(find!(not!isWhite)(a) == "Hello, world!"); ---- */ template not(alias pred) { auto not(T...)(T args) if (is(typeof(!unaryFun!pred(args))) || is(typeof(!binaryFun!pred(args)))) { static if (T.length == 1) return !unaryFun!pred(args); else static if (T.length == 2) return !binaryFun!pred(args); else static assert(false, "not unimplemented for multiple arguments"); } } /** Partially evaluates $(D fun) by tying its first argument to a particular value. Example: ---- int fun(int a, int b) { return a + b; } alias partial!(fun, 5) fun5; assert(fun5(6) == 11); ---- Note that in most cases you'd use an alias instead of a value assignment. Using an alias allows you to partially evaluate template functions without committing to a particular type of the function. */ template partial(alias fun, alias arg) { static if (is(typeof(fun) == delegate) || is(typeof(fun) == function)) { ReturnType!fun partial(ParameterTypeTuple!fun[1..$] args2) { return fun(arg, args2); } } else { auto partial(Ts...)(Ts args2) { static if (is(typeof(fun(arg, args2)))) { return fun(arg, args2); } else { static string errormsg() { string msg = "Cannot call '" ~ fun.stringof ~ "' with arguments " ~ "(" ~ arg.stringof; foreach(T; Ts) msg ~= ", " ~ T.stringof; msg ~= ")."; return msg; } static assert(0, errormsg()); } } } } /** Deprecated alias for $(D partial), kept for backwards compatibility */ deprecated("Please use std.functional.partial instead") alias curry = partial; // tests for partially evaluating callables unittest { static int f1(int a, int b) { return a + b; } assert(partial!(f1, 5)(6) == 11); int f2(int a, int b) { return a + b; } int x = 5; assert(partial!(f2, x)(6) == 11); x = 7; assert(partial!(f2, x)(6) == 13); static assert(partial!(f2, 5)(6) == 11); auto dg = &f2; auto f3 = &partial!(dg, x); assert(f3(6) == 13); static int funOneArg(int a) { return a; } assert(partial!(funOneArg, 1)() == 1); static int funThreeArgs(int a, int b, int c) { return a + b + c; } alias funThreeArgs1 = partial!(funThreeArgs, 1); assert(funThreeArgs1(2, 3) == 6); static assert(!is(typeof(funThreeArgs1(2)))); enum xe = 5; alias fe = partial!(f2, xe); static assert(fe(6) == 11); } // tests for partially evaluating templated/overloaded callables unittest { static auto add(A, B)(A x, B y) { return x + y; } alias add5 = partial!(add, 5); assert(add5(6) == 11); static assert(!is(typeof(add5()))); static assert(!is(typeof(add5(6, 7)))); // taking address of templated partial evaluation needs explicit type auto dg = &add5!(int); assert(dg(6) == 11); int x = 5; alias addX = partial!(add, x); assert(addX(6) == 11); static struct Callable { static string opCall(string a, string b) { return a ~ b; } int opCall(int a, int b) { return a * b; } double opCall(double a, double b) { return a + b; } } Callable callable; assert(partial!(Callable, "5")("6") == "56"); assert(partial!(callable, 5)(6) == 30); assert(partial!(callable, 7.0)(3.0) == 7.0 + 3.0); static struct TCallable { auto opCall(A, B)(A a, B b) { return a + b; } } TCallable tcallable; assert(partial!(tcallable, 5)(6) == 11); static assert(!is(typeof(partial!(tcallable, "5")(6)))); static A funOneArg(A)(A a) { return a; } alias funOneArg1 = partial!(funOneArg, 1); assert(funOneArg1() == 1); static auto funThreeArgs(A, B, C)(A a, B b, C c) { return a + b + c; } alias funThreeArgs1 = partial!(funThreeArgs, 1); assert(funThreeArgs1(2, 3) == 6); static assert(!is(typeof(funThreeArgs1(1)))); // @@ dmd BUG 6600 @@ // breaks completely unrelated unittest for toDelegate // static assert(is(typeof(dg_pure_nothrow) == int delegate() pure nothrow)); version (none) { auto dg2 = &funOneArg1!(); assert(dg2() == 1); } } /** Takes multiple functions and adjoins them together. The result is a $(XREF typecons, Tuple) with one element per passed-in function. Upon invocation, the returned tuple is the adjoined results of all functions. Note: In the special case where where only a single function is provided ($(D F.length == 1)), adjoin simply aliases to the single passed function ($(D F[0])). */ template adjoin(F...) if (F.length == 1) { alias adjoin = F[0]; } /// ditto template adjoin(F...) if (F.length > 1) { auto adjoin(V...)(auto ref V a) { import std.typecons : tuple; static if (F.length == 2) { return tuple(F[0](a), F[1](a)); } else static if (F.length == 3) { return tuple(F[0](a), F[1](a), F[2](a)); } else { import std.string : format; import std.range : iota; return mixin (q{tuple(%(F[%s](a)%|, %))}.format(iota(0, F.length))); } } } /// unittest { import std.functional, std.typecons; static bool f1(int a) { return a != 0; } static int f2(int a) { return a / 2; } auto x = adjoin!(f1, f2)(5); assert(is(typeof(x) == Tuple!(bool, int))); assert(x[0] == true && x[1] == 2); } unittest { import std.typecons; static bool F1(int a) { return a != 0; } auto x1 = adjoin!(F1)(5); static int F2(int a) { return a / 2; } auto x2 = adjoin!(F1, F2)(5); assert(is(typeof(x2) == Tuple!(bool, int))); assert(x2[0] && x2[1] == 2); auto x3 = adjoin!(F1, F2, F2)(5); assert(is(typeof(x3) == Tuple!(bool, int, int))); assert(x3[0] && x3[1] == 2 && x3[2] == 2); bool F4(int a) { return a != x1; } alias eff4 = adjoin!(F4); static struct S { bool delegate(int) store; int fun() { return 42 + store(5); } } S s; s.store = (int a) { return eff4(a); }; auto x4 = s.fun(); assert(x4 == 43); } unittest { import std.typetuple : staticMap; import std.typecons : Tuple, tuple; alias funs = staticMap!(unaryFun, "a", "a * 2", "a * 3", "a * a", "-a"); alias afun = adjoin!funs; assert(afun(5) == tuple(5, 10, 15, 25, -5)); static class C{} alias IC = immutable(C); IC foo(){return typeof(return).init;} Tuple!(IC, IC, IC, IC) ret1 = adjoin!(foo, foo, foo, foo)(); static struct S{int* p;} alias IS = immutable(S); IS bar(){return typeof(return).init;} enum Tuple!(IS, IS, IS, IS) ret2 = adjoin!(bar, bar, bar, bar)(); } // /*private*/ template NaryFun(string fun, string letter, V...) // { // static if (V.length == 0) // { // enum args = ""; // } // else // { // enum args = V[0].stringof~" "~letter~"; " // ~NaryFun!(fun, [letter[0] + 1], V[1..$]).args; // enum code = args ~ "return "~fun~";"; // } // alias Result = void; // } // unittest // { // writeln(NaryFun!("a * b * 2", "a", int, double).code); // } // /** // naryFun // */ // template naryFun(string fun) // { // //NaryFun!(fun, "a", V).Result // int naryFun(V...)(V values) // { // enum string code = NaryFun!(fun, "a", V).code; // mixin(code); // } // } // unittest // { // alias test = naryFun!("a + b"); // test(1, 2); // } /** Composes passed-in functions $(D fun[0], fun[1], ...) returning a function $(D f(x)) that in turn returns $(D fun[0](fun[1](...(x)))...). Each function can be a regular functions, a delegate, or a string. Example: ---- // First split a string in whitespace-separated tokens and then // convert each token into an integer assert(compose!(map!(to!(int)), split)("1 2 3") == [1, 2, 3]); ---- */ template compose(fun...) { static if (fun.length == 1) { alias compose = unaryFun!(fun[0]); } else static if (fun.length == 2) { // starch alias fun0 = unaryFun!(fun[0]); alias fun1 = unaryFun!(fun[1]); // protein: the core composition operation typeof({ E a; return fun0(fun1(a)); }()) compose(E)(E a) { return fun0(fun1(a)); } } else { // protein: assembling operations alias compose = compose!(fun[0], compose!(fun[1 .. $])); } } /** Pipes functions in sequence. Offers the same functionality as $(D compose), but with functions specified in reverse order. This may lead to more readable code in some situation because the order of execution is the same as lexical order. Example: ---- // Read an entire text file, split the resulting string in // whitespace-separated tokens, and then convert each token into an // integer int[] a = pipe!(readText, split, map!(to!(int)))("file.txt"); ---- */ alias pipe(fun...) = compose!(Reverse!(fun)); unittest { import std.conv : to; string foo(int a) { return to!(string)(a); } int bar(string a) { return to!(int)(a) + 1; } double baz(int a) { return a + 0.5; } assert(compose!(baz, bar, foo)(1) == 2.5); assert(pipe!(foo, bar, baz)(1) == 2.5); assert(compose!(baz, `to!(int)(a) + 1`, foo)(1) == 2.5); assert(compose!(baz, bar)("1"[]) == 2.5); assert(compose!(baz, bar)("1") == 2.5); // @@@BUG@@@ //assert(compose!(`a + 0.5`, `to!(int)(a) + 1`, foo)(1) == 2.5); } /** * $(LUCKY Memoizes) a function so as to avoid repeated * computation. The memoization structure is a hash table keyed by a * tuple of the function's arguments. There is a speed gain if the * function is repeatedly called with the same arguments and is more * expensive than a hash table lookup. For more information on memoization, refer to $(WEB docs.google.com/viewer?url=http%3A%2F%2Fhop.perl.plover.com%2Fbook%2Fpdf%2F03CachingAndMemoization.pdf, this book chapter). Example: ---- double transmogrify(int a, string b) { ... expensive computation ... } alias fastTransmogrify = memoize!transmogrify; unittest { auto slow = transmogrify(2, "hello"); auto fast = fastTransmogrify(2, "hello"); assert(slow == fast); } ---- Technically the memoized function should be pure because $(D memoize) assumes it will always return the same result for a given tuple of arguments. However, $(D memoize) does not enforce that because sometimes it is useful to memoize an impure function, too. To _memoize a recursive function, simply insert the memoized call in lieu of the plain recursive call. For example, to transform the exponential-time Fibonacci implementation into a linear-time computation: Example: ---- ulong fib(ulong n) { alias mfib = memoize!fib; return n < 2 ? 1 : mfib(n - 2) + mfib(n - 1); } ... assert(fib(10) == 89); ---- To improve the speed of the factorial function, Example: ---- ulong fact(ulong n) { alias mfact = memoize!fact; return n < 2 ? 1 : n * mfact(n - 1); } ... assert(fact(10) == 3628800); ---- This memoizes all values of $(D fact) up to the largest argument. To only cache the final result, move $(D memoize) outside the function as shown below. Example: ---- ulong factImpl(ulong n) { return n < 2 ? 1 : n * factImpl(n - 1); } alias fact = memoize!factImpl; ... assert(fact(10) == 3628800); ---- The $(D maxSize) parameter is a cutoff for the cache size. If upon a miss the length of the hash table is found to be $(D maxSize), the table is simply cleared. Example: ---- // Memoize no more than 128 values of transmogrify alias fastTransmogrify = memoize!(transmogrify, 128); ---- */ template memoize(alias fun, uint maxSize = uint.max) { ReturnType!fun memoize(ParameterTypeTuple!fun args) { import std.typecons : Tuple, tuple; static ReturnType!fun[Tuple!(typeof(args))] memo; auto t = tuple(args); auto p = t in memo; if (p) return *p; static if (maxSize != uint.max) { if (memo.length >= maxSize) memo = null; } auto r = fun(args); //writeln("Inserting result ", typeof(r).stringof, "(", r, ") for parameters ", t); memo[t] = r; return r; } } unittest { import core.math; alias msqrt = memoize!(function double(double x) { return sqrt(x); }); auto y = msqrt(2.0); assert(y == msqrt(2.0)); y = msqrt(4.0); assert(y == sqrt(4.0)); // alias mrgb2cmyk = memoize!rgb2cmyk; // auto z = mrgb2cmyk([43, 56, 76]); // assert(z == mrgb2cmyk([43, 56, 76])); //alias mfib = memoize!fib; static ulong fib(ulong n) { alias mfib = memoize!fib; return n < 2 ? 1 : mfib(n - 2) + mfib(n - 1); } auto z = fib(10); assert(z == 89); static ulong fact(ulong n) { alias mfact = memoize!fact; return n < 2 ? 1 : n * mfact(n - 1); } assert(fact(10) == 3628800); } private struct DelegateFaker(F) { import std.typecons; // for @safe static F castToF(THIS)(THIS x) @trusted { return cast(F) x; } /* * What all the stuff below does is this: *-------------------- * struct DelegateFaker(F) { * extern(linkage) * [ref] ReturnType!F doIt(ParameterTypeTuple!F args) [@attributes] * { * auto fp = cast(F) &this; * return fp(args); * } * } *-------------------- */ // We will use MemberFunctionGenerator in std.typecons. This is a policy // configuration for generating the doIt(). template GeneratingPolicy() { // Inform the genereator that we only have type information. enum WITHOUT_SYMBOL = true; // Generate the function body of doIt(). template generateFunctionBody(unused...) { enum generateFunctionBody = // [ref] ReturnType doIt(ParameterTypeTuple args) @attributes q{ // When this function gets called, the this pointer isn't // really a this pointer (no instance even really exists), but // a function pointer that points to the function to be called. // Cast it to the correct type and call it. auto fp = castToF(&this); return fp(args); }; } } // Type information used by the generated code. alias FuncInfo_doIt = FuncInfo!(F); // Generate the member function doIt(). mixin( std.typecons.MemberFunctionGenerator!(GeneratingPolicy!()) .generateFunction!("FuncInfo_doIt", "doIt", F) ); } /** * Convert a callable to a delegate with the same parameter list and * return type, avoiding heap allocations and use of auxiliary storage. * * Examples: * ---- * void doStuff() { * writeln("Hello, world."); * } * * void runDelegate(void delegate() myDelegate) { * myDelegate(); * } * * auto delegateToPass = toDelegate(&doStuff); * runDelegate(delegateToPass); // Calls doStuff, prints "Hello, world." * ---- * * BUGS: * $(UL * $(LI Does not work with $(D @safe) functions.) * $(LI Ignores C-style / D-style variadic arguments.) * ) */ auto toDelegate(F)(auto ref F fp) if (isCallable!(F)) { static if (is(F == delegate)) { return fp; } else static if (is(typeof(&F.opCall) == delegate) || (is(typeof(&F.opCall) V : V*) && is(V == function))) { return toDelegate(&fp.opCall); } else { alias DelType = typeof(&(new DelegateFaker!(F)).doIt); static struct DelegateFields { union { DelType del; //pragma(msg, typeof(del)); struct { void* contextPtr; void* funcPtr; } } } // fp is stored in the returned delegate's context pointer. // The returned delegate's function pointer points to // DelegateFaker.doIt. DelegateFields df; df.contextPtr = cast(void*) fp; DelegateFaker!(F) dummy; auto dummyDel = &dummy.doIt; df.funcPtr = dummyDel.funcptr; return df.del; } } unittest { static int inc(ref uint num) { num++; return 8675309; } uint myNum = 0; auto incMyNumDel = toDelegate(&inc); static assert(is(typeof(incMyNumDel) == int delegate(ref uint))); auto returnVal = incMyNumDel(myNum); assert(myNum == 1); interface I { int opCall(); } class C: I { int opCall() { inc(myNum); return myNum;} } auto c = new C; auto i = cast(I) c; auto getvalc = toDelegate(c); assert(getvalc() == 2); auto getvali = toDelegate(i); assert(getvali() == 3); struct S1 { int opCall() { inc(myNum); return myNum; } } static assert(!is(typeof(&s1.opCall) == delegate)); S1 s1; auto getvals1 = toDelegate(s1); assert(getvals1() == 4); struct S2 { static int opCall() { return 123456; } } static assert(!is(typeof(&S2.opCall) == delegate)); S2 s2; auto getvals2 =&S2.opCall; assert(getvals2() == 123456); /* test for attributes */ { static int refvar = 0xDeadFace; static ref int func_ref() { return refvar; } static int func_pure() pure { return 1; } static int func_nothrow() nothrow { return 2; } static int func_property() @property { return 3; } static int func_safe() @safe { return 4; } static int func_trusted() @trusted { return 5; } static int func_system() @system { return 6; } static int func_pure_nothrow() pure nothrow { return 7; } static int func_pure_nothrow_safe() pure @safe { return 8; } auto dg_ref = toDelegate(&func_ref); auto dg_pure = toDelegate(&func_pure); auto dg_nothrow = toDelegate(&func_nothrow); auto dg_property = toDelegate(&func_property); auto dg_safe = toDelegate(&func_safe); auto dg_trusted = toDelegate(&func_trusted); auto dg_system = toDelegate(&func_system); auto dg_pure_nothrow = toDelegate(&func_pure_nothrow); auto dg_pure_nothrow_safe = toDelegate(&func_pure_nothrow_safe); //static assert(is(typeof(dg_ref) == ref int delegate())); // [BUG@DMD] static assert(is(typeof(dg_pure) == int delegate() pure)); static assert(is(typeof(dg_nothrow) == int delegate() nothrow)); static assert(is(typeof(dg_property) == int delegate() @property)); //static assert(is(typeof(dg_safe) == int delegate() @safe)); static assert(is(typeof(dg_trusted) == int delegate() @trusted)); static assert(is(typeof(dg_system) == int delegate() @system)); static assert(is(typeof(dg_pure_nothrow) == int delegate() pure nothrow)); //static assert(is(typeof(dg_pure_nothrow_safe) == int delegate() pure nothrow @safe)); assert(dg_ref() == refvar); assert(dg_pure() == 1); assert(dg_nothrow() == 2); assert(dg_property() == 3); //assert(dg_safe() == 4); assert(dg_trusted() == 5); assert(dg_system() == 6); assert(dg_pure_nothrow() == 7); //assert(dg_pure_nothrow_safe() == 8); } /* test for linkage */ { struct S { extern(C) static void xtrnC() {} extern(D) static void xtrnD() {} } auto dg_xtrnC = toDelegate(&S.xtrnC); auto dg_xtrnD = toDelegate(&S.xtrnD); static assert(! is(typeof(dg_xtrnC) == typeof(dg_xtrnD))); } }
D
/** Zlib input/output streams Copyright: © 2012 RejectedSoftware e.K. License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig */ module vibe.stream.zlib; import vibe.stream.stream; import std.algorithm; import std.exception; import std.zlib; /** Writes any data compressed in deflate format to the specified output stream. */ class DeflateOutputStream : ZlibOutputStream { this(OutputStream dst) { super(dst, HeaderFormat.deflate); } } /** Writes any data compressed in gzip format to the specified output stream. */ class GzipOutputStream : ZlibOutputStream { this(OutputStream dst) { super(dst, HeaderFormat.gzip); } } /** Generic zlib output stream. */ class ZlibOutputStream : OutputStream { private { OutputStream m_out; Compress m_comp; } this(OutputStream dst, HeaderFormat type) { m_out = dst; m_comp = new Compress(type); } void write(in ubyte[] data, bool do_flush = true) { auto ret = m_comp.compress(data); if( ret.length ) m_out.write(cast(ubyte[])ret, do_flush); } void write(InputStream stream, ulong nbytes = 0, bool do_flush = true) { writeDefault(stream, nbytes, do_flush); } void flush() { //m_out.write(cast(ubyte[])m_comp.flush(Z_SYNC_FLUSH)); m_out.flush(); } void finalize() { auto ret = m_comp.flush(Z_FINISH); if( ret.length > 0 ) m_out.write(cast(ubyte[])ret); m_out.flush(); } } /** Takes an input stream that contains data in deflate compressed format and outputs the uncompressed data. */ class DeflateInputStream : ZlibInputStream { this(InputStream dst) { super(dst, HeaderFormat.deflate); } } /** Takes an input stream that contains data in gzip compressed format and outputs the uncompressed data. */ class GzipInputStream : ZlibInputStream { this(InputStream dst) { super(dst, HeaderFormat.gzip); } } /** Generic zlib input stream. */ class ZlibInputStream : InputStream { private { InputStream m_in; UnCompress m_uncomp; ubyte[] m_buffer; bool m_finished = false; } this(InputStream src, HeaderFormat type) { m_in = src; m_uncomp = new UnCompress(type); } @property bool empty() { assert(!m_finished || m_in.empty); return m_finished && m_buffer.length == 0; } @property ulong leastSize() { if( m_buffer.length ) return m_buffer.length; if( m_in.empty ) return 0; readChunk(); return m_buffer.length; } @property bool dataAvailableForRead() { return m_buffer.length > 0 || m_in.dataAvailableForRead; } const(ubyte)[] peek() { return m_buffer; } void read(ubyte[] dst) { enforce(dst.length == 0 || !empty, "Reading empty stream"); while( dst.length > 0 ){ enforce(!empty, "Reading zlib stream past EOS"); size_t sz = min(m_buffer.length, dst.length); dst[0 .. sz] = m_buffer[0 .. sz]; dst = dst[sz .. $]; m_buffer = m_buffer[sz .. $]; if( !m_buffer.length && !m_finished ) readChunk(); } } private void readChunk() { assert(m_buffer.length == 0, "readChunk called before buffer was emptied"); assert(!m_finished, "readChunk called after zlib stream was finished."); auto chunk = new ubyte[4096]; while(!m_in.empty && m_buffer.length == 0){ auto sz = min(m_in.leastSize, 4096); m_in.read(chunk[0 .. sz]); m_buffer = cast(ubyte[])m_uncomp.uncompress(chunk[0 .. sz]); } if( m_buffer.length == 0 ){ m_buffer = cast(ubyte[])m_uncomp.flush(); m_finished = true; } } }
D
/** * HibernateD - Object-Relation Mapping for D programming language, with interface similar to Hibernate. * * Source file hibernated/dialects/sqlitedialect.d. * * This module contains implementation of PGSQLDialect class which provides implementation specific SQL syntax information. * * Copyright: Copyright 2013 * License: $(LINK www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Author: Vadim Lopatin */ module hibernated.dialects.pgsqldialect; import std.conv; import hibernated.dialect; import hibernated.metadata; import hibernated.type; import ddbc.core; string[] PGSQL_RESERVED_WORDS = [ "ABORT", "ACTION", "ADD", "AFTER", "ALL", "ALTER", "ANALYZE", "AND", "AS", "ASC", "ATTACH", "AUTOINCREMENT", "BEFORE", "BEGIN", "BETWEEN", "BY", "CASCADE", "CASE", "CAST", "CHECK", "COLLATE", "COLUMN", "COMMIT", "CONFLICT", "CONSTRAINT", "CREATE", "CROSS", "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "DATABASE", "DEFAULT", "DEFERRABLE", "DEFERRED", "DELETE", "DESC", "DETACH", "DISTINCT", "DROP", "EACH", "ELSE", "END", "ESCAPE", "EXCEPT", "EXCLUSIVE", "EXISTS", "EXPLAIN", "FAIL", "FOR", "FOREIGN", "FROM", "FULL", "GLOB", "GROUP", "HAVING", "IF", "IGNORE", "IMMEDIATE", "IN", "INDEX", "INDEXED", "INITIALLY", "INNER", "INSERT", "INSTEAD", "INTERSECT", "INTO", "IS", "ISNULL", "JOIN", "KEY", "LEFT", "LIKE", "LIMIT", "MATCH", "NATURAL", "NO", "NOT", "NOTNULL", "NULL", "OF", "OFFSET", "ON", "OR", "ORDER", "OUTER", "PLAN", "PRAGMA", "PRIMARY", "QUERY", "RAISE", "REFERENCES", "REGEXP", "REINDEX", "RELEASE", "RENAME", "REPLACE", "RESTRICT", "RIGHT", "ROLLBACK", "ROW", "SAVEPOINT", "SELECT", "SET", "TABLE", "TEMP", "TEMPORARY", "THEN", "TO", "TRANSACTION", "TRIGGER", "UNION", "UNIQUE", "UPDATE", "USING", "VACUUM", "VALUES", "VIEW", "VIRTUAL", "WHEN", "WHERE", ]; class PGSQLDialect : Dialect { ///The character specific to this dialect used to close a quoted identifier. override char closeQuote() const { return '`'; } ///The character specific to this dialect used to begin a quoted identifier. override char openQuote() const { return '`'; } // returns string like "BIGINT(20) NOT NULL" or "VARCHAR(255) NULL" override string getColumnTypeDefinition(const PropertyInfo pi, const PropertyInfo overrideTypeFrom = null) { immutable Type type = overrideTypeFrom !is null ? overrideTypeFrom.columnType : pi.columnType; immutable SqlType sqlType = type.getSqlType(); bool fk = pi is null; string nullablility = !fk && pi.nullable ? " NULL" : " NOT NULL"; string pk = !fk && pi.key ? " PRIMARY KEY" : ""; if (!fk && pi.generated) { if (sqlType == SqlType.SMALLINT || sqlType == SqlType.TINYINT) return "SERIAL PRIMARY KEY"; if (sqlType == SqlType.INTEGER) return "SERIAL PRIMARY KEY"; return "BIGSERIAL PRIMARY KEY"; } string def = ""; int len = 0; if (cast(NumberType)type !is null) { len = (cast(NumberType)type).length; } if (cast(StringType)type !is null) { len = (cast(StringType)type).length; } string modifiers = nullablility ~ def ~ pk; string lenmodifiers = "(" ~ to!string(len > 0 ? len : 255) ~ ")" ~ modifiers; switch (sqlType) { case SqlType.BIGINT: return "BIGINT" ~ modifiers; case SqlType.BIT: case SqlType.BOOLEAN: return "BOOLEAN" ~ modifiers; case SqlType.INTEGER: return "INT" ~ modifiers; case SqlType.NUMERIC: return "INT" ~ modifiers; case SqlType.SMALLINT: return "SMALLINT" ~ modifiers; case SqlType.TINYINT: return "SMALLINT" ~ modifiers; case SqlType.FLOAT: return "FLOAT(24)" ~ modifiers; case SqlType.DOUBLE: return "FLOAT(53)" ~ modifiers; case SqlType.DECIMAL: return "REAL" ~ modifiers; case SqlType.DATE: return "DATE" ~ modifiers; case SqlType.DATETIME: return "TIMESTAMP" ~ modifiers; case SqlType.TIME: return "TIME" ~ modifiers; case SqlType.CHAR: case SqlType.CLOB: case SqlType.LONGNVARCHAR: case SqlType.LONGVARBINARY: case SqlType.LONGVARCHAR: case SqlType.NCHAR: case SqlType.NCLOB: case SqlType.VARBINARY: case SqlType.VARCHAR: case SqlType.NVARCHAR: return "TEXT" ~ modifiers; case SqlType.BLOB: return "BYTEA"; default: return "TEXT"; } } override string getCheckTableExistsSQL(string tableName) { return "select relname from pg_class where relname = " ~ quoteSqlString(tableName) ~ " and relkind='r'"; } override string getUniqueIndexItemSQL(string indexName, string[] columnNames) { return "UNIQUE " ~ createFieldListSQL(columnNames); } /// for some of RDBMS it's necessary to pass additional clauses in query to get generated value (e.g. in Postgres - " returing id" override string appendInsertToFetchGeneratedKey(string query, const EntityInfo entity) { return query ~ " RETURNING " ~ quoteIfNeeded(entity.getKeyProperty().columnName); } this() { addKeywords(PGSQL_RESERVED_WORDS); } }
D
// Microsoft Shell Controls And Automation // Version 1.0 /*[uuid("50a7e9b0-70ef-11d1-b75a-00a0c90564fe")]*/ module os.win.tlb.shell32; /*[importlib("STDOLE2.TLB")]*/ private import os.win.com.core; // Enums // Search Command Execute Errors enum SearchCommandExecuteErrors { SCEE_PATHNOTFOUND = 0x00000001, SCEE_MAXFILESFOUND = 0x00000002, SCEE_INDEXSEARCH = 0x00000003, SCEE_CONSTRAINT = 0x00000004, SCEE_SCOPEMISMATCH = 0x00000005, SCEE_CASESENINDEX = 0x00000006, SCEE_INDEXNOTCOMPLETE = 0x00000007, } // Constants for Folder2.OfflineStatus enum OfflineFolderStatus { OFS_INACTIVE = 0xFFFFFFFF, OFS_ONLINE = 0x00000000, OFS_OFFLINE = 0x00000001, OFS_SERVERBACK = 0x00000002, OFS_DIRTYCACHE = 0x00000003, } // Constants for ViewOptions enum ShellFolderViewOptions { SFVVO_SHOWALLOBJECTS = 0x00000001, SFVVO_SHOWEXTENSIONS = 0x00000002, SFVVO_SHOWCOMPCOLOR = 0x00000008, SFVVO_SHOWSYSFILES = 0x00000020, SFVVO_WIN95CLASSIC = 0x00000040, SFVVO_DOUBLECLICKINWEBVIEW = 0x00000080, SFVVO_DESKTOPHTML = 0x00000200, } // Constants for Special Folders for open/Explore enum ShellSpecialFolderConstants { ssfDESKTOP = 0x00000000, ssfPROGRAMS = 0x00000002, ssfCONTROLS = 0x00000003, ssfPRINTERS = 0x00000004, ssfPERSONAL = 0x00000005, ssfFAVORITES = 0x00000006, ssfSTARTUP = 0x00000007, ssfRECENT = 0x00000008, ssfSENDTO = 0x00000009, ssfBITBUCKET = 0x0000000A, ssfSTARTMENU = 0x0000000B, ssfDESKTOPDIRECTORY = 0x00000010, ssfDRIVES = 0x00000011, ssfNETWORK = 0x00000012, ssfNETHOOD = 0x00000013, ssfFONTS = 0x00000014, ssfTEMPLATES = 0x00000015, ssfCOMMONSTARTMENU = 0x00000016, ssfCOMMONPROGRAMS = 0x00000017, ssfCOMMONSTARTUP = 0x00000018, ssfCOMMONDESKTOPDIR = 0x00000019, ssfAPPDATA = 0x0000001A, ssfPRINTHOOD = 0x0000001B, ssfLOCALAPPDATA = 0x0000001C, ssfALTSTARTUP = 0x0000001D, ssfCOMMONALTSTARTUP = 0x0000001E, ssfCOMMONFAVORITES = 0x0000001F, ssfINTERNETCACHE = 0x00000020, ssfCOOKIES = 0x00000021, ssfHISTORY = 0x00000022, ssfCOMMONAPPDATA = 0x00000023, ssfWINDOWS = 0x00000024, ssfSYSTEM = 0x00000025, ssfPROGRAMFILES = 0x00000026, ssfMYPICTURES = 0x00000027, ssfPROFILE = 0x00000028, ssfSYSTEMx86 = 0x00000029, ssfPROGRAMFILESx86 = 0x00000030, } // Interfaces // Folder View Events Forwarder Object interface IFolderViewOC : IDispatch { mixin(uuid("9ba05970-f6a8-11cf-a442-00a0c90a8f39")); // Set the ShellFolderView object to monitor events of. /*[id(0x60020000)]*/ int SetFolderView(IDispatch pdisp); } // Event interface for ShellFolderView interface DShellFolderViewEvents : IDispatch { mixin(uuid("62112aa2-ebe4-11cf-a5fb-0020afe7292d")); /+// The Selection in the view changed. /*[id(0x000000C8)]*/ void SelectionChanged();+/ /+// The folder has finished enumerating (flashlight is gone). /*[id(0x000000C9)]*/ void EnumDone();+/ /+// A verb was invoked on an items in the view (return false to cancel). /*[id(0x000000CA)]*/ short VerbInvoked();+/ /+// the default verb (double click) was invoked on an items in the view (return false to cancel). /*[id(0x000000CB)]*/ short DefaultVerbInvoked();+/ /+// user started to drag an item (return false to cancel). /*[id(0x000000CC)]*/ short BeginDrag();+/ } // Constraint used in search command interface DFConstraint : IDispatch { mixin(uuid("4a3df050-23bd-11d2-939f-00a0c91eedba")); // Get the constraint name /*[id(0x60020000)]*/ int get_Name(out wchar* pbs); // Get the constraint Value /*[id(0x60020001)]*/ int get_Value(out VARIANT pv); } // DocFind automation interface interface ISearchCommandExt : IDispatch { mixin(uuid("1d2efd50-75ce-11d1-b75a-00a0c90564fe")); // Clear out the results /*[id(0x00000001)]*/ int ClearResults(); // Navigate to Search Results /*[id(0x00000002)]*/ int NavigateToSearchResults(); // Get the progress text /*[id(0x00000003)]*/ int get_ProgressText(out wchar* pbs); // Save Search /*[id(0x00000004)]*/ int SaveSearch(); // Get the last error information /*[id(0x00000005)]*/ int GetErrorInfo(out wchar* pbs, out int phr); // Search For Files/Folders(0) or Computers(1) /*[id(0x00000006)]*/ int SearchFor(int iFor); // Get Scope information - Indexed/NonIndexed/Mixed /*[id(0x00000007)]*/ int GetScopeInfo(wchar* bsScope, out int pdwScopeInfo); // Restore the specified search file. /*[id(0x00000008)]*/ int RestoreSavedSearch(VARIANT* pvarFile); // Start the search /*[id(0x00000064)]*/ int Execute(VARIANT* RecordsAffected, VARIANT* Parameters, int Options); // Create a parameter /*[id(0x00000065)]*/ int AddConstraint(wchar* Name, VARIANT Value); // Enum through the constraints... /*[id(0x00000066)]*/ int GetNextConstraint(short fReset, out DFConstraint ppdfc); } // Definition of interface FolderItem interface FolderItem : IDispatch { mixin(uuid("fac32c80-cbe4-11ce-8350-444553540000")); // Get Application object /*[id(0x60020000)]*/ int get_Application(out IDispatch ppid); // Get Parent object /*[id(0x60020001)]*/ int get_Parent(out IDispatch ppid); // Get display name for item /*[id(0x00000000)]*/ int get_Name(out wchar* pbs); // Get display name for item /*[id(0x00000000)]*/ int put_Name(wchar* pbs); // Get the pathname to the item /*[id(0x60020004)]*/ int get_Path(out wchar* pbs); // If item is link return link object /*[id(0x60020005)]*/ int get_GetLink(out IDispatch ppid); // If item is a folder return folder object /*[id(0x60020006)]*/ int get_GetFolder(out IDispatch ppid); // Is the item a link? /*[id(0x60020007)]*/ int get_IsLink(out short pb); // Is the item a Folder? /*[id(0x60020008)]*/ int get_IsFolder(out short pb); // Is the item a file system object? /*[id(0x60020009)]*/ int get_IsFileSystem(out short pb); // Is the item browsable? /*[id(0x6002000A)]*/ int get_IsBrowsable(out short pb); // Modification Date? /*[id(0x6002000B)]*/ int get_ModifyDate(out double pdt); // Modification Date? /*[id(0x6002000B)]*/ int put_ModifyDate(double pdt); // Size /*[id(0x6002000D)]*/ int get_Size(out int pul); // Type /*[id(0x6002000E)]*/ int get_Type(out wchar* pbs); // Get the list of verbs for the object /*[id(0x6002000F)]*/ int Verbs(out FolderItemVerbs ppfic); // Execute a command on the item /*[id(0x60020010)]*/ int InvokeVerb(VARIANT vVerb); } // Definition of interface FolderItemVerbs interface FolderItemVerbs : IDispatch { mixin(uuid("1f8352c0-50b0-11cf-960c-0080c7f4ee85")); // Get count of open folder windows /*[id(0x60020000)]*/ int get_Count(out int plCount); // Get Application object /*[id(0x60020001)]*/ int get_Application(out IDispatch ppid); // Get Parent object /*[id(0x60020002)]*/ int get_Parent(out IDispatch ppid); // Return the specified verb /*[id(0x60020003)]*/ int Item(VARIANT index, out FolderItemVerb ppid); // Enumerates the figures /*[id(0xFFFFFFFC)]*/ int _NewEnum(out IUnknown ppunk); } // Definition of interface FolderItemVerb interface FolderItemVerb : IDispatch { mixin(uuid("08ec3e00-50b0-11cf-960c-0080c7f4ee85")); // Get Application object /*[id(0x60020000)]*/ int get_Application(out IDispatch ppid); // Get Parent object /*[id(0x60020001)]*/ int get_Parent(out IDispatch ppid); // Get display name for item /*[id(0x00000000)]*/ int get_Name(out wchar* pbs); // Execute the verb /*[id(0x60020003)]*/ int DoIt(); } // Definition of interface FolderItems interface FolderItems : IDispatch { mixin(uuid("744129e0-cbe5-11ce-8350-444553540000")); // Get count of items in the folder /*[id(0x60020000)]*/ int get_Count(out int plCount); // Get Application object /*[id(0x60020001)]*/ int get_Application(out IDispatch ppid); // Get Parent object /*[id(0x60020002)]*/ int get_Parent(out IDispatch ppid); // Return the figure for the given index /*[id(0x60020003)]*/ int Item(VARIANT index, out FolderItem ppid); // Enumerates the figures /*[id(0xFFFFFFFC)]*/ int _NewEnum(out IUnknown ppunk); } // Definition of interface Folder interface Folder : IDispatch { mixin(uuid("bbcbde60-c3ff-11ce-8350-444553540000")); // Get the display name for the window /*[id(0x00000000)]*/ int get_Title(out wchar* pbs); // Get Application object /*[id(0x60020001)]*/ int get_Application(out IDispatch ppid); // Get Parent object /*[id(0x60020002)]*/ int get_Parent(out IDispatch ppid); // Get Parent object /*[id(0x60020003)]*/ int get_ParentFolder(out Folder ppsf); // The collection of Items in folder /*[id(0x60020004)]*/ int Items(out FolderItems ppid); // Parse the name to get an item. /*[id(0x60020005)]*/ int ParseName(wchar* bName, out FolderItem ppid); // Create a new sub folder in this folder. /*[id(0x60020006)]*/ int NewFolder(wchar* bName, VARIANT vOptions); // Move Items to this folder. /*[id(0x60020007)]*/ int MoveHere(VARIANT vItem, VARIANT vOptions); // Copy Items to this folder. /*[id(0x60020008)]*/ int CopyHere(VARIANT vItem, VARIANT vOptions); // Get the details about an item. /*[id(0x60020009)]*/ int GetDetailsOf(VARIANT vItem, int iColumn, out wchar* pbs); } // Definition of interface Folder2 interface Folder2 : Folder { mixin(uuid("f0d2d8ef-3890-11d2-bf8b-00c04fb93661")); // Folder's FolderItem interface /*[id(0x60030000)]*/ int get_Self(out FolderItem ppfi); // Offline status of the server? /*[id(0x60030001)]*/ int get_OfflineStatus(out int pul); // Synchronize all offline files /*[id(0x60030002)]*/ int Synchronize(); // Should the WebView barricade be shown? /*[id(0x00000001)]*/ int get_HaveToShowWebViewBarricade(out short pbHaveToShowWebViewBarricade); // Call this after the WebView barricade is dismissed by the user /*[id(0x60030004)]*/ int DismissedWebViewBarricade(); } // Definition of interface Folder version 3 interface Folder3 : Folder2 { mixin(uuid("a7ae5f64-c4d7-4d7f-9307-4d24ee54b841")); // Ask if the WebView barricade should be shown or not /*[id(0x00000002)]*/ int get_ShowWebViewBarricade(out short pbShowWebViewBarricade); // Ask if the WebView barricade should be shown or not /*[id(0x00000002)]*/ int put_ShowWebViewBarricade(short pbShowWebViewBarricade); } // Definition of interface FolderItem Version 2 interface FolderItem2 : FolderItem { mixin(uuid("edc817aa-92b8-11d1-b075-00c04fc33aa5")); // Extended version of InvokeVerb /*[id(0x60030000)]*/ int InvokeVerbEx(VARIANT vVerb, VARIANT vArgs); // Access an extended property /*[id(0x60030001)]*/ int ExtendedProperty(wchar* bstrPropName, out VARIANT pvRet); } // Definition of interface FolderItems Version 2 interface FolderItems2 : FolderItems { mixin(uuid("c94f0ad0-f363-11d2-a327-00c04f8eec7f")); // Extended version of InvokeVerb for a collection of Folder Items /*[id(0x60030000)]*/ int InvokeVerbEx(VARIANT vVerb, VARIANT vArgs); } // Definition of interface FolderItems Version 3 interface FolderItems3 : FolderItems2 { mixin(uuid("eaa7c309-bbec-49d5-821d-64d966cb667f")); // Set a wildcard filter to apply to the items returned /*[id(0x60040000)]*/ int Filter(int grfFlags, wchar* bstrFileSpec); // Get the list of verbs common to all the items /*[id(0x00000000)]*/ int get_Verbs(out FolderItemVerbs ppfic); } // Definition of Shell Link IDispatch interface interface IShellLinkDual : IDispatch { mixin(uuid("88a05c00-f000-11ce-8350-444553540000")); // Get the path of the link /*[id(0x60020000)]*/ int get_Path(out wchar* pbs); // Get the path of the link /*[id(0x60020000)]*/ int put_Path(wchar* pbs); // Get the description for the link /*[id(0x60020002)]*/ int get_Description(out wchar* pbs); // Get the description for the link /*[id(0x60020002)]*/ int put_Description(wchar* pbs); // Get the working directory for the link /*[id(0x60020004)]*/ int get_WorkingDirectory(out wchar* pbs); // Get the working directory for the link /*[id(0x60020004)]*/ int put_WorkingDirectory(wchar* pbs); // Get the arguments for the link /*[id(0x60020006)]*/ int get_Arguments(out wchar* pbs); // Get the arguments for the link /*[id(0x60020006)]*/ int put_Arguments(wchar* pbs); // Get the Hotkey for the link /*[id(0x60020008)]*/ int get_Hotkey(out int piHK); // Get the Hotkey for the link /*[id(0x60020008)]*/ int put_Hotkey(int piHK); // Get the Show Command for the link /*[id(0x6002000A)]*/ int get_ShowCommand(out int piShowCommand); // Get the Show Command for the link /*[id(0x6002000A)]*/ int put_ShowCommand(int piShowCommand); // Tell the link to resolve itself /*[id(0x6002000C)]*/ int Resolve(int fFlags); // Get the IconLocation for the link /*[id(0x6002000D)]*/ int GetIconLocation(out wchar* pbs, out int piIcon); // Set the IconLocation for the link /*[id(0x6002000E)]*/ int SetIconLocation(wchar* bs, int iIcon); // Tell the link to save the changes /*[id(0x6002000F)]*/ int Save(VARIANT vWhere); } // Shell Link2 IDispatch interface interface IShellLinkDual2 : IShellLinkDual { mixin(uuid("317ee249-f12e-11d2-b1e4-00c04f8eeb3e")); // Get the target of a link object /*[id(0x60030000)]*/ int get_Target(out FolderItem ppfi); } // definition of interface IShellFolderViewDual interface IShellFolderViewDual : IDispatch { mixin(uuid("e7a1af80-4d96-11cf-960c-0080c7f4ee85")); // Get Application object /*[id(0x60020000)]*/ int get_Application(out IDispatch ppid); // Get Parent object /*[id(0x60020001)]*/ int get_Parent(out IDispatch ppid); // Get the folder being viewed /*[id(0x60020002)]*/ int get_Folder(out Folder ppid); // The collection of Selected Items in folder /*[id(0x60020003)]*/ int SelectedItems(out FolderItems ppid); // The currently focused item in the folder /*[id(0x60020004)]*/ int get_FocusedItem(out FolderItem ppid); // Select the item /*[id(0x60020005)]*/ int SelectItem(VARIANT* pvfi, int dwFlags); // Show items menu and return command selected /*[id(0x60020006)]*/ int PopupItemMenu(FolderItem pfi, VARIANT vx, VARIANT vy, out wchar* pbs); // Returns the scripting automation model. /*[id(0x60020007)]*/ int get_Script(out IDispatch ppDisp); // Returns the view options for showing a folder. /*[id(0x60020008)]*/ int get_ViewOptions(out int plViewOptions); } // definition of interface IShellFolderViewDual2 interface IShellFolderViewDual2 : IShellFolderViewDual { mixin(uuid("31c147b6-0ade-4a3c-b514-ddf932ef6d17")); // Get Current View Mode /*[id(0x60030000)]*/ int get_CurrentViewMode(out uint pViewMode); // Get Current View Mode /*[id(0x60030000)]*/ int put_CurrentViewMode(uint pViewMode); // Select Item relative to the Current Item /*[id(0x60030002)]*/ int SelectItemRelative(int iRelative); } // Definition of interface IShellDispatch interface IShellDispatch : IDispatch { mixin(uuid("d8f015c0-c278-11ce-a49e-444553540000")); // Get Application object /*[id(0x60020000)]*/ int get_Application(out IDispatch ppid); // Get Parent object /*[id(0x60020001)]*/ int get_Parent(out IDispatch ppid); // Get special folder from ShellSpecialFolderConstants /*[id(0x60020002)]*/ int NameSpace(VARIANT vDir, out Folder ppsdf); // Browse the name space for a Folder /*[id(0x60020003)]*/ int BrowseForFolder(int Hwnd, wchar* Title, int Options, VARIANT RootFolder, out Folder ppsdf); // The collection of open folder windows /*[id(0x60020004)]*/ int Windows(out IDispatch ppid); // Open a folder /*[id(0x60020005)]*/ int Open(VARIANT vDir); // Explore a folder /*[id(0x60020006)]*/ int Explore(VARIANT vDir); // Minimize all windows /*[id(0x60020007)]*/ int MinimizeAll(); // Undo Minimize All /*[id(0x60020008)]*/ int UndoMinimizeALL(); // Bring up the file run /*[id(0x60020009)]*/ int FileRun(); // Cascade Windows /*[id(0x6002000A)]*/ int CascadeWindows(); // Tile windows vertically /*[id(0x6002000B)]*/ int TileVertically(); // Tile windows horizontally /*[id(0x6002000C)]*/ int TileHorizontally(); // Exit Windows /*[id(0x6002000D)]*/ int ShutdownWindows(); // Suspend the pc /*[id(0x6002000E)]*/ int Suspend(); // Eject the pc /*[id(0x6002000F)]*/ int EjectPC(); // Bring up the Set time dialog /*[id(0x60020010)]*/ int SetTime(); // Handle Tray properties /*[id(0x60020011)]*/ int TrayProperties(); // Display shell help /*[id(0x60020012)]*/ int Help(); // Find Files /*[id(0x60020013)]*/ int FindFiles(); // Find a computer /*[id(0x60020014)]*/ int FindComputer(); // Refresh the menu /*[id(0x60020015)]*/ int RefreshMenu(); // Run a Control Panel Item /*[id(0x60020016)]*/ int ControlPanelItem(wchar* szDir); } // Updated IShellDispatch interface IShellDispatch2 : IShellDispatch { mixin(uuid("a4c6892c-3ba9-11d2-9dea-00c04fb16162")); // get restriction settings /*[id(0x60030000)]*/ int IsRestricted(wchar* Group, wchar* Restriction, out int plRestrictValue); // Execute generic command /*[id(0x60030001)]*/ int ShellExecute(wchar* File, VARIANT vArgs, VARIANT vDir, VARIANT vOperation, VARIANT vShow); // Find a Printer in the Directory Service /*[id(0x60030002)]*/ int FindPrinter(wchar* Name, wchar* location, wchar* model); // Retrieve info about the user's system /*[id(0x60030003)]*/ int GetSystemInformation(wchar* Name, out VARIANT pv); // Start a service by name, and optionally set it to autostart. /*[id(0x60030004)]*/ int ServiceStart(wchar* ServiceName, VARIANT Persistent, out VARIANT pSuccess); // Stop a service by name, and optionally disable autostart. /*[id(0x60030005)]*/ int ServiceStop(wchar* ServiceName, VARIANT Persistent, out VARIANT pSuccess); // Determine if a service is running by name. /*[id(0x60030006)]*/ int IsServiceRunning(wchar* ServiceName, out VARIANT pRunning); // Determine if the current user can start/stop the named service. /*[id(0x60030007)]*/ int CanStartStopService(wchar* ServiceName, out VARIANT pCanStartStop); // Show/Hide browser bar. /*[id(0x60030008)]*/ int ShowBrowserBar(wchar* bstrClsid, VARIANT bShow, out VARIANT pSuccess); } // Updated IShellDispatch interface IShellDispatch3 : IShellDispatch2 { mixin(uuid("177160ca-bb5a-411c-841d-bd38facdeaa0")); // Add an object to the Recent Docuements /*[id(0x60040000)]*/ int AddToRecent(VARIANT varFile, wchar* bstrCategory); } // Updated IShellDispatch interface IShellDispatch4 : IShellDispatch3 { mixin(uuid("efd84b2d-4bcf-4298-be25-eb542a59fbda")); // Windows Security /*[id(0x60050000)]*/ int WindowsSecurity(); // Raise/lower the desktop /*[id(0x60050001)]*/ int ToggleDesktop(); // Return explorer policy value /*[id(0x60050002)]*/ int ExplorerPolicy(wchar* bstrPolicyName, out VARIANT pValue); // Return shell global setting /*[id(0x60050003)]*/ int GetSetting(int lSetting, out short pResult); } // Event interface for command events interface DSearchCommandEvents : IDispatch { mixin(uuid("60890160-69f0-11d1-b758-00a0c90564fe")); /+// Search started. /*[id(0x00000001)]*/ int SearchStart();+/ /+// Search completed normally. /*[id(0x00000002)]*/ int SearchComplete();+/ /+// Search cancelled. /*[id(0x00000003)]*/ int SearchAbort();+/ /+// Recordset changed. /*[id(0x00000004)]*/ int RecordsetUpdate();+/ /+// The Progress text changed /*[id(0x00000005)]*/ int ProgressTextChanged();+/ /+// An error has happened. /*[id(0x00000006)]*/ int SearchError();+/ /+// Criteria and resultes restored from file. /*[id(0x00000007)]*/ int SearchRestored();+/ } // IFileSearchBand Interface interface IFileSearchBand : IDispatch { mixin(uuid("2d91eea1-9932-11d2-be86-00a0c9a83da1")); // method SetFocus /*[id(0x00000001)]*/ int SetFocus(); // method SetSearchParameters /*[id(0x00000002)]*/ int SetSearchParameters(wchar** pbstrSearchID, short bNavToResults, VARIANT* pvarScope, VARIANT* pvarQueryFile); // Retrieve the guid of the currently active search. /*[id(0x00000003)]*/ int get_SearchID(out wchar* pbstrSearchID); // Get the search scope /*[id(0x00000004)]*/ int get_Scope(out VARIANT pvarScope); // Retrieve the file from which the search was restored. /*[id(0x00000005)]*/ int get_QueryFile(out VARIANT pvarFile); } // IWebWizardHost interface interface IWebWizardHost : IDispatch { mixin(uuid("18bcc359-4990-4bfb-b951-3c83702be5f9")); /*[id(0x00000000)]*/ int FinalBack(); /*[id(0x00000001)]*/ int FinalNext(); /*[id(0x00000002)]*/ int Cancel(); /*[id(0x00000003)]*/ int put_Caption(wchar* pbstrCaption); /*[id(0x00000003)]*/ int get_Caption(out wchar* pbstrCaption); /*[id(0x00000004)]*/ int put_Property(wchar* bstrPropertyName, VARIANT* pvProperty); /*[id(0x00000004)]*/ int get_Property(wchar* bstrPropertyName, out VARIANT pvProperty); /*[id(0x00000005)]*/ int SetWizardButtons(short vfEnableBack, short vfEnableNext, short vfLastPage); /*[id(0x00000006)]*/ int SetHeaderText(wchar* bstrHeaderTitle, wchar* bstrHeaderSubtitle); } // INewWDEvents interface interface INewWDEvents : IWebWizardHost { mixin(uuid("0751c551-7568-41c9-8e5b-e22e38919236")); /*[id(0x00000007)]*/ int PassportAuthenticate(wchar* bstrSignInUrl, out short pvfAuthenitcated); } // IPassportClientServices interface IPassportClientServices : IDispatch { mixin(uuid("b30f7305-5967-45d1-b7bc-d6eb7163d770")); /*[id(0x00000000)]*/ int MemberExists(wchar* bstrUser, wchar* bstrPassword, out short pvfExists); } // CoClasses // Shell Folder View Events Router. abstract final class ShellFolderViewOC { mixin(uuid("9ba05971-f6a8-11cf-a442-00a0c90a8f39")); mixin Interfaces!(IFolderViewOC); } // Shell Folder Item abstract final class ShellFolderItem { mixin(uuid("2fe352ea-fd1f-11d2-b1f4-00c04f8eeb3e")); mixin Interfaces!(FolderItem2); } // Shell Link object abstract final class ShellLinkObject { mixin(uuid("11219420-1768-11d1-95be-00609797ea4f")); mixin Interfaces!(IShellLinkDual); } // Shell Folder View Object abstract final class ShellFolderView { mixin(uuid("62112aa1-ebe4-11cf-a5fb-0020afe7292d")); mixin Interfaces!(IShellFolderViewDual2); } // Shell Object Type Information abstract final class Shell { mixin(uuid("13709620-c279-11ce-a49e-444553540000")); mixin Interfaces!(IShellDispatch); } // ShellDispatch Load in Shell Context abstract final class ShellDispatchInproc { mixin(uuid("0a89a860-d7b1-11ce-8350-444553540000")); mixin Interfaces!(IUnknown); } abstract final class WebViewFolderContents { mixin(uuid("1820fed0-473e-11d0-a96c-00c04fd705a2")); mixin Interfaces!(IShellFolderViewDual); } // Search command object. abstract final class SearchCommand { mixin(uuid("b005e690-678d-11d1-b758-00a0c90564fe")); mixin Interfaces!(IDispatch); } // FileSearchBand Class abstract final class FileSearchBand { mixin(uuid("c4ee31f3-4768-11d2-be5c-00a0c9a83da1")); mixin Interfaces!(IFileSearchBand); } // PassportClientServices Class abstract final class PassportClientServices { mixin(uuid("2d2307c8-7db4-40d6-9100-d52af4f97a5b")); mixin Interfaces!(IPassportClientServices); }
D
/** * Defines declarations of various attributes. * * The term 'attribute' refers to things that can apply to a larger scope than a single declaration. * Among them are: * - Alignment (`align(8)`) * - User defined attributes (`@UDA`) * - Function Attributes (`@safe`) * - Storage classes (`static`, `__gshared`) * - Mixin declarations (`mixin("int x;")`) * - Conditional compilation (`static if`, `static foreach`) * - Linkage (`extern(C)`) * - Anonymous structs / unions * - Protection (`private`, `public`) * - Deprecated declarations (`@deprecated`) * * Copyright: Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 http://www.digitalmars.com, Walter Bright) * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/attrib.d, _attrib.d) * Documentation: https://dlang.org/phobos/dmd_attrib.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/attrib.d */ module dmd.attrib; import dmd.aggregate; import dmd.arraytypes; import dmd.cond; import dmd.declaration; import dmd.dmodule; import dmd.dscope; import dmd.dsymbol; import dmd.dsymbolsem : dsymbolSemantic; import dmd.expression; import dmd.expressionsem : arrayExpressionSemantic; import dmd.func; import dmd.globals; import dmd.hdrgen : protectionToBuffer; import dmd.id; import dmd.identifier; import dmd.mtype; import dmd.objc; // for objc.addSymbols import dmd.root.outbuffer; import dmd.target; // for target.systemLinkage import dmd.tokens; import dmd.visitor; /*********************************************************** * Abstract attribute applied to Dsymbol's used as a common * ancestor for storage classes (StorageClassDeclaration), * linkage (LinkageDeclaration) and others. */ extern (C++) abstract class AttribDeclaration : Dsymbol { Dsymbols* decl; /// Dsymbol's affected by this AttribDeclaration extern (D) this(Dsymbols* decl) { this.decl = decl; } extern (D) this(const ref Loc loc, Identifier ident, Dsymbols* decl) { super(loc, ident); this.decl = decl; } Dsymbols* include(Scope* sc) { if (errors) return null; return decl; } /**************************************** * Create a new scope if one or more given attributes * are different from the sc's. * If the returned scope != sc, the caller should pop * the scope after it used. */ extern (D) static Scope* createNewScope(Scope* sc, StorageClass stc, LINK linkage, CPPMANGLE cppmangle, Prot protection, int explicitProtection, AlignDeclaration aligndecl, PINLINE inlining) { Scope* sc2 = sc; if (stc != sc.stc || linkage != sc.linkage || cppmangle != sc.cppmangle || !protection.isSubsetOf(sc.protection) || explicitProtection != sc.explicitProtection || aligndecl !is sc.aligndecl || inlining != sc.inlining) { // create new one for changes sc2 = sc.copy(); sc2.stc = stc; sc2.linkage = linkage; sc2.cppmangle = cppmangle; sc2.protection = protection; sc2.explicitProtection = explicitProtection; sc2.aligndecl = aligndecl; sc2.inlining = inlining; } return sc2; } /**************************************** * A hook point to supply scope for members. * addMember, setScope, importAll, semantic, semantic2 and semantic3 will use this. */ Scope* newScope(Scope* sc) { return sc; } override void addMember(Scope* sc, ScopeDsymbol sds) { Dsymbols* d = include(sc); if (d) { Scope* sc2 = newScope(sc); d.foreachDsymbol( s => s.addMember(sc2, sds) ); if (sc2 != sc) sc2.pop(); } } override void setScope(Scope* sc) { Dsymbols* d = include(sc); //printf("\tAttribDeclaration::setScope '%s', d = %p\n",toChars(), d); if (d) { Scope* sc2 = newScope(sc); d.foreachDsymbol( s => s.setScope(sc2) ); if (sc2 != sc) sc2.pop(); } } override void importAll(Scope* sc) { Dsymbols* d = include(sc); //printf("\tAttribDeclaration::importAll '%s', d = %p\n", toChars(), d); if (d) { Scope* sc2 = newScope(sc); d.foreachDsymbol( s => s.importAll(sc2) ); if (sc2 != sc) sc2.pop(); } } override void addComment(const(char)* comment) { //printf("AttribDeclaration::addComment %s\n", comment); if (comment) { include(null).foreachDsymbol( s => s.addComment(comment) ); } } override const(char)* kind() const { return "attribute"; } override bool oneMember(Dsymbol* ps, Identifier ident) { Dsymbols* d = include(null); return Dsymbol.oneMembers(d, ps, ident); } override void setFieldOffset(AggregateDeclaration ad, uint* poffset, bool isunion) { include(null).foreachDsymbol( s => s.setFieldOffset(ad, poffset, isunion) ); } override final bool hasPointers() { return include(null).foreachDsymbol( (s) { return s.hasPointers(); } ) != 0; } override final bool hasStaticCtorOrDtor() { return include(null).foreachDsymbol( (s) { return s.hasStaticCtorOrDtor(); } ) != 0; } override final void checkCtorConstInit() { include(null).foreachDsymbol( s => s.checkCtorConstInit() ); } /**************************************** */ override final void addLocalClass(ClassDeclarations* aclasses) { include(null).foreachDsymbol( s => s.addLocalClass(aclasses) ); } override final void addObjcSymbols(ClassDeclarations* classes, ClassDeclarations* categories) { objc.addSymbols(this, classes, categories); } override final inout(AttribDeclaration) isAttribDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Storage classes applied to Dsymbols, e.g. `const int i;` * * <stc> <decl...> */ extern (C++) class StorageClassDeclaration : AttribDeclaration { StorageClass stc; extern (D) this(StorageClass stc, Dsymbols* decl) { super(decl); this.stc = stc; } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new StorageClassDeclaration(stc, Dsymbol.arraySyntaxCopy(decl)); } override Scope* newScope(Scope* sc) { StorageClass scstc = sc.stc; /* These sets of storage classes are mutually exclusive, * so choose the innermost or most recent one. */ if (stc & (STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.manifest)) scstc &= ~(STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.manifest); if (stc & (STC.auto_ | STC.scope_ | STC.static_ | STC.tls | STC.manifest | STC.gshared)) scstc &= ~(STC.auto_ | STC.scope_ | STC.static_ | STC.tls | STC.manifest | STC.gshared); if (stc & (STC.const_ | STC.immutable_ | STC.manifest)) scstc &= ~(STC.const_ | STC.immutable_ | STC.manifest); if (stc & (STC.gshared | STC.shared_ | STC.tls)) scstc &= ~(STC.gshared | STC.shared_ | STC.tls); if (stc & (STC.safe | STC.trusted | STC.system)) scstc &= ~(STC.safe | STC.trusted | STC.system); scstc |= stc; //printf("scstc = x%llx\n", scstc); return createNewScope(sc, scstc, sc.linkage, sc.cppmangle, sc.protection, sc.explicitProtection, sc.aligndecl, sc.inlining); } override final bool oneMember(Dsymbol* ps, Identifier ident) { bool t = Dsymbol.oneMembers(decl, ps, ident); if (t && *ps) { /* This is to deal with the following case: * struct Tick { * template to(T) { const T to() { ... } } * } * For eponymous function templates, the 'const' needs to get attached to 'to' * before the semantic analysis of 'to', so that template overloading based on the * 'this' pointer can be successful. */ FuncDeclaration fd = (*ps).isFuncDeclaration(); if (fd) { /* Use storage_class2 instead of storage_class otherwise when we do .di generation * we'll wind up with 'const const' rather than 'const'. */ /* Don't think we need to worry about mutually exclusive storage classes here */ fd.storage_class2 |= stc; } } return t; } override void addMember(Scope* sc, ScopeDsymbol sds) { Dsymbols* d = include(sc); if (d) { Scope* sc2 = newScope(sc); d.foreachDsymbol( (s) { //printf("\taddMember %s to %s\n", s.toChars(), sds.toChars()); // STC.local needs to be attached before the member is added to the scope (because it influences the parent symbol) if (auto decl = s.isDeclaration()) { decl.storage_class |= stc & STC.local; if (auto sdecl = s.isStorageClassDeclaration()) // TODO: why is this not enough to deal with the nested case? { sdecl.stc |= stc & STC.local; } } s.addMember(sc2, sds); }); if (sc2 != sc) sc2.pop(); } } override inout(StorageClassDeclaration) isStorageClassDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Deprecation with an additional message applied to Dsymbols, * e.g. `deprecated("Superseeded by foo") int bar;`. * (Note that `deprecated int bar;` is currently represented as a * StorageClassDeclaration with STC.deprecated_) * * `deprecated(<msg>) <decl...>` */ extern (C++) final class DeprecatedDeclaration : StorageClassDeclaration { Expression msg; /// deprecation message const(char)* msgstr; /// cached string representation of msg extern (D) this(Expression msg, Dsymbols* decl) { super(STC.deprecated_, decl); this.msg = msg; } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new DeprecatedDeclaration(msg.syntaxCopy(), Dsymbol.arraySyntaxCopy(decl)); } /** * Provides a new scope with `STC.deprecated_` and `Scope.depdecl` set * * Calls `StorageClassDeclaration.newScope` (as it must be called or copied * in any function overriding `newScope`), then set the `Scope`'s depdecl. * * Returns: * Always a new scope, to use for this `DeprecatedDeclaration`'s members. */ override Scope* newScope(Scope* sc) { auto scx = super.newScope(sc); // The enclosing scope is deprecated as well if (scx == sc) scx = sc.push(); scx.depdecl = this; return scx; } override void setScope(Scope* sc) { //printf("DeprecatedDeclaration::setScope() %p\n", this); if (decl) Dsymbol.setScope(sc); // for forward reference return AttribDeclaration.setScope(sc); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Linkage attribute applied to Dsymbols, e.g. * `extern(C) void foo()`. * * `extern(<linkage>) <decl...>` */ extern (C++) final class LinkDeclaration : AttribDeclaration { LINK linkage; /// either explicitly set or `default_` extern (D) this(LINK linkage, Dsymbols* decl) { super(decl); //printf("LinkDeclaration(linkage = %d, decl = %p)\n", linkage, decl); this.linkage = (linkage == LINK.system) ? target.systemLinkage() : linkage; } static LinkDeclaration create(LINK p, Dsymbols* decl) { return new LinkDeclaration(p, decl); } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new LinkDeclaration(linkage, Dsymbol.arraySyntaxCopy(decl)); } override Scope* newScope(Scope* sc) { return createNewScope(sc, sc.stc, this.linkage, sc.cppmangle, sc.protection, sc.explicitProtection, sc.aligndecl, sc.inlining); } override const(char)* toChars() const { return toString().ptr; } extern(D) override const(char)[] toString() const { return "extern ()"; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Attribute declaring whether an external aggregate should be mangled as * a struct or class in C++, e.g. `extern(C++, struct) class C { ... }`. * This is required for correct name mangling on MSVC targets, * see cppmanglewin.d for details. * * `extern(C++, <cppmangle>) <decl...>` */ extern (C++) final class CPPMangleDeclaration : AttribDeclaration { CPPMANGLE cppmangle; extern (D) this(CPPMANGLE cppmangle, Dsymbols* decl) { super(decl); //printf("CPPMangleDeclaration(cppmangle = %d, decl = %p)\n", cppmangle, decl); this.cppmangle = cppmangle; } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new CPPMangleDeclaration(cppmangle, Dsymbol.arraySyntaxCopy(decl)); } override Scope* newScope(Scope* sc) { return createNewScope(sc, sc.stc, LINK.cpp, cppmangle, sc.protection, sc.explicitProtection, sc.aligndecl, sc.inlining); } override void setScope(Scope* sc) { if (decl) Dsymbol.setScope(sc); // for forward reference return AttribDeclaration.setScope(sc); } override const(char)* toChars() const { return toString().ptr; } extern(D) override const(char)[] toString() const { return "extern ()"; } override void accept(Visitor v) { v.visit(this); } } /** * A node to represent an `extern(C++)` namespace attribute * * There are two ways to declarate a symbol as member of a namespace: * `Nspace` and `CPPNamespaceDeclaration`. * The former creates a scope for the symbol, and inject them in the * parent scope at the same time. * The later, this class, has no semantic implications and is only * used for mangling. * Additionally, this class allows one to use reserved identifiers * (D keywords) in the namespace. * * A `CPPNamespaceDeclaration` can be created from an `Identifier` * (already resolved) or from an `Expression`, which is CTFE-ed * and can be either a `TupleExp`, in which can additional * `CPPNamespaceDeclaration` nodes are created, or a `StringExp`. * * Note that this class, like `Nspace`, matches only one identifier * part of a namespace. For the namespace `"foo::bar"`, * the will be a `CPPNamespaceDeclaration` with its `ident` * set to `"bar"`, and its `namespace` field pointing to another * `CPPNamespaceDeclaration` with its `ident` set to `"foo"`. */ extern (C++) final class CPPNamespaceDeclaration : AttribDeclaration { /// CTFE-able expression, resolving to `TupleExp` or `StringExp` Expression exp; extern (D) this(Identifier ident, Dsymbols* decl) { super(decl); this.ident = ident; } extern (D) this(Expression exp, Dsymbols* decl) { super(decl); this.exp = exp; } extern (D) this(Identifier ident, Expression exp, Dsymbols* decl, CPPNamespaceDeclaration parent) { super(decl); this.ident = ident; this.exp = exp; this.cppnamespace = parent; } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new CPPNamespaceDeclaration( this.ident, this.exp, Dsymbol.arraySyntaxCopy(this.decl), this.cppnamespace); } /** * Returns: * A copy of the parent scope, with `this` as `namespace` and C++ linkage */ override Scope* newScope(Scope* sc) { auto scx = sc.copy(); scx.linkage = LINK.cpp; scx.namespace = this; return scx; } override const(char)* toChars() const { return toString().ptr; } extern(D) override const(char)[] toString() const { return "extern (C++, `namespace`)"; } override void accept(Visitor v) { v.visit(this); } override inout(CPPNamespaceDeclaration) isCPPNamespaceDeclaration() inout { return this; } } /*********************************************************** * Visibility declaration for Dsymbols, e.g. `public int i;` * * `<protection> <decl...>` or * `package(<pkg_identifiers>) <decl...>` if `pkg_identifiers !is null` */ extern (C++) final class ProtDeclaration : AttribDeclaration { Prot protection; /// the visibility Identifiers* pkg_identifiers; /// identifiers for `package(foo.bar)` or null /** * Params: * loc = source location of attribute token * protection = protection attribute data * decl = declarations which are affected by this protection attribute */ extern (D) this(const ref Loc loc, Prot protection, Dsymbols* decl) { super(loc, null, decl); this.protection = protection; //printf("decl = %p\n", decl); } /** * Params: * loc = source location of attribute token * pkg_identifiers = list of identifiers for a qualified package name * decl = declarations which are affected by this protection attribute */ extern (D) this(const ref Loc loc, Identifiers* pkg_identifiers, Dsymbols* decl) { super(loc, null, decl); this.protection.kind = Prot.Kind.package_; this.pkg_identifiers = pkg_identifiers; if (pkg_identifiers !is null && pkg_identifiers.dim > 0) { Dsymbol tmp; Package.resolve(pkg_identifiers, &tmp, null); protection.pkg = tmp ? tmp.isPackage() : null; } } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); if (protection.kind == Prot.Kind.package_) return new ProtDeclaration(this.loc, pkg_identifiers, Dsymbol.arraySyntaxCopy(decl)); else return new ProtDeclaration(this.loc, protection, Dsymbol.arraySyntaxCopy(decl)); } override Scope* newScope(Scope* sc) { if (pkg_identifiers) dsymbolSemantic(this, sc); return createNewScope(sc, sc.stc, sc.linkage, sc.cppmangle, this.protection, 1, sc.aligndecl, sc.inlining); } override void addMember(Scope* sc, ScopeDsymbol sds) { if (pkg_identifiers) { Dsymbol tmp; Package.resolve(pkg_identifiers, &tmp, null); protection.pkg = tmp ? tmp.isPackage() : null; pkg_identifiers = null; } if (protection.kind == Prot.Kind.package_ && protection.pkg && sc._module) { Module m = sc._module; // While isAncestorPackageOf does an equality check, the fix for issue 17441 adds a check to see if // each package's .isModule() properites are equal. // // Properties generated from `package(foo)` i.e. protection.pkg have .isModule() == null. // This breaks package declarations of the package in question if they are declared in // the same package.d file, which _do_ have a module associated with them, and hence a non-null // isModule() if (!m.isPackage() || !protection.pkg.ident.equals(m.isPackage().ident)) { Package pkg = m.parent ? m.parent.isPackage() : null; if (!pkg || !protection.pkg.isAncestorPackageOf(pkg)) error("does not bind to one of ancestor packages of module `%s`", m.toPrettyChars(true)); } } return AttribDeclaration.addMember(sc, sds); } override const(char)* kind() const { return "protection attribute"; } override const(char)* toPrettyChars(bool) { assert(protection.kind > Prot.Kind.undefined); OutBuffer buf; protectionToBuffer(&buf, protection); return buf.extractChars(); } override inout(ProtDeclaration) isProtDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Alignment attribute for aggregates, members and variables. * * `align(<ealign>) <decl...>` or * `align <decl...>` if `ealign` is null */ extern (C++) final class AlignDeclaration : AttribDeclaration { Expression ealign; /// expression yielding the actual alignment enum structalign_t UNKNOWN = 0; /// alignment not yet computed static assert(STRUCTALIGN_DEFAULT != UNKNOWN); /// the actual alignment, `UNKNOWN` until it's either set to the value of `ealign` /// or `STRUCTALIGN_DEFAULT` if `ealign` is null ( / an error ocurred) structalign_t salign = UNKNOWN; extern (D) this(const ref Loc loc, Expression ealign, Dsymbols* decl) { super(loc, null, decl); this.ealign = ealign; } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new AlignDeclaration(loc, ealign ? ealign.syntaxCopy() : null, Dsymbol.arraySyntaxCopy(decl)); } override Scope* newScope(Scope* sc) { return createNewScope(sc, sc.stc, sc.linkage, sc.cppmangle, sc.protection, sc.explicitProtection, this, sc.inlining); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * An anonymous struct/union (defined by `isunion`). */ extern (C++) final class AnonDeclaration : AttribDeclaration { bool isunion; /// whether it's a union int sem; /// 1 if successful semantic() uint anonoffset; /// offset of anonymous struct uint anonstructsize; /// size of anonymous struct uint anonalignsize; /// size of anonymous struct for alignment purposes extern (D) this(const ref Loc loc, bool isunion, Dsymbols* decl) { super(loc, null, decl); this.isunion = isunion; } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new AnonDeclaration(loc, isunion, Dsymbol.arraySyntaxCopy(decl)); } override void setScope(Scope* sc) { if (decl) Dsymbol.setScope(sc); return AttribDeclaration.setScope(sc); } override void setFieldOffset(AggregateDeclaration ad, uint* poffset, bool isunion) { //printf("\tAnonDeclaration::setFieldOffset %s %p\n", isunion ? "union" : "struct", this); if (decl) { /* This works by treating an AnonDeclaration as an aggregate 'member', * so in order to place that member we need to compute the member's * size and alignment. */ size_t fieldstart = ad.fields.dim; /* Hackishly hijack ad's structsize and alignsize fields * for use in our fake anon aggregate member. */ uint savestructsize = ad.structsize; uint savealignsize = ad.alignsize; ad.structsize = 0; ad.alignsize = 0; uint offset = 0; decl.foreachDsymbol( (s) { s.setFieldOffset(ad, &offset, this.isunion); if (this.isunion) offset = 0; }); /* https://issues.dlang.org/show_bug.cgi?id=13613 * If the fields in this.members had been already * added in ad.fields, just update *poffset for the subsequent * field offset calculation. */ if (fieldstart == ad.fields.dim) { ad.structsize = savestructsize; ad.alignsize = savealignsize; *poffset = ad.structsize; return; } anonstructsize = ad.structsize; anonalignsize = ad.alignsize; ad.structsize = savestructsize; ad.alignsize = savealignsize; // 0 sized structs are set to 1 byte if (anonstructsize == 0) { anonstructsize = 1; anonalignsize = 1; } assert(_scope); auto alignment = _scope.alignment(); /* Given the anon 'member's size and alignment, * go ahead and place it. */ anonoffset = AggregateDeclaration.placeField( poffset, anonstructsize, anonalignsize, alignment, &ad.structsize, &ad.alignsize, isunion); // Add to the anon fields the base offset of this anonymous aggregate //printf("anon fields, anonoffset = %d\n", anonoffset); foreach (const i; fieldstart .. ad.fields.dim) { VarDeclaration v = ad.fields[i]; //printf("\t[%d] %s %d\n", i, v.toChars(), v.offset); v.offset += anonoffset; } } } override const(char)* kind() const { return (isunion ? "anonymous union" : "anonymous struct"); } override inout(AnonDeclaration) isAnonDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Pragma applied to Dsymbols, e.g. `pragma(inline, true) void foo`, * but not PragmaStatement's like `pragma(msg, "hello");`. * * pragma(<ident>, <args>) */ extern (C++) final class PragmaDeclaration : AttribDeclaration { Expressions* args; /// parameters of this pragma extern (D) this(const ref Loc loc, Identifier ident, Expressions* args, Dsymbols* decl) { super(loc, ident, decl); this.args = args; } override Dsymbol syntaxCopy(Dsymbol s) { //printf("PragmaDeclaration::syntaxCopy(%s)\n", toChars()); assert(!s); return new PragmaDeclaration(loc, ident, Expression.arraySyntaxCopy(args), Dsymbol.arraySyntaxCopy(decl)); } override Scope* newScope(Scope* sc) { if (ident == Id.Pinline) { PINLINE inlining = PINLINE.default_; if (!args || args.dim == 0) inlining = PINLINE.default_; else if (args.dim != 1) { error("one boolean expression expected for `pragma(inline)`, not %llu", cast(ulong) args.dim); args.setDim(1); (*args)[0] = ErrorExp.get(); } else { Expression e = (*args)[0]; if (e.op != TOK.int64 || !e.type.equals(Type.tbool)) { if (e.op != TOK.error) { error("pragma(`inline`, `true` or `false`) expected, not `%s`", e.toChars()); (*args)[0] = ErrorExp.get(); } } else if (e.isBool(true)) inlining = PINLINE.always; else if (e.isBool(false)) inlining = PINLINE.never; } return createNewScope(sc, sc.stc, sc.linkage, sc.cppmangle, sc.protection, sc.explicitProtection, sc.aligndecl, inlining); } if (ident == Id.printf || ident == Id.scanf) { auto sc2 = sc.push(); if (ident == Id.printf) // Override previous setting, never let both be set sc2.flags = (sc2.flags & ~SCOPE.scanf) | SCOPE.printf; else sc2.flags = (sc2.flags & ~SCOPE.printf) | SCOPE.scanf; return sc2; } return sc; } override const(char)* kind() const { return "pragma"; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * A conditional compilation declaration, used for `version` * / `debug` and specialized for `static if`. * * <condition> { <decl...> } else { <elsedecl> } */ extern (C++) class ConditionalDeclaration : AttribDeclaration { Condition condition; /// condition deciding whether decl or elsedecl applies Dsymbols* elsedecl; /// array of Dsymbol's for else block extern (D) this(const ref Loc loc, Condition condition, Dsymbols* decl, Dsymbols* elsedecl) { super(loc, null, decl); //printf("ConditionalDeclaration::ConditionalDeclaration()\n"); this.condition = condition; this.elsedecl = elsedecl; } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new ConditionalDeclaration(loc, condition.syntaxCopy(), Dsymbol.arraySyntaxCopy(decl), Dsymbol.arraySyntaxCopy(elsedecl)); } override final bool oneMember(Dsymbol* ps, Identifier ident) { //printf("ConditionalDeclaration::oneMember(), inc = %d\n", condition.inc); if (condition.inc != Include.notComputed) { Dsymbols* d = condition.include(null) ? decl : elsedecl; return Dsymbol.oneMembers(d, ps, ident); } else { bool res = (Dsymbol.oneMembers(decl, ps, ident) && *ps is null && Dsymbol.oneMembers(elsedecl, ps, ident) && *ps is null); *ps = null; return res; } } // Decide if 'then' or 'else' code should be included override Dsymbols* include(Scope* sc) { //printf("ConditionalDeclaration::include(sc = %p) scope = %p\n", sc, scope); if (errors) return null; assert(condition); return condition.include(_scope ? _scope : sc) ? decl : elsedecl; } override final void addComment(const(char)* comment) { /* Because addComment is called by the parser, if we called * include() it would define a version before it was used. * But it's no problem to drill down to both decl and elsedecl, * so that's the workaround. */ if (comment) { decl .foreachDsymbol( s => s.addComment(comment) ); elsedecl.foreachDsymbol( s => s.addComment(comment) ); } } override void setScope(Scope* sc) { include(sc).foreachDsymbol( s => s.setScope(sc) ); } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * `<scopesym> { * static if (<condition>) { <decl> } else { <elsedecl> } * }` */ extern (C++) final class StaticIfDeclaration : ConditionalDeclaration { ScopeDsymbol scopesym; /// enclosing symbol (e.g. module) where symbols will be inserted private bool addisdone = false; /// true if members have been added to scope private bool onStack = false; /// true if a call to `include` is currently active extern (D) this(const ref Loc loc, Condition condition, Dsymbols* decl, Dsymbols* elsedecl) { super(loc, condition, decl, elsedecl); //printf("StaticIfDeclaration::StaticIfDeclaration()\n"); } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new StaticIfDeclaration(loc, condition.syntaxCopy(), Dsymbol.arraySyntaxCopy(decl), Dsymbol.arraySyntaxCopy(elsedecl)); } /**************************************** * Different from other AttribDeclaration subclasses, include() call requires * the completion of addMember and setScope phases. */ override Dsymbols* include(Scope* sc) { //printf("StaticIfDeclaration::include(sc = %p) scope = %p\n", sc, scope); if (errors || onStack) return null; onStack = true; scope(exit) onStack = false; if (sc && condition.inc == Include.notComputed) { assert(scopesym); // addMember is already done assert(_scope); // setScope is already done Dsymbols* d = ConditionalDeclaration.include(_scope); if (d && !addisdone) { // Add members lazily. d.foreachDsymbol( s => s.addMember(_scope, scopesym) ); // Set the member scopes lazily. d.foreachDsymbol( s => s.setScope(_scope) ); addisdone = true; } return d; } else { return ConditionalDeclaration.include(sc); } } override void addMember(Scope* sc, ScopeDsymbol sds) { //printf("StaticIfDeclaration::addMember() '%s'\n", toChars()); /* This is deferred until the condition evaluated later (by the include() call), * so that expressions in the condition can refer to declarations * in the same scope, such as: * * template Foo(int i) * { * const int j = i + 1; * static if (j == 3) * const int k; * } */ this.scopesym = sds; } override void setScope(Scope* sc) { // do not evaluate condition before semantic pass // But do set the scope, in case we need it for forward referencing Dsymbol.setScope(sc); } override void importAll(Scope* sc) { // do not evaluate condition before semantic pass } override const(char)* kind() const { return "static if"; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Static foreach at declaration scope, like: * static foreach (i; [0, 1, 2]){ } */ extern (C++) final class StaticForeachDeclaration : AttribDeclaration { StaticForeach sfe; /// contains `static foreach` expansion logic ScopeDsymbol scopesym; /// cached enclosing scope (mimics `static if` declaration) /++ `include` can be called multiple times, but a `static foreach` should be expanded at most once. Achieved by caching the result of the first call. We need both `cached` and `cache`, because `null` is a valid value for `cache`. +/ bool onStack = false; bool cached = false; Dsymbols* cache = null; extern (D) this(StaticForeach sfe, Dsymbols* decl) { super(decl); this.sfe = sfe; } override Dsymbol syntaxCopy(Dsymbol s) { assert(!s); return new StaticForeachDeclaration( sfe.syntaxCopy(), Dsymbol.arraySyntaxCopy(decl)); } override bool oneMember(Dsymbol* ps, Identifier ident) { // Required to support IFTI on a template that contains a // `static foreach` declaration. `super.oneMember` calls // include with a `null` scope. As `static foreach` requires // the scope for expansion, `oneMember` can only return a // precise result once `static foreach` has been expanded. if (cached) { return super.oneMember(ps, ident); } *ps = null; // a `static foreach` declaration may in general expand to multiple symbols return false; } override Dsymbols* include(Scope* sc) { if (errors || onStack) return null; if (cached) { assert(!onStack); return cache; } onStack = true; scope(exit) onStack = false; if (_scope) { sfe.prepare(_scope); // lower static foreach aggregate } if (!sfe.ready()) { return null; // TODO: ok? } // expand static foreach import dmd.statementsem: makeTupleForeach; Dsymbols* d = makeTupleForeach!(true,true)(_scope, sfe.aggrfe, decl, sfe.needExpansion); if (d) // process generated declarations { // Add members lazily. d.foreachDsymbol( s => s.addMember(_scope, scopesym) ); // Set the member scopes lazily. d.foreachDsymbol( s => s.setScope(_scope) ); } cached = true; cache = d; return d; } override void addMember(Scope* sc, ScopeDsymbol sds) { // used only for caching the enclosing symbol this.scopesym = sds; } override void addComment(const(char)* comment) { // do nothing // change this to give semantics to documentation comments on static foreach declarations } override void setScope(Scope* sc) { // do not evaluate condition before semantic pass // But do set the scope, in case we need it for forward referencing Dsymbol.setScope(sc); } override void importAll(Scope* sc) { // do not evaluate aggregate before semantic pass } override const(char)* kind() const { return "static foreach"; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Collection of declarations that stores foreach index variables in a * local symbol table. Other symbols declared within are forwarded to * another scope, like: * * static foreach (i; 0 .. 10) // loop variables for different indices do not conflict. * { // this body is expanded into 10 ForwardingAttribDeclarations, where `i` has storage class STC.local * mixin("enum x" ~ to!string(i) ~ " = i"); // ok, can access current loop variable * } * * static foreach (i; 0.. 10) * { * pragma(msg, mixin("x" ~ to!string(i))); // ok, all 10 symbols are visible as they were forwarded to the global scope * } * * static assert (!is(typeof(i))); // loop index variable is not visible outside of the static foreach loop * * A StaticForeachDeclaration generates one * ForwardingAttribDeclaration for each expansion of its body. The * AST of the ForwardingAttribDeclaration contains both the `static * foreach` variables and the respective copy of the `static foreach` * body. The functionality is achieved by using a * ForwardingScopeDsymbol as the parent symbol for the generated * declarations. */ extern(C++) final class ForwardingAttribDeclaration: AttribDeclaration { ForwardingScopeDsymbol sym = null; this(Dsymbols* decl) { super(decl); sym = new ForwardingScopeDsymbol(null); sym.symtab = new DsymbolTable(); } /************************************** * Use the ForwardingScopeDsymbol as the parent symbol for members. */ override Scope* newScope(Scope* sc) { return sc.push(sym); } /*************************************** * Lazily initializes the scope to forward to. */ override void addMember(Scope* sc, ScopeDsymbol sds) { parent = sym.parent = sym.forward = sds; return super.addMember(sc, sym); } override inout(ForwardingAttribDeclaration) isForwardingAttribDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * Mixin declarations, like: * mixin("int x"); * https://dlang.org/spec/module.html#mixin-declaration */ extern (C++) final class CompileDeclaration : AttribDeclaration { Expressions* exps; ScopeDsymbol scopesym; bool compiled; extern (D) this(const ref Loc loc, Expressions* exps) { super(loc, null, null); //printf("CompileDeclaration(loc = %d)\n", loc.linnum); this.exps = exps; } override Dsymbol syntaxCopy(Dsymbol s) { //printf("CompileDeclaration::syntaxCopy('%s')\n", toChars()); return new CompileDeclaration(loc, Expression.arraySyntaxCopy(exps)); } override void addMember(Scope* sc, ScopeDsymbol sds) { //printf("CompileDeclaration::addMember(sc = %p, sds = %p, memnum = %d)\n", sc, sds, memnum); this.scopesym = sds; } override void setScope(Scope* sc) { Dsymbol.setScope(sc); } override const(char)* kind() const { return "mixin"; } override inout(CompileDeclaration) isCompileDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } /*********************************************************** * User defined attributes look like: * @foo(args, ...) * @(args, ...) */ extern (C++) final class UserAttributeDeclaration : AttribDeclaration { Expressions* atts; extern (D) this(Expressions* atts, Dsymbols* decl) { super(decl); //printf("UserAttributeDeclaration()\n"); this.atts = atts; } override Dsymbol syntaxCopy(Dsymbol s) { //printf("UserAttributeDeclaration::syntaxCopy('%s')\n", toChars()); assert(!s); return new UserAttributeDeclaration(Expression.arraySyntaxCopy(this.atts), Dsymbol.arraySyntaxCopy(decl)); } override Scope* newScope(Scope* sc) { Scope* sc2 = sc; if (atts && atts.dim) { // create new one for changes sc2 = sc.copy(); sc2.userAttribDecl = this; } return sc2; } override void setScope(Scope* sc) { //printf("UserAttributeDeclaration::setScope() %p\n", this); if (decl) Dsymbol.setScope(sc); // for forward reference of UDAs return AttribDeclaration.setScope(sc); } extern (D) static Expressions* concat(Expressions* udas1, Expressions* udas2) { Expressions* udas; if (!udas1 || udas1.dim == 0) udas = udas2; else if (!udas2 || udas2.dim == 0) udas = udas1; else { /* Create a new tuple that combines them * (do not append to left operand, as this is a copy-on-write operation) */ udas = new Expressions(2); (*udas)[0] = new TupleExp(Loc.initial, udas1); (*udas)[1] = new TupleExp(Loc.initial, udas2); } return udas; } Expressions* getAttributes() { if (auto sc = _scope) { _scope = null; arrayExpressionSemantic(atts, sc); } auto exps = new Expressions(); if (userAttribDecl && userAttribDecl !is this) exps.push(new TupleExp(Loc.initial, userAttribDecl.getAttributes())); if (atts && atts.dim) exps.push(new TupleExp(Loc.initial, atts)); return exps; } override const(char)* kind() const { return "UserAttribute"; } override void accept(Visitor v) { v.visit(this); } /** * Check if the provided expression references `core.attribute.gnuAbiTag` * * This should be called after semantic has been run on the expression. * Semantic on UDA happens in semantic2 (see `dmd.semantic2`). * * Params: * e = Expression to check (usually from `UserAttributeDeclaration.atts`) * * Returns: * `true` if the expression references the compiler-recognized `gnuAbiTag` */ static bool isGNUABITag(Expression e) { if (global.params.cplusplus < CppStdRevision.cpp11) return false; auto ts = e.type ? e.type.isTypeStruct() : null; if (!ts) return false; if (ts.sym.ident != Id.udaGNUAbiTag || !ts.sym.parent) return false; // Can only be defined in druntime Module m = ts.sym.parent.isModule(); if (!m || !m.isCoreModule(Id.attribute)) return false; return true; } /** * Called from a symbol's semantic to check if `gnuAbiTag` UDA * can be applied to them * * Directly emits an error if the UDA doesn't work with this symbol * * Params: * sym = symbol to check for `gnuAbiTag` * linkage = Linkage of the symbol (Declaration.link or sc.link) */ static void checkGNUABITag(Dsymbol sym, LINK linkage) { if (global.params.cplusplus < CppStdRevision.cpp11) return; // Avoid `if` at the call site if (sym.userAttribDecl is null || sym.userAttribDecl.atts is null) return; foreach (exp; *sym.userAttribDecl.atts) { if (isGNUABITag(exp)) { if (sym.isCPPNamespaceDeclaration() || sym.isNspace()) { exp.error("`@%s` cannot be applied to namespaces", Id.udaGNUAbiTag.toChars()); sym.errors = true; } else if (linkage != LINK.cpp) { exp.error("`@%s` can only apply to C++ symbols", Id.udaGNUAbiTag.toChars()); sym.errors = true; } // Only one `@gnuAbiTag` is allowed by semantic2 return; } } } }
D
module Engine.Material; import Engine.Shader; import Engine.Texture; import Engine.Batch; import Engine.Renderer; import Engine.Core; class Material { @property Shader shader() { return _shader; }; @property ITexture texture() { return _texture; }; @property Renderer renderer() { return _renderer; }; bool changed; Shader _shader; ITexture _texture; Renderer _renderer; this(ITexture texture) { _shader = Core.shader; _texture = texture; _renderer = defaultRenderer; } final void render(Batch batch) { if (renderer !is null) { renderer()(batch); } } override bool opEquals(Object mato) { Material mat = cast(Material)mato; if (this is mat) return false; if (shader !is mat.shader) return false; if (texture !is null && mat.texture !is null) { if (texture.id != mat.texture.id) return false; } else { if (texture !is mat.texture) return false; } if (renderer != mat.renderer) return false; return true; } }
D
/afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/CxAODMaker/obj/PhotonHandler.o /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/obj/x86_64-slc6-gcc48-opt/CxAODMaker/obj/PhotonHandler.d : /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/CxAODMaker/Root/PhotonHandler.cxx /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/PhotonContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/Photon.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/versions/Photon_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/ElementLink.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/ElementLinkBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/tools/selection_ns.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/RVersion.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Reflex/Builder/DictSelection.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Reflex/Kernel.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/tools/TypeTools.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/ElementLink.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccessInterfaces/TVirtualEvent.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccessInterfaces/TVirtualEvent.icc /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TError.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Rtypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/RConfig.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/DllImport.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Rtypeinfo.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/snprintf.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/strlcpy.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TGenericClassInfo.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TSchemaHelper.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccessInterfaces/TActiveEvent.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/Vertex.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/versions/Vertex_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/AuxElement.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainersInterfaces/IAuxElement.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainersInterfaces/IConstAuxStore.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainersInterfaces/AuxTypes.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxxUtils/unordered_set.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxxUtils/hashtable.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/remove_const.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_volatile.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/user.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/select_compiler_config.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/compiler/gcc.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/select_stdlib_config.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/no_tr1/utility.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/stdlib/libstdcpp3.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/select_platform_config.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/platform/linux.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/posix_features.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/config/suffix.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/detail/workaround.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/cv_traits_impl.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/bool_trait_def.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/template_arity_spec.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/int.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/int_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/adl_barrier.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/adl.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/msvc.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/intel.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/gcc.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/workaround.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/nttp_decl.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/nttp.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/integral_wrapper.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/integral_c_tag.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/static_constant.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/static_cast.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/cat.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/config/config.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/template_arity_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessor/params.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/preprocessor.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/comma_if.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/punctuation/comma_if.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/control/if.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/control/iif.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/logical/bool.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/facilities/empty.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/punctuation/comma.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/repeat.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/repetition/repeat.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/debug/error.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/detail/auto_rec.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/tuple/eat.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/inc.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/arithmetic/inc.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/lambda.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/ttp.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/ctps.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/overload_resolution.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/integral_constant.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/bool.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/bool_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/integral_c.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/integral_c_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/lambda_support.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/bool_trait_undef.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/broken_compiler_spec.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/type_trait_def.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/type_trait_undef.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainersInterfaces/IAuxStore.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/DataLink.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/DataLinkBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/DataLink.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/AuxTypeRegistry.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainersInterfaces/IAuxTypeVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainersInterfaces/IAuxTypeVectorFactory.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/AuxTypeVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxxUtils/override.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/AuxTypeVector.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/AuxTypeVectorFactory.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/AuxTypeVectorFactory.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/threading.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/threading.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/AuxTypeRegistry.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/AuxVectorData.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/likely.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/assume.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/AuxVectorData.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/exceptions.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxxUtils/noreturn.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/AuxElement.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/EventPrimitives/EventPrimitives.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/Core /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/DisableStupidWarnings.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/Macros.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/MKL_support.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/Constants.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/ForwardDeclarations.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/Meta.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/StaticAssert.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/XprHelper.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/Memory.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/NumTraits.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/MathFunctions.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/GenericPacketMath.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/arch/SSE/PacketMath.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/arch/SSE/MathFunctions.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/arch/SSE/Complex.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/arch/Default/Settings.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Functors.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/DenseCoeffsBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/DenseBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/../plugins/BlockMethods.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/MatrixBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/../plugins/CommonCwiseUnaryOps.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/../plugins/CommonCwiseBinaryOps.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/../plugins/MatrixCwiseUnaryOps.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/../plugins/MatrixCwiseBinaryOps.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/EventPrimitives/AmgMatrixPlugin.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/EigenBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Assign.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/BlasUtil.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/DenseStorage.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/NestByValue.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/ForceAlignedAccess.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/ReturnByValue.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/NoAlias.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/PlainObjectBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Matrix.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/EventPrimitives/SymmetricMatrixHelpers.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Array.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/CwiseBinaryOp.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/CwiseUnaryOp.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/CwiseNullaryOp.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/CwiseUnaryView.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/SelfCwiseBinaryOp.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Dot.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/StableNorm.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/MapBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Stride.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Map.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Block.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/VectorBlock.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Ref.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Transpose.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/DiagonalMatrix.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Diagonal.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/DiagonalProduct.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/PermutationMatrix.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Transpositions.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Redux.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Visitor.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Fuzzy.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/IO.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Swap.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/CommaInitializer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Flagged.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/ProductBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/GeneralProduct.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/TriangularMatrix.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/SelfAdjointView.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/Parallelizer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/CoeffBasedProduct.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/GeneralMatrixVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/GeneralMatrixMatrix.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/SolveTriangular.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/SelfadjointMatrixVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/SelfadjointMatrixMatrix.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/SelfadjointProduct.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/SelfadjointRank2Update.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/TriangularMatrixVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/TriangularMatrixMatrix.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/TriangularSolverMatrix.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/products/TriangularSolverVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/BandMatrix.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/CoreIterators.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/BooleanRedux.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Select.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/VectorwiseOp.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Random.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Replicate.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/Reverse.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/ArrayBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/../plugins/ArrayCwiseUnaryOps.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/../plugins/ArrayCwiseBinaryOps.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/ArrayWrapper.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/GlobalFunctions.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Core/util/ReenableStupidWarnings.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/Dense /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/Core /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/LU /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/misc/Solve.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/misc/Kernel.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/misc/Image.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/LU/FullPivLU.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/LU/PartialPivLU.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/LU/Determinant.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/LU/Inverse.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/LU/arch/Inverse_SSE.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/Cholesky /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Cholesky/LLT.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Cholesky/LDLT.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/QR /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/Jacobi /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Jacobi/Jacobi.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/Householder /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Householder/Householder.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Householder/HouseholderSequence.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Householder/BlockHouseholder.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/QR/HouseholderQR.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/QR/FullPivHouseholderQR.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/QR/ColPivHouseholderQR.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/SVD /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/SVD/JacobiSVD.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/SVD/UpperBidiagonalization.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/Geometry /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/OrthoMethods.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/EulerAngles.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/Homogeneous.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/RotationBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/Rotation2D.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/Quaternion.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/AngleAxis.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/Transform.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/EventPrimitives/AmgTransformPlugin.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/Translation.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/Scaling.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/Hyperplane.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/ParametrizedLine.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/AlignedBox.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/Umeyama.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Geometry/arch/Geometry_SSE.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/Eigenvalues /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/Tridiagonalization.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/RealSchur.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./HessenbergDecomposition.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/EigenSolver.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./RealSchur.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./Tridiagonalization.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/HessenbergDecomposition.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/ComplexSchur.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/ComplexEigenSolver.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./ComplexSchur.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/RealQZ.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/./RealQZ.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/GeoPrimitives/GeoPrimitives.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/Eigen/Geometry /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/TrackingPrimitives.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/TrackParticleContainerFwd.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/DataVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/OwnershipPolicy.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/IndexTrackingPolicy.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/AuxVectorBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/ATHCONTAINERS_ASSERT.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainersInterfaces/AuxStore_traits.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/AuxVectorBase.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/DVLNoBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/DVLInfo.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/ClassID.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/DVLInfo.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/DVLCast.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/DVLIterator.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/ElementProxy.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/ElementProxy.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator/iterator_adaptor.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/static_assert.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/detail/iterator.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator/iterator_categories.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator/detail/config_def.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/eval_if.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/if.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/value_wknd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/integral.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/eti.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/na_spec.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/lambda_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/void_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/na.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/na_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/lambda_arity_param.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/arity.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/dtp.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessor/enum.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessor/def_params_tail.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/limits/arity.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/logical/and.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/logical/bitand.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/identity.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/facilities/identity.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/empty.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/arithmetic/add.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/arithmetic/dec.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/control/while.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/list/fold_left.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/list/detail/fold_left.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/control/expr_iif.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/list/adt.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/detail/is_binary.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/detail/check.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/logical/compl.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/list/fold_right.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/list/detail/fold_right.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/list/reverse.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/control/detail/while.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/tuple/elem.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/facilities/overload.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/variadic/size.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/tuple/rem.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/variadic/elem.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/arithmetic/sub.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/identity.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/placeholders.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/arg.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/arg_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/na_assert.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/assert.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/not.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/nested_type_wknd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/yes_no.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/arrays.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/pp_counter.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/arity_spec.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/arg_typedef.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/use_preprocessed.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/include_preprocessed.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/compiler.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/stringize.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/arg.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_convertible.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/intrinsics.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/config.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_same.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_reference.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_lvalue_reference.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_rvalue_reference.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/ice.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/yes_no_type.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/ice_or.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/ice_and.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/ice_not.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/ice_eq.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_array.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_arithmetic.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_integral.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_float.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_void.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_abstract.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/add_lvalue_reference.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/add_reference.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/add_rvalue_reference.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_function.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/false_result.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/is_function_ptr_helper.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator/detail/config_undef.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator/iterator_facade.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator/interoperable.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/or.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/or.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator/iterator_traits.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator/detail/facade_iterator_category.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/and.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/and.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_const.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/detail/indirect_traits.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_pointer.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_member_pointer.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_member_function_pointer.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/remove_cv.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_class.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/remove_reference.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/remove_pointer.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/iterator/detail/enable_if.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/utility/addressof.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/add_const.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/add_pointer.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_pod.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_scalar.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_enum.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/always.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/apply.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/apply_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/apply_wrap.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/has_apply.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/has_xxx.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/type_wrapper.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/has_xxx.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/msvc_typename.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/array/elem.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/array/data.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/array/size.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/repetition/enum_params.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/repetition/enum_trailing_params.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/has_apply.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/msvc_never_true.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/lambda.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/bind.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/bind_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/bind.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/next.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/next_prior.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/common_name_wknd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/protect.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/bind.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/full_lambda.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/quote.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/void.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/has_type.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/config/bcc.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/quote.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/template_arity.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/version.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/DVL_iter_swap.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/DVL_algorithms.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/DVL_algorithms.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/IsMostDerivedFlag.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/add_cv.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/add_volatile.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/aligned_storage.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/aligned_storage.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/alignment_of.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/size_t_trait_def.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/size_t.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/mpl/size_t_fwd.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/size_t_trait_undef.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/type_with_alignment.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/list/for_each_i.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/repetition/for.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/repetition/detail/for.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/tuple/to_list.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/list/transform.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/preprocessor/list/append.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/common_type.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/utility/declval.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/conditional.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/decay.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/remove_bounds.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/extent.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/floating_point_promotion.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/function_traits.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_new_operator.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_nothrow_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_trivial_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_nothrow_constructor.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_trivial_constructor.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_nothrow_copy.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_trivial_copy.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_nothrow_destructor.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_trivial_destructor.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_operator.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_bit_and.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/has_binary_operator.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_base_of.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_base_and_derived.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_fundamental.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_bit_and_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_bit_or.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_bit_or_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_bit_xor.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_bit_xor_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_complement.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/has_prefix_operator.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_dereference.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_divides.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_divides_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_equal_to.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_greater.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_greater_equal.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_left_shift.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_left_shift_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_less.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_less_equal.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_logical_and.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_logical_not.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_logical_or.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_minus.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_minus_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_modulus.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_modulus_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_multiplies.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_multiplies_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_negate.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_not_equal_to.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_plus.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_plus_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_post_decrement.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/detail/has_postfix_operator.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_post_increment.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_pre_decrement.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_pre_increment.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_right_shift.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_right_shift_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_unary_minus.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_unary_plus.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_trivial_move_assign.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_trivial_move_constructor.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/has_virtual_destructor.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_complex.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_compound.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_copy_constructible.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/noncopyable.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_empty.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_floating_point.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_member_object_pointer.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_nothrow_move_assignable.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/utility/enable_if.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_nothrow_move_constructible.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_object.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_polymorphic.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_signed.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_stateless.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_union.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_unsigned.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/is_virtual_base_of.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/make_unsigned.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/make_signed.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/rank.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/remove_extent.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/remove_all_extents.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/remove_volatile.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/integral_promotion.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/boost/type_traits/promote.hpp /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/ClassName.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/ClassName.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/error.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/DataVector.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainers/tools/CompareAndPrint.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBase/IParticleContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBase/IParticle.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TLorentzVector.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMath.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMathBase.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TError.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TVector3.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TVector2.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TObject.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TStorage.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TVersionCheck.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Riosfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TBuffer.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrix.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrixF.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrixT.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrixTBase.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TNamed.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TString.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrixFBasefwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrixDBasefwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TVectorFfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TVectorDfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrixTUtils.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrixFfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrixFUtils.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMatrixFUtilsfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TRotation.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBase/ObjectType.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/TrackParticleFwd.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/NeutralParticleContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/NeutralParticle.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/versions/NeutralParticle_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/VertexContainerFwd.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/VertexFwd.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/CLASS_DEF.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/ClassID_traits.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/versions/NeutralParticleContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/versions/NeutralParticle_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/NeutralParticleContainerFwd.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/NeutralParticleFwd.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBase/ObjectType.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/BaseInfo.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/VertexContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/versions/VertexContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/TrackParticleContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/TrackParticle.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/versions/TrackParticle_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/versions/TrackParticleContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODTracking/versions/TrackParticle_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/versions/Egamma_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/EgammaDefs.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/EgammaEnums.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCaloEvent/CaloCluster.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCaloEvent/versions/CaloCluster_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CaloGeoHelpers/CaloSampling.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CaloGeoHelpers/CaloSampling.def /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCaloEvent/CaloClusterBadChannelData.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCaloEvent/versions/CaloClusterBadChannelData_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCaloEvent/CaloClusterContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCaloEvent/versions/CaloClusterContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODPrimitives/IsolationType.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/versions/PhotonContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/versions/EgammaContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/PhotonAuxContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/versions/PhotonAuxContainer_v3.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/AuxContainerBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainersInterfaces/IAuxStoreIO.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthContainersInterfaces/IAuxStoreHolder.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/AuxSelection.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/AuxContainerBase.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/tools/AuxPersVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/versions/EgammaAuxVariables_v3.def /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/CxAODMaker/CxAODMaker/PhotonHandler.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/CxAODMaker/CxAODMaker/ObjectHandler.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/CxAODMaker/CxAODMaker/ObjectHandlerBase.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TString.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/EventLoop/StatusCode.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/EventLoop/Global.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATInterfaces/SystematicRegistry.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATInterfaces/Global.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATInterfaces/SystematicSet.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATInterfaces/SystematicCode.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATInterfaces/SystematicVariation.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/ConfigStore.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/ConfigStore.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/ConfigFieldBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/ConfigField.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/IndexDecorator.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/ObjectDecorator.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/EnumHasher.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/ObjectDecorator.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/CxAODMaker/CxAODMaker/EventInfoHandler.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/EventInfoDecorator.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/AuxInfoBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/AuxInfoBase.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/tools/AuxPersInfo.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/ShallowCopy.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/ShallowAuxContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODCore/ShallowAuxInfo.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/GoodRunsLists/GoodRunsListSelectionTool.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/GoodRunsLists/IGoodRunsListSelectionTool.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/IAsgTool.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/AsgToolsConf.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/AsgToolMacros.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/StatusCode.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/Check.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/MsgStreamMacros.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/MsgLevel.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEventInfo/EventInfo.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEventInfo/versions/EventInfo_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/GoodRunsLists/RegularFormula.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TFormula.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TBits.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TObjArray.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TSeqCollection.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TCollection.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TIterator.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/AsgTool.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/AsgMessaging.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/MsgStream.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/SgTEvent.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/SgTEvent.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccess/TEvent.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Rtypes.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEventFormat/EventFormat.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEventFormat/versions/EventFormat_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEventFormat/EventFormatElement.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccess/tools/TReturnCode.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccess/TEvent.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccess/TStore.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccess/TStore.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccess/tools/TDestructorRegistry.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccess/tools/TDestructorRegistry.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccess/tools/TDestructor.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODRootAccess/tools/TDestructor.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/AsgTool.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/PropertyMgr.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/Property.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/PropertyMgr.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/TProperty.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/ToolHandle.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/ToolHandle.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/ToolStore.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/ToolHandleArray.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/ToolHandleArray.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AsgTools/TProperty.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATInterfaces/ISystematicsTool.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/ElectronContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/Electron.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/versions/Electron_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/versions/ElectronContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/ElectronAuxContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/versions/ElectronAuxContainer_v3.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/JetContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/Jet.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/versions/Jet_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBTagging/BTaggingContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBTagging/BTagging.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBTagging/versions/BTagging_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBTagging/BTaggingEnums.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBTagging/BTagVertexContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBTagging/BTagVertex.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBTagging/versions/BTagVertex_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBTagging/versions/BTagVertexContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBTagging/versions/BTaggingContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/JetConstituentVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/JetTypes.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/Vector4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/Vector4Dfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/PxPyPzE4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/eta.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/etaMax.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/GenVector_exception.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/PtEtaPhiE4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/Math.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/PxPyPzM4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/PtEtaPhiM4D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/LorentzVector.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/DisplacementVector3D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/Cartesian3D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/Polar3Dfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/PositionVector3Dfwd.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/GenVectorIO.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/BitReproducible.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/GenVector/CoordinateSystemTags.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/JetAttributes.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/JetContainerInfo.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/versions/Jet_v1.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/versions/JetAccessorMap_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/ElementLinkVector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/ElementLinkVectorBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/AthLinks/ElementLinkVector.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/JetAccessors.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/versions/JetContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/JetAuxContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODJet/versions/JetAuxContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/MuonContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/Muon.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/versions/Muon_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/MuonSegmentContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/MuonSegment.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/versions/MuonSegment_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/MuonIdHelpers/MuonStationIndex.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/versions/MuonSegmentContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/versions/MuonSegment_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/versions/MuonContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/versions/Muon_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/MuonAuxContainer.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODMuon/versions/MuonAuxContainer_v1.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODBase/IParticleHelpers.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/CxAODMaker/CxAODMaker/ObjectHandler.icc /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/CxAODTools/PhotonDecorator.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/ElectronPhotonFourMomentumCorrection/EgammaCalibrationAndSmearingTool.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/egammaMVACalib/egammaMVACalib.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TObject.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/ElectronPhotonFourMomentumCorrection/IEgammaCalibrationAndSmearingTool.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/Egamma.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATInterfaces/CorrectionCode.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/ElectronPhotonFourMomentumCorrection/egammaEnergyCorrectionTool.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATCore/PATCoreEnums.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TRandom3.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TRandom.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TList.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TFile.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TDirectoryFile.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TDirectory.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TDatime.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TUUID.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TMap.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/THashTable.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TUrl.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TGraphErrors.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TGraph.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TAttLine.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TAttFill.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TAttMarker.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TFitResultPtr.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TH1D.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TH1.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TAxis.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TAttAxis.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TArrayD.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TArray.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TArrayC.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TArrayS.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TArrayI.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TArrayF.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Foption.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TSystem.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TInetAddress.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TTimer.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TSysEvtHandler.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TQObject.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TTime.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/ThreadLocalStorage.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/RConfigure.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/TF1.h /cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/5.34.22-x86_64-slc6-gcc48-opt/include/Math/ParamFunctor.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/ElectronPhotonSelectorTools/AsgPhotonIsEMSelector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/ElectronPhotonSelectorTools/IAsgPhotonIsEMSelector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATCore/IAsgSelectionTool.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATCore/TAccept.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/ElectronPhotonSelectorTools/egammaPIDdefs.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/xAODEgamma/PhotonFwd.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/ElectronPhotonSelectorTools/TPhotonIsEMSelector.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATCore/TSelectorToolBase.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PATCore/TAccept.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/RootCore/Packages.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/ElectronPhotonSelectorTools/FakeMsgStreamAndSC.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/ElectronPhotonSelectorTools/EMAmbiguityToolDefs.h /afs/cern.ch/user/y/ychou/private/monoWZH/CxAODFramework/RootCoreBin/include/PathResolver/PathResolver.h
D
/Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Quick.build/Objects-normal/x86_64/Filter.o : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/World+DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/ExampleMetadata.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/World.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Example.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/URL+FileName.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Callsite.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/QuickTestSuite.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Configuration/Configuration.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/ExampleGroup.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/String+C99ExtendedIdentifier.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Filter.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Behavior.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/Closures.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/ErrorUtility.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/DSL/QCKDSL.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Target\ Support\ Files/Quick/Quick-umbrella.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/QuickSpec.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/Quick.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/Configuration/QuickConfiguration.h /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Quick.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Headers/XCTest.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Quick.build/Objects-normal/x86_64/Filter~partial.swiftmodule : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/World+DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/ExampleMetadata.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/World.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Example.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/URL+FileName.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Callsite.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/QuickTestSuite.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Configuration/Configuration.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/ExampleGroup.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/String+C99ExtendedIdentifier.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Filter.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Behavior.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/Closures.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/ErrorUtility.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/DSL/QCKDSL.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Target\ Support\ Files/Quick/Quick-umbrella.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/QuickSpec.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/Quick.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/Configuration/QuickConfiguration.h /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Quick.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Headers/XCTest.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Quick.build/Objects-normal/x86_64/Filter~partial.swiftdoc : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/World+DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/DSL/DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/ExampleMetadata.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/World.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Example.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/URL+FileName.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/HooksPhase.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Callsite.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/QuickTestSuite.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Configuration/Configuration.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Configuration/QuickConfiguration.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/ExampleGroup.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/QuickSelectedTestSuiteBuilder.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/String+C99ExtendedIdentifier.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Filter.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Behavior.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/Closures.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/ExampleHooks.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/Hooks/SuiteHooks.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/Quick/ErrorUtility.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/DSL/QCKDSL.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Target\ Support\ Files/Quick/Quick-umbrella.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/QuickSpec.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/Quick.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Quick/Sources/QuickObjectiveC/Configuration/QuickConfiguration.h /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Quick.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/Headers/XCTest.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/** * Copyright: Enalye * License: Zlib * Authors: Enalye */ module grimoire.compiler.mangle; import std.conv : to; import std.string : indexOf; import grimoire.compiler.type; /** Mangle a signature of types. Example: --- [int, string, func(bool, float)] --- Will be mangled as `$i$s$f($b$f)()` The return type is not conserved in the mangled form as its not part of its signature. But function. passed as parameters have theirs. */ string grMangleSignature(GrType[] signature) { string mangledName; foreach (type; signature) { mangledName ~= "$"; final switch (type.baseType) with (GrBaseType) { case void_: mangledName ~= "*"; break; case null_: mangledName ~= "0"; break; case int_: mangledName ~= "i"; break; case float_: mangledName ~= "r"; break; case bool_: mangledName ~= "b"; break; case string_: mangledName ~= "s"; break; case array_: mangledName ~= "n(" ~ type.mangledType ~ ")"; break; case class_: mangledName ~= "p(" ~ type.mangledType ~ ")"; break; case enum_: mangledName ~= "e(" ~ type.mangledType ~ ")"; break; case foreign: mangledName ~= "u(" ~ type.mangledType ~ ")"; break; case function_: mangledName ~= "f(" ~ type.mangledType ~ ")(" ~ type.mangledReturnType ~ ")"; break; case task: mangledName ~= "t(" ~ type.mangledType ~ ")"; break; case chan: mangledName ~= "c(" ~ type.mangledType ~ ")"; break; case reference: mangledName ~= "h(" ~ type.mangledType ~ ")"; break; case internalTuple: throw new Exception("Trying to mangle a tuple. Tuples should not exist here."); } } return mangledName; } /// Reverse the mangling operation for a signature. GrType[] grUnmangleSignature(string mangledSignature) { GrType[] unmangledSignature; int i; while (i < mangledSignature.length) { //Type separator if (mangledSignature[i] != '$') throw new Exception("Invalid unmangle signature mangling format, missing $"); i++; //Value GrType currentType = GrBaseType.void_; switch (mangledSignature[i]) { case '*': currentType.baseType = GrBaseType.void_; break; case 'i': currentType.baseType = GrBaseType.int_; break; case 'r': currentType.baseType = GrBaseType.float_; break; case 'b': currentType.baseType = GrBaseType.bool_; break; case 's': currentType.baseType = GrBaseType.string_; break; case 'n': i++; currentType.baseType = GrBaseType.array_; currentType.mangledType = grUnmangleSubFunction(mangledSignature, i); break; case 'e': currentType.baseType = GrBaseType.enum_; string enumName; if ((i + 2) >= mangledSignature.length) throw new Exception("Invalid mangling format"); i++; if (mangledSignature[i] != '(') throw new Exception("Invalid mangling format"); i++; while (mangledSignature[i] != ')') { enumName ~= mangledSignature[i]; i++; if (i >= mangledSignature.length) throw new Exception("Invalid mangling format"); } currentType.mangledType = enumName; break; case 'p': currentType.baseType = GrBaseType.class_; string structName; if ((i + 2) >= mangledSignature.length) throw new Exception("Invalid mangling format"); i++; if (mangledSignature[i] != '(') throw new Exception("Invalid mangling format"); i++; while (mangledSignature[i] != ')') { structName ~= mangledSignature[i]; i++; if (i >= mangledSignature.length) throw new Exception("Invalid mangling format"); } currentType.mangledType = structName; break; case 'u': currentType.baseType = GrBaseType.foreign; string foreignName; if ((i + 2) >= mangledSignature.length) throw new Exception("Invalid mangling format"); i++; if (mangledSignature[i] != '(') throw new Exception("Invalid mangling format"); i++; while (mangledSignature[i] != ')') { foreignName ~= mangledSignature[i]; i++; if (i >= mangledSignature.length) throw new Exception("Invalid mangling format"); } currentType.mangledType = foreignName; break; case 'f': i++; currentType.baseType = GrBaseType.function_; currentType.mangledType = grUnmangleSubFunction(mangledSignature, i); i++; currentType.mangledReturnType = grUnmangleSubFunction(mangledSignature, i); break; case 't': i++; currentType.baseType = GrBaseType.task; currentType.mangledType = grUnmangleSubFunction(mangledSignature, i); break; case 'c': i++; currentType.baseType = GrBaseType.chan; currentType.mangledType = grUnmangleSubFunction(mangledSignature, i); break; default: break; } unmangledSignature ~= currentType; i++; } return unmangledSignature; } /** Can be used to mangle a named function or a templated type. Example: --- func test(int i, string s, func(bool, float)) float {} --- Will be mangled as `test$i$s$f($b$f)()` The return type is not conserved in the mangled form as its not part of its signature. But function. passed as parameters have theirs. */ string grMangleComposite(string name, GrType[] signature) { return name ~ grMangleSignature(signature); } /// Reverses the grMangleComposite operation. /// Returns a struct containing the name and the signature. auto grUnmangleComposite(string mangledSignature) { struct UnmangleCompositeResult { string name; GrType[] signature; } UnmangleCompositeResult result; size_t index = mangledSignature.indexOf('$'); if(index == -1) { result.name = mangledSignature; return result; } result.name = mangledSignature[0..index]; result.signature = grUnmangleSignature(mangledSignature[index..$]); return result; } /// Reverse the mangling operation for a function passed as a parameter. string grUnmangleSubFunction(string mangledSignature, ref int i) { string subString; int blockCount = 1; if (i >= mangledSignature.length && mangledSignature[i] != '(') throw new Exception("Invalid subType mangling format, missing ("); i++; for (; i < mangledSignature.length; i++) { switch (mangledSignature[i]) { case '(': blockCount++; break; case ')': blockCount--; if (blockCount == 0) { return subString; } break; default: break; } subString ~= mangledSignature[i]; } throw new Exception("Invalid subType mangling format, missing )"); } /// Reverse the mangling operation for a single type. GrType grUnmangle(string mangledSignature) { GrType currentType = GrBaseType.void_; int i; if (i < mangledSignature.length) { //Type separator if (mangledSignature[i] != '$') throw new Exception("Invalid unmangle mangling format, missing $"); i++; //Value switch (mangledSignature[i]) { case '*': currentType.baseType = GrBaseType.void_; break; case 'i': currentType.baseType = GrBaseType.int_; break; case 'r': currentType.baseType = GrBaseType.float_; break; case 'b': currentType.baseType = GrBaseType.bool_; break; case 's': currentType.baseType = GrBaseType.string_; break; case 'n': i++; currentType.baseType = GrBaseType.array_; currentType.mangledType = grUnmangleSubFunction(mangledSignature, i); i++; break; case 'e': currentType.baseType = GrBaseType.enum_; string enumName; if ((i + 2) >= mangledSignature.length) throw new Exception("Invalid unmangle mangling format in struct"); i++; if (mangledSignature[i] != '(') throw new Exception("Invalid unmangle mangling format in struct"); i++; while (mangledSignature[i] != ')') { enumName ~= mangledSignature[i]; i++; if (i >= mangledSignature.length) throw new Exception("Invalid unmangle mangling format in struct"); } currentType.mangledType = enumName; break; case 'p': currentType.baseType = GrBaseType.class_; string structName; if ((i + 2) >= mangledSignature.length) throw new Exception("Invalid unmangle mangling format in struct"); i++; if (mangledSignature[i] != '(') throw new Exception("Invalid unmangle mangling format in struct"); i++; while (mangledSignature[i] != ')') { structName ~= mangledSignature[i]; i++; if (i >= mangledSignature.length) throw new Exception("Invalid unmangle mangling format in struct"); } currentType.mangledType = structName; break; case 'u': currentType.baseType = GrBaseType.foreign; string foreignName; if ((i + 2) >= mangledSignature.length) throw new Exception("Invalid unmangle mangling format in foreign"); i++; if (mangledSignature[i] != '(') throw new Exception("Invalid unmangle mangling format in foreign"); i++; while (mangledSignature[i] != ')') { foreignName ~= mangledSignature[i]; i++; if (i >= mangledSignature.length) throw new Exception("Invalid unmangle mangling format in foreign"); } currentType.mangledType = foreignName; break; case 'f': i++; currentType.baseType = GrBaseType.function_; currentType.mangledType = grUnmangleSubFunction(mangledSignature, i); i++; currentType.mangledReturnType = grUnmangleSubFunction(mangledSignature, i); i++; break; case 't': i++; currentType.baseType = GrBaseType.task; currentType.mangledType = grUnmangleSubFunction(mangledSignature, i); i++; break; case 'c': i++; currentType.baseType = GrBaseType.chan; currentType.mangledType = grUnmangleSubFunction(mangledSignature, i); i++; break; default: break; } } return currentType; }
D
/Users/twohyjr/Documents/Projects/TripTracker/TripTracker/DerivedData/TripTracker/Build/Intermediates/TripTracker.build/Debug-iphonesimulator/TripTracker.build/Objects-normal/i386/GasEntryDisplayViewCell.o : /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/GasEntryDisplayViewCell.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/Trip.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/Station.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/GasEntriesViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/StatisticsViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/DataEntryViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/GasEntry.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/EnterViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/ViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreData.swiftmodule /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/DerivedData/TripTracker/Build/Intermediates/TripTracker.build/Debug-iphonesimulator/TripTracker.build/Objects-normal/i386/GasEntryDisplayViewCell~partial.swiftmodule : /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/GasEntryDisplayViewCell.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/Trip.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/Station.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/GasEntriesViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/StatisticsViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/DataEntryViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/GasEntry.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/EnterViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/ViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreData.swiftmodule /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/DerivedData/TripTracker/Build/Intermediates/TripTracker.build/Debug-iphonesimulator/TripTracker.build/Objects-normal/i386/GasEntryDisplayViewCell~partial.swiftdoc : /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/GasEntryDisplayViewCell.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/Trip.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/Station.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/GasEntriesViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/StatisticsViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/DataEntryViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/GasEntry.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/EnterViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/ViewController.swift /Users/twohyjr/Documents/Projects/TripTracker/TripTracker/TripTracker/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/i386/CoreData.swiftmodule
D
//последний вставленный в мир vob - в начале vobtree func int Wld_GetInsertedVob() { var zCTree newTreeNode; newTreeNode = _^(MEM_World.globalVobTree_firstChild); return newTreeNode.data; }; //последний вставленный в мир item //!= последнему vob'у, если у item есть pfx-эффекты func int Wld_GetInsertedItem() { var zCTree newTreeNode; newTreeNode = _^(MEM_World.globalVobTree_firstChild); if (Hlp_Is_oCItem(newTreeNode.data)) { return newTreeNode.data; }; //repeat var int label; label = MEM_StackPos.position; if (newTreeNode.data) { if (Hlp_Is_oCItem(newTreeNode.data)) { return newTreeNode.data; }; }; // until not end vobtree (no more child, next or parent): if (newTreeNode.next) { newTreeNode = _^(newTreeNode.next); MEM_StackPos.position = label; }; return 0; }; //удалить vob func void Vob_RemoveFromWorld(var int Vobptr) //zCVob * { //void __thiscall zCVob::RemoveVobFromWorld(void) 0x00601C40 CALL__thiscall(Vobptr, 6298688); };
D
module UnrealScript.TribesGame.GFxTrPage_QuickMatch; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.GFxTrAction; import UnrealScript.TribesGame.GFxTrPage; import UnrealScript.GFxUI.GFxObject; extern(C++) interface GFxTrPage_QuickMatch : GFxTrPage { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class TribesGame.GFxTrPage_QuickMatch")); } private static __gshared GFxTrPage_QuickMatch mDefaultProperties; @property final static GFxTrPage_QuickMatch DefaultProperties() { mixin(MGDPC("GFxTrPage_QuickMatch", "GFxTrPage_QuickMatch TribesGame.Default__GFxTrPage_QuickMatch")); } static struct Functions { private static __gshared { ScriptFunction mInitialize; ScriptFunction mSpecialAction; ScriptFunction mTakeFocus; } public @property static final { ScriptFunction Initialize() { mixin(MGF("mInitialize", "Function TribesGame.GFxTrPage_QuickMatch.Initialize")); } ScriptFunction SpecialAction() { mixin(MGF("mSpecialAction", "Function TribesGame.GFxTrPage_QuickMatch.SpecialAction")); } ScriptFunction TakeFocus() { mixin(MGF("mTakeFocus", "Function TribesGame.GFxTrPage_QuickMatch.TakeFocus")); } } } @property final auto ref ScriptString ActiveQueue() { mixin(MGPC("ScriptString", 356)); } final: void Initialize() { (cast(ScriptObject)this).ProcessEvent(Functions.Initialize, cast(void*)0, cast(void*)0); } void SpecialAction(GFxTrAction Action) { ubyte params[4]; params[] = 0; *cast(GFxTrAction*)params.ptr = Action; (cast(ScriptObject)this).ProcessEvent(Functions.SpecialAction, params.ptr, cast(void*)0); } int TakeFocus(int ActionIndex, GFxObject DataList) { ubyte params[12]; params[] = 0; *cast(int*)params.ptr = ActionIndex; *cast(GFxObject*)&params[4] = DataList; (cast(ScriptObject)this).ProcessEvent(Functions.TakeFocus, params.ptr, cast(void*)0); return *cast(int*)&params[8]; } }
D
module core.sys.windows.winrt.eventtoken; struct EventRegistrationToken { long value; }
D
var int last_atak; //*************************************************************************** // Lumber Globals //*************************************************************************** const int MAX_LUMBER_DAILY = 7; var int LUMBER_DAYAMOUNT0 ; var int LUMBER_DAYAMOUNT1 ; var int LUMBER_DAYAMOUNT2 ; var int LUMBER_DAYAMOUNT3 ; var int LUMBER_DAYAMOUNT4 ; var int LUMBER_DAYAMOUNT5 ; var int LUMBER_DAYAMOUNT6 ; var int LUMBER_DAYAMOUNT7 ; var int LUMBER_DAYAMOUNT8 ; var int LUMBER_DAYAMOUNT9 ; var int LUMBER_DAYAMOUNT10; var int LUMBER_DAYAMOUNT11; var int LUMBER_DAYAMOUNT12; var int LUMBER_DAYAMOUNT13; var int LUMBER_DAYAMOUNT14; var int LUMBER_DAYAMOUNT15; var int LUMBER_DAYAMOUNT16; var int LUMBER_DAYAMOUNT17; var int LUMBER_DAYAMOUNT18; var int LUMBER_DAYAMOUNT19; const int LUMBER_DAILY_MINUS = 4; //*************************************************************************** // Ore Globals // DAILY = 156 ORE=15,6=15 //*************************************************************************** var int DAILYMAGICORE; var int DAILYGOLDORE; var int DAILYCARBONORE; var int DAILYIRONORE; var int DAILYSILVERORE; var int DAILYMAGICORE_NOW; var int DAILYGOLDORE_NOW; var int DAILYCARBONORE_NOW; var int DAILYIRONORE_NOW; var int DAILYSILVERORE_NOW; func void ADD_DAILYLUMBER() { LUMBER_DAYAMOUNT0=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT1=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT2=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT3=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT4=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT5=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT6=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT7=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT8=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT9=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT10=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT11=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT12=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT13=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT14=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT15=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT16=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT17=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT18=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); LUMBER_DAYAMOUNT19=Hlp_Random(MAX_LUMBER_DAILY)-Hlp_Random(LUMBER_DAILY_MINUS); if(LUMBER_DAYAMOUNT0<1){LUMBER_DAYAMOUNT0=1;}; if(LUMBER_DAYAMOUNT1<1){LUMBER_DAYAMOUNT1=1;}; if(LUMBER_DAYAMOUNT2<1){LUMBER_DAYAMOUNT2=1;}; if(LUMBER_DAYAMOUNT3<1){LUMBER_DAYAMOUNT3=1;}; if(LUMBER_DAYAMOUNT4<1){LUMBER_DAYAMOUNT4=1;}; if(LUMBER_DAYAMOUNT5<1){LUMBER_DAYAMOUNT5=1;}; if(LUMBER_DAYAMOUNT6<1){LUMBER_DAYAMOUNT6=1;}; if(LUMBER_DAYAMOUNT7<1){LUMBER_DAYAMOUNT7=1;}; if(LUMBER_DAYAMOUNT8<1){LUMBER_DAYAMOUNT8=1;}; if(LUMBER_DAYAMOUNT9<1){LUMBER_DAYAMOUNT9=1;}; if(LUMBER_DAYAMOUNT10<1){LUMBER_DAYAMOUNT10=1;}; if(LUMBER_DAYAMOUNT11<1){LUMBER_DAYAMOUNT11=1;}; if(LUMBER_DAYAMOUNT12<1){LUMBER_DAYAMOUNT12=1;}; if(LUMBER_DAYAMOUNT13<1){LUMBER_DAYAMOUNT13=1;}; if(LUMBER_DAYAMOUNT14<1){LUMBER_DAYAMOUNT14=1;}; if(LUMBER_DAYAMOUNT15<1){LUMBER_DAYAMOUNT15=1;}; if(LUMBER_DAYAMOUNT16<1){LUMBER_DAYAMOUNT16=1;}; if(LUMBER_DAYAMOUNT17<1){LUMBER_DAYAMOUNT17=1;}; if(LUMBER_DAYAMOUNT18<1){LUMBER_DAYAMOUNT18=1;}; if(LUMBER_DAYAMOUNT19<1){LUMBER_DAYAMOUNT19=1;}; }; func void Reset_DailyOre() { DAILYMAGICORE_NOW = DAILYMAGICORE; DAILYGOLDORE_NOW = DAILYGOLDORE; DAILYCARBONORE_NOW = DAILYCARBONORE; DAILYIRONORE_NOW = DAILYIRONORE; DAILYSILVERORE_NOW = DAILYSILVERORE; }; func void b_storysetgrddayattack() { var int rnd1; var int rnd2; var int rnd3; var int rnd4; var string grdamountstr; GRDDIFICULTALL = Hlp_Random(100) + (hero.level * 2) + Hlp_Random(3 * hero.level); GRDATTACKSAMOUNT = Hlp_Random(2); GRDDIFICULT1ST = 150 + GRDDIFICULTALL; rnd1 = Hlp_Random(6); Wld_SetObjectRoutine(0 + rnd1,Hlp_Random(60),"GRDS_TRIGGER_1",1); grdamountstr = ConcatStrings("GRDS_TRIGGER_1 == ",IntToString(1 + rnd1)); }; func void b_clearhuntaivs() { // to do: remove }; func void b_setday() { DAY = DAY + 1; if(DAY > 6) { WEEKDAY = WEEKDAY + 1; }; if(DAY == 6) { WEEK = 1; WEEKDAY = PON; WEEKTYPE = Hlp_Random(3); }; if(WEEKDAY == ND) { WEEKTYPE = Hlp_Random(3); }; if(WORLD_CURRENT == WORLD_WORLDZEN) { LastDayIn_WORLDZEN = DAY; } else if(WORLD_CURRENT == WORLD_FREEMINE) { LastDayIn_FREEMINE = DAY; } else if(WORLD_CURRENT == WORLD_OGY) { LastDayIn_OGY = DAY; } else if(WORLD_CURRENT == WORLD_MONASTERYDUNGEONZEN) { LastDayIn_MONASTERYDUNGEONZEN = DAY; } else if(WORLD_CURRENT == WORLD_CATACOMBS) { LastDayIn_CATACOMBS = DAY; }; // else if(WORLD_CURRENT == WORLD_DREAM01) // { // LastDayIn_PSIDREAM = DAY; // }; }; func void b_settodayevents() { return; var int rnd; //TEMPORARY OFF if (last_atak+2+Hlp_Random(4)!=999/*>=Wld_GetDay()*/)&&(!TODAY_ARE_CHALLENGE)&&(Kapitel>3) { TODAY_ARE_CHALLENGE = FALSE; b_storysetgrddayattack(); last_atak=Wld_GetDay(); }; }; func void b_storychangeday() { Wld_SendUnTrigger("GRDS_TRIGGER_1"); printdebug("HELLO NEW DAY!"); b_setday(); b_settodayevents(); Respawn_ChangeDay(); Reset_DailyOre();//add daily ore amounts WeatherForecasting(); ADD_DAILYLUMBER();//"dodaŠ" drewno do bali GRDSINATTACK = 0; SkyPreset_DailyFixDone = false; }; func void DayShift(var int nday) { if(nDay>LAST_DAY) { DAY=nDay; b_storychangeday(); }; LAST_DAY = nDay; };
D
/* Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ module derelict.util.loader; @system @nogc { private { import std.array : split; import std.string : strip; import derelict.util.sharedlib; } class SharedLibLoader { public: this(string libNames) { _libNames = libNames; } void load() { load(_libNames); } void load(string libNameString) { assert(libNameString !is null); string[] libNames = libNameString.split(","); foreach(ref string l; libNames) l = l.strip(); load(libNames); } void load(string[] libNames) { _lib.load(libNames); loadSymbols(); } void unload() { _lib.unload(); } bool isLoaded() @property { return _lib.isLoaded; } protected: abstract void loadSymbols(); void* loadSymbol(string name) { return _lib.loadSymbol(name); } SharedLib lib() @property { return _lib; } void bindFunc(void** ptr, string funcName, bool doThrow = true) { void* func = lib.loadSymbol(funcName, doThrow); *ptr = func; } private: string _libNames; SharedLib _lib; } }
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2010-2011 by Rainer Schuetze, All Rights Reserved // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt module stdext.path; import std.path; import std.array; import std.string; import std.conv; string normalizeDir(string dir) { if(dir.length == 0) return ".\\"; dir = replace(dir, "/", "\\"); if(dir[$-1] == '\\') return dir; return dir ~ "\\"; } string normalizePath(string path) { return replace(path, "/", "\\"); } string canonicalPath(string path) { return toLower(replace(path, "/", "\\")); } string makeFilenameAbsolute(string file, string workdir) { if(!isAbsolute(file) && workdir.length) { if(file == ".") file = workdir; else file = normalizeDir(workdir) ~ file; } return file; } void makeFilenamesAbsolute(string[] files, string workdir) { foreach(ref file; files) { if(!isAbsolute(file) && workdir.length) file = makeFilenameAbsolute(file, workdir); } } string removeDotDotPath(string file) { // assumes \\ used as path separator for( ; ; ) { // remove duplicate back slashes auto pos = indexOf(file[1..$], "\\\\"); if(pos < 0) break; file = file[0..pos+1] ~ file[pos + 2 .. $]; } for( ; ; ) { auto pos = indexOf(file, "\\..\\"); if(pos < 0) break; auto lpos = lastIndexOf(file[0..pos], '\\'); if(lpos < 0) break; file = file[0..lpos] ~ file[pos + 3 .. $]; } for( ; ; ) { auto pos = indexOf(file, "\\.\\"); if(pos < 0) break; file = file[0..pos] ~ file[pos + 2 .. $]; } return file; } string makeFilenameCanonical(string file, string workdir) { file = makeFilenameAbsolute(file, workdir); file = normalizePath(file); file = removeDotDotPath(file); return file; } string makeDirnameCanonical(string dir, string workdir) { dir = makeFilenameAbsolute(dir, workdir); dir = normalizeDir(dir); dir = removeDotDotPath(dir); return dir; } void makeFilenamesCanonical(string[] files, string workdir) { foreach(ref file; files) file = makeFilenameCanonical(file, workdir); } void makeDirnamesCanonical(string[] dirs, string workdir) { foreach(ref dir; dirs) dir = makeDirnameCanonical(dir, workdir); } string quoteFilename(string fname) { if(fname.length >= 2 && fname[0] == '\"' && fname[$-1] == '\"') return fname; if(fname.indexOf('$') >= 0 || indexOf(fname, ' ') >= 0) fname = "\"" ~ fname ~ "\""; return fname; } void quoteFilenames(string[] files) { foreach(ref file; files) { file = quoteFilename(file); } } string quoteNormalizeFilename(string fname) { return quoteFilename(normalizePath(fname)); } string getNameWithoutExt(string fname) { string bname = baseName(fname); string name = stripExtension(bname); if(name.length == 0) name = bname; return name; } string safeFilename(string fname, string rep = "-") // - instead of _ to not possibly be part of a module name { string safefile = fname; foreach(char ch; ":\\/") safefile = replace(safefile, to!string(ch), rep); return safefile; } string makeRelative(string file, string path) { if(!isAbsolute(file)) return file; if(!isAbsolute(path)) return file; file = replace(file, "/", "\\"); path = replace(path, "/", "\\"); if(path[$-1] != '\\') path ~= "\\"; string lfile = toLower(file); string lpath = toLower(path); int posfile = 0; for( ; ; ) { auto idxfile = indexOf(lfile, '\\'); auto idxpath = indexOf(lpath, '\\'); assert(idxpath >= 0); if(idxfile < 0 || idxfile != idxpath || lfile[0..idxfile] != lpath[0 .. idxpath]) { if(posfile == 0) return file; // path longer than file path or different subdirs string res; while(idxpath >= 0) { res ~= "..\\"; lpath = lpath[idxpath + 1 .. $]; idxpath = indexOf(lpath, '\\'); } return res ~ file[posfile .. $]; } lfile = lfile[idxfile + 1 .. $]; lpath = lpath[idxpath + 1 .. $]; posfile += idxfile + 1; if(lpath.length == 0) { // file longer than path return file[posfile .. $]; } } } unittest { string file = "c:\\a\\bc\\def\\ghi.d"; string path = "c:\\a\\bc\\x"; string res = makeRelative(file, path); assert(res == "..\\def\\ghi.d"); file = "c:\\a\\bc\\def\\ghi.d"; path = "c:\\a\\bc\\def"; res = makeRelative(file, path); assert(res == "ghi.d"); file = "c:\\a\\bc\\def\\Ghi.d"; path = "c:\\a\\bc\\Def\\ggg\\hhh\\iii"; res = makeRelative(file, path); assert(res == "..\\..\\..\\Ghi.d"); file = "d:\\a\\bc\\Def\\ghi.d"; path = "c:\\a\\bc\\def\\ggg\\hhh\\iii"; res = makeRelative(file, path); assert(res == file); }
D
module sensors.internal.IInternalSensor; import std.variant; interface IInternalSensor { public enum EnumType { COUNTER, // system can increment the sensor like a counter MEASURE // just passivly measures something } @property EnumType type(); @property string humanreadableSensorName(); void restart(); void stop(); void reset(); void increment(ulong delta); @property Variant value(); }
D
module vson; public import vson.json; public import vson.bson; public import vson.serialization;
D
; Copyright (C) 2016 The Android Open Source Project ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writing, software ; distributed under the License is distributed on an "AS IS" BASIS, ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; See the License for the specific language governing permissions and ; limitations under the License. .source T_iget_char_35.java .class public dot.junit.opcodes.iget_char.d.T_iget_char_35 .super java/lang/Object .method public <init>()V .limit regs 1 invoke-direct {v0}, java/lang/Object/<init>()V return-void .end method .method public run()C .limit regs 2 iget-char v0, v1, dot.junit.opcodes.iget_char.TestStubs.TestStubProtectedField C return v0 .end method
D
module yazl; public import yazl.sock; public import yazl.router;
D
/root/github/compiler/week3_binary_operators/lexer_lib/target/debug/build/memchr-c91f1865189b4115/build_script_build-c91f1865189b4115: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.2.0/build.rs /root/github/compiler/week3_binary_operators/lexer_lib/target/debug/build/memchr-c91f1865189b4115/build_script_build-c91f1865189b4115.d: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.2.0/build.rs /root/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.2.0/build.rs:
D
module kameloso.plugins; //module kameloso.plugins.all; public import kameloso.plugins.common, //kameloso.plugins.automode, kameloso.plugins.login, kameloso.plugins.waiter;
D
/++ Templates for binding Godot C++ classes to use from D The binding generator will implement these templates for the classes in Godot's API JSON. +/ module godot.d.bind; import std.meta, std.traits; import std.conv : text; import godot.core, godot.c; import godot.d.meta; /// Type to mark varargs GodotMethod. struct GodotVarArgs { } /++ Definition of a method from API JSON. Godot classes will have these as static member variables, and aliases of form $(D methodBindInfo(string name : "method_name")) to access by name. +/ struct GodotMethod(Return, Args...) { godot_method_bind* mb; /// MethodBind for ptrcalls String name; /// String name from Godot (snake_case, not always valid D) static if(Args.length) enum bool hasVarArgs = is(Args[$-1] : GodotVarArgs); else enum bool hasVarArgs = false; /+package(godot)+/ void bind(in char* className, in char* methodName) { if(mb) return; mb = godot_method_bind_get_method(className, methodName); name = String(methodName); } } enum bool needsConversion(Src, Dest) = !isGodotClass!Dest && !is(Src : Dest); /// temporary var if conversion is needed template tempType(Src, Dest) { static if( needsConversion!(Src, Dest) ) alias tempType = Dest; else alias tempType = void[0]; } /++ Direct pointer call through MethodBind. +/ Return ptrcall(Return, MB, Args...)(MB method, in godot_object self, Args args) if( is(MB : GodotMethod!(Return, MBArgs), MBArgs...) ) { import std.typecons; import std.range : iota; alias MBArgs = TemplateArgsOf!(MB)[1..$]; static assert(Args.length == MBArgs.length); static if(Args.length != 0) { alias _iota = aliasSeqOf!(iota(Args.length)); alias _tempType(size_t i) = tempType!(Args[i], MBArgs[i]); const(void)*[Args.length] aarr = void; Tuple!( staticMap!(_tempType, _iota) ) temp = void; } foreach(ai, A; Args) { static if(isGodotClass!A) { static assert(is(Unqual!A : MBArgs[ai]) || staticIndexOf!( MBArgs[ai], GodotClass!A.GodotClass) != -1, "method" ~ " argument " ~ ai.text ~ " of type " ~ A.stringof ~ " does not inherit parameter type " ~ MBArgs[ai].stringof); aarr[ai] = getGDNativeObject(args[ai]).ptr; } else static if( !needsConversion!(Args[ai], MBArgs[ai]) ) { aarr[ai] = cast(const(void)*)(&args[ai]); } else // needs conversion { static assert(is(typeof(MBArgs[ai](args[ai]))), "method" ~ " argument " ~ ai.text ~ " of type " ~ A.stringof ~ " cannot be converted to parameter type " ~ MBArgs[ai].stringof); import std.conv : emplace; emplace(&temp[ai], args[ai]); aarr[ai] = cast(const(void)*)(&temp[ai]); } } static if(!is(Return : void)) Return r = godotDefaultInit!Return; static if(is(Return : void)) alias rptr = Alias!null; else void* rptr = cast(void*)&r; static if(Args.length == 0) alias aptr = Alias!null; else const(void)** aptr = aarr.ptr; godot_method_bind_ptrcall(method.mb, cast(godot_object)self, aptr, rptr); static if(!is(Return : void)) return r; } /++ Variant call, for virtual and vararg methods. Forwards to `callv`, but does compile-time type check of args other than varargs. +/ Return callv(MB, Return, Args...)(MB method, godot_object self, Args args) if( is(MB : GodotMethod!(Return, MBArgs), MBArgs...) ) { alias MBArgs = TemplateArgsOf!(MB)[1..$]; import godot.object; GodotObject o = void; o._godot_object = self; assert(o._godot_object.ptr !is null); Array a = Array.empty_array; static if(Args.length != 0) a.resize(cast(int)Args.length); foreach(ai, A; Args) { static if(is(MBArgs[$-1] : GodotVarArgs) && ai >= MBArgs.length-1) { // do nothing } else { static assert(ai < MBArgs.length, "Too many arguments"); static assert(is(A : MBArgs[ai]) || isImplicitlyConvertible!(A, MBArgs[ai]), "method" ~ " argument " ~ ai.text ~ " of type " ~ A.stringof ~ " cannot be converted to parameter type " ~ MBArgs[ai].stringof); } a[ai] = args[ai]; } Variant r = o.callv(method.name, a); return r.as!Return; } package(godot) mixin template baseCasts() { inout(To) as(To)() inout if(isGodotBaseClass!To) { static if(extends!(typeof(this), To)) return inout(To)(_godot_object); else static if(extends!(To, typeof(this))) { if(_godot_object.ptr is null) return inout(To).init; String c = String(To._GODOT_internal_name); if(is_class(c)) return inout(To)(_godot_object); return inout(To).init; } else static assert(0, To.stringof ~ " is not polymorphic to " ~ typeof(this).stringof); } inout(To) as(To)() inout if(extendsGodotBaseClass!To) { static assert(extends!(To, typeof(this)), "D class " ~ To.stringof ~ " does not extend " ~ typeof(this).stringof); if(_godot_object.ptr is null) return null; if(has_method(String(`_GDNATIVE_D_typeid`))) { inout(Object) o = cast(inout(Object))godot_nativescript_get_userdata( cast(godot_object)_godot_object); return cast(inout(To))o; // D dynamic cast to check polymorphism } return null; } template opCast(To) if(isGodotBaseClass!To) { alias opCast = as!To; } template opCast(To) if(extendsGodotBaseClass!To) { alias opCast = as!To; } // void* cast for passing this type to ptrcalls package(godot) void* opCast(T : void*)() const { return cast(void*)_godot_object.ptr; } // strip const, because the C API sometimes expects a non-const godot_object godot_object opCast(T : godot_object)() const { return cast(godot_object)_godot_object; } // implicit conversion to bool like D class references bool opCast(T : bool)() const { return _godot_object.ptr !is null; } }
D
a lever used by a pilot to control the ailerons and elevators of an airplane a manual control consisting of a vertical handle that can move freely in two directions
D
/* * This file is part of gtkD. * * gtkD is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * gtkD is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with gtkD; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // generated automatically - do not change // find conversion definition on APILookup.txt // implement new conversion functionalities on the wrap.utils pakage /* * Conversion parameters: * inFile = GtkToggleToolButton.html * outPack = gtk * outFile = ToggleToolButton * strct = GtkToggleToolButton * realStrct= * ctorStrct=GtkToolItem * clss = ToggleToolButton * interf = * class Code: No * interface Code: No * template for: * extend = * implements: * prefixes: * - gtk_toggle_tool_button_ * - gtk_ * omit structs: * omit prefixes: * omit code: * omit signals: * imports: * - gtkD.glib.Str * - gtkD.gtk.ToolItem * structWrap: * - GtkToolItem* -> ToolItem * module aliases: * local aliases: * overrides: */ module gtkD.gtk.ToggleToolButton; public import gtkD.gtkc.gtktypes; private import gtkD.gtkc.gtk; private import gtkD.glib.ConstructionException; private import gtkD.gobject.Signals; public import gtkD.gtkc.gdktypes; private import gtkD.glib.Str; private import gtkD.gtk.ToolItem; private import gtkD.gtk.ToolButton; /** * Description * A GtkToggleToolButton is a GtkToolItem that contains a toggle * button. * Use gtk_toggle_tool_button_new() to create a new * GtkToggleToolButton. Use gtk_toggle_tool_button_new_from_stock() to * create a new GtkToggleToolButton containing a stock item. */ public class ToggleToolButton : ToolButton { /** the main Gtk struct */ protected GtkToggleToolButton* gtkToggleToolButton; public GtkToggleToolButton* getToggleToolButtonStruct() { return gtkToggleToolButton; } /** the main Gtk struct as a void* */ protected override void* getStruct() { return cast(void*)gtkToggleToolButton; } /** * Sets our main struct and passes it to the parent class */ public this (GtkToggleToolButton* gtkToggleToolButton) { if(gtkToggleToolButton is null) { this = null; return; } //Check if there already is a D object for this gtk struct void* ptr = getDObject(cast(GObject*)gtkToggleToolButton); if( ptr !is null ) { this = cast(ToggleToolButton)ptr; return; } super(cast(GtkToolButton*)gtkToggleToolButton); this.gtkToggleToolButton = gtkToggleToolButton; } /** */ int[char[]] connectedSignals; void delegate(ToggleToolButton)[] onToggledListeners; /** * Emitted whenever the toggle tool button changes state. * See Also * * GtkToolbar, GtkToolButton, GtkSeparatorToolItem * The toolbar widget * The parent class of GtkToggleToolButton. The properties * "label_widget", "label", "icon_widget", and "stock_id" on * GtkToolButton determine the label and icon used on * GtkToggleToolButtons. * * A subclass of GtkToolItem that separates groups of * items on a toolbar. * */ void addOnToggled(void delegate(ToggleToolButton) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0) { if ( !("toggled" in connectedSignals) ) { Signals.connectData( getStruct(), "toggled", cast(GCallback)&callBackToggled, cast(void*)this, null, connectFlags); connectedSignals["toggled"] = 1; } onToggledListeners ~= dlg; } extern(C) static void callBackToggled(GtkToggleToolButton* toggleToolButtonStruct, ToggleToolButton toggleToolButton) { foreach ( void delegate(ToggleToolButton) dlg ; toggleToolButton.onToggledListeners ) { dlg(toggleToolButton); } } /** * Returns a new GtkToggleToolButton * Since 2.4 * Throws: ConstructionException GTK+ fails to create the object. */ public this () { // GtkToolItem * gtk_toggle_tool_button_new (void); auto p = gtk_toggle_tool_button_new(); if(p is null) { throw new ConstructionException("null returned by gtk_toggle_tool_button_new()"); } this(cast(GtkToggleToolButton*) p); } /** * Creates a new GtkToggleToolButton containing the image and text from a * stock item. Some stock ids have preprocessor macros like GTK_STOCK_OK * and GTK_STOCK_APPLY. * It is an error if stock_id is not a name of a stock item. * Since 2.4 * Params: * stockId = the name of the stock item * Throws: ConstructionException GTK+ fails to create the object. */ public this (string stockId) { // GtkToolItem * gtk_toggle_tool_button_new_from_stock (const gchar *stock_id); auto p = gtk_toggle_tool_button_new_from_stock(Str.toStringz(stockId)); if(p is null) { throw new ConstructionException("null returned by gtk_toggle_tool_button_new_from_stock(Str.toStringz(stockId))"); } this(cast(GtkToggleToolButton*) p); } /** * Sets the status of the toggle tool button. Set to TRUE if you * want the GtkToggleButton to be 'pressed in', and FALSE to raise it. * This action causes the toggled signal to be emitted. * Since 2.4 * Params: * isActive = whether button should be active */ public void setActive(int isActive) { // void gtk_toggle_tool_button_set_active (GtkToggleToolButton *button, gboolean is_active); gtk_toggle_tool_button_set_active(gtkToggleToolButton, isActive); } /** * Queries a GtkToggleToolButton and returns its current state. * Returns TRUE if the toggle button is pressed in and FALSE if it is raised. * Since 2.4 * Returns: TRUE if the toggle tool button is pressed in, FALSE if not */ public int getActive() { // gboolean gtk_toggle_tool_button_get_active (GtkToggleToolButton *button); return gtk_toggle_tool_button_get_active(gtkToggleToolButton); } }
D
instance NOV_1309_NOVIZE(NPC_DEFAULT) { name[0] = NAME_NOVIZE; npctype = NPCTYPE_AMBIENT; guild = GIL_NOV; level = 9; voice = 3; id = 1309; attribute[ATR_STRENGTH] = 15; attribute[ATR_DEXTERITY] = 15; attribute[ATR_MANA_MAX] = 0; attribute[ATR_MANA] = 0; attribute[ATR_HITPOINTS_MAX] = 148; attribute[ATR_HITPOINTS] = 148; Mdl_SetVisual(self,"HUMANS.MDS"); Mdl_ApplyOverlayMds(self,"Humans_Mage.mds"); Mdl_SetVisualBody(self,"hum_body_Naked0",1,1,"Hum_Head_Psionic",30,1,nov_armor_m); b_scale(self); Mdl_SetModelFatness(self,-1); fight_tactic = FAI_HUMAN_COWARD; EquipItem(self,itmw_1h_axe_old_01); daily_routine = rtn_start_1309; }; func void rtn_start_1309() { ta_herbalchemy(7,0,0,0,"PSI_HERB_PLACE_2"); ta_sleep(0,0,7,0,"PSI_6_HUT_IN_BED2"); };
D
/Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/DatabaseKit.build/Database/DatabaseConfig.swift.o : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/DatabaseKit.build/Database/DatabaseConfig~partial.swiftmodule : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/DatabaseKit.build/Database/DatabaseConfig~partial.swiftdoc : /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Deprecated.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DatabaseKeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/DictionaryKeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/MemoryKeyedCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolCache.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseStringFindable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnectable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseQueryable.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/URL+DatabaseName.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Database.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/ConfiguredDatabase.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseConfig.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPoolConfig.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/KeyedCache/KeyedCacheSupporting.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/LogSupporting.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLog.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/Container+ConnectionPool.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/ConnectionPool/DatabaseConnectionPool.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+CachedConnection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/DatabaseConnection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Connection/Container+NewConnection.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Service/DatabaseKitProvider.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogger.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/DatabaseIdentifier.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/DatabaseLogHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Log/PrintLogHandler.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/DatabaseKitError.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Database/Databases.swift /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/database-kit/Sources/DatabaseKit/Utilities/Exports.swift /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/XPC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/IOKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/XPC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Combine.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/Swift.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/IOKit.swiftmodule/x86_64-apple-macos.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-macos.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/christian/GitHub/vapor/HelloVapor/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/xpc/XPC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ObserveOn.o : /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Amb.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AnonymousObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Buffer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Cancelable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Catch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Concat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ConnectableObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debunce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Deferred.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Delay.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DelaySubscription.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DistinctUntilChanged.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Do.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ElementAt.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Empty.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Error.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Errors.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Event.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Filter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Generate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Just.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Map.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Merge.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Multicast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Never.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Aggregate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Binding.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Concurrency.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Creation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Multiple.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Single.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+StandardSequenceOperators.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Time.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOnSerialDispatchQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObserverType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Linux.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Producer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Range.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Reactive.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Reduce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RefCount.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Repeat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RetryWhen.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sample.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Scan.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1WhileConnected.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SingleAsync.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Skip.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/StartWith.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SubscribeOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Switch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Take.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeLast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Throttle.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timeout.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ToArray.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Using.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/Variable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Window.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/WithLatestFrom.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a18968/Develop/RxSwiftSampler/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ObserveOn~partial.swiftmodule : /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Amb.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AnonymousObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Buffer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Cancelable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Catch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Concat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ConnectableObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debunce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Deferred.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Delay.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DelaySubscription.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DistinctUntilChanged.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Do.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ElementAt.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Empty.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Error.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Errors.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Event.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Filter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Generate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Just.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Map.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Merge.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Multicast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Never.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Aggregate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Binding.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Concurrency.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Creation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Multiple.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Single.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+StandardSequenceOperators.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Time.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOnSerialDispatchQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObserverType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Linux.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Producer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Range.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Reactive.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Reduce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RefCount.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Repeat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RetryWhen.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sample.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Scan.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1WhileConnected.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SingleAsync.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Skip.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/StartWith.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SubscribeOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Switch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Take.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeLast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Throttle.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timeout.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ToArray.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Using.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/Variable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Window.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/WithLatestFrom.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a18968/Develop/RxSwiftSampler/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/Objects-normal/x86_64/ObserveOn~partial.swiftdoc : /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AddRef.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Amb.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/AnonymousObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/AnyObserver.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Bag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Buffer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Cancelable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Catch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/CombineLatest.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Concat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ConnectableObservable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ConnectableObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Debunce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Deferred.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Delay.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DelaySubscription.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DispatchQueue+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/Disposables.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/DistinctUntilChanged.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Do.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ElementAt.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Empty.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Error.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Errors.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Event.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Filter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Generate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Just.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/Lock.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Map.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Merge.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Multicast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Never.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Aggregate.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Binding.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Concurrency.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Creation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Debug.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Multiple.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Single.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+StandardSequenceOperators.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Observable+Time.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableConvertibleType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObservableType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ObserveOnSerialDispatchQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/ObserverType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Darwin.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/Platform.Linux.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Producer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/Platform/DataStructures/Queue.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Range.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Reactive.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Reduce.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RefCount.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Repeat.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/RetryWhen.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/RxMutableBox.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sample.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Scan.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/SchedulerType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sequence.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ShareReplay1WhileConnected.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SingleAsync.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Sink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Skip.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SkipWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/StartWith.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/SubscribeOn.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Switch.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Take.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeLast.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeUntil.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/TakeWhile.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Throttle.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timeout.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Timer.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/ToArray.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Using.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Subjects/Variable.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Window.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/WithLatestFrom.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+arity.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip+Collection.swift /Users/a18968/Develop/RxSwiftSampler/Pods/RxSwift/RxSwift/Observables/Implementations/Zip.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/a18968/Develop/RxSwiftSampler/Pods/Target\ Support\ Files/RxSwift/RxSwift-umbrella.h /Users/a18968/Develop/RxSwiftSampler/DerivedData/RxSwiftSampler/Build/Intermediates/Pods.build/Debug-iphonesimulator/RxSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
D
/* --------------------------------------------------------------------------- Open Asset Import Library (ASSIMP) --------------------------------------------------------------------------- Copyright (c) 2006-2009, ASSIMP Development Team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the ASSIMP team, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of the ASSIMP Development Team. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --------------------------------------------------------------------------- */ /** * Contains the data structures in which the imported geometry is returned by * Assimp. */ module assimp.mesh; import assimp.math; import assimp.types; extern ( C ) { /** * A single face in a mesh, referring to multiple vertices. * * If <code>mNumIndices</code> is 3, we call the face <em>triangle</em>, for * for <code>mNumIndices > 3</code> it's called <em>polygon</em>. * * <code>aiMesh.mPrimitiveTypes</code> can be queried to quickly examine * which types of primitive are actually present in a mesh. The * <code>aiProcess.SortByPType</code> flag post-processing step splits * meshes containing different primitive types (e.g. lines and triangles) in * several "clean" submeshes. * * Furthermore, there is a configuration option * (<code>AI_CONFIG_PP_SBP_REMOVE</code>) to force <code>SortByPType</code> * to completely remove specific kinds of primitives from the imported scene. * In many cases you'll probably want to set this setting to * <code>aiPrimitiveType.LINE | aiPrimitiveType.POINT</code>. Together with * the <code>aiProcess.Triangulate</code> flag you can then be sure that * <code>mNumIndices</code> is always 3. */ struct aiFace { /** * Number of indices defining this face (3 for a triangle, >3 for a * polygon). */ uint mNumIndices; /** * Array of the indicies defining the face. * * The size is given in <code>mNumIndices</code>. */ uint* mIndices; } /** * A single influence of a bone on a vertex. */ struct aiVertexWeight { /** * Index of the vertex which is influenced by the bone. */ uint mVertexId; /** * The strength of the influence in the range <code>[0..1]</code>. * * The influence from all bones at one vertex sums up to 1. */ float mWeight; } /** * A single bone of a mesh. * * A bone has a name by which it can be found in the frame hierarchy and by * which it can be addressed by animations. In addition it has a number of * influences on vertices. */ struct aiBone { /** * The name of the bone. */ aiString mName; /** * The number of vertices affected by this bone. */ uint mNumWeights; /** * The vertices affected by this bone. * * This array is <code>mNumWeights</code> entries in size. */ aiVertexWeight* mWeights; /** * Matrix that transforms from mesh space to bone space (in the bind * pose). */ aiMatrix4x4 mOffsetMatrix; } /** * Maximum number of vertex color sets per mesh. * * Normally: Diffuse, specular, ambient and emissive. However, one could use * the vertex color sets for any other purpose, too. * * Note: Some internal structures expect (and assert) this value to be at * least 4. For the moment it is absolutely safe to assume that this will * not change. */ const uint AI_MAX_NUMBER_OF_COLOR_SETS = 0x4; /** * Maximum number of texture coord sets (UV(W) channels) per mesh * * The material system uses the <code>AI_MATKEY_UVWSRC_XXX</code> keys to * specify which UVW channel serves as data source for a texture. * * Note: Some internal structures expect (and assert) this value to be at * least 4. For the moment it is absolutely safe to assume that this will * not change. */ const uint AI_MAX_NUMBER_OF_TEXTURECOORDS = 0x4; /** * Enumerates the types of geometric primitives supported by Assimp. * * See: <code>aiFace</code>, <code>aiProcess.SortByPType</code>, * <code>aiProcess.Triangulate</code>, * <code>AI_CONFIG_PP_SBP_REMOVE</code>. */ enum aiPrimitiveType : uint { /** A point primitive. * * This is just a single vertex in the virtual world, * <code>aiFace</code> contains just one index for such a primitive. */ POINT = 0x1, /** A line primitive. * * This is a line defined through a start and an end position. * <code>aiFace</code> contains exactly two indices for such a primitive. */ LINE = 0x2, /** A triangular primitive. * * A triangle consists of three indices. */ TRIANGLE = 0x4, /** A higher-level polygon with more than 3 edges. * * A triangle is a polygon, but in this context, polygon means * "all polygons that are not triangles". The <code>Triangulate</code> * post processing step is provided for your convinience, it splits all * polygons in triangles (which are much easier to handle). */ POLYGON = 0x8 } // Note: The AI_PRIMITIVE_TYPE_FOR_N_INDICES(n) macro from the C headers is // missing since there is probably not much use for it when just reading // scene files. /** * A mesh represents a geometry or model with a single material. * * It usually consists of a number of vertices and a series * primitives/faces referencing the vertices. In addition there might be a * series of bones, each of them addressing a number of vertices with a * certain weight. Vertex data is presented in channels with each channel * containing a single per-vertex information such as a set of texture * coords or a normal vector. If a data pointer is non-null, the * corresponding data stream is present. * * A mesh uses only a single material which is referenced by a material ID. * * Note: The <code>mPositions</code> member is usually not optional. * However, vertex positions <em>could</em> be missing if the * <code>AI_SCENE_FLAGS_INCOMPLETE</code> flag is set in * <code>aiScene.mFlags</code>. */ struct aiMesh { /** * Bitwise combination of <code>aiPrimitiveType</code> members. * * This specifies which types of primitives are present in the mesh. * The <code>SortByPrimitiveType</code> post processing step can be used * to make sure the output meshes consist of one primitive type each. */ uint mPrimitiveTypes; /** * The number of vertices in this mesh. * * This is also the size of all of the per-vertex data arrays. */ uint mNumVertices; /** * The number of primitives (triangles, polygons, lines) in this mesh. * This is also the size of the <code>mFaces</code> array. */ uint mNumFaces; /** * Vertex positions. * * This array is always present in a mesh. The array is * <code>mNumVertices</code> in size. */ aiVector3D* mVertices; /** * Vertex normals. * * The array contains normalized vectors, null if not present. * The array is <code>mNumVertices</code> in size. * * Normals are undefined for point and line primitives. A mesh * consisting of points and lines only may not have normal vectors. * Meshes with mixed primitive types (i.e. lines and triangles) may have * normals, but the normals for vertices that are only referenced by * point or line primitives are undefined and set to <code>QNAN</code>. * * Note: Normal vectors computed by Assimp are always unit-length. * However, this needn't apply for normals that have been taken * directly from the model file. */ aiVector3D* mNormals; /** * Vertex tangents. * * The tangent of a vertex points in the direction of the positive x * texture axis. The array contains normalized vectors, null if * not present. The array is <code>mNumVertices</code> in size. * * A mesh consisting of points and lines only may not have normal * vectors. Meshes with mixed primitive types (i.e. lines and triangles) * may have normals, but the normals for vertices that are only * referenced by point or line primitives are undefined and set to * <code>QNAN</code>. * * Note: If the mesh contains tangents, it automatically also contains * bitangents (the bitangent is just the cross product of tangent and * normal vectors). */ aiVector3D* mTangents; /** * Vertex bitangents. * * The bitangent of a vertex points in the direction of the positive Y * texture axis. The array contains normalized vectors, null if not * present. The array is <code>mNumVertices</code> in size. * * Note: If the mesh contains tangents, it automatically also contains * bitangents. */ aiVector3D* mBitangents; /** * Vertex color sets. * * A mesh may contain 0 to <code>AI_MAX_NUMBER_OF_COLOR_SETS</code> * vertex colors per vertex. null if not present. * * Each array is <code>mNumVertices</code> in size if present. */ aiColor4D* mColors[ AI_MAX_NUMBER_OF_COLOR_SETS ]; /** * Vertex texture coords, also known as UV channels. * A mesh may contain 0 to <code>AI_MAX_NUMBER_OF_TEXTURECOORDS</code> * per vertex. null if not present. * * Each array is <code>mNumVertices</code> in size. */ aiVector3D* mTextureCoords[ AI_MAX_NUMBER_OF_TEXTURECOORDS ]; /** * Specifies the number of components for a given UV channel. * * Up to three channels are supported (UVW, for accessing volume or cube * maps). If the value is 2 for a given channel <code>n</code>, the * component <code>p.z</code> of <code>mTextureCoords[n][p]</code> is set * to 0. If the value is 1 for a given channel, <code>p.y</code> is set * to 0, too. If this value is 0, 2 should be assumed. * * Note: 4D coords are not supported. */ uint mNumUVComponents[ AI_MAX_NUMBER_OF_TEXTURECOORDS ]; /** * The faces the mesh is contstructed from. * * Each face referrs to a number of vertices by their indices. * This array is always present in a mesh, its size is given * in <code>mNumFaces</code>. If the * <code>AI_SCENE_FLAGS_NON_VERBOSE_FORMAT</code> is <em>not</em> set, * each face references an unique set of vertices. */ aiFace* mFaces; /** * The number of bones this mesh contains. * * Can be 0, in which case the <code>mBones</code> array is null. */ uint mNumBones; /** * The bones of this mesh. * * A bone consists of a name by which it can be found in the frame * hierarchy and a set of vertex weights. */ aiBone** mBones; /** * The material used by this mesh. * * A mesh does use only a single material. If an imported model uses * multiple materials, the import splits up the mesh. Use this value as * index into the scene's material list. */ uint mMaterialIndex; } }
D
/** Copyright: Copyright (c) 2015-2018 Andrey Penechko. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Andrey Penechko. */ module voxelman.movement.plugin; import voxelman.log; import voxelman.math; import pluginlib; import voxelman.core.events; import voxelman.config.configmanager : ConfigOption, ConfigManager; import voxelman.block.plugin; import voxelman.dbg.plugin; import voxelman.eventdispatcher.plugin; import voxelman.graphics.plugin; import voxelman.gui.plugin; import voxelman.input.plugin; import voxelman.input.keybindingmanager; import voxelman.world.clientworld; import voxelman.text.textformatter; class MovementPlugin : IPlugin { EventDispatcherPlugin evDispatcher; GraphicsPlugin graphics; GuiPlugin guiPlugin; InputPlugin input; BlockPluginClient blockPlugin; ClientWorld clientWorld; Debugger dbg; ConfigOption fpsCameraSpeedOpt; ConfigOption fpsCameraBoostOpt; ConfigOption flightCameraSpeedOpt; ConfigOption flightCameraBoostOpt; bool onGround; bool isFlying; bool noclip; float eyesHeight = 1.7; float height = 1.75; float radius = 0.25; float friction = 0.9; float jumpHeight = 1.5; float jumpTime = 0.3; // calculated each tick from jumpHeight and jumpTime float gravity = 1; float jumpSpeed = 1; // ditto vec3 speed = vec3(0,0,0); float maxFallSpeed = 100; float airSpeed = 2; mixin IdAndSemverFrom!"voxelman.movement.plugininfo"; override void registerResources(IResourceManagerRegistry resmanRegistry) { auto keyBindingMan = resmanRegistry.getResourceManager!KeyBindingManager; keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_W, "key.forward")); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_A, "key.left")); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_S, "key.backward")); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_D, "key.right")); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_SPACE, "key.up")); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_LEFT_CONTROL, "key.down")); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_LEFT_SHIFT, "key.fast")); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_KP_ADD, "key.speed_up", null, &speedUp)); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_KP_SUBTRACT, "key.speed_down", null, &speedDown)); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_F, "key.fly", null, &toggleFlying)); keyBindingMan.registerKeyBinding(new KeyBinding(KeyCode.KEY_N, "key.noclip", null, &toggleNoclip)); ConfigManager config = resmanRegistry.getResourceManager!ConfigManager; fpsCameraSpeedOpt = config.registerOption!int("fps_camera_speed", 5); fpsCameraBoostOpt = config.registerOption!int("fps_camera_boost", 2); flightCameraSpeedOpt = config.registerOption!int("flight_camera_speed", 20); flightCameraBoostOpt = config.registerOption!int("flight_camera_boost", 5); dbg = resmanRegistry.getResourceManager!Debugger; } override void init(IPluginManager pluginman) { evDispatcher = pluginman.getPlugin!EventDispatcherPlugin; graphics = pluginman.getPlugin!GraphicsPlugin; guiPlugin = pluginman.getPlugin!GuiPlugin; input = pluginman.getPlugin!InputPlugin; clientWorld = pluginman.getPlugin!ClientWorld; blockPlugin = pluginman.getPlugin!BlockPluginClient; auto debugClient = pluginman.getPlugin!DebugClient; debugClient.registerDebugGuiHandler(&showDebugSettings, SETTINGS_ORDER, "Movement"); evDispatcher.subscribeToEvent(&onPreUpdateEvent); evDispatcher.subscribeToEvent(&onPostUpdateEvent); } void speedUp(string) { if (isFlying) flightCameraSpeedOpt.set(clamp(flightCameraSpeedOpt.get!uint + 1, 1, 200)); else fpsCameraSpeedOpt.set(clamp(fpsCameraSpeedOpt.get!uint + 1, 1, 100)); } void speedDown(string) { if (isFlying) flightCameraSpeedOpt.set(clamp(flightCameraSpeedOpt.get!uint - 1, 1, 200)); else fpsCameraSpeedOpt.set(clamp(fpsCameraSpeedOpt.get!uint - 1, 1, 100)); } void toggleFlying(string) { isFlying = !isFlying; } void toggleNoclip(string) { noclip = !noclip; } void onPreUpdateEvent(ref PreUpdateEvent event) { if(guiPlugin.mouseLocked) handleMouse(); if (isCurrentChunkLoaded()) { gravity = (2*jumpHeight/(jumpTime*jumpTime)); jumpSpeed = sqrt(2*gravity*jumpHeight); float delta = clamp(event.deltaTime, 0, 2); vec3 eyesDelta = vec3(0, eyesHeight, 0); vec3 legsPos = graphics.camera.position - eyesDelta; vec3 targetDelta; if (isFlying) targetDelta = handleFlight(speed, delta); else targetDelta = handleWalk(speed, delta); vec3 newLegsPos; if (noclip) newLegsPos = legsPos + targetDelta; else newLegsPos = movePlayer(legsPos, targetDelta, delta); graphics.camera.position = newLegsPos + eyesDelta; graphics.camera.isUpdated = false; } } private void onPostUpdateEvent(ref PostUpdateEvent event) { dbg.setVar("On ground", onGround); dbg.setVar("Speed", speed.length); dbg.setVar("Loaded", isCurrentChunkLoaded()); } private void showDebugSettings() { //igCheckbox("[F]ly mode", &isFlying); //igCheckbox("[N]oclip", &noclip); } bool isCurrentChunkLoaded() { bool inBorders = clientWorld .currentDimensionBorders .contains(clientWorld.observerPosition.ivector3); bool chunkLoaded = clientWorld .chunkManager .isChunkLoaded(clientWorld.observerPosition); return chunkLoaded || (!inBorders); } // returns position delta vec3 handleWalk(ref vec3 speed, float dt) { InputState state = gatherInputs(); vec3 inputSpeed = vec3(0,0,0); vec3 inputAccel = vec3(0,0,0); uint cameraSpeed = fpsCameraSpeedOpt.get!uint; if (state.boost) cameraSpeed *= fpsCameraBoostOpt.get!uint; vec3 horInputs = vec3(state.inputs.x, 0, state.inputs.z); if (horInputs != vec3(0,0,0)) horInputs.normalize(); vec3 cameraMovement = toCameraCoordinateSystem(horInputs); if (onGround) { speed = vec3(0,0,0); if (state.jump) { speed.y = jumpSpeed; onGround = false; } if (dt > 0) { inputAccel.x = cameraMovement.x / dt; inputAccel.z = cameraMovement.z / dt; } inputAccel *= cameraSpeed; } else { inputSpeed = cameraMovement * airSpeed; } vec3 accel = vec3(0, -gravity, 0) + inputAccel; vec3 airFrictionAccel = vec3(0, limitingFriction(std_abs(speed.y), accel.y, maxFallSpeed), 0); vec3 fullAcceleration = airFrictionAccel + accel; speed += fullAcceleration * dt; vec3 targetDelta = (speed + inputSpeed) * dt; return targetDelta; } vec3 handleFlight(ref vec3 speed, float dt) { InputState state = gatherInputs(); uint cameraSpeed = flightCameraSpeedOpt.get!uint; if (state.boost) cameraSpeed *= flightCameraBoostOpt.get!uint; vec3 inputs = vec3(state.inputs); if (inputs != vec3(0,0,0)) inputs.normalize(); vec3 inputSpeed = toCameraCoordinateSystem(inputs); inputSpeed *= cameraSpeed; vec3 targetDelta = inputSpeed * dt; return targetDelta; } static struct InputState { ivec3 inputs = ivec3(0,0,0); bool boost; bool jump; bool hasHoriInput; } InputState gatherInputs() { InputState state; if(guiPlugin.mouseLocked) { if(input.isKeyPressed("key.fast")) state.boost = true; if(input.isKeyPressed("key.right")) { state.inputs.x = 1; state.hasHoriInput = true; } else if(input.isKeyPressed("key.left")) { state.inputs.x = -1; state.hasHoriInput = true; } if(input.isKeyPressed("key.forward")) { state.inputs.z = 1; state.hasHoriInput = true; } else if(input.isKeyPressed("key.backward")) { state.inputs.z = -1; state.hasHoriInput = true; } if(input.isKeyPressed("key.up")) { state.inputs.y = 1; state.jump = true; } else if(input.isKeyPressed("key.down")) state.inputs.y = -1; } return state; } void handleMouse() { ivec2 mousePos = input.mousePosition; mousePos -= cast(ivec2)(guiPlugin.window.size) / 2; // scale, so up and left is positive, as rotation is anti-clockwise // and coordinate system is right-hand and -z if forward mousePos *= -1; if(mousePos.x !=0 || mousePos.y !=0) { graphics.camera.rotate(vec2(mousePos)); } input.mousePosition = cast(ivec2)(guiPlugin.window.size) / 2; } vec3 toCameraCoordinateSystem(vec3 vector) { vec3 rightVec = graphics.camera.rotationQuatHor.rotate(vec3(1,0,0)); vec3 targetVec = graphics.camera.rotationQuatHor.rotate(vec3(0,0,-1)); return rightVec * vector.x + vec3(0,1,0) * vector.y + targetVec * vector.z; } vec3 movePlayer(vec3 pos, vec3 delta, float dt) { float distance = delta.length; int num_steps = cast(int)ceil(distance * 2); // num cells moved if (num_steps == 0) return pos; vec3 move_step = delta / num_steps; onGround = false; foreach(i; 0..num_steps) { pos += move_step; vec3 speed_mult = collide(pos, radius, height); speed *= speed_mult; } return pos; } vec3 collide(ref vec3 point, float radius, float height) { ivec3 cell = ivec3(floor(point.x), floor(point.y), floor(point.z)); vec3 speed_mult = vec3(1, 1, 1); Aabb body_aabb = Aabb(point+vec3(0, height/2, 0), vec3(radius, height/2, radius)); foreach(dy; -1..ceil(height+1)) { foreach(dx; [0, -1, 1]) { foreach(dz; [0, -1, 1]) { ivec3 local_cell = cell + ivec3(dx, dy, dz); if (clientWorld.isBlockSolid(local_cell)) { Aabb cell_aabb = Aabb(vec3(local_cell) + vec3(0.5,0.5,0.5), vec3(0.5,0.5,0.5)); bool collides = cell_aabb.collides(body_aabb); if (collides) { vec3 vector = cell_aabb.intersectionSize(body_aabb); int min_component; if (vector.x < vector.y) { if (vector.x < vector.z) min_component = 0; else min_component = 2; } else { if (vector.y < vector.z) min_component = 1; else min_component = 2; } if (min_component == 0) // x { int dir = cell_aabb.pos.x < body_aabb.pos.x ? 1 : -1; body_aabb.pos.x = body_aabb.pos.x + vector.x * dir; speed_mult.x = 0; } else if (min_component == 1) // y { int dir = cell_aabb.pos.y < body_aabb.pos.y ? 1 : -1; body_aabb.pos.y = body_aabb.pos.y + vector.y * dir; speed_mult.y = 0; if (dir == 1) { onGround = true; } } else // z { int dir = cell_aabb.pos.z < body_aabb.pos.z ? 1 : -1; body_aabb.pos.z = body_aabb.pos.z + vector.z * dir; speed_mult.z = 0; } } } } } } point.x = body_aabb.pos.x; point.z = body_aabb.pos.z; point.y = body_aabb.pos.y - body_aabb.size.y; return speed_mult; } } V limitingFriction(V)(V currentSpeed, V currentAcceleration, float maxSpeed) { float speedScalar = currentSpeed.length; float frictionMult = speedScalar / maxSpeed; V frictionAcceleraion = -currentAcceleration * frictionMult; return frictionAcceleraion; } float limitingFriction(float currentSpeed, float currentAcceleration, float maxSpeed) { float frictionMult = currentSpeed / maxSpeed; float frictionAcceleraion = -currentAcceleration * frictionMult; return frictionAcceleraion; } struct Aabb { vec3 pos; vec3 size; // returns collides, vector bool collides(Aabb other) { vec3 delta = (other.pos - pos).abs; vec3 min_distance = size + other.size; return delta.x < min_distance.x && delta.y < min_distance.y && delta.z < min_distance.z; } vec3 intersectionSize(Aabb other) { float x = pos.x - size.x; float y = pos.y - size.y; float z = pos.z - size.z; float x2 = x + size.x*2; float y2 = y + size.y*2; float z2 = z + size.z*2; float o_x = other.pos.x - other.size.x; float o_y = other.pos.y - other.size.y; float o_z = other.pos.z - other.size.z; float o_x2 = o_x + other.size.x*2; float o_y2 = o_y + other.size.y*2; float o_z2 = o_z + other.size.z*2; float x_min = max(x, o_x); float y_min = max(y, o_y); float z_min = max(z, o_z); float x_max = min(x2, o_x2); float y_max = min(y2, o_y2); float z_max = min(z2, o_z2); return vec3(x_max - x_min, y_max - y_min, z_max - z_min); } }
D
/Users/shimmennobuyoshi/Desktop/OnTheMap/Build/Intermediates/OnTheMap.build/Debug-iphonesimulator/OnTheMap.build/Objects-normal/x86_64/AppDelegate.o : /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityAnnotation.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UIColorExtension.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/ParseConstants.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityStudent.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/MapViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/PostingViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/LoginViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityConstants.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/ParseClient.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/AppDelegate.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityClient.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/ListViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Swift.swiftmodule /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/OnTheMap-Bridging-Header.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/Parse.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Security.swiftmodule /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFACL.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFNullability.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFAnalytics.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFConstants.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreImage.swiftmodule /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFAnonymousUtils.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFUser.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFObject.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFSubclassing.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFCloud.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFConfig.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFFile.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFGeoPoint.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFObject+Subclass.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFQuery.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFRelation.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFRole.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFSession.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFInstallation.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFNetworkActivityIndicatorManager.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFProduct.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFPurchase.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFPush.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFTwitterUtils.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PF_Twitter.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKCoreKit.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKAccessToken.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKCopying.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKMacros.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKAppEvents.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKConstants.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKGraphRequest.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKMutableCopying.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKProfile.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKSettings.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKUtility.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareKit.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupAddDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupJoinDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppInviteContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppInviteDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKGameRequestContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKGameRequestDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLikeButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLikeObjectType.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLiking.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLikeControl.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKMessageDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharing.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharingContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSendButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharingButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareAPI.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphObject.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphValueContainer.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareConstants.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareDialogMode.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareLinkContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphAction.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharePhoto.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharePhotoContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareVideo.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareVideoContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginManager.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKTooltipView.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginConstants.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginManagerLoginResult.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginTooltipView.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/ParseFacebookUtilsV4/PFFacebookUtils.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Bolts/BFTask.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Build/Intermediates/OnTheMap.build/Debug-iphonesimulator/OnTheMap.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityAnnotation.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UIColorExtension.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/ParseConstants.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityStudent.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/MapViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/PostingViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/LoginViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityConstants.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/ParseClient.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/AppDelegate.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityClient.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/ListViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Swift.swiftmodule /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/OnTheMap-Bridging-Header.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/Parse.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Security.swiftmodule /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFACL.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFNullability.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFAnalytics.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFConstants.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreImage.swiftmodule /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFAnonymousUtils.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFUser.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFObject.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFSubclassing.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFCloud.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFConfig.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFFile.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFGeoPoint.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFObject+Subclass.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFQuery.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFRelation.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFRole.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFSession.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFInstallation.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFNetworkActivityIndicatorManager.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFProduct.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFPurchase.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFPush.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFTwitterUtils.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PF_Twitter.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKCoreKit.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKAccessToken.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKCopying.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKMacros.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKAppEvents.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKConstants.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKGraphRequest.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKMutableCopying.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKProfile.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKSettings.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKUtility.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareKit.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupAddDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupJoinDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppInviteContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppInviteDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKGameRequestContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKGameRequestDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLikeButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLikeObjectType.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLiking.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLikeControl.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKMessageDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharing.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharingContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSendButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharingButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareAPI.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphObject.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphValueContainer.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareConstants.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareDialogMode.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareLinkContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphAction.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharePhoto.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharePhotoContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareVideo.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareVideoContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginManager.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKTooltipView.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginConstants.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginManagerLoginResult.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginTooltipView.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/ParseFacebookUtilsV4/PFFacebookUtils.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Bolts/BFTask.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Build/Intermediates/OnTheMap.build/Debug-iphonesimulator/OnTheMap.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityAnnotation.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UIColorExtension.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/ParseConstants.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityStudent.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/MapViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/PostingViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/LoginViewController.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityConstants.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/ParseClient.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/AppDelegate.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/UdacityClient.swift /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/ListViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Swift.swiftmodule /Users/shimmennobuyoshi/Desktop/OnTheMap/OnTheMap/OnTheMap-Bridging-Header.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/Parse.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/Security.swiftmodule /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFACL.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFNullability.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFAnalytics.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFConstants.h /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/CoreImage.swiftmodule /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFAnonymousUtils.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFUser.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFObject.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFSubclassing.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFCloud.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFConfig.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFFile.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFGeoPoint.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFObject+Subclass.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFQuery.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFRelation.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFRole.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFSession.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFInstallation.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFNetworkActivityIndicatorManager.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFProduct.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFPurchase.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFPush.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PFTwitterUtils.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Parse/PF_Twitter.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKCoreKit.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKAccessToken.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKCopying.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKMacros.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKAppEvents.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKAppLinkUtility.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKApplicationDelegate.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKConstants.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKGraphRequest.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKMutableCopying.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKProfile.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKProfilePictureView.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKSettings.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKUtility.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareKit.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupAddDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupJoinDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppInviteContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKAppInviteDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKGameRequestContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKGameRequestDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLikeButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKCoreKit/FBSDKButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLikeObjectType.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLiking.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKLikeControl.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKMessageDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharing.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharingContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSendButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharingButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareAPI.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphObject.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphValueContainer.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareConstants.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareDialog.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareDialogMode.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareLinkContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphAction.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharePhoto.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKSharePhotoContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareVideo.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKShareKit/FBSDKShareKit/FBSDKShareVideoContent.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginButton.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginManager.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKTooltipView.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginConstants.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginManagerLoginResult.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginTooltipView.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/ParseFacebookUtilsV4/PFFacebookUtils.h /Users/shimmennobuyoshi/Desktop/OnTheMap/Pods/Headers/Public/Bolts/BFTask.h
D
// //---------------------------------------------------------------------- // Copyright 2007-2011 Mentor Graphics Corporation // Copyright 2007-2010 Cadence Design Systems, Inc. // Copyright 2010 Synopsys, Inc. // Copyright 2014 Coverify Systems Technology // All Rights Reserved Worldwide // // Licensed under the Apache License, Version 2.0 (the // "License"); you may not use this file except in // compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in // writing, software distributed under the License is // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR // CONDITIONS OF ANY KIND, either express or implied. See // the License for the specific language governing // permissions and limitations under the License. //---------------------------------------------------------------------- // typedef class uvm_test_done_objection; // typedef class uvm_sequencer_base; // typedef class uvm_domain; // typedef class uvm_task_phase; //------------------------------------------------------------------------------ // // Class: uvm_phase // //------------------------------------------------------------------------------ // // This base class defines everything about a phase: behavior, state, and context. // // To define behavior, it is extended by UVM or the user to create singleton // objects which capture the definition of what the phase does and how it does it. // These are then cloned to produce multiple nodes which are hooked up in a graph // structure to provide context: which phases follow which, and to hold the state // of the phase throughout its lifetime. // UVM provides default extensions of this class for the standard runtime phases. // VIP Providers can likewise extend this class to define the phase functor for a // particular component context as required. // // *Phase Definition* // // Singleton instances of those extensions are provided as package variables. // These instances define the attributes of the phase (not what state it is in) // They are then cloned into schedule nodes which point back to one of these // implementations, and calls it's virtual task or function methods on each // participating component. // It is the base class for phase functors, for both predefined and // user-defined phases. Per-component overrides can use a customized imp. // // To create custom phases, do not extend uvm_phase directly: see the // three predefined extended classes below which encapsulate behavior for // different phase types: task, bottom-up function and top-down function. // // Extend the appropriate one of these to create a uvm_YOURNAME_phase class // (or YOURPREFIX_NAME_phase class) for each phase, containing the default // implementation of the new phase, which must be a uvm_component-compatible // delegate, and which may be a null implementation. Instantiate a singleton // instance of that class for your code to use when a phase handle is required. // If your custom phase depends on methods that are not in uvm_component, but // are within an extended class, then extend the base YOURPREFIX_NAME_phase // class with parameterized component class context as required, to create a // specialized functor which calls your extended component class methods. // This scheme ensures compile-safety for your extended component classes while // providing homogeneous base types for APIs and underlying data structures. // // *Phase Context* // // A schedule is a coherent group of one or mode phase/state nodes linked // together by a graph structure, allowing arbitrary linear/parallel // relationships to be specified, and executed by stepping through them in // the graph order. // Each schedule node points to a phase and holds the execution state of that // phase, and has optional links to other nodes for synchronization. // // The main operations are: construct, add phases, and instantiate // hierarchically within another schedule. // // Structure is a DAG (Directed Acyclic Graph). Each instance is a node // connected to others to form the graph. Hierarchy is overlaid with m_parent. // Each node in the graph has zero or more successors, and zero or more // predecessors. No nodes are completely isolated from others. Exactly // one node has zero predecessors. This is the root node. Also the graph // is acyclic, meaning for all nodes in the graph, by following the forward // arrows you will never end up back where you started but you will eventually // reach a node that has no successors. // // *Phase State* // // A given phase may appear multiple times in the complete phase graph, due // to the multiple independent domain feature, and the ability for different // VIP to customize their own phase schedules perhaps reusing existing phases. // Each node instance in the graph maintains its own state of execution. // // *Phase Handle* // // Handles of this type uvm_phase are used frequently in the API, both by // the user, to access phasing-specific API, and also as a parameter to some // APIs. In many cases, the singleton package-global phase handles can be // used (eg. connect_ph, run_ph) in APIs. For those APIs that need to look // up that phase in the graph, this is done automatically. module uvm.base.uvm_phase; import uvm.base.uvm_object; import uvm.base.uvm_objection; import uvm.base.uvm_object_globals; import uvm.base.uvm_globals; import uvm.base.uvm_component; import uvm.base.uvm_domain; import uvm.base.uvm_root; import uvm.base.uvm_task_phase; import uvm.meta.misc; import uvm.meta.mcd; import esdl.base.core: FifoObj, waitDelta, wait, Fork, abortForks, getSimTime; import esdl.data.sync; import uvm.base.uvm_cmdline_processor; import uvm.base.uvm_message_defines; import std.string: format; import std.conv: to; final class uvm_once_phase { @uvm_immutable_sync private SyncAssoc!(uvm_phase, bool) _m_executing_phases; // private static mailbox #(uvm_phase) m_phase_hopper = new(); @uvm_immutable_sync private FifoObj!uvm_phase _m_phase_hopper; @uvm_protected_sync private bool _m_phase_trace; @uvm_private_sync private bool _m_use_ovm_run_semantic; this() { synchronized(this) { _m_phase_hopper = new FifoObj!uvm_phase; _m_executing_phases = new SyncAssoc!(uvm_phase, bool); } } } class uvm_phase: uvm_object { mixin(uvm_once_sync!uvm_once_phase); mixin(uvm_sync!uvm_phase); // not required in vlang //`uvm_object_utils(uvm_phase) //-------------------- // Group: Construction //-------------------- // Function: new // // Create a new phase node, with a name and a note of its type // name - name of this phase // type - task, topdown func or bottomup func // public this(string name="uvm_phase", uvm_phase_type phase_type=UVM_PHASE_SCHEDULE, uvm_phase parent=null) { synchronized(this) { super(name); _m_state = new WithEvent!uvm_phase_state(); _m_jump_fwd = new WithEvent!bool(); _m_jump_bkwd = new WithEvent!bool(); _m_predecessors = new SyncAssoc!(uvm_phase, bool); _m_successors = new SyncAssoc!(uvm_phase, bool); _m_phase_type = phase_type; if(name == "run") { _phase_done = uvm_test_done_objection.get(); } else { _phase_done = new uvm_objection(name ~ "_objection"); } _m_state = UVM_PHASE_DORMANT; _m_run_count = 0; _m_parent = parent; uvm_cmdline_processor clp = uvm_cmdline_processor.get_inst(); string val; debug(UVM_PHASE_TRACE) { m_phase_trace = true; // once variable } else { if(clp.get_arg_value("+UVM_PHASE_TRACE", val)) { m_phase_trace = true; // once variable } else { m_phase_trace = false; } } if(clp.get_arg_value("+UVM_USE_OVM_RUN_SEMANTIC", val)) { m_use_ovm_run_semantic = true; // once variable } else { m_use_ovm_run_semantic = false; } if(parent is null && (phase_type is UVM_PHASE_SCHEDULE || phase_type is UVM_PHASE_DOMAIN )) { //_m_parent = this; _m_end_node = new uvm_phase(name ~ "_end", UVM_PHASE_TERMINAL, this); this.m_successors[_m_end_node] = true; _m_end_node.m_predecessors[this] = true; } } } // Function: get_phase_type // // Returns the phase type as defined by <uvm_phase_type> // final public uvm_phase_type get_phase_type() { synchronized(this) { return _m_phase_type; } } //------------- // Group: State //------------- // Function: get_state // // Accessor to return current state of this phase // final public uvm_phase_state get_state() { synchronized(this) { return _m_state; } } // Function: get_run_count // // Accessor to return the integer number of times this phase has executed // final public int get_run_count() { synchronized(this) return _m_run_count; } // Function: find_by_name // // Locate a phase node with the specified ~name~ and return its handle. // With ~stay_in_scope~ set, searches only within this phase's schedule or // domain. // final public uvm_phase find_by_name(string name, bool stay_in_scope = true) { // TBD full search //$display({"\nFIND node named '", name,"' within ", get_name()," (scope ", m_phase_type.name(),")", (stay_in_scope) ? " staying within scope" : ""}); if(get_name() == name) { return this; } uvm_phase retval = m_find_predecessor_by_name(name, stay_in_scope, this); if(retval is null) { retval = m_find_successor_by_name(name, stay_in_scope, this); } return retval; } // Function: find // // Locate the phase node with the specified ~phase~ IMP and return its handle. // With ~stay_in_scope~ set, searches only within this phase's schedule or // domain. // public uvm_phase find(uvm_phase phase, bool stay_in_scope = true) { // TBD full search //$display({"\nFIND node '", phase.get_name(),"' within ", get_name()," (scope ", m_phase_type.name(),")", (stay_in_scope) ? " staying within scope" : ""}); if(phase is _m_imp || phase is this) { return phase; } uvm_phase retval = m_find_predecessor(phase, stay_in_scope, this); if(retval is null) { retval = m_find_successor(phase, stay_in_scope, this); } return retval; } // This function is named "is" in SV version, but since "is" is a // keyword in dlang, we name this function "is_same" here. // Function: is_same // // returns true if the containing uvm_phase refers to the same phase // as the phase argument, false otherwise // final public bool is_same(uvm_phase phase) { synchronized(this) { return (_m_imp is phase || this is phase); } } // Function: is_before // // Returns 1 if the containing uvm_phase refers to a phase that is earlier // than the phase argument, 0 otherwise // final public bool is_before(uvm_phase phase) { synchronized(this) { //$display("this=%s is before phase=%s?", get_name(), phase.get_name()); // TODO: add support for 'stay_in_scope=1' functionality return (!is_same(phase) && m_find_successor(phase, false, this) !is null); } } // Function: is_after // // returns 1 if the containing uvm_phase refers to a phase that is later // than the phase argument, 0 otherwise // final public bool is_after(uvm_phase phase) { synchronized(this) { //$display("this=%s is after phase=%s?", get_name(), phase.get_name()); // TODO: add support for 'stay_in_scope=1' functionality return (!is_same(phase) && m_find_predecessor(phase, false, this) !is null); } } //----------------- // Group: Callbacks //----------------- // Function: exec_func // // Implements the functor/delegate functionality for a function phase type // comp - the component to execute the functionality upon // phase - the phase schedule that originated this phase call // public void exec_func(uvm_component comp, uvm_phase phase) { } // Function: exec_task // // Implements the functor/delegate functionality for a task phase type // comp - the component to execute the functionality upon // phase - the phase schedule that originated this phase call // // task public void exec_task(uvm_component comp, uvm_phase phase) { } //---------------- // Group: Schedule //---------------- // Function: add // // Build up a schedule structure inserting phase by phase, specifying linkage // // Phases can be added anywhere, in series or parallel with existing nodes // // phase - handle of singleton derived imp containing actual functor. // by default the new phase is appended to the schedule // with_phase - specify to add the new phase in parallel with this one // after_phase - specify to add the new phase as successor to this one // before_phase - specify to add the new phase as predecessor to this one // final public void add(uvm_phase phase, uvm_phase with_phase = null, uvm_phase after_phase = null, uvm_phase before_phase = null) { uvm_phase new_node, begin_node, end_node; if(phase is null) { uvm_fatal("PH/NULL", "add: phase argument is null"); } if(with_phase !is null && with_phase.get_phase_type() is UVM_PHASE_IMP) { string nm = with_phase.get_name(); with_phase = find(with_phase); if(with_phase is null) { uvm_fatal("PH_BAD_ADD", "cannot find with_phase '" ~ nm ~ "' within node '" ~ get_name() ~ "'"); } } if(before_phase !is null && before_phase.get_phase_type() is UVM_PHASE_IMP) { string nm = before_phase.get_name(); before_phase = find(before_phase); if(before_phase is null) { uvm_fatal("PH_BAD_ADD", "cannot find before_phase '" ~ nm ~ "' within node '" ~ get_name() ~ "'"); } } if(after_phase !is null && after_phase.get_phase_type() is UVM_PHASE_IMP) { string nm = after_phase.get_name(); after_phase = find(after_phase); if(after_phase is null) { uvm_fatal("PH_BAD_ADD", "cannot find after_phase '" ~ nm ~ "' within node '" ~ get_name() ~ "'"); } } if(with_phase !is null && (after_phase !is null || before_phase !is null)) { uvm_fatal("PH_BAD_ADD", "cannot specify both 'with' and 'before/after' " "phase relationships"); } if(before_phase is this || after_phase is m_end_node || with_phase is m_end_node) { uvm_fatal("PH_BAD_ADD", "cannot add before { node, after end node, or " "with end nodes"); } // If we are inserting a new "leaf node" if(phase.get_phase_type() is UVM_PHASE_IMP) { new_node = new uvm_phase(phase.get_name(), UVM_PHASE_NODE, this); new_node.m_imp = phase; begin_node = new_node; end_node = new_node; } // We are inserting an existing schedule else { begin_node = phase; end_node = phase.m_end_node; phase.m_parent = this; } // If 'with_phase' is us, then insert node in parallel /* if(with_phase is this) { after_phase = this; before_phase = m_end_node; } */ // If no before/after/with specified, insert at end of this schedule if(with_phase is null && after_phase is null && before_phase is null) { before_phase = m_end_node; } if(m_phase_trace) { uvm_phase_type typ = phase.get_phase_type(); uvm_info("PH/TRC/ADD_PH", get_name() ~ " (" ~ m_phase_type.to!string ~ ") ADD_PHASE: phase=" ~ phase.get_full_name() ~ " (" ~ typ.to!string ~ ", inst_id=" ~ format("%0d", phase.get_inst_id()) ~ ")" ~ " with_phase=" ~ ((with_phase is null) ? "null" : with_phase.get_name()) ~ " after_phase=" ~ ((after_phase is null) ? "null" : after_phase.get_name()) ~ " before_phase=" ~ ((before_phase is null) ? "null" : before_phase.get_name()) ~ " new_node=" ~ ((new_node is null) ? "null" : (new_node.get_name() ~ " inst_id=", format("%0d", new_node.get_inst_id()))) ~ " begin_node=" ~ ((begin_node is null) ? "null" : begin_node.get_name()) ~ " end_node=" ~ ((end_node is null) ? "null" : end_node.get_name()), UVM_DEBUG); } // INSERT IN PARALLEL WITH 'WITH' PHASE if(with_phase !is null) { begin_node.m_predecessors = with_phase.m_predecessors.dup; end_node.m_successors = with_phase.m_successors.dup; foreach(pred, unused; with_phase.m_predecessors) { pred.m_successors[begin_node] = true; } foreach(succ, unused; with_phase.m_successors) { succ.m_predecessors[end_node] = true; } } // INSERT BEFORE PHASE else if(before_phase !is null && after_phase is null) { begin_node.m_predecessors = before_phase.m_predecessors.dup; end_node.m_successors[before_phase] = true; foreach(pred, unused; before_phase.m_predecessors) { pred.m_successors.remove(before_phase); pred.m_successors[begin_node] = true; } before_phase.m_predecessors.clear(); before_phase.m_predecessors[end_node] = true; } // INSERT AFTER PHASE else if(before_phase is null && after_phase !is null) { end_node.m_successors = after_phase.m_successors.dup; begin_node.m_predecessors[after_phase] = true; foreach(succ, unused; after_phase.m_successors) { succ.m_predecessors.remove(after_phase); succ.m_predecessors[end_node] = true; } after_phase.m_successors.remove(); after_phase.m_successors[begin_node] = true; } // IN BETWEEN 'BEFORE' and 'AFTER' PHASES else if(before_phase !is null && after_phase !is null) { if(!after_phase.is_before(before_phase)) { uvm_fatal("PH_ADD_PHASE", "Phase '" ~ before_phase.get_name() ~ "' is not before phase '" ~ after_phase.get_name() ~ "'"); } // before and after? add 1 pred and 1 succ begin_node.m_predecessors[after_phase] = true; end_node.m_successors[before_phase] = true; after_phase.m_successors[begin_node] = true; before_phase.m_predecessors[end_node] = true; if(before_phase in after_phase.m_successors) { after_phase.m_successors.remove(before_phase); before_phase.m_successors.remove(after_phase); } } } // Function: get_parent // // Returns the parent schedule node, if any, for hierarchical graph traversal // final public uvm_phase get_parent() { synchronized(this) { return _m_parent; } } // Function: get_full_name // // Returns the full path from the enclosing domain down to this node. // The singleton IMP phases have no hierarchy. // override public string get_full_name() { synchronized(this) { // string dom; -- redundant in SV implementation if(m_phase_type is UVM_PHASE_IMP) { return get_name(); } string retval = get_domain_name(); string sch = get_schedule_name(); if(sch != "") { retval ~= "." ~ sch; } if(m_phase_type !is UVM_PHASE_DOMAIN && m_phase_type !is UVM_PHASE_SCHEDULE) { retval ~= "." ~ get_name(); } return retval; } } // Function: get_schedule // // Returns the topmost parent schedule node, if any, for hierarchical graph traversal // final public uvm_phase get_schedule(bool hier = false) { uvm_phase sched = this; if(hier) { while(sched.m_parent !is null && (sched.m_parent.get_phase_type() is UVM_PHASE_SCHEDULE)) { sched = sched.m_parent; } } if(sched.m_phase_type is UVM_PHASE_SCHEDULE) { return sched; } if(sched.m_phase_type is UVM_PHASE_NODE) { auto parent = m_parent; if(parent !is null && parent.m_phase_type !is UVM_PHASE_DOMAIN) { return parent; } } return null; } // Function: get_schedule_name // // Returns the schedule name associated with this phase node // final public string get_schedule_name(bool hier = 0) { uvm_phase sched = get_schedule(hier); if(sched is null) { return ""; } string s = sched.get_name(); while(sched.m_parent !is null && sched.m_parent !is sched && (sched.m_parent.get_phase_type() is UVM_PHASE_SCHEDULE)) { sched = sched.m_parent; s = sched.get_name() ~ (s.length > 0 ? "." : "") ~ s; } return s; } // Function: get_domain // // Returns the enclosing domain // final public uvm_domain get_domain() { uvm_phase phase = this; while(phase !is null && phase.m_phase_type !is UVM_PHASE_DOMAIN) { phase = phase.m_parent; } if(phase is null) { // no parent domain return null; } auto retval = cast(uvm_domain) phase; if(retval is null) { uvm_fatal("PH/INTERNAL", "get_domain: m_phase_type is DOMAIN but " "$cast to uvm_domain fails"); } return retval; } // Function: get_imp // // Returns the phase implementation for this this node. // Returns null if this phase type is not a UVM_PHASE_LEAF_NODE. // final public uvm_phase get_imp() { synchronized(this) { return _m_imp; } } // Function: get_domain_name // // Returns the domain name associated with this phase node // final public string get_domain_name() { uvm_domain domain = get_domain(); if(domain is null) { return "unknown"; } return domain.get_name(); } //----------------------- // Group: Synchronization //----------------------- // Function: get_objection // // Return the <uvm_objection> that gates the termination of the phase. // final public uvm_objection get_objection() { synchronized(this) { return _phase_done; } } // Function: raise_objection // // Raise an objection to ending this phase // Provides components with greater control over the phase flow for // processes which are not implicit objectors to the phase. // //| while(1) { //| some_phase.raise_objection(this); //| ... //| some_phase.drop_objection(this); //| } //| ... // final public void raise_objection(uvm_object obj, string description="", int count=1) { phase_done.raise_objection(obj, description, count); } // Function: drop_objection // // Drop an objection to ending this phase // // The drop is expected to be matched with an earlier raise. // final public void drop_objection(uvm_object obj, string description="", int count=1) { phase_done.drop_objection(obj, description, count); } // Functions: sync and unsync // // Add soft sync relationships between nodes // // Summary of usage: //| my_phase.sync(.target(domain) //| [,.phase(phase)[,.with_phase(phase)]]); //| my_phase.unsync(.target(domain) //| [,.phase(phase)[,.with_phase(phase)]]); // // Components in different schedule domains can be phased independently or in sync // with each other. An API is provided to specify synchronization rules between any // two domains. Synchronization can be done at any of three levels: // // - the domain's whole phase schedule can be synchronized // - a phase can be specified, to sync that phase with a matching counterpart // - or a more detailed arbitrary synchronization between any two phases // // Each kind of synchronization causes the same underlying data structures to // be managed. Like other APIs, we use the parameter dot-notation to set // optional parameters. // // When a domain is synced with another domain, all of the matching phases in // the two domains get a 'with' relationship between them. Likewise, if a domain // is unsynched, all of the matching phases that have a 'with' relationship have // the dependency removed. It is possible to sync two domains and then just // remove a single phase from the dependency relationship by unsyncing just // the one phase. // Function: sync // // Synchronize two domains, fully or partially // // target - handle of target domain to synchronize this one to // phase - optional single phase in this domain to synchronize, // otherwise sync all // with_phase - optional different target-domain phase to synchronize with, // otherwise use ~phase~ in the target domain // final public void sync(uvm_domain target, uvm_phase phase = null, uvm_phase with_phase = null) { if(!this.is_domain()) { uvm_fatal("PH_BADSYNC","sync() called from a non-domain phase " "schedule node"); } else if(target is null) { uvm_fatal("PH_BADSYNC","sync() called with a null target domain"); } else if(!target.is_domain()) { uvm_fatal("PH_BADSYNC","sync() called with a non-domain phase " "schedule node as target"); } else if(phase is null && with_phase !is null) { uvm_fatal("PH_BADSYNC","sync() called with null phase and non-null " "with phase"); } else if(phase is null) { // whole domain sync - traverse this domain schedule from begin to end node and sync each node int[uvm_phase] visited; Queue!uvm_phase queue; queue.pushBack(this); visited[this] = true; while(queue.length !is 0) { uvm_phase node; node = queue.front(); queue.removeFront(); if(node.m_imp !is null) { sync(target, node.m_imp); } foreach(succ, unused; node.m_successors) { if(succ !in visited) { queue.pushBack(succ); visited[succ] = true; } } } } else { // single phase sync // this is a 2-way ('with') sync and we check first in case it // is already there if(with_phase is null) with_phase = phase; uvm_phase from_node = find(phase); uvm_phase to_node = target.find(with_phase); if(from_node is null || to_node is null) return; // m_sync is a Queue of uvm_phase from_node.add_sync(to_node); to_node.add_sync(from_node); } } // Function: unsync // // Remove synchronization between two domains, fully or partially // // target - handle of target domain to remove synchronization from // phase - optional single phase in this domain to un-synchronize, // otherwise unsync all // with_phase - optional different target-domain phase to un-synchronize with, // otherwise use ~phase~ in the target domain // final public void unsync(uvm_domain target, uvm_phase phase = null, uvm_phase with_phase = null) { if(!this.is_domain()) { uvm_fatal("PH_BADSYNC","unsync() called from a non-domain phase " "schedule node"); } else if(target is null) { uvm_fatal("PH_BADSYNC","unsync() called with a null target domain"); } else if(!target.is_domain()) { uvm_fatal("PH_BADSYNC","unsync() called with a non-domain phase " "schedule node as target"); } else if(phase is null && with_phase !is null) { uvm_fatal("PH_BADSYNC","unsync() called with null phase and non-null " "with phase"); } else if(phase is null) { // whole domain unsync - traverse this domain schedule from begin to end node and unsync each node int[uvm_phase] visited; Queue!uvm_phase queue; queue.pushBack(this); visited[this] = true; while(queue.length !is 0) { uvm_phase node; node = queue.front(); queue.removeFront(); if(node.m_imp !is null) unsync(target, node.m_imp); foreach(succ, unused; node.m_successors) { if(succ !in visited) { queue.pushBack(succ); visited[succ] = true; } } } } else { // single phase unsync // this is a 2-way ('with') sync and we check first in case it is already there uvm_phase from_node = target.find(phase); uvm_phase to_node = target.find(phase); // m_sync is a Queue of uvm_phase from_node.rem_sync(to_node); to_node.rem_sync(from_node); } } // Function: wait_for_state // // Wait until this phase compares with the given ~state~ and ~op~ operand. // For <UVM_EQ> and <UVM_NE> operands, several <uvm_phase_states> can be // supplied by ORing their enum constants, in which case the caller will // wait until the phase state is any of (UVM_EQ) or none of (UVM_NE) the // provided states. // // To wait for the phase to be at the started state or after // //| wait_for_state(UVM_PHASE_STARTED, UVM_GTE); // // To wait for the phase to be either started or executing // //| wait_for_state(UVM_PHASE_STARTED | UVM_PHASE_EXECUTING, UVM_EQ); // // task final public void wait_for_state(uvm_phase_state state, uvm_wait_op op = UVM_EQ) { final switch(op) { // wait((state & m_state) !is 0); case UVM_EQ: while((m_state.get & state) is 0) m_state.getEvent.wait(); break; // wait((state & m_state) is 0); case UVM_NE: while((m_state.get & state) !is 0) m_state.getEvent.wait(); break; // wait(m_state < state); case UVM_LT: while(m_state.get >= state) m_state.getEvent.wait(); break; // wait(m_state <= state); case UVM_LTE: while(m_state.get > state) m_state.getEvent.wait(); break; // wait(m_state > state); case UVM_GT: while(m_state.get <= state) m_state.getEvent.wait(); break; // wait(m_state >= state); case UVM_GTE: while(m_state.get < state) m_state.getEvent.wait(); break; } } //--------------- // Group: Jumping //--------------- // Force phases to jump forward or backward in a schedule // // A phasing domain can execute a jump from its current phase to any other. // A jump passes phasing control in the current domain from the current phase // to a target phase. There are two kinds of jump scope: // // - local jump to another phase within the current schedule, back- or forwards // - global jump of all domains together, either to a point in the master // schedule outwith the current schedule, or by calling jump_all() // // A jump preserves the existing soft synchronization, so the domain that is // ahead of schedule relative to another synchronized domain, as a result of // a jump in either domain, will await the domain that is behind schedule. // // *Note*: A jump out of the local schedule causes other schedules that have // the jump node in their schedule to jump as well. In some cases, it is // desirable to jump to a local phase in the schedule but to have all // schedules that share that phase to jump as well. In that situation, the // jump_all static function should be used. This function causes all schedules // that share a phase to jump to that phase. // Function: jump // // Jump to a specified ~phase~. If the destination ~phase~ is within the current // phase schedule, a simple local jump takes place. If the jump-to ~phase~ is // outside of the current schedule then the jump affects other schedules which // share the phase. // // jump // ---- // // Note that this function does not directly alter flow of control. // That is, the new phase is not initiated in this function. // Rather, flags are set which execute_phase() uses to determine // that a jump has been requested and performs the jump. public void jump(uvm_phase phase) { // TBD refactor if((m_state.get < UVM_PHASE_STARTED) || (m_state.get > UVM_PHASE_READY_TO_END) ) { uvm_error("JMPPHIDL", "Attempting to jump from phase \"" ~ get_name() ~ "\" which is not currently active " "(current state is " ~ _m_state.to!string ~ "). The " "jump will not happen until the phase becomes active."); } // A jump can be either forward or backwards in the phase graph. // If the specified phase (name) is found in the set of predecessors // then we are jumping backwards. If, on the other hand, the phase is in the set // of successors then we are jumping forwards. If neither, then we // have an error. // // If the phase is non-existant and thus we don't know where to jump // we have a situation where the only thing to do is to uvm_report_fatal // and terminate_phase. By calling this function the intent was to // jump to some other phase. So, continuing in the current phase doesn't // make any sense. And we don't have a valid phase to jump to. So we're done. uvm_phase d = m_find_predecessor(phase, false); if(d is null) { d = m_find_successor(phase, false); if(d is null) { uvm_fatal("PH_BADJUMP", format("phase %s is neither a predecessor or " "successor of phase %s or is non-existant, " "so we cannot jump to it. Phase control " "flow is now undefined so the simulation " "must terminate", phase.get_name(), get_name())); } else { m_jump_fwd = true; uvm_info("PH_JUMPF", format("jumping forward to phase %s", phase.get_name()), UVM_DEBUG); } } else { m_jump_bkwd = true; uvm_info("PH_JUMPB", format("jumping backward to phase %s", phase.get_name()), UVM_DEBUG); } m_jump_phase = d; // m_terminate_phase(); // JAR - not needed } // Function: jump_all // // Make all schedules jump to a specified ~phase~, even if the jump target is local. // The jump happens to all phase schedules that contain the jump-to ~phase~, // i.e. a global jump. // final public void jump_all(uvm_phase phase) { uvm_warning("NOTIMPL","uvm_phase.jump_all is not implemented and " "has been replaced by uvm_domain.jump_all"); } // Function: get_jump_target // // Return handle to the target phase of the current jump, or null if no jump // is in progress. Valid for use during the phase_ended() callback // final public uvm_phase get_jump_target() { synchronized(this) { return _m_jump_phase; } } @uvm_public_sync uint _max_ready_to_end_iter = 20; //-------------------------- // Internal - Implementation //-------------------------- // Implementation - Construction //------------------------------ // m_phase_type is set in the constructor and is not changed after that @uvm_immutable_sync protected uvm_phase_type _m_phase_type; @uvm_protected_sync protected uvm_phase _m_parent; // our 'schedule' node [or points 'up' one level] @uvm_public_sync public uvm_phase _m_imp; // phase imp to call when we execute this node // Implementation - State //----------------------- @uvm_immutable_sync private WithEvent!uvm_phase_state _m_state; private int _m_run_count; // num times this phase has executed @uvm_private_sync private Process _m_phase_proc; @uvm_public_sync private int _m_num_procs_not_yet_returned; final public void inc_m_num_procs_not_yet_returned() { synchronized(this) { ++_m_num_procs_not_yet_returned; } } final public void dec_m_num_procs_not_yet_returned() { synchronized(this) { --_m_num_procs_not_yet_returned; } } final public uvm_phase m_find_predecessor(uvm_phase phase, bool stay_in_scope = true, uvm_phase orig_phase = null) { //$display(" FIND PRED node '", phase.get_name(),"' (id=", $sformatf("%0d", phase.get_inst_id()),") - checking against ", get_name()," (", m_phase_type.name()," id=", $sformatf("%0d", get_inst_id()),(_m_imp is null)?"":{"/", $sformatf("%0d", _m_imp.get_inst_id())},")"); if(phase is null) { return null ; } if(phase is m_imp || phase is this) { return this; } foreach(pred, unused; m_predecessors) { uvm_phase orig = (orig_phase is null) ? this : orig_phase; if(!stay_in_scope || (pred.get_schedule() is orig.get_schedule()) || (pred.get_domain() is orig.get_domain())) { uvm_phase found = pred.m_find_predecessor(phase, stay_in_scope, orig); if(found !is null) { return found; } } } return null; } // m_find_successor // ---------------- final public uvm_phase m_find_successor(uvm_phase phase, bool stay_in_scope = true, uvm_phase orig_phase = null) { //$display(" FIND SUCC node '", phase.get_name(),"' (id=", $sformatf("%0d", phase.get_inst_id()),") - checking against ", get_name()," (", m_phase_type.name()," id=", $sformatf("%0d", get_inst_id()),(_m_imp is null)?"":{"/", $sformatf("%0d", _m_imp.get_inst_id())},")"); if(phase is null) { return null ; } if(phase is m_imp || phase is this) { return this; } foreach(succ, unused; m_successors) { uvm_phase orig = (orig_phase is null) ? this : orig_phase; if(!stay_in_scope || (succ.get_schedule() is orig.get_schedule()) || (succ.get_domain() is orig.get_domain())) { uvm_phase found = succ.m_find_successor(phase, stay_in_scope, orig); if(found !is null) { return found; } } } return null; } // m_find_predecessor_by_name // -------------------------- final public uvm_phase m_find_predecessor_by_name(string name, bool stay_in_scope = true, uvm_phase orig_phase = null) { //$display(" FIND PRED node '", name,"' - checking against ", get_name()," (", m_phase_type.name()," id=", $sformatf("%0d", get_inst_id()),(_m_imp is null)?"":{"/", $sformatf("%0d", _m_imp.get_inst_id())},")"); if(get_name() == name) { return this; } foreach(pred, predecessor; m_predecessors) { uvm_phase orig = (orig_phase is null) ? this : orig_phase; if(!stay_in_scope || (pred.get_schedule() is orig.get_schedule()) || (pred.get_domain() is orig.get_domain())) { uvm_phase found = pred.m_find_predecessor_by_name(name, stay_in_scope, orig); if(found !is null) { return found; } } } return null; } // m_find_successor_by_name // ------------------------ final public uvm_phase m_find_successor_by_name(string name, bool stay_in_scope = true, uvm_phase orig_phase = null) { //$display(" FIND SUCC node '", name,"' - checking against ", get_name()," (", m_phase_type.name()," id=", $sformatf("%0d", get_inst_id()),(_m_imp is null)?"":{"/", $sformatf("%0d", _m_imp.get_inst_id())},")"); if(get_name() == name) { return this; } foreach(succ, successor; m_successors) { uvm_phase orig = (orig_phase is null) ? this : orig_phase; if(!stay_in_scope || (succ.get_schedule() is orig.get_schedule()) || (succ.get_domain() is orig.get_domain())) { uvm_phase found = succ.m_find_successor_by_name(name, stay_in_scope, orig); if(found !is null) { return found; } } } return null; } // m_print_successors // ------------------ final public void m_print_successors() { static string spaces = " "; static int level; if(m_phase_type is UVM_PHASE_DOMAIN) { level = 0; } vdisplay(spaces[0..level*2+1], get_name(), " (", m_phase_type.to!string, ") id=%0d", get_inst_id()); ++level; foreach(succ, unused; m_successors) { succ.m_print_successors(); } --level; } // Implementation - Callbacks //--------------------------- // Provide the required component traversal behavior. Called by execute() // function -- not task public void traverse(uvm_component comp, uvm_phase phase, uvm_phase_state state) { } // Provide the required per-component execution flow. Called by traverse() // function -- not task public void execute(uvm_component comp, uvm_phase phase) { } // Implementation - Schedule //-------------------------- @uvm_immutable_sync private SyncAssoc!(uvm_phase, bool) _m_predecessors; @uvm_immutable_sync private SyncAssoc!(uvm_phase, bool) _m_successors; @uvm_protected_sync private uvm_phase _m_end_node; final public uvm_phase get_begin_node() { synchronized(this) { if(_m_imp !is null) return this; else return null; } } final public uvm_phase get_end_node() { synchronized(this) { return _m_end_node; } } // Implementation - Synchronization //--------------------------------- @uvm_private_sync private Queue!uvm_phase _m_sync; // schedule instance to which we are synced private void rem_sync(uvm_phase phase) { synchronized(this) { import std.algorithm: countUntil; auto c = countUntil(_m_sync[], phase); if(c !is -1) _m_sync.remove(c); } } private void add_sync(uvm_phase phase) { synchronized(this) { import std.algorithm: canFind; if(!canFind(_m_sync[], phase)) _m_sync.pushBack(phase); } } @uvm_immutable_sync uvm_objection _phase_done; // phase done objection @uvm_private_sync private uint _m_ready_to_end_count; final public uint get_ready_to_end_count() { synchronized(this) { return _m_ready_to_end_count; } } final public void get_predecessors_for_successors(out bool[uvm_phase] pred_of_succ) { // This synchronization guard results in deadlock // synchronized(this) { bool done; bool[uvm_phase] successors; // get all successors // This is basically the dup operation foreach(succ, unused; m_successors) { successors[succ] = true; } // replace TERMINAL or SCHEDULE nodes with their successors do { done = true; foreach(succ; successors.keys) { if(succ.get_phase_type() !is UVM_PHASE_NODE) { successors.remove(succ); foreach(next_succ, unused; succ.m_successors) { successors[next_succ] = true; } done = false; } } } while(!done); // get all predecessors to these successors foreach(succ, unused; successors) { foreach(pred, unused; succ.m_predecessors) { pred_of_succ[pred] = true; } } // replace any terminal nodes with their predecessors, recursively. // we are only interested in "real" phase nodes do { done = true; foreach(pred; pred_of_succ.keys) { if(pred.get_phase_type() !is UVM_PHASE_NODE) { pred_of_succ.remove(pred); foreach(next_pred, unused; pred.m_predecessors) { pred_of_succ[next_pred] = true; } done = false; } } } while(!done); // remove ourselves from the list pred_of_succ.remove(this); // } } // m_wait_for_pred // --------------- // task final public void m_wait_for_pred() { if(!(m_jump_fwd.get || m_jump_bkwd.get)) { bool[uvm_phase] pred_of_succ; get_predecessors_for_successors(pred_of_succ); // wait for predecessors to successors (real phase nodes, not terminals) // mostly debug msgs foreach (sibling, unused; pred_of_succ) { if (m_phase_trace) { string s = format("Waiting for phase '%s' (%0d) to be " "READY_TO_END. Current state is %s", sibling.get_name(), sibling.get_inst_id(), sibling.m_state()); UVM_PH_TRACE("PH/TRC/WAIT_PRED_OF_SUCC", s, this, UVM_HIGH); } sibling.wait_for_state(UVM_PHASE_READY_TO_END, UVM_GTE); if (m_phase_trace) { string s = format("Phase '%s' (%0d) is now READY_TO_END. " "Releasing phase", sibling.get_name(),sibling.get_inst_id()); UVM_PH_TRACE("PH/TRC/WAIT_PRED_OF_SUCC",s,this,UVM_HIGH); } } if(m_phase_trace) { if(pred_of_succ.length !is 0) { string s = "( "; foreach(pred, unused; pred_of_succ) { s ~= pred.get_full_name() ~ " "; } s ~= s ~ ")"; UVM_PH_TRACE("PH/TRC/WAIT_PRED_OF_SUCC", "*** All pred to succ " ~ s ~ " in READY_TO_END state, so ending phase ***", this, UVM_HIGH); } else { UVM_PH_TRACE("PH/TRC/WAIT_PRED_OF_SUCC", "*** No pred to succ other than myself, " "so ending phase ***", this, UVM_HIGH); } } } wait(0); // #0; // LET ANY WAITERS WAKE UP } // Implementation - Jumping //------------------------- @uvm_immutable_sync private WithEvent!bool _m_jump_bkwd; @uvm_immutable_sync private WithEvent!bool _m_jump_fwd; @uvm_private_sync private uvm_phase _m_jump_phase; // clear // ----- // for internal graph maintenance after a forward jump final public void clear(uvm_phase_state state = UVM_PHASE_DORMANT) { synchronized(this) { _m_state = state; _m_phase_proc = null; } phase_done.clear(this); } // clear_successors // ---------------- // for internal graph maintenance after a forward jump // - called only by execute_phase() // - depth-first traversal of the DAG, calliing clear() on each node // - do not clear the end phase or beyond final public void clear_successors(uvm_phase_state state = UVM_PHASE_DORMANT, uvm_phase end_state = null) { if(this is end_state) return; clear(state); foreach(succ, unused; m_successors) { succ.clear_successors(state, end_state); } } // Implementation - Overall Control //--------------------------------- // m_run_phases // ------------ // This task contains the top-level process that owns all the phase // processes. By hosting the phase processes here we avoid problems // associated with phase processes related as parents/children // task static public void m_run_phases() { uvm_root top = uvm_root.get(); // initiate by starting first phase in common domain uvm_phase ph = uvm_domain.get_common_domain(); m_phase_hopper.nbWrite(ph); for(;;) { uvm_phase phase; m_phase_hopper.read(phase); fork({phase.execute_phase();}); wait(0); // #0; // let the process start running } } // execute_phase // ------------- // task void execute_phase() { uvm_task_phase task_phase; uvm_root top = uvm_root.get(); // If we got here by jumping forward, we must wait for // all its predecessor nodes to be marked DONE. // (the next conditional speeds this up) // Also, this helps us fast-forward through terminal (end) nodes foreach(pred, unused; m_predecessors) { while(pred.m_state.get !is UVM_PHASE_DONE) { pred.m_state.getEvent.wait(); } } // If DONE (by, say, a forward jump), return immed if(m_state is UVM_PHASE_DONE) { return; } //--------- // SYNCING: //--------- // Wait for phases with which we have a sync() // relationship to be ready. Sync can be 2-way - // this additional state avoids deadlock. if(m_sync.length != 0) { m_state = UVM_PHASE_SYNCING; foreach(sync; m_sync[]) { while(sync.m_state.get < UVM_PHASE_SYNCING) { sync.m_state.getEvent.wait(); } } } synchronized(this) { _m_run_count++; if(_m_phase_trace) { UVM_PH_TRACE("PH/TRC/STRT","Starting phase", this, UVM_LOW); } } // If we're a schedule or domain, then "fake" execution if(m_phase_type !is UVM_PHASE_NODE) { m_state = UVM_PHASE_STARTED; wait(0); // #0; m_state = UVM_PHASE_EXECUTING; wait(0); // #0; } else { // PHASE NODE //--------- // STARTED: //--------- m_state = UVM_PHASE_STARTED; m_imp.traverse(top, this, UVM_PHASE_STARTED); m_ready_to_end_count = 0 ; // reset the ready_to_end count when phase starts // #0; // LET ANY WAITERS WAKE UP wait(0); task_phase = cast(uvm_task_phase) m_imp; //if(_m_imp.get_phase_type() !is UVM_PHASE_TASK) { if(task_phase is null) { //----------- // EXECUTING: (function phases) //----------- m_state = UVM_PHASE_EXECUTING; wait(0); m_imp.traverse(top, this, UVM_PHASE_EXECUTING); } else { m_executing_phases[this] = true; m_phase_proc = fork({ //----------- // EXECUTING: (task phases) //----------- m_state = UVM_PHASE_EXECUTING; task_phase.traverse(top, this, UVM_PHASE_EXECUTING); // wait(0) -- SV version Event forEver = Event(); wait(forEver); }); uvm_wait_for_nba_region(); //Give sequences, etc. a chance to object // Now wait for one of three criterion for end-of-phase. // Fork guard = join({ Fork endPhase = fork({ // JUMP while((m_jump_fwd.get || m_jump_bkwd.get) is false) { wait(m_jump_fwd.getEvent | m_jump_bkwd.getEvent); } UVM_PH_TRACE("PH/TRC/EXE/JUMP","PHASE EXIT ON JUMP REQUEST", this, UVM_DEBUG); }, { // WAIT_FOR_ALL_DROPPED bool do_ready_to_end ; // bit used for ready_to_end iterations // OVM semantic: don't end until objection raised or stop request if(phase_done.get_objection_total(top) || m_use_ovm_run_semantic && m_imp.get_name() == "run") { if (!phase_done.m_top_all_dropped) { phase_done.wait_for(UVM_ALL_DROPPED, top); } UVM_PH_TRACE("PH/TRC/EXE/ALLDROP","PHASE EXIT ALL_DROPPED", this, UVM_DEBUG); } else { if (m_phase_trace) { UVM_PH_TRACE("PH/TRC/SKIP","No objections raised, " "skipping phase", this, UVM_LOW); } } wait_for_self_and_siblings_to_drop(); do_ready_to_end = true; //-------------- // READY_TO_END: //-------------- while(do_ready_to_end) { uvm_wait_for_nba_region(); // Let all siblings see no objections before traverse might raise another UVM_PH_TRACE("PH_READY_TO_END","PHASE READY TO END", this, UVM_DEBUG); synchronized(this) { ++_m_ready_to_end_count; if(_m_phase_trace) UVM_PH_TRACE("PH_READY_TO_END_CB","CALLING READY_TO_END CB", this, UVM_HIGH); _m_state = UVM_PHASE_READY_TO_END; } if(m_imp !is null) { m_imp.traverse(top, this, UVM_PHASE_READY_TO_END); } uvm_wait_for_nba_region(); // Give traverse targets a chance to object wait_for_self_and_siblings_to_drop(); synchronized(this) { //when we don't wait in task above, we drop out of while loop do_ready_to_end = (_m_state is UVM_PHASE_EXECUTING) && (_m_ready_to_end_count < _max_ready_to_end_iter) ; } } }, { // TIMEOUT if(this.get_name() == "run") { while(top.m_phase_timeout.get == SimTime(0)) { wait(top.m_phase_timeout.getEvent); } if(m_phase_trace) { UVM_PH_TRACE("PH/TRC/TO_WAIT", format("STARTING PHASE TIMEOUT WATCHDOG" " (timeout == %t)", top.m_phase_timeout), this, UVM_HIGH); } wait(top.m_phase_timeout.get); if(getSimTime() == uvm_default_timeout()) { if(m_phase_trace) { UVM_PH_TRACE("PH/TRC/TIMEOUT", "PHASE TIMEOUT WATCHDOG " "EXPIRED", this, UVM_LOW); } foreach(p, unused; m_executing_phases) { if(p.phase_done.get_objection_total() > 0) { if(m_phase_trace) UVM_PH_TRACE("PH/TRC/TIMEOUT/OBJCTN", format("Phase '%s' has outstanding " "objections:\n%s", p.get_full_name(), p.phase_done.convert2string()), this, UVM_LOW); } } uvm_fatal("PH_TIMEOUT", format("Default timeout of %0t hit, indicating " "a probable testbench issue", uvm_default_timeout())); } else { if(m_phase_trace) { UVM_PH_TRACE("PH/TRC/TIMEOUT", "PHASE TIMEOUT WATCHDOG " "EXPIRED", this, UVM_LOW); } foreach(p, unused; m_executing_phases) { if(p.phase_done.get_objection_total() > 0) { if(m_phase_trace) UVM_PH_TRACE("PH/TRC/TIMEOUT/OBJCTN", format("Phase '%s' has outstanding " "objections:\n%s", p.get_full_name(), p.phase_done.convert2string()), this, UVM_LOW); } } uvm_fatal("PH_TIMEOUT", format("Explicit timeout of %0t hit, indicating " "a probable testbench issue", top.m_phase_timeout)); } if(_m_phase_trace) UVM_PH_TRACE("PH/TRC/EXE/3","PHASE EXIT TIMEOUT", this, UVM_DEBUG); } else { Event forEver = Event(); wait(forEver); } }); endPhase.joinAny(); endPhase.abortRec(); // }); } } m_executing_phases.remove(this); //--------- // JUMPING: //--------- // If jump_to() was called then we need to kill all the successor // phases which may still be running and then initiate the new // phase. The return is necessary so we don't start new successor // phases. If we are doing a forward jump then we want to set the // state of this phase's successors to UVM_PHASE_DONE. This // will let us pretend that all the phases between here and there // were executed and completed. Thus any dependencies will be // satisfied preventing deadlocks. // GSA TBD insert new jump support if(get_phase_type is UVM_PHASE_NODE) { if(m_jump_fwd.get || m_jump_bkwd.get) { uvm_info("PH_JUMP", format("phase %s (schedule %s, domain %s) is " "jumping to phase %s", get_name(), get_schedule_name(), get_domain_name(), m_jump_phase.get_name()), UVM_MEDIUM); wait(0); // #0; // LET ANY WAITERS ON READY_TO_END TO WAKE UP // execute 'phase_ended' callbacks synchronized(this) { if(_m_phase_trace) { UVM_PH_TRACE("PH_END","JUMPING OUT OF PHASE", this, UVM_HIGH); } _m_state = UVM_PHASE_ENDED; } if(m_imp !is null) { m_imp.traverse(top, this, UVM_PHASE_ENDED); } wait(0); // LET ANY WAITERS WAKE UP synchronized(this) { _m_state = UVM_PHASE_JUMPING; if(_m_phase_proc !is null) { _m_phase_proc.abort(); _m_phase_proc = null; } } wait(0); // LET ANY WAITERS WAKE UP phase_done.clear(); if(m_jump_fwd.get) { clear_successors(UVM_PHASE_DONE, m_jump_phase); } m_jump_phase.clear_successors(); synchronized(this) { _m_jump_fwd = false; _m_jump_bkwd = false; _m_phase_hopper.nbWrite(_m_jump_phase); _m_jump_phase = null; return; } } // WAIT FOR PREDECESSORS: // WAIT FOR PREDECESSORS: // function phases only if(task_phase is null) { m_wait_for_pred(); } //------- // ENDED: //------- // execute 'phase_ended' callbacks synchronized(this) { if(_m_phase_trace) { UVM_PH_TRACE("PH_END","ENDING PHASE", this, UVM_HIGH); } _m_state = UVM_PHASE_ENDED; } if(m_imp !is null) { m_imp.traverse(top, this, UVM_PHASE_ENDED); } wait(0); // LET ANY WAITERS WAKE UP //--------- // CLEANUP: //--------- // kill this phase's threads synchronized(this) { _m_state = UVM_PHASE_CLEANUP; if(_m_phase_proc !is null) { _m_phase_proc.abort(); _m_phase_proc = null; } } wait(0); // LET ANY WAITERS WAKE UP phase_done.clear(); } //------ // DONE: //------ synchronized(this) { if(_m_phase_trace) UVM_PH_TRACE("PH/TRC/DONE","Completed phase", this, UVM_LOW); _m_state = UVM_PHASE_DONE; _m_phase_proc = null; } wait(0); // LET ANY WAITERS WAKE UP //----------- // SCHEDULED: //----------- // If more successors, schedule them to run now if(m_successors.length is 0) { top.m_phase_all_done = true; } else { // execute all the successors foreach(succ, unused; m_successors) { if(succ.m_state < UVM_PHASE_SCHEDULED) { succ.m_state = UVM_PHASE_SCHEDULED; wait(0); // LET ANY WAITERS WAKE UP synchronized(this) { m_phase_hopper.nbWrite(succ); if(_m_phase_trace) UVM_PH_TRACE("PH/TRC/SCHEDULED", "Scheduled from phase " ~ get_full_name(), succ, UVM_LOW); } } } } } // terminate_phase // --------------- void m_terminate_phase() { synchronized(this) { _phase_done.clear(this); } } // print_termination_state // ----------------------- private void m_print_termination_state() { synchronized(this) { uvm_info("PH_TERMSTATE", format("phase %s outstanding objections = %0d", get_name(), _phase_done.get_objection_total(uvm_root.get())), UVM_DEBUG); } } // task final public void wait_for_self_and_siblings_to_drop() { bool need_to_check_all = true; uvm_root top = uvm_root.get(); bool[uvm_phase] siblings; get_predecessors_for_successors(siblings); foreach(s; m_sync[]) { siblings[s] = true; } while(need_to_check_all) { need_to_check_all = false ; //if all are dropped, we won't need to do this again // wait for own objections to drop if(phase_done.get_objection_total(top) !is 0) { m_state = UVM_PHASE_EXECUTING; phase_done.wait_for(UVM_ALL_DROPPED, top); need_to_check_all = true; } // now wait for siblings to drop foreach(sib, unused; siblings) { sib.wait_for_state(UVM_PHASE_EXECUTING, UVM_GTE); // sibling must be at least executing if(sib.phase_done.get_objection_total(top) !is 0) { m_state = UVM_PHASE_EXECUTING ; sib.phase_done.wait_for(UVM_ALL_DROPPED, top); // sibling must drop any objection need_to_check_all = true; } } } } // kill // ---- final public void kill() { synchronized(this) { uvm_info("PH_KILL", "killing phase '" ~ get_name() ~ "'", UVM_DEBUG); if(_m_phase_proc !is null) { _m_phase_proc.abort(); _m_phase_proc = null; } } } // kill_successors // --------------- // Using a depth-first traversal, kill all the successor phases of the // current phase. final public void kill_successors() { foreach(succ, unused; m_successors) succ.kill_successors(); kill(); } // TBD add more useful debug //--------------------------------- override public string convert2string() { synchronized(this) { //return $sformatf("PHASE %s = %p", get_name(), this); string s = format("phase: %s parent=%s pred=%s succ=%s", get_name(), (_m_parent is null) ? "null" : get_schedule_name(), m_aa2string(m_predecessors), m_aa2string(m_successors)); return s; } } final private string m_aa2string(SyncAssoc!(uvm_phase, bool) aa) { // TBD tidy int i; string s = "'{ "; foreach(ph, unused; aa) { uvm_phase n = ph; s ~= (n is null) ? "null" : n.get_name() ~ (i is aa.length-1) ? "" : " ~ "; ++i; } s ~= " }"; return s; } final public bool is_domain() { synchronized(this) { return(m_phase_type is UVM_PHASE_DOMAIN); } } // public void m_get_transitive_children(ref Queue!uvm_phase phases) { // synchronized(this) { // foreach(succ, unused; _m_successors) // { // phases.pushBack(succ); // succ.m_get_transitive_children(phases); // } // } // } // public void m_get_transitive_children(ref uvm_phase[] phases) { // synchronized(this) { // foreach(succ, unused; _m_successors) // { // phases ~= succ; // succ.m_get_transitive_children(phases); // } // } // } final public uvm_phase[] m_get_transitive_children() { uvm_phase[] phases; foreach(succ, unused; m_successors) { phases ~= succ; phases ~= succ.m_get_transitive_children(); } return phases; } } //------------------------------------------------------------------------------ // IMPLEMENTATION //------------------------------------------------------------------------------ public void UVM_PH_TRACE(string file=__FILE__, size_t line=__LINE__)(string ID, string MSG, uvm_phase PH, uvm_verbosity VERB) { uvm_info!(file, line)(ID, format("Phase '%0s' (id=%0d) ", PH.get_full_name(), PH.get_inst_id()) ~ MSG, VERB); }
D
import std.stdio; import std.math; import std.array; import std.conv; import std.random; import std.algorithm; /// Graph reporesented like list of edges struct Graph { uint verticesCount; uint[2][] edges; } uint findMinimalCut(ref Graph g) { uint randomContraction(Graph g) { while (g.verticesCount > 2) { uint edgeIndex = uniform(0, g.edges.length); auto edge = g.edges[edgeIndex]; uint u = edge[0], v = edge[1]; for (uint i = 0; i < g.edges.length; ++i) { if (g.edges[i][0] == v) g.edges[i][0] = u; if (g.edges[i][1] == v) g.edges[i][1] = u; if (g.edges[i][0] == g.edges[i][1]) { g.edges[i--] = g.edges[$ - 1]; --g.edges.length; } } --g.verticesCount; } return g.edges.length; } uint bestResult = g.edges.length; foreach (i; 0 .. pow(g.verticesCount, 3)) { uint currentResult = randomContraction(Graph(g.verticesCount, g.edges.dup)); if (currentResult < bestResult) bestResult = currentResult; } return bestResult; } void main() { Graph g; auto f = File("KargerAdj.txt"); foreach (line; f.byLine()) { ++g.verticesCount; auto vertices = map!(to!uint)(split(line)); foreach (i; 1 .. vertices.length) if (vertices[0] < vertices[i]) g.edges ~= [vertices[0], vertices[i]]; } writeln(findMinimalCut(g)); }
D
/Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/SQL.build/Objects-normal/x86_64/SQLBoolLiteral.o : /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLBind.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLJoinMethod.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDropTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLAlterTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSerializable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDataType.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLUpdate.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDelete.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLLiteral.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLBoolLiteral.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDefaultLiteral.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTableConstraintAlgorithm.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnConstraintAlgorithm.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLJoin.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLExpression.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSelectExpression.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCollation.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLForeignKeyAction.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLConnection.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDirection.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLFunction.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnDefinition.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateTableBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDropTableBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLAlterTableBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLPredicateBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLUpdateBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDeleteBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLPredicateGroupBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSelectBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLInsertBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLRawBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateIndexBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQueryBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQueryEncoder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQueryFetcher.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLIndexModifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLIdentifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTableIdentifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnIdentifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLError.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLBinaryOperator.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/Exports.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSelect.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDistinct.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLFunctionArgument.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTableConstraint.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnConstraint.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLInsert.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateIndex.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDropIndex.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLGroupBy.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLOrderBy.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLForeignKey.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLPrimaryKey.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/DatabaseKit.framework/Modules/DatabaseKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/cpp_magic.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIODarwin/include/c_nio_darwin.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/c-atomics.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOLinux/include/c_nio_linux.h /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--6538424668019974428/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/SQL.build/Objects-normal/x86_64/SQLBoolLiteral~partial.swiftmodule : /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLBind.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLJoinMethod.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDropTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLAlterTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSerializable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDataType.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLUpdate.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDelete.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLLiteral.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLBoolLiteral.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDefaultLiteral.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTableConstraintAlgorithm.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnConstraintAlgorithm.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLJoin.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLExpression.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSelectExpression.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCollation.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLForeignKeyAction.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLConnection.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDirection.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLFunction.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnDefinition.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateTableBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDropTableBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLAlterTableBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLPredicateBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLUpdateBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDeleteBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLPredicateGroupBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSelectBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLInsertBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLRawBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateIndexBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQueryBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQueryEncoder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQueryFetcher.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLIndexModifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLIdentifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTableIdentifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnIdentifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLError.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLBinaryOperator.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/Exports.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSelect.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDistinct.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLFunctionArgument.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTableConstraint.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnConstraint.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLInsert.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateIndex.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDropIndex.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLGroupBy.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLOrderBy.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLForeignKey.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLPrimaryKey.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/DatabaseKit.framework/Modules/DatabaseKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/cpp_magic.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIODarwin/include/c_nio_darwin.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/c-atomics.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOLinux/include/c_nio_linux.h /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--6538424668019974428/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/petercernak/vapor/TILApp/Build/Intermediates.noindex/TILApp.build/Debug/SQL.build/Objects-normal/x86_64/SQLBoolLiteral~partial.swiftdoc : /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLBind.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLJoinMethod.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDropTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLAlterTable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSerializable.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDataType.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLUpdate.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDelete.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLLiteral.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLBoolLiteral.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDefaultLiteral.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTableConstraintAlgorithm.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnConstraintAlgorithm.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLJoin.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLExpression.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSelectExpression.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCollation.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLForeignKeyAction.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLConnection.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDirection.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLFunction.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnDefinition.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateTableBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDropTableBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLAlterTableBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLPredicateBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLUpdateBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDeleteBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLPredicateGroupBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSelectBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLInsertBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLRawBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateIndexBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQueryBuilder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQueryEncoder.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQueryFetcher.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLIndexModifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLIdentifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTableIdentifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnIdentifier.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLError.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLBinaryOperator.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/Exports.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLSelect.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDistinct.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLFunctionArgument.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLTableConstraint.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLColumnConstraint.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLInsert.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLCreateIndex.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLDropIndex.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLGroupBy.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLOrderBy.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLForeignKey.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLPrimaryKey.swift /Users/petercernak/vapor/TILApp/.build/checkouts/sql.git--5031097865152321144/Sources/SQL/SQLQuery.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIO.framework/Modules/NIO.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Async.framework/Modules/Async.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Service.framework/Modules/Service.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Core.framework/Modules/Core.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Debugging.framework/Modules/Debugging.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/COperatingSystem.framework/Modules/COperatingSystem.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIOConcurrencyHelpers.framework/Modules/NIOConcurrencyHelpers.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/Bits.framework/Modules/Bits.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/NIOFoundationCompat.framework/Modules/NIOFoundationCompat.swiftmodule/x86_64.swiftmodule /Users/petercernak/vapor/TILApp/Build/Products/Debug/DatabaseKit.framework/Modules/DatabaseKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/cpp_magic.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIODarwin/include/c_nio_darwin.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOAtomics/include/c-atomics.h /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio.git--2128188973977302459/Sources/CNIOLinux/include/c_nio_linux.h /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOSHA1/module.modulemap /Users/petercernak/vapor/TILApp/.build/checkouts/swift-nio-zlib-support.git--6538424668019974428/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIODarwin/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOAtomics/module.modulemap /Users/petercernak/vapor/TILApp/TILApp.xcodeproj/GeneratedModuleMap/CNIOLinux/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
// This file is part of Visual D // // Visual D integrates the D programming language into Visual Studio // Copyright (c) 2010 by Rainer Schuetze, All Rights Reserved // // License for redistribution is given by the Artistic License 2.0 // see file LICENSE for further details module visuald.logutil; import visuald.windows; import std.format; import std.utf; import std.string; import std.stdio; import std.conv; import std.datetime; import std.array; import stdcarg = core.stdc.stdarg; import stdcio = core.stdc.stdio; // import std.stdarg; public import std.traits; version(test) {} else { import visuald.comutil; public import visuald.vscommands; static import dte = sdk.port.dte; import sdk.win32.oleauto; import sdk.vsi.textmgr; import sdk.vsi.vsshell; import sdk.vsi.vsshell80; import sdk.vsi.vsshell90; import sdk.vsi.ivssccmanager2; import sdk.vsi.scguids; import sdk.vsi.textmgr2; import sdk.vsi.vssplash; import sdk.vsi.fpstfmt; import sdk.vsi.vsshlids; import sdk.vsi.vsdebugguids; import sdk.vsi.ocdesign; import sdk.vsi.ivswebservices; import sdk.vsi.encbuild; /////////////////////////////////////////////////////////////// __gshared bool _false; // used in assert(false) to avoid semantic change of assert /////////////////////////////////////////////////////////////// void OutputDebugLog(string msg) { OutputDebugStringA(toStringz(msg)); } /////////////////////////////////////////////////////////////// T returnError(T)(T err) { logCall(" ERROR %x", err); return err; } /////////////////////////////////////////////////////////////// const GUID IID_IManagedObject = { 0xc3fcc19e, 0xa970, 0x11d2, [ 0x8b, 0x5a, 0x00, 0xa0, 0xc9, 0xb7, 0xc9, 0xc4 ] }; const GUID IID_IRpcOptions = uuid("00000144-0000-0000-C000-000000000046"); const GUID IID_SolutionProperties = uuid("28f7c3a6-fdc6-11d2-8a61-00c04f682e21"); const GUID IID_isVCProject = uuid("3990034a-3af2-44c9-bd22-7b10654b5721"); const GUID IID_GetActiveVCFileConfigurationFromVCFile1 = uuid("694c76bc-3ef4-11d3-b278-0050041db12a"); const GUID VisualD_LanguageService = uuid("002a2de9-8bb6-484d-9800-7e4ad4084715"); string mixinGUID2string(string T) { return "static if (is(typeof(" ~ T ~ ") : GUID)) { if(guid == " ~ T ~ ") return \"" ~ T ~ "\"; }" ~ "else static if (is(typeof(" ~ T ~ ".iid) : GUID)) { if(guid == " ~ T ~ ".iid) return \"" ~ T ~ "\"; }" ~ "else static if (is(typeof(IID_" ~ T ~ ") : GUID)) { if(guid == IID_" ~ T ~ ") return \"" ~ T ~ "\"; }" ~ "else static if (is(typeof(uuid_"~ T ~ ") : GUID)) { if(guid == uuid_"~ T ~ ") return \"" ~ T ~ "\"; }" ~ "else static assert(0, \"unknown GUID " ~ T ~ "\");"; } string GUID2utf8(ref const(GUID) guid) { mixin(mixinGUID2string("IUnknown")); mixin(mixinGUID2string("IClassFactory")); mixin(mixinGUID2string("IMarshal")); mixin(mixinGUID2string("IMallocSpy")); mixin(mixinGUID2string("IStdMarshalInfo")); mixin(mixinGUID2string("IExternalConnection")); mixin(mixinGUID2string("IMultiQI")); mixin(mixinGUID2string("IEnumUnknown")); mixin(mixinGUID2string("IBindCtx")); mixin(mixinGUID2string("IEnumMoniker")); mixin(mixinGUID2string("IRunnableObject")); mixin(mixinGUID2string("IRunningObjectTable")); mixin(mixinGUID2string("IPersist")); mixin(mixinGUID2string("IPersistStream")); mixin(mixinGUID2string("IMoniker")); mixin(mixinGUID2string("IROTData")); mixin(mixinGUID2string("IEnumString")); mixin(mixinGUID2string("ISequentialStream")); mixin(mixinGUID2string("IStream")); mixin(mixinGUID2string("IEnumSTATSTG")); mixin(mixinGUID2string("IStorage")); mixin(mixinGUID2string("IPersistFile")); mixin(mixinGUID2string("IPersistStorage")); mixin(mixinGUID2string("ILockBytes")); mixin(mixinGUID2string("IEnumFORMATETC")); mixin(mixinGUID2string("IEnumSTATDATA")); mixin(mixinGUID2string("IRootStorage")); mixin(mixinGUID2string("IAdviseSink")); mixin(mixinGUID2string("IAdviseSink2")); mixin(mixinGUID2string("IDataObject")); mixin(mixinGUID2string("IDataAdviseHolder")); mixin(mixinGUID2string("IMessageFilter")); mixin(mixinGUID2string("IRpcChannelBuffer")); mixin(mixinGUID2string("IRpcProxyBuffer")); mixin(mixinGUID2string("IRpcStubBuffer")); mixin(mixinGUID2string("IPSFactoryBuffer")); version(none) { // mixin(mixinGUID2string("IPropertyStorage")); // mixin(mixinGUID2string("IPropertySetStorage")); // mixin(mixinGUID2string("IEnumSTATPROPSTG")); // mixin(mixinGUID2string("IEnumSTATPROPSETSTG")); mixin(mixinGUID2string("IFillLockBytes")); mixin(mixinGUID2string("IProgressNotify")); mixin(mixinGUID2string("ILayoutStorage")); // mixin(mixinGUID2string("IRpcChannel")); // mixin(mixinGUID2string("IRpcStub")); mixin(mixinGUID2string("IStubManager")); mixin(mixinGUID2string("IRpcProxy")); mixin(mixinGUID2string("IProxyManager")); mixin(mixinGUID2string("IPSFactory")); mixin(mixinGUID2string("IInternalMoniker")); mixin(mixinGUID2string("IDfReserved1")); mixin(mixinGUID2string("IDfReserved2")); mixin(mixinGUID2string("IDfReserved3")); mixin(mixinGUID2string("IStub")); mixin(mixinGUID2string("IProxy")); mixin(mixinGUID2string("IEnumGeneric")); mixin(mixinGUID2string("IEnumHolder")); mixin(mixinGUID2string("IEnumCallback")); mixin(mixinGUID2string("IOleManager")); mixin(mixinGUID2string("IOlePresObj")); mixin(mixinGUID2string("IDebug")); mixin(mixinGUID2string("IDebugStream")); mixin(mixinGUID2string("StdOle")); mixin(mixinGUID2string("ICreateTypeInfo")); mixin(mixinGUID2string("ICreateTypeInfo2")); mixin(mixinGUID2string("ICreateTypeLib")); mixin(mixinGUID2string("ICreateTypeLib2")); mixin(mixinGUID2string("IDispatch")); mixin(mixinGUID2string("IEnumVARIANT")); mixin(mixinGUID2string("ITypeComp")); mixin(mixinGUID2string("ITypeInfo")); mixin(mixinGUID2string("ITypeInfo2")); mixin(mixinGUID2string("ITypeLib")); mixin(mixinGUID2string("ITypeLib2")); mixin(mixinGUID2string("ITypeChangeEvents")); mixin(mixinGUID2string("IErrorInfo")); mixin(mixinGUID2string("ICreateErrorInfo")); mixin(mixinGUID2string("ISupportErrorInfo")); mixin(mixinGUID2string("IOleAdviseHolder")); mixin(mixinGUID2string("IOleCache")); mixin(mixinGUID2string("IOleCache2")); mixin(mixinGUID2string("IOleCacheControl")); mixin(mixinGUID2string("IParseDisplayName")); mixin(mixinGUID2string("IOleContainer")); mixin(mixinGUID2string("IOleClientSite")); mixin(mixinGUID2string("IOleObject")); mixin(mixinGUID2string("IOleWindow")); mixin(mixinGUID2string("IOleLink")); mixin(mixinGUID2string("IOleItemContainer")); mixin(mixinGUID2string("IOleInPlaceUIWindow")); mixin(mixinGUID2string("IOleInPlaceActiveObject")); mixin(mixinGUID2string("IOleInPlaceFrame")); mixin(mixinGUID2string("IOleInPlaceObject")); mixin(mixinGUID2string("IOleInPlaceSite")); mixin(mixinGUID2string("IContinue")); mixin(mixinGUID2string("IViewObject")); mixin(mixinGUID2string("IViewObject2")); mixin(mixinGUID2string("IEnumOLEVERB")); } mixin(mixinGUID2string("IDropSource")); mixin(mixinGUID2string("IDropTarget")); mixin(mixinGUID2string("IVsSccManager2")); mixin(mixinGUID2string("IVsSccManager3")); mixin(mixinGUID2string("IVsSccProject2")); mixin(mixinGUID2string("IVsQueryEditQuerySave2")); mixin(mixinGUID2string("IVsQueryEditQuerySave3")); mixin(mixinGUID2string("IVsTrackProjectDocuments2")); mixin(mixinGUID2string("IVsTrackProjectDocuments3")); mixin(mixinGUID2string("IVsTrackProjectDocumentsEvents2")); mixin(mixinGUID2string("IVsTrackProjectDocumentsEvents3")); mixin(mixinGUID2string("IVsSccProviderFactory")); mixin(mixinGUID2string("IVsSccProjectProviderBinding")); mixin(mixinGUID2string("IVsSccProjectEnlistmentFactory")); mixin(mixinGUID2string("IVsSccProjectEnlistmentChoice")); mixin(mixinGUID2string("IVsSccEnlistmentPathTranslation")); mixin(mixinGUID2string("IVsSccProjectFactoryUpgradeChoice")); mixin(mixinGUID2string("SVsSccManager")); mixin(mixinGUID2string("SVsQueryEditQuerySave")); mixin(mixinGUID2string("SVsTrackProjectDocuments")); mixin(mixinGUID2string("IVsLanguageInfo")); mixin(mixinGUID2string("IVsLanguageDebugInfo")); mixin(mixinGUID2string("IVsProvideColorableItems")); mixin(mixinGUID2string("IVsColorableItem")); mixin(mixinGUID2string("IVsLanguageContextProvider")); mixin(mixinGUID2string("IVsLanguageBlock")); mixin(mixinGUID2string("IServiceProvider")); mixin(mixinGUID2string("IVsColorizer")); mixin(mixinGUID2string("IVsColorizer2")); mixin(mixinGUID2string("IVsDebuggerEvents")); mixin(mixinGUID2string("IVsDebugger")); mixin(mixinGUID2string("IVsFormatFilterProvider")); mixin(mixinGUID2string("IVsCodeWindow")); mixin(mixinGUID2string("IVsCodeWindowManager")); mixin(mixinGUID2string("IVsTextBuffer")); mixin(mixinGUID2string("IVsPackage")); mixin(mixinGUID2string("IVsInstalledProduct")); mixin(mixinGUID2string("IProfferService")); mixin(mixinGUID2string("IVsTextLayer")); mixin(mixinGUID2string("IVsLanguageTextOps")); mixin(mixinGUID2string("IVsTextLines")); mixin(mixinGUID2string("IVsTextView")); mixin(mixinGUID2string("IVsEnumBSTR")); mixin(mixinGUID2string("IVsUserDataEvents")); mixin(mixinGUID2string("IVsTextLinesEvents")); mixin(mixinGUID2string("IVsTextViewFilter")); mixin(mixinGUID2string("IVsTextViewEvents")); mixin(mixinGUID2string("IVsExpansionEvents")); mixin(mixinGUID2string("IVsOutliningCapableLanguage")); mixin(mixinGUID2string("IVsLanguageClipboardOps")); mixin(mixinGUID2string("IVsProvideUserContextForObject")); mixin(mixinGUID2string("IVsDynamicTabProvider")); mixin(mixinGUID2string("IVsAutoOutliningClient")); mixin(mixinGUID2string("IVsReadOnlyViewNotification")); mixin(mixinGUID2string("IPreferPropertyPagesWithTreeControl")); mixin(mixinGUID2string("IVsOutputWindowPane")); mixin(mixinGUID2string("IVsProjectFactory")); mixin(mixinGUID2string("IVsRegisterProjectTypes")); mixin(mixinGUID2string("IVsHierarchy")); mixin(mixinGUID2string("IVsUIHierarchy")); mixin(mixinGUID2string("IVsOutput")); mixin(mixinGUID2string("IVsEnumOutputs")); mixin(mixinGUID2string("IVsCfg")); mixin(mixinGUID2string("IVsProjectCfg")); mixin(mixinGUID2string("IVsProjectCfg2")); mixin(mixinGUID2string("IVsBuildableProjectCfg")); mixin(mixinGUID2string("IVsBuildableProjectCfg2")); mixin(mixinGUID2string("IVsBuildStatusCallback")); mixin(mixinGUID2string("IVsDebuggableProjectCfg")); mixin(mixinGUID2string("IVsCfgProvider")); mixin(mixinGUID2string("IVsProjectCfgProvider")); mixin(mixinGUID2string("IVsGetCfgProvider")); mixin(mixinGUID2string("IVsProject")); mixin(mixinGUID2string("IVsProject2")); mixin(mixinGUID2string("IVsProject3")); mixin(mixinGUID2string("IVsAggregatableProject")); mixin(mixinGUID2string("IVsNonLocalProject")); mixin(mixinGUID2string("IVsProjectFlavorCfg")); mixin(mixinGUID2string("IPersist")); mixin(mixinGUID2string("IPersistFileFormat")); mixin(mixinGUID2string("IVsProjectBuildSystem")); mixin(mixinGUID2string("IVsBuildPropertyStorage")); mixin(mixinGUID2string("IVsComponentUser")); mixin(mixinGUID2string("IVsDependencyProvider")); mixin(mixinGUID2string("IVsDependency")); mixin(mixinGUID2string("IVsEnumDependencies")); mixin(mixinGUID2string("IVsProjectSpecialFiles")); mixin(mixinGUID2string("IVsHierarchyEvents")); mixin(mixinGUID2string("IVsPersistHierarchyItem")); mixin(mixinGUID2string("IVsProjectSpecificEditorMap2")); mixin(mixinGUID2string("IVsQueryLineChangeCommit")); mixin(mixinGUID2string("IVsPersistDocData")); mixin(mixinGUID2string("IVsCfgProvider2")); mixin(mixinGUID2string("IVsParentProject")); mixin(mixinGUID2string("IVsUpdateSolutionEvents")); mixin(mixinGUID2string("IVsNonSolutionProjectFactory")); mixin(mixinGUID2string("IVsProjectUpgradeViaFactory")); mixin(mixinGUID2string("IVsProjectUpgrade")); mixin(mixinGUID2string("IVsUpgradeLogger")); mixin(mixinGUID2string("IVsProjectUpgradeViaFactory2")); mixin(mixinGUID2string("IVsPersistSolutionOpts")); mixin(mixinGUID2string("IVsSolutionPersistence")); mixin(mixinGUID2string("IVsPersistSolutionProps")); mixin(mixinGUID2string("IVsPublishableProjectCfg")); mixin(mixinGUID2string("IVsPropertyPageNotify")); mixin(mixinGUID2string("IVsPropertyPage")); mixin(mixinGUID2string("IVsPropertyPage2")); mixin(mixinGUID2string("IVsDeployableProjectCfg")); mixin(mixinGUID2string("IConnectionPoint")); mixin(mixinGUID2string("IManagedObject")); mixin(mixinGUID2string("IProvideClassInfo")); mixin(mixinGUID2string("IRpcOptions")); mixin(mixinGUID2string("IEnumConnections")); mixin(mixinGUID2string("IConnectionPointContainer")); mixin(mixinGUID2string("IEnumConnectionPoints")); mixin(mixinGUID2string("IOleCommandTarget")); mixin(mixinGUID2string("IExtendedObject")); mixin(mixinGUID2string("ISpecifyPropertyPages")); mixin(mixinGUID2string("ISequentialStream")); mixin(mixinGUID2string("IStream")); mixin(mixinGUID2string("IPropertyBag")); mixin(mixinGUID2string("IErrorLog")); mixin(mixinGUID2string("IProvideMultipleClassInfo")); mixin(mixinGUID2string("IUseImmediateCommitPropertyPages")); mixin(mixinGUID2string("SolutionProperties")); mixin(mixinGUID2string("isVCProject")); mixin(mixinGUID2string("GetActiveVCFileConfigurationFromVCFile1")); mixin(mixinGUID2string("dte._DTE")); mixin(mixinGUID2string("dte.Project")); mixin(mixinGUID2string("dte.Projects")); mixin(mixinGUID2string("dte.ProjectItems")); mixin(mixinGUID2string("dte.ProjectItem")); mixin(mixinGUID2string("dte.Properties")); mixin(mixinGUID2string("dte.Property")); mixin(mixinGUID2string("CMDSETID_StandardCommandSet2K")); mixin(mixinGUID2string("CMDSETID_StandardCommandSet97")); mixin(mixinGUID2string("GUID_VsUIHierarchyWindowCmds")); mixin(mixinGUID2string("guidVSDebugCommand")); //mixin(mixinGUID2string("VsSetGuidTeamSystemDataCmdIds")); //mixin(mixinGUID2string("VsTextTransformationCmdIds")); mixin(mixinGUID2string("IVsLanguageDebugInfoRemap")); mixin(mixinGUID2string("IVsLanguageDebugInfo2")); mixin(mixinGUID2string("IVsDebuggableProjectCfg2")); mixin(mixinGUID2string("IVsENCRebuildableProjectCfg")); mixin(mixinGUID2string("IVsWebServiceProvider")); mixin(mixinGUID2string("VisualD_LanguageService")); return toUTF8(GUID2wstring(guid)); } string tryformat(...) { string s; void putc(dchar c) { s ~= c; } try { std.format.doFormat(&putc, _arguments, _argptr); } catch(Exception e) { string msg = e.toString(); s ~= " EXCEPTION"; } return s; } string _tryformat(T)(T* arg) { if(!arg) return "null"; return tryformat("", *arg); } string varToString(in VARIANT arg) { if (arg.vt == VT_BSTR) return to_string(arg.bstrVal); const VARIANT_ALPHABOOL = 0x2; int hr; VARIANT temp; hr = VariantChangeTypeEx(&temp, &arg, GetThreadLocale(), VARIANT_ALPHABOOL, VT_BSTR); if (SUCCEEDED(hr)) return detachBSTR(temp.bstrVal); return "invalid"; } string _toLog(GUID arg) { return GUID2utf8(arg); } string _toLog(in GUID* arg) { return GUID2utf8(*arg); } string _toLog(in VARIANT arg) { return format("VAR(%d,%s)", arg.vt, varToString(arg)); } string _toLog(string arg) { return arg; } wstring _toLog(in wchar* arg) { return arg ? to_wstring(arg) : "null"; } void* _toLog(IUnknown arg) { return cast(void*) arg; } void* _toLog(in void* arg) { return cast(void*) arg; } } // !version(test) int _toLog(int arg) { return arg; } uint* _toLog(uint* arg) { return arg; } void* _toLog(Object arg) { return cast(void*) arg; } //T _toLog(T)(T arg) { return arg; } uint _toLogOut(uint arg) { return arg; } void* _toLogOut(IUnknown arg) { return cast(void*) arg; } string _toLogOut(GUID arg) { return GUID2utf8(arg); } version(all) { string _toLogPtr(T)(const(T)* arg) { static if(is(T : void)) return tryformat("", arg); else static if(is(T : IUnknown)) return _tryformat(cast(int**)arg); else static if(is(T : GUID)) return arg ? GUID2utf8(*arg) : "null"; else static if(is(T : LARGE_INTEGER)) return _tryformat(cast(long*)arg); else static if(is(T : ULARGE_INTEGER)) return _tryformat(cast(ulong*)arg); else static if(is(T : IUnknown)) return arg ? _tryformat(cast(int*)*arg) : "null"; else static if(is(T == struct)) return tryformat("struct ", cast(int*)arg); else return _tryformat(arg); } } else { // !all string _toLogPtr(T : uint)(T* arg) { return arg ? tryformat("%d", *arg) : "null"; } string _toLogPtr(T : short)(T* arg) { return arg ? tryformat("%s", arg) : "null"; } string _toLogPtr(T : wchar*)(T* arg) { return arg ? to_string(*arg) : "null"; } string _toLogPtr(T : void*)(T* arg) { return arg ? tryformat("", *arg) : "null"; } string _toLogPtr(T : ulong)(T* arg) { return arg ? tryformat("%d", *arg) : "null"; } string _toLogPtr(T : IUnknown)(T* arg) { return arg ? tryformat("", cast(int*)*arg) : "null"; } version(test) {} else { string _toLogPtr(T : GUID)(T* arg) { return GUID2utf8(*arg); } string _toLogPtr(T : VARIANT)(T* arg) { return arg ? _toLog(*arg) : "null"; } string _toLogPtr(T : LARGE_INTEGER)(T* arg) { return arg ? tryformat("%ld", arg.QuadPart) : "null"; } string _toLogPtr(T : ULARGE_INTEGER)(T* arg) { return arg ? tryformat("%ld", arg.QuadPart) : "null"; } string _toLogPtr(T : LPCOLESTR)(T arg) { return arg ? tryformat("%s", arg) : "null"; } string _toLogPtr(T : DISPPARAMS)(T* arg) { return arg ? "struct" : "null"; } string _toLogPtr(T : EXCEPINFO)(T* arg) { return arg ? "struct" : "null"; } string _toLogPtr(T : TYPEATTR)(T* arg) { return arg ? "struct" : "null"; } string _toLogPtr(T : TYPEATTR*)(T* arg) { return arg ? tryformat("", *arg) : "null"; } string _toLogPtr(T : FUNCDESC*)(T* arg) { return arg ? tryformat("", *arg) : "null"; } string _toLogPtr(T : VARDESC*)(T* arg) { return arg ? tryformat("", *arg) : "null"; } string _toLogPtr(T : PVSCOMPONENTSELECTORDATA)(T* arg) { return arg ? tryformat("", *arg) : "null"; } string _toLogPtr(T : CALPOLESTR*)(T* arg) { return arg ? tryformat("", *arg) : "null"; } string _toLogPtr(T : FUNCDESC)(T* arg) { return "in"; } string _toLogPtr(T : VARDESC)(T* arg) { return "in"; } string _toLogPtr(T : CAUUID)(T* arg) { return "cauuid"; } string _toLogPtr(T : CALPOLESTR)(T* arg) { return arg ? tryformat("", arg) : "null"; } string _toLogPtr(T : CADWORD)(T* arg) { return arg ? tryformat("", arg) : "null"; } string _toLogPtr(T : OLECMD)(T* arg) { return arg ? tryformat("", arg) : "null"; } string _toLogPtr(T : OLECMDTEXT)(T* arg) { return arg ? tryformat("", arg) : "null"; } string _toLogPtr(T : RECT)(T* arg) { return arg ? tryformat("", arg) : "null"; } string _toLogPtr(T : TextSpan)(T* arg) { return arg ? tryformat("", arg) : "null"; } } // !version(test) } // !all int gLogIndent = 0; __gshared bool gLogFirst = true; const string gLogFile = "c:/tmp/visuald.log"; const string gLogGCFile = "c:/tmp/visuald.gc"; void logIndent(int n) { gLogIndent += n; } __gshared FILE* gcLogFh; extern(C) void log_printf(string fmt, ...) { stdcarg.va_list q; stdcarg.va_start!(string)(q, fmt); char[256] buf; int len = vsprintf(buf.ptr, fmt.ptr, q); if(!gcLogFh) gcLogFh = stdcio.fopen(gLogGCFile.ptr, "w"); if(gcLogFh) stdcio.fwrite(buf.ptr, len, 1, gcLogFh); stdcarg.va_end(q); } extern(C) void log_flush() { if(gcLogFh) stdcio.fflush(gcLogFh); } version(test) { void logCall(...) { string s; void putc(dchar c) { s ~= c; } std.format.doFormat(&putc, _arguments, _argptr); s ~= "\n"; std.stdio.fputs(toStringz(s), stdout.getFP); } } else debug { class logSync {} void logCall(...) { auto buffer = new char[17 + 1]; SysTime now = Clock.currTime(); uint tid = GetCurrentThreadId(); auto len = sprintf(buffer.ptr, "%02d:%02d:%02d - %04x - ", now.hour, now.minute, now.second, tid); string s = to!string(buffer[0..len]); s ~= replicate(" ", gLogIndent); void putc(dchar c) { s ~= c; } try { std.format.doFormat(&putc, _arguments, _argptr); } catch(Exception e) { string msg = e.toString(); s ~= " EXCEPTION"; } log_string(s); } void log_string(string s) { s ~= "\n"; if(gLogFile.length == 0) OutputDebugStringA(toStringz(s)); else synchronized(logSync.classinfo) { static __gshared bool canLog; if(gLogFirst) { gLogFirst = false; s = "\n" ~ replicate("=", 80) ~ "\n" ~ s; try { string bar = "\n" ~ replicate("=", 80) ~ "\n"; std.file.write(gLogFile, bar); // append? canLog = true; } catch(Exception e) { } } if(canLog) { try { std.file.append(gLogFile, s); } catch(Exception e) { } } } } } else { void logCall(...) { } void log_string(string s) { } } ///////////////////////////////////////////////////////////////////// // Parsing mangles for fun and profit. string _getJustName(string mangle) { size_t idx = 1; size_t start = idx; size_t len = 0; while(idx < mangle.length && mangle[idx] >= '0' && mangle[idx] <= '9') { int size = mangle[idx++] - '0'; while(mangle[idx] >= '0' && mangle[idx] <= '9') size = (size * 10) + (mangle[idx++] - '0'); start = idx; len = size; idx += size; } if(start < mangle.length) return mangle[start .. start + len]; else return ""; } // get anything between first '(' and last ')' string _getArgs(string func) { int sidx = 0; if(startsWith(func, "extern (")) sidx += 8; while(sidx < func.length && func[sidx] != '(') sidx++; int eidx = func.length - 1; while(eidx >= 0 && func[eidx] != ')') eidx++; if(sidx < eidx) return func[sidx + 1 .. eidx]; return ""; } string _nextArg(string args) { int sidx = 0; while(sidx < args.length && args[sidx] != ',') sidx++; if(sidx < args.length) return args[sidx + 1 .. args.length]; return ""; } int _find(string s, char c) { for(int i = 0; i < s.length; i++) if(s[i] == c) return i; return -1; } string _getIdentifier(string args) { string ident; int sidx = -1; for(int idx = 0; ; idx++) { dchar ch = (idx < args.length ? args[idx] : ','); if(sidx >= 0) { if(!((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9') || ch == '_')) { ident = args[sidx .. idx]; sidx = -1; } } else if((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || ch == '_') sidx = idx; if(ch == ',') break; } return ident; } string _toArgIdx(int idx) { string s = ""; if(idx == 0) s = "0"; else while(idx > 0) { s = cast(char)('0' + (idx % 10)) ~ s; idx = idx / 10; } return s; } // useargs: 0 - identifier, 1 - C-style, 2 - D-style string _getLogCall(string func, string type, bool addthis, int useargs) { string call = "logCall(\""; string args = _getArgs(type); string idlist; if(addthis) { call ~= "%s."; idlist ~= ", this"; } call ~= func ~ "("; int arg = 0; if(addthis) { call ~= "this=%s"; idlist ~= ", cast(void*)this"; arg = 1; } while(args.length > 0) { bool isOut = (args.length > 4 && args[0 .. 4] == "out "); string ident = _getIdentifier(args); if(ident.length > 0) { if(arg > 0) call ~= ", "; if(useargs == 0) { call ~= (isOut ? "out " : "") ~ ident ~ "=%" ~ 's'; // cast(char)(arg + '1'); idlist ~= ", _toLog(" ~ (isOut ? "&" : "") ~ ident ~ ")"; } else { call ~= "%" ~ 's'; // cast(char)(arg + '1'); string sidx = _toArgIdx(addthis ? arg - 1 : arg); idlist ~= ", _toLog(*cast(_argtypes[" ~ sidx ~ "]*)(_ebp+_argoff(" ~ _toArgIdx(arg) ~ ")))"; } arg++; } args = _nextArg(args); } call ~= ")\"" ~ idlist ~ ");\n"; return call; } string _getLogReturn(string func, string type) { string call = "logCall(\"" ~ func ~ " returns "; string args = _getArgs(type); string idlist; int arg = 0; while(args.length > 0) { string prevargs = args; bool isOut = (args.length > 4 && args[0 .. 4] == "out "); string ident = _getIdentifier(args); args = _nextArg(args); bool isPtr = false; if(!isOut) { int len = prevargs.length; if((len < 5 || prevargs[0..5] != "void*") && (len < 4 || prevargs[0..4] != "MSG*") && (len < 13 || prevargs[0..13] != "PROPPAGEINFO*")) { int idx = _find(prevargs, '*'); isPtr = (idx >= 0 && idx < prevargs.length - args.length); } } if(ident.length > 0 && (isOut || isPtr)) { if(arg > 0) call ~= ", "; call ~= ident ~ "=%s"; if(isOut) idlist ~= ", _toLogOut(" ~ ident ~ ")"; else idlist ~= ", _toLogPtr(" ~ ident ~ ")"; arg++; } } if(arg == 0) return ""; call ~= "\"" ~ idlist ~ ");\n"; return call; } const string nl = " "; // "\n"; const string FuncNameMix = "struct __FUNCTION {} static const string __FUNCTION__ = _getJustName(__FUNCTION.mangleof);" ~ nl; const string _hasThisMix = "static const bool hasThis = true;" ~ nl; const string _LogCallMix = "static const string __LOGCALL__ = _getLogCall(__FUNCTION__, typeof(&mixin(__FUNCTION__)).stringof, hasThis, 0);" ~ nl; const string _LogReturnMix = "static const string __LOGRETURN__ = _getLogReturn(__FUNCTION__, typeof(&mixin(__FUNCTION__)).stringof);" ~ nl; const string _getEBP = "byte* _ebp; asm { mov _ebp,EBP; } _ebp = _ebp + 8;" ~ nl; const string _LogCallArgType = "static const string __ARGTYPES__ = \"alias ParameterTypeTuple!(\" ~ __FUNCTION__ ~ \") _argtypes;\";" ~ nl; const string _LogCallArgOff = "static int _argoff(int n) { int off = 0; foreach(i, T; _argtypes) if(i < n) off += T.sizeof; return off; }" ~ nl; const string _LogCallMix2 = "static const string __LOGCALL__ = _getLogCall(__FUNCTION__, typeof(&mixin(__FUNCTION__)).stringof, hasThis, 1);" ~ nl; const string _LogIndent = "logIndent(1); scope(exit) { " ~ "mixin(__LOGRETURN__);" ~ "logIndent(-1); }" ~ nl; const string _LogIndentNoRet = "logIndent(1); scope(exit) logIndent(-1);" ~ nl; debug { const string LogCallMix = FuncNameMix ~ _hasThisMix ~ _LogCallMix ~ _LogReturnMix ~ "mixin(__LOGCALL__);" ~ _LogIndent; const string LogCallMix2 = FuncNameMix ~ _hasThisMix ~ _getEBP ~ _LogCallArgType ~ "mixin(__ARGTYPES__);" ~ _LogCallArgOff ~ _LogCallMix2 ~ "mixin(__LOGCALL__);" ~ _LogIndentNoRet; const string LogCallMixNoRet = FuncNameMix ~ _hasThisMix ~ _LogCallMix ~ "mixin(__LOGCALL__);" ~ _LogIndentNoRet; } else { const string LogCallMix = ""; const string LogCallMix2 = ""; const string LogCallMixNoRet = ""; } /+ void test(int a0, Object o) { mixin(FuncNameMix); pragma(msg, __FUNCTION__); // shows "test" pragma(msg,typeof(&mixin(__FUNCTION__)).stringof); // shows "void function(int a0, Object o)" pragma(msg,_getLogCall(__FUNCTION__, typeof(&mixin(__FUNCTION__)).stringof, false)); // shows "void function(int a0, Object o)" } +/ /+ template tLogCall(alias s) { struct __STRUCT {}; static const string __FUNCTION__ = _getJustName(__STRUCT.mangleof); //pragma(msg, s.mangleof); // shows "test" pragma(msg, __STRUCT.mangleof); // shows "test" pragma(msg, __FUNCTION__); // shows "test" alias ParameterTypeTuple!(test2) types; void* pthis = cast(void*)this; } class t { void test2(int a0, Object o, uint x) { struct __STR {} mixin tLogCall!(__STR); } } +/ version(test) { import std.stdio; import std.string; template log_arg(T) { T log_arg(inout void* _argptr) { T arg = *cast(T*)_argptr; _argptr = _argptr + ((T.sizeof + int.sizeof - 1) & ~(int.sizeof - 1)); return arg; } } class t { void test2(int a0, Object o, uint x) { mixin(LogCallMix); alias ParameterTypeTuple!(test2) types; pragma(msg,types.stringof); TypeInfo[] ti; foreach_reverse(t; types) { pragma(msg,t.stringof); ti ~= typeid(t); } void* pthis = cast(void*)this; void* p; asm { mov p,EBP; } p = p + 8; std.format.doFormat(&putc, ti, p); logCall("doFormat = %s", s); auto arg3 = log_arg!(types[2])(p); auto arg2 = log_arg!(types[1])(p); auto arg1 = log_arg!(types[0])(p); logCall("%s.test2(this=%s,a0=%s,o=%s,x=%s)", this, pthis, _toLog(arg1), _toLog(arg2), _toLog(arg3)); int *vp = cast(int*) &this; for(int i = -6; i < 6; i++) logCall("%d: %x", i, vp[i]); } } int rc = 2; int main(char[][] argv) { t at = new t; at.test2(3, null, 7); return rc; } }
D
/Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.build/EventLoopFuture.swift.o : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.build/EventLoopFuture~partial.swiftmodule : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIO.build/EventLoopFuture~partial.swiftdoc : /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/NonBlockingFileIO.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IOData.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Codec.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Thread.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Embedded.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Selectable.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/FileHandle.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelPipeline.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/AddressedEnvelope.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/EventLoopFuture.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/PriorityQueue.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Channel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/DeadChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/SocketChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/BaseSocketChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/MulticastChannel.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/BlockingIOThreadPool.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/System.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/FileRegion.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelOption.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Heap.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Bootstrap.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/EventLoop.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/SocketOptionProvider.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/CircularBuffer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/MarkedCircularBuffer.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/PendingWritesManager.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/PendingDatagramWritesManager.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelInvoker.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/TypeAssistedChannelHandler.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Resolver.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/GetaddrinfoResolver.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/CompositeError.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/RecvByteBufferAllocator.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Selector.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/FileDescriptor.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Interfaces.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Utilities.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/IntegerTypes.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/SocketAddresses.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/HappyEyeballs.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ChannelHandlers.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-views.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/LinuxCPUSet.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Socket.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/BaseSocket.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ServerSocket.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-int.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-aux.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/Linux.swift /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/NIO/NIOAny.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/mhassanin/Developer/CupcakeVapor/CupcakeCorner/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes
D
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation * Port to the D programming language: * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwt.events.ExpandEvent; import dwt.widgets.Event; import dwt.events.SelectionEvent; /** * Instances of this class are sent as a result of * <code>ExpandItem</code>s being expanded or collapsed. * * @see ExpandListener * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> * * @since 3.2 */ public class ExpandEvent : SelectionEvent { //static final long serialVersionUID = 3976735856884987356L; /** * Constructs a new instance of this class based on the * information in the given untyped event. * * @param e the untyped event containing the information */ public this(Event e) { super(e); } }
D
INSTANCE Recept_ItFo_Potion_Mana_01(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Mana_01; needitm[0] = ItFo_Plants_mushroom_01; needitm_amount[0] =1;//Piekielnik[3] needitm[1] = ItFo_Plants_Velayis_01; needitm_amount[1] =1;//Velais[14] value = 50; range = 10; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "esencję magicznej energii"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Mana_02(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Mana_02; needitm[0] = ItFoScavengerEgg; needitm_amount[0] =1;//Liść dębu[14] needitm[1] = ItFo_Plants_RavenHerb_01; needitm_amount[1] =1;//Krucze ziele[28] value = 50; range = 15; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "wyciąg magicznej energii"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Mana_03(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Mana_03; needitm[0] = ItFo_Plants_Trollberrys_01; needitm_amount[0] =1;//Nasienie czerwonego buka[18] needitm[1] = ItFo_Plants_Stoneroot_02; needitm_amount[1] =1;//Dragrot[37] value = 50; range = 20; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "eliksir magicznej energii"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Mana_04(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Mana_04; needitm[0] = ItFo_Plants_mountainmoos_01; needitm_amount[0] =1;//Górski mech[56] needitm[1] = ItFo_Plants_Towerwood_01; needitm_amount[1] =1;//Nasienie wysokiego dębu[46] value = 100; range = 35; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "pełnię magicznej energii"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Health_01(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Health_01; needitm[0] = ItFo_Plants_mushroom_01; needitm_amount[0] =1;//Piekielnik[3] needitm[1] = ItFo_Plants_Herb_01; needitm_amount[1] =1;//Roślina uzdrawiająca[14] value = 50; range = 10; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "esencję uzdrawiającą"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Health_02(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Health_02; needitm[0] = ItFoScavengerEgg; needitm_amount[0] =1;//Jajo Ścierwojada[8] needitm[1] = ItFo_Plants_Herb_02; needitm_amount[1] =1;//Melisa lekarska[19] value = 50; range = 15; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "wyciąg uzdrawiający"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Health_03(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Health_03; needitm[0] = ItFo_Plants_Trollberrys_01; needitm_amount[0] =1;//Trolest[30] needitm[1] = ItFo_Plants_Herb_03; needitm_amount[1] =1;//Ziele Druidzkie[30] value = 50; range = 20; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "eliksir uzdrawiający"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Health_04(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Health_04; needitm[0] = ItFo_Plants_mountainmoos_01; needitm_amount[0] =1;//Górski mech[56] needitm[1] = ItFo_Plants_Herb_HpMax; needitm_amount[1] =1;//Ziele Druidzkie[30] value = 100; range = 35; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "pełnię życia"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Strength_02(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Strength_02; needitm[0] = ItFo_Plants_Greyherb_01; needitm_amount[0] =1;//Szare Ziele[100] needitm[1] = ItFo_Plants_strPERM_01; needitm_amount[1] =1;//Ogrzyliść[200] value = 350; range = 75; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "wyciąg siły"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Strength_03(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Strength_03; needitm[0] = ItFo_Plants_Permherb_02; needitm_amount[0] =1;//Żarnowiec[250] needitm[1] = ItFo_Plants_strPERM_01; needitm_amount[1] =1;//Ogrzyliść[200] value = 500; range = 100; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "eliksir siły"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Dex_02(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Dex_02; needitm[0] = ItFo_Plants_Greyherb_01; needitm_amount[0] =1;//Szare Ziele[100] needitm[1] = ItFo_Plants_DEXPERM_01; needitm_amount[1] =1;//Gadzie Ziele[200] value = 350; range = 75; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "wyciąg zwinności"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Dex_03(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Dex_03; needitm[0] = ItFo_Plants_Permherb_02; needitm_amount[0] =1;//Żarnowiec[250] needitm[1] = ItFo_Plants_DEXPERM_01; needitm_amount[1] =1;//Gadzie Ziele[200] value = 500; range = 100; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "eliksir zwinności"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Health_Perma_02(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Health_Perma_02; needitm[0] = ItFo_Plants_Permherb_02; needitm_amount[0] =1;//Żarnowiec[250] needitm[1] = ItFo_Plants_DEXPERM_01; needitm_amount[1] =1;//Gadzie Ziele[200] value = 350; range = 75; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "wyciąg życia"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Health_Perma_03(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Health_Perma_03; needitm[0] = ItFo_Plants_Permherb_02; needitm_amount[0] =1;//Żarnowiec[250] needitm[1] = ItFo_Plants_Herb_HpPerm; needitm_amount[1] =1;//Ziele Życia[200] value = 500; range = 100; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "eliksir życia"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Mana_Perma_02(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Mana_Perma_02; needitm[0] = ItFo_Plants_Greyherb_01; needitm_amount[0] =1;//Szare Ziele[100] needitm[1] = ItFo_Plants_RavenHerb_02; needitm_amount[1] =1;//Czarne ziele[200] value = 350; range = 75; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "wyciąg ducha"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Mana_Perma_03(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Mana_Perma_03; needitm[0] = ItFo_Plants_Permherb_02; needitm_amount[0] =1;//Żarnowiec[250] needitm[1] = ItFo_Plants_RavenHerb_02; needitm_amount[1] =1;//Czarne ziele[200] value = 500; range = 100; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "eliksir ducha"; on_state[0] = UseRecept; description = name; }; INSTANCE Recept_ItFo_Potion_Haste_02(Recept_Proto) { name = "Recepta"; mainflag = ITEM_KAT_DOCS; makingmob = R_LAB_PSI; product_amount = 1; product = ItFo_Potion_Haste_02; needitm[0] = ItFo_Plants_mountainmoos_01; needitm_amount[0] =1;//Górski mech[56] needitm[1] = ItFo_Plants_Bloodwood_01; needitm_amount[1] =1;//Nasienie czerwonego buka[18] value = 75; range = 25; visual = "ItWr_Scroll_01.3ds"; material = MAT_LEATHER; scemeName = "NONE"; text[1] = "napój szybkości"; on_state[0] = UseRecept; description = name; };
D
/***************************************************************************** * * Higgs JavaScript Virtual Machine * * This file is part of the Higgs project. The project is distributed at: * https://github.com/maximecb/Higgs * * Copyright (c) 2011-2013, Maxime Chevalier-Boisvert. All rights reserved. * * This software is licensed under the following license (Modified BSD * License): * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote * products derived from this software without specific prior written * permission. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * *****************************************************************************/ module parser.ast; import std.stdio; import std.string; import std.array; import std.conv; import std.algorithm; import std.math; import util.id; import util.string; import parser.lexer; /** Base class for all AST nodes */ class ASTNode : IdObject { CommonLexer clx; SrcPos pos; // Force subclasses to set the position this(CommonLexer _clx, SrcPos pos) { this.pos = pos; clx = _clx; } } /** Top-level program (source file) node */ class ASTProgram : FunExpr { /// List of global variable declarations IdentExpr[] globals; this(CommonLexer _clx, ASTStmt[] stmts, SrcPos pos = null) { super(_clx, null, [], new BlockStmt(_clx, stmts), pos); } override string toString() { auto blockStmt = cast(BlockStmt)bodyStmt; auto stmts = blockStmt.stmts; if(stmts.length == 0) return ""; auto str = appender!string(); foreach (stmt; stmts[0 .. $-1]) { str ~= stmt.toString(); str ~= "\n"; } str ~= stmts[$-1].toString(); return str.data; } } /** Base class for AST statement nodes */ class ASTStmt : ASTNode { /// Labels preceding this statement IdentExpr[] labels = []; this(CommonLexer _clx, SrcPos pos) { super(_clx, pos); } string blockStr() { if (cast(BlockStmt)this) { return this.toString(); } else { return "{\n" ~ indent(this.toString()) ~ "\n}"; } } } /** Block/sequence statement */ class BlockStmt : ASTStmt { ASTStmt[] stmts; this(CommonLexer _clx, ASTStmt[] stmts, SrcPos pos = null) { super(_clx, pos); this.stmts = stmts; } override string toString() { string str; foreach (stmt; stmts) str ~= stmt.toString() ~ "\n"; return format("{\n%s}", indent(str)); } } /** Variable declaration/initialization statement */ class VarStmt : ASTStmt { /// Identifier expressions IdentExpr[] identExprs; /// Initializer expressions ASTExpr[] initExprs; this(CommonLexer _clx, IdentExpr[] identExprs, ASTExpr[] initExprs, SrcPos pos = null) { assert (identExprs.length == initExprs.length); super(_clx, pos); this.identExprs = identExprs; this.initExprs = initExprs; } override string toString() { auto output = appender!(string)(); output.put("var "); for (size_t i = 0; i < identExprs.length; ++i) { output.put(identExprs[i].toString()); if (initExprs[i]) { output.put(" = "); output.put(initExprs[i].toString()); } if (i < identExprs.length - 1) output.put(", "); } output.put(";"); return output.data; } } /** If statement */ class IfStmt : ASTStmt { ASTExpr testExpr; ASTStmt trueStmt; ASTStmt falseStmt; this( CommonLexer _clx, ASTExpr testExpr, ASTStmt trueStmt, ASTStmt falseStmt, SrcPos pos = null ) { super(_clx, pos); this.testExpr = testExpr; this.trueStmt = trueStmt; this.falseStmt = falseStmt; } override string toString() { if (falseStmt) { return format( "if (%s)\n%s\nelse\n%s", testExpr, trueStmt.blockStr(), falseStmt.blockStr() ); } else { return format( "if (%s)\n%s", testExpr, trueStmt.blockStr() ); } } } /** While loop statement */ class WhileStmt : ASTStmt { ASTExpr testExpr; ASTStmt bodyStmt; this( CommonLexer _clx, ASTExpr testExpr, ASTStmt bodyStmt, SrcPos pos = null ) { super(_clx, pos); this.testExpr = testExpr; this.bodyStmt = bodyStmt; } override string toString() { return format( "while (%s)\n%s", testExpr, bodyStmt.blockStr() ); } } /** For loop statement */ class ForStmt : ASTStmt { ASTStmt initStmt; ASTExpr testExpr; ASTExpr incrExpr; ASTStmt bodyStmt; this( CommonLexer _clx, ASTStmt initStmt, ASTExpr testExpr, ASTExpr incrExpr, ASTStmt bodyStmt, SrcPos pos = null ) { assert ( cast(VarStmt)initStmt !is null || cast(ExprStmt)initStmt !is null ); super(_clx, pos); this.initStmt = initStmt; this.testExpr = testExpr; this.incrExpr = incrExpr; this.bodyStmt = bodyStmt; } override string toString() { return format( "for (%s %s; %s)\n%s", initStmt, testExpr, incrExpr, bodyStmt.blockStr() ); } } /** For-in loop statement Grammar: for (LeftHandSideExpression in Expression) for (var VariableDeclarationNoIn in Expression) Examples: for (a in [0, 1, 2]) print(a); for (a.b in [0, 1, 2]) print(a.b); for (var a in b) print(a); for (var a in 0,[0,1,2]) print(a); */ class ForInStmt : ASTStmt { /// Flag indicating there is a variable declaration bool hasDecl; /// If this has a variable declaration, this must be an IdentExpr ASTExpr varExpr; ASTExpr inExpr; ASTStmt bodyStmt; this( CommonLexer _clx, bool hasDecl, ASTExpr varExpr, ASTExpr inExpr, ASTStmt bodyStmt, SrcPos pos = null ) { super(_clx, pos); this.hasDecl = hasDecl; this.varExpr = varExpr; this.inExpr = inExpr; this.bodyStmt = bodyStmt; } override string toString() { return format( "for (%s%s in %s)\n%s", hasDecl? "var ":"", varExpr, inExpr, bodyStmt.blockStr() ); } } /** Do-while loop statement */ class DoWhileStmt : ASTStmt { ASTStmt bodyStmt; ASTExpr testExpr; this( CommonLexer _clx, ASTStmt bodyStmt, ASTExpr testExpr, SrcPos pos = null ) { super(_clx, pos); this.bodyStmt = bodyStmt; this.testExpr = testExpr; } override string toString() { return format( "do\n%s\nwhile (%s)", bodyStmt.blockStr(), testExpr ); } } /** Switch statement */ class SwitchStmt : ASTStmt { ASTExpr switchExpr; ASTExpr[] caseExprs; ASTStmt[][] caseStmts; ASTStmt[] defaultStmts; this( CommonLexer _clx, ASTExpr switchExpr, ASTExpr[] caseExprs, ASTStmt[][] caseStmts, ASTStmt[] defaultStmts, SrcPos pos = null ) { assert (caseExprs.length == caseStmts.length); super(_clx, pos); this.switchExpr = switchExpr; this.caseExprs = caseExprs; this.caseStmts = caseStmts; this.defaultStmts = defaultStmts; } override string toString() { auto output = appender!(string)(); output.put("switch ("); output.put(switchExpr.toString()); output.put(")\n{\n"); auto bodyApp = appender!(string)(); for (size_t i = 0; i < caseExprs.length; ++i) { bodyApp.put("case "); bodyApp.put(caseExprs[i].toString()); bodyApp.put(":\n"); auto stmts = caseStmts[i]; foreach (stmt; stmts) { bodyApp.put(stmt.toString()); bodyApp.put("\n"); } } bodyApp.put("default:\n"); if (defaultStmts !is null) { foreach (stmt; defaultStmts) { bodyApp.put(stmt.toString()); bodyApp.put("\n"); } } output.put(indent(bodyApp.data)); output.put("}"); return output.data; } } /** Break statement */ class BreakStmt : ASTStmt { IdentExpr label; this(CommonLexer _clx, IdentExpr label, SrcPos pos = null) { super(_clx, pos); this.label = label; } override string toString() { if (label) return format("break %s;", label); else return format("break;"); } } /** Continue statement */ class ContStmt : ASTStmt { IdentExpr label; this(CommonLexer _clx, SrcPos pos = null) { super(_clx, pos); } this(CommonLexer _clx, IdentExpr label, SrcPos pos = null) { super(_clx, pos); this.label = label; } override string toString() { if (label) return format("continue %s;", label); else return format("continue;"); } } /** Return statement */ class ReturnStmt : ASTStmt { ASTExpr expr; this(CommonLexer _clx, ASTExpr expr, SrcPos pos = null) { super(_clx, pos); this.expr = expr; } override string toString() { if (this.expr is null) return "return;"; else return format("return %s;", expr); } } /** Throw statement */ class ThrowStmt : ASTStmt { ASTExpr expr; this(CommonLexer _clx, ASTExpr expr, SrcPos pos = null) { super(_clx, pos); this.expr = expr; } override string toString() { return format("throw %s;", expr); } } /** Try-catch-finally statement */ class TryStmt : ASTStmt { ASTStmt tryStmt; IdentExpr catchIdent; ASTStmt catchStmt; ASTStmt finallyStmt; this( CommonLexer _clx, ASTStmt tryStmt, IdentExpr catchIdent, ASTStmt catchStmt, ASTStmt finallyStmt, SrcPos pos = null ) { super(_clx, pos); this.tryStmt = tryStmt; this.catchIdent = catchIdent; this.catchStmt = catchStmt; this.finallyStmt = finallyStmt; } override string toString() { auto output = appender!string(); output.put("try\n"); output.put(tryStmt.blockStr()); if (this.catchStmt) { output.put("\ncatch ("); output.put(catchIdent.toString()); output.put(")\n"); output.put(catchStmt.blockStr()); } if (this.finallyStmt) { output.put("\nfinally\n"); output.put(finallyStmt.blockStr()); } return output.data; } } /** Expression statement */ class ExprStmt : ASTStmt { ASTExpr expr; this(CommonLexer _clx, ASTExpr expr, SrcPos pos = null) { super(_clx, pos); this.expr = expr; } override string toString() { return format("%s;", expr); } } /** Base class for AST expressions */ class ASTExpr : ASTNode { this(CommonLexer _clx, SrcPos pos) { super(_clx, pos); } /// Get the operator precedence for this expression int getPrec() { // By default, maximum precedence (atomic) return MAX_PREC; } } /** Function declaration expression */ class FunExpr : ASTExpr { /// Function name identifier IdentExpr name; /// Function parameters IdentExpr[] params; /// Function body ASTStmt bodyStmt; /// List of local variables declarations IdentExpr[] locals; /// Set of escaping variables (captured by closures) bool[IdentExpr] escpVars; /// Captured closure variables IdentExpr[] captVars; /// List of nested function declarations FunExpr[] funDecls; /// Identifier associated with the arguments object IdentExpr argObjIdent; /// Flag indicating the arguments object is used bool usesArguments = false; /// Flag indicating the closure argument is used bool usesClos = false; /// Flag indicating the "this" argument is used bool usesThis = false; this(CommonLexer _clx, IdentExpr name, IdentExpr[] params, ASTStmt bodyStmt, SrcPos pos = null) { super(_clx, pos); this.name = name; this.params = params; this.bodyStmt = bodyStmt; } string getName() { return name? name.toString():""; } override string toString() { auto output = appender!string(); output.put(format("function %s(%(%s, %))", getName(), params)); if (cast(ReturnStmt)bodyStmt || cast(ExprStmt)bodyStmt) { output.put(" "); output.put(bodyStmt.toString()); } else { output.put("\n"); output.put(bodyStmt.blockStr()); } return output.data; } } /** Binary operator expression */ class BinOpExpr : ASTExpr { /// Binary operator Operator op; /// Subexpressions ASTExpr lExpr; ASTExpr rExpr; this(CommonLexer _clx, Operator op, ASTExpr lExpr, ASTExpr rExpr, SrcPos pos = null) { assert (op !is null, "operator is null"); assert (op.arity == 2, "invalid arity"); super(_clx, pos); this.op = op; this.lExpr = lExpr; this.rExpr = rExpr; } this(CommonLexer _clx, wstring opStr, ASTExpr lExpr, ASTExpr rExpr, SrcPos pos = null) { auto op = clx.findOperator(opStr, 2); this(_clx, op, lExpr, rExpr, pos); } override int getPrec() { return op.prec; } override string toString() { string opStr; if (op.str == ".") opStr = "."; else if (op.str == ",") opStr = ", "; else opStr = " " ~ to!string(op.str) ~ " "; auto lStr = lExpr.toString(); auto rStr = rExpr.toString(); string output; if ((lExpr.getPrec() < op.prec) || (lExpr.getPrec() == op.prec && op.nonAssoc && op.assoc == 'r')) output ~= "(" ~ lStr ~ ")"; else output ~= lStr; output ~= opStr; if ((rExpr.getPrec() < op.prec) || (rExpr.getPrec() == op.prec && op.nonAssoc && op.assoc == 'l')) output ~= "(" ~ rStr ~ ")"; else output ~= rStr; return output; } } /** Unary operator expression */ class UnOpExpr : ASTExpr { /// Unary operator Operator op; /// Subexpression ASTExpr expr; this(CommonLexer _clx, Operator op, ASTExpr expr, SrcPos pos = null) { assert (op.arity == 1); super(_clx, pos); this.op = op; this.expr = expr; } this(CommonLexer _clx, wstring opStr, char assoc, ASTExpr expr, SrcPos pos = null) { auto op = clx.findOperator(opStr, 1, assoc); this(_clx, op, expr, pos); } override int getPrec() { return op.prec; } override string toString() { string exprStr = expr.toString(); if (expr.getPrec() < op.prec) exprStr = "(" ~ exprStr ~ ")"; if (op.assoc == 'r') return format("%s%s", op.str, exprStr); else return format("%s%s", exprStr, op.str); } } /** Ternary conditional "?" operator expression */ class CondExpr : ASTExpr { ASTExpr testExpr; ASTExpr trueExpr; ASTExpr falseExpr; this(CommonLexer _clx, ASTExpr testExpr, ASTExpr trueExpr, ASTExpr falseExpr, SrcPos pos = null) { super(_clx, pos); this.testExpr = testExpr; this.trueExpr = trueExpr; this.falseExpr = falseExpr; } override string toString() { return format("%s? %s:%s", testExpr, trueExpr, falseExpr); } } /** Function call expression */ class CallExpr : ASTExpr { ASTExpr base; ASTExpr[] args; this(CommonLexer _clx, ASTExpr base, ASTExpr[] args, SrcPos pos = null) { super(_clx, pos); this.base = base; this.args = args; } override string toString() { return format("%s(%(%s, %))", base, args); } } /** New/constructor expression */ class NewExpr : ASTExpr { ASTExpr base; ASTExpr[] args; this(CommonLexer _clx, ASTExpr base, ASTExpr[] args, SrcPos pos = null) { super(_clx, pos); this.base = base; this.args = args; } override string toString() { return format("new %s(%(%s, %))", base, args); } } /** Array/object indexing (subscript) expression */ class IndexExpr : ASTExpr { ASTExpr base; ASTExpr index; this(CommonLexer _clx, ASTExpr base, ASTExpr index, SrcPos pos = null) { super(_clx, pos); this.base = base; this.index = index; } override string toString() { return format("%s[%s]", base, index); } } /** Array literal expression */ class ArrayExpr : ASTExpr { ASTExpr[] exprs; this(CommonLexer _clx, ASTExpr[] exprs, SrcPos pos = null) { super(_clx, pos); this.exprs = exprs; } override string toString() { return format("[%(%s, %)]", exprs); } } /** Object literal expression */ class ObjectExpr : ASTExpr { StringExpr[] names; ASTExpr[] values; this(CommonLexer _clx, StringExpr[] names, ASTExpr[] values, SrcPos pos = null) { assert (names.length == values.length); super(_clx, pos); this.names = names; this.values = values; } override string toString() { auto output = appender!(string)(); output.put("{"); for (size_t i = 0; i < names.length; ++i) { output.put(names[i].toString()); output.put(":"); output.put(values[i].toString()); if (i != names.length - 1) output.put(", "); } output.put("}"); return output.data; } } /** Identifier/symbol expression */ class IdentExpr : ASTExpr { /// Identifier name string wstring name; /// Identifier node associated with this variable declaration, if applicable IdentExpr declNode = null; this(CommonLexer _clx, wstring name, SrcPos pos = null) { super(_clx, pos); this.name = name; } override string toString() { return to!string(name); } } /** Integer constant expression */ class IntExpr : ASTExpr { long val; this(CommonLexer _clx, long val, SrcPos pos = null) { super(_clx, pos); this.val = val; } override string toString() { return to!(string)(val); } } /** Floating-point constant expression */ class FloatExpr : ASTExpr { double val; this(CommonLexer _clx, double val, SrcPos pos = null) { super(_clx, pos); this.val = val; } override string toString() { if (floor(val) == val) return format("%.1f", val); else return format("%G", val); } } /** String-constant expression */ class StringExpr : ASTExpr { wstring val; this(CommonLexer _clx, wstring val, SrcPos pos = null) { super(_clx, pos); this.val = val; } override string toString() { return "\"" ~ to!string(escapeJSString(val)) ~ "\""; } } /** Regexp expression */ class RegexpExpr : ASTExpr { wstring pattern; wstring flags; this(CommonLexer _clx, wstring pattern, wstring flags, SrcPos pos = null) { super(_clx, pos); this.pattern = pattern; this.flags = flags; } override string toString() { return format("/%s/%s", pattern, flags); } } /** True boolean constant expression */ class TrueExpr : ASTExpr { this(CommonLexer _clx, SrcPos pos = null) { super(_clx, pos); } override string toString() { return "true"; } } /** False boolean constant expression */ class FalseExpr : ASTExpr { this(CommonLexer _clx, SrcPos pos = null) { super(_clx, pos); } override string toString() { return "false"; } } /** Null constant expression */ class NullExpr : ASTExpr { this(CommonLexer _clx, SrcPos pos = null) { super(_clx, pos); } override string toString() { return "null"; } }
D
an island in the Mediterranean a region of France on the island of Corsica
D
/Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/Core.build/Objects-normal/x86_64/Semaphore.o : /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Array.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Bool+String.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Box.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Collection+Safe.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Dispatch.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/DispatchTime+Utilities.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Equatable.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Extractable.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/FileProtocol.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Lock.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/PercentEncoding.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Portal.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Result.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/RFC1123.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Semaphore.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Sequence.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/StaticDataBuffer.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Strand.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/String+CaseInsensitiveCompare.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/String.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/UnsignedInteger.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Byte+Random.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Byte.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/ByteAliases.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Bytes+Base64.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Bytes.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/BytesConvertible.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/BytesSlice+PatternMatching.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/Core.build/Objects-normal/x86_64/Semaphore~partial.swiftmodule : /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Array.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Bool+String.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Box.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Collection+Safe.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Dispatch.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/DispatchTime+Utilities.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Equatable.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Extractable.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/FileProtocol.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Lock.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/PercentEncoding.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Portal.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Result.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/RFC1123.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Semaphore.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Sequence.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/StaticDataBuffer.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Strand.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/String+CaseInsensitiveCompare.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/String.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/UnsignedInteger.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Byte+Random.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Byte.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/ByteAliases.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Bytes+Base64.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Bytes.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/BytesConvertible.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/BytesSlice+PatternMatching.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/tennis.build/Debug/Core.build/Objects-normal/x86_64/Semaphore~partial.swiftdoc : /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Array.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Bool+String.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Box.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Collection+Safe.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Dispatch.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/DispatchTime+Utilities.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Equatable.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Extractable.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/FileProtocol.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Lock.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/PercentEncoding.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Portal.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Result.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/RFC1123.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Semaphore.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Sequence.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/StaticDataBuffer.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Strand.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/String+CaseInsensitiveCompare.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/String.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/UnsignedInteger.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Byte+Random.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Byte.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/ByteAliases.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Bytes+Base64.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/Bytes.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/BytesConvertible.swift /Users/kimhyewon/Documents/Server/tennis/Packages/Core-1.0.0/Sources/Core/Byte/BytesSlice+PatternMatching.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/kimhyewon/Documents/Server/tennis/build/Debug/libc.framework/Modules/libc.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
D
// Copyright Brian Schott (Hackerpilot) 2012. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) module ctags; import std.d.parser; import std.d.lexer; import std.d.ast; import std.algorithm; import std.range; import std.stdio; import std.array; import std.conv; void doNothing(string, size_t, size_t, string, bool) {} void printCtags(File output, string[] fileNames) { string[] tags; LexerConfig config; StringCache cache = StringCache(StringCache.defaultBucketCount); foreach (fileName; fileNames) { File f = File(fileName); if (f.size == 0) continue; auto bytes = uninitializedArray!(ubyte[])(to!size_t(f.size)); f.rawRead(bytes); auto tokens = getTokensForParser(bytes, config, &cache); Module m = parseModule(tokens.array, fileName, null, &doNothing); auto printer = new CTagsPrinter; printer.fileName = fileName; printer.visit(m); tags ~= printer.tagLines; } output.write("!_TAG_FILE_FORMAT\t2\n" ~ "!_TAG_FILE_SORTED\t1\n" ~ "!_TAG_FILE_AUTHOR\tBrian Schott\n" ~ "!_TAG_PROGRAM_URL\thttps://github.com/Hackerpilot/Dscanner/\n"); tags.sort().copy(output.lockingTextWriter); } class CTagsPrinter : ASTVisitor { override void visit(const ClassDeclaration dec) { tagLines ~= "%s\t%s\t%d;\"\tc%s\n".format(dec.name.text, fileName, dec.name.line, context); auto c = context; context = "\tclass:" ~ dec.name.text; dec.accept(this); context = c; } override void visit(const StructDeclaration dec) { tagLines ~= "%s\t%s\t%d;\"\ts%s\n".format(dec.name.text, fileName, dec.name.line, context); auto c = context; context = "\tstruct:" ~ dec.name.text; dec.accept(this); context = c; } override void visit(const InterfaceDeclaration dec) { tagLines ~= "%s\t%s\t%d;\"\ti%s\n".format(dec.name.text, fileName, dec.name.line, context); auto c = context; context = "\tclass:" ~ dec.name.text; dec.accept(this); context = c; } override void visit(const TemplateDeclaration dec) { auto name = dec.eponymousTemplateDeclaration is null ? dec.name : dec.eponymousTemplateDeclaration.name; tagLines ~= "%s\t%s\t%d;\"\tT%s\n".format(name.text, fileName, name.line, context); auto c = context; context = "\ttemplate:" ~ dec.name.text; dec.accept(this); context = c; } override void visit(const FunctionDeclaration dec) { tagLines ~= "%s\t%s\t%d;\"\tf\tarity:%d%s\n".format(dec.name.text, fileName, dec.name.line, dec.parameters.parameters.length, context); auto c = context; context = "\tfunction:" ~ dec.name.text; dec.accept(this); context = c; } override void visit(const Constructor dec) { tagLines ~= "this\t%s\t%d;\"\tf\tarity:%d%s\n".format(fileName, dec.line, dec.parameters.parameters.length, context); auto c = context; context = "\tfunction: this"; dec.accept(this); context = c; } override void visit(const Destructor dec) { tagLines ~= "~this\t%s\t%d;\"\tf%s\n".format(fileName, dec.line, context); auto c = context; context = "\tfunction: this"; dec.accept(this); context = c; } override void visit(const EnumDeclaration dec) { if (dec.name == tok!"") { dec.accept(this); return; } tagLines ~= "%s\t%s\t%d;\"\tg%s\n".format(dec.name.text, fileName, dec.name.line, context); auto c = context; context = "\tenum:" ~ dec.name.text; dec.accept(this); context = c; } override void visit(const UnionDeclaration dec) { if (dec.name == tok!"") { dec.accept(this); return; } tagLines ~= "%s\t%s\t%d;\"\tu%s\n".format(dec.name.text, fileName, dec.name.line, context); auto c = context; context = "\tunion:" ~ dec.name.text; dec.accept(this); context = c; } override void visit(const EnumMember mem) { tagLines ~= "%s\t%s\t%d;\"\te%s\n".format(mem.name.text, fileName, mem.name.line, context); } override void visit(const VariableDeclaration dec) { foreach (d; dec.declarators) { tagLines ~= "%s\t%s\t%d;\"\tv%s\n".format(d.name.text, fileName, d.name.line, context); } dec.accept(this); } override void visit(const AutoDeclaration dec) { foreach (i; dec.identifiers) { tagLines ~= "%s\t%s\t%d;\"\tv%s\n".format(i.text, fileName, i.line, context); } dec.accept(this); } override void visit(const Invariant dec) { tagLines ~= "invariant\t%s\t%d;\"\tv%s\n".format(fileName, dec.line, context); } alias visit = ASTVisitor.visit; string fileName; string[] tagLines; int suppressDepth; string context; }
D
/** * Forms the symbols available to all D programs. Includes Object, which is * the root of the class object hierarchy. This module is implicitly * imported. * * Copyright: Copyright Digital Mars 2000 - 2011. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Walter Bright, Sean Kelly */ module object; // NOTE: For some reason, this declaration method doesn't work // in this particular file (and this file only). It must // be a DMD thing. //alias typeof(int.sizeof) size_t; //alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t; version (D_LP64) { alias size_t = ulong; alias ptrdiff_t = long; } else { alias size_t = uint; alias ptrdiff_t = int; } alias sizediff_t = ptrdiff_t; //For backwards compatibility only. alias hash_t = size_t; //For backwards compatibility only. alias equals_t = bool; //For backwards compatibility only. alias string = immutable(char)[]; alias wstring = immutable(wchar)[]; alias dstring = immutable(dchar)[]; version (D_ObjectiveC) public import core.attribute : selector; /// See $(REF _d_arrayappendTImpl, core,internal,array,appending) public import core.internal.array.appending : _d_arrayappendTImpl; /// See $(REF _d_arrayappendcTXImpl, core,internal,array,appending) public import core.internal.array.appending : _d_arrayappendcTXImpl; /// See $(REF __cmp, core,internal,array,comparison) public import core.internal.array.comparison : __cmp; /// See $(REF __equals, core,internal,array,equality) public import core.internal.array.equality : __equals; /// See $(REF __ArrayEq, core,internal,array,equality) public import core.internal.array.equality : __ArrayEq; /// See $(REF __ArrayCast, core,internal,array,casting) public import core.internal.array.casting: __ArrayCast; /// See $(REF _d_arraycatnTXImpl, core,internal,array,concatenation) public import core.internal.array.concatenation : _d_arraycatnTXImpl; /// See $(REF _d_arrayctor, core,internal,array,construction) public import core.internal.array.construction : _d_arrayctor; /// See $(REF _d_arraysetctor, core,internal,array,construction) public import core.internal.array.construction : _d_arraysetctor; /// See $(REF capacity, core,internal,array,capacity) public import core.internal.array.capacity: capacity; /// See $(REF reserve, core,internal,array,capacity) public import core.internal.array.capacity: reserve; /// See $(REF assumeSafeAppend, core,internal,array,capacity) public import core.internal.array.capacity: assumeSafeAppend; /// See $(REF _d_arraysetlengthTImpl, core,internal,array,capacity) public import core.internal.array.capacity: _d_arraysetlengthTImpl; // Compare class and interface objects for ordering. private int __cmp(Obj)(Obj lhs, Obj rhs) if (is(Obj : Object)) { if (lhs is rhs) return 0; // Regard null references as always being "less than" if (!lhs) return -1; if (!rhs) return 1; return lhs.opCmp(rhs); } // objects @safe unittest { class C { int i; this(int i) { this.i = i; } override int opCmp(Object c) const @safe { return i - (cast(C)c).i; } } auto c1 = new C(1); auto c2 = new C(2); assert(__cmp(c1, null) > 0); assert(__cmp(null, c1) < 0); assert(__cmp(c1, c1) == 0); assert(__cmp(c1, c2) < 0); assert(__cmp(c2, c1) > 0); assert(__cmp([c1, c1][], [c2, c2][]) < 0); assert(__cmp([c2, c2], [c1, c1]) > 0); } // structs @safe unittest { struct C { ubyte i; this(ubyte i) { this.i = i; } } auto c1 = C(1); auto c2 = C(2); assert(__cmp([c1, c1][], [c2, c2][]) < 0); assert(__cmp([c2, c2], [c1, c1]) > 0); assert(__cmp([c2, c2], [c2, c1]) > 0); } @safe unittest { auto a = "hello"c; assert(a > "hel"); assert(a >= "hel"); assert(a < "helloo"); assert(a <= "helloo"); assert(a > "betty"); assert(a >= "betty"); assert(a == "hello"); assert(a <= "hello"); assert(a >= "hello"); assert(a < "я"); } /** * Recursively calls the `opPostMove` callbacks of a struct and its members if * they're defined. * * When moving a struct instance, the compiler emits a call to this function * after blitting the instance and before releasing the original instance's * memory. * * Params: * newLocation = reference to struct instance being moved into * oldLocation = reference to the original instance * * Note: * This function is tentatively defined as `nothrow` to prevent * `opPostMove` from being defined without `nothrow`, which would allow * for possibly confusing changes in program flow. */ void __move_post_blt(S)(ref S newLocation, ref S oldLocation) nothrow if (is(S == struct)) { static foreach (memberName; __traits(allMembers, S)) { static if (is(typeof(__traits(getMember, S, memberName)) == struct)) { __move_post_blt(__traits(getMember, newLocation, memberName), __traits(getMember, oldLocation, memberName)); } } static if (__traits(hasMember, S, "opPostMove")) { import core.internal.traits : lvalueOf, rvalueOf; static assert( is(typeof(S.init.opPostMove(lvalueOf!S))) && !is(typeof(S.init.opPostMove(rvalueOf!S))), "`" ~ S.stringof ~ ".opPostMove` must take exactly one argument of type `" ~ S.stringof ~ "` by reference"); newLocation.opPostMove(oldLocation); } } @safe nothrow unittest { struct A { bool movedInto; void opPostMove(const ref A oldLocation) { movedInto = true; } } A src, dest; __move_post_blt(dest, src); assert(dest.movedInto); } @safe nothrow unittest { struct A { bool movedInto; void opPostMove(const ref A oldLocation) { movedInto = true; } } struct B { A a; bool movedInto; void opPostMove(const ref B oldLocation) { movedInto = true; } } B src, dest; __move_post_blt(dest, src); assert(dest.movedInto && dest.a.movedInto); } /** Destroys the given object and optionally resets to initial state. It's used to _destroy an object, calling its destructor or finalizer so it no longer references any other objects. It does $(I not) initiate a GC cycle or free any GC memory. If `initialize` is supplied `false`, the object is considered invalid after destruction, and should not be referenced. */ void destroy(bool initialize = true, T)(ref T obj) if (is(T == struct)) { _destructRecurse(obj); static if (initialize) { // We need to re-initialize `obj`. Previously, an immutable static // and memcpy were used to hold an initializer. With improved unions, this is no longer // needed. union UntypedInit { T dummy; } static struct UntypedStorage { align(T.alignof) void[T.sizeof] dummy; } () @trusted { *cast(UntypedStorage*) &obj = cast(UntypedStorage) UntypedInit.init; } (); } } @safe unittest { struct A { string s = "A"; } A a = {s: "B"}; assert(a.s == "B"); a.destroy; assert(a.s == "A"); } private void _destructRecurse(S)(ref S s) if (is(S == struct)) { static if (__traits(hasMember, S, "__xdtor") && // Bugzilla 14746: Check that it's the exact member of S. __traits(isSame, S, __traits(parent, s.__xdtor))) s.__xdtor(); } nothrow @safe @nogc unittest { { struct A { string s = "A"; } A a; a.s = "asd"; destroy!false(a); assert(a.s == "asd"); destroy(a); assert(a.s == "A"); } { static int destroyed = 0; struct C { string s = "C"; ~this() nothrow @safe @nogc { destroyed ++; } } struct B { C c; string s = "B"; ~this() nothrow @safe @nogc { destroyed ++; } } B a; a.s = "asd"; a.c.s = "jkl"; destroy!false(a); assert(destroyed == 2); assert(a.s == "asd"); assert(a.c.s == "jkl" ); destroy(a); assert(destroyed == 4); assert(a.s == "B"); assert(a.c.s == "C" ); } } /// ditto void destroy(bool initialize = true, T)(T obj) if (is(T == class)) { static if (__traits(getLinkage, T) == "C++") { static if (__traits(hasMember, T, "__xdtor")) obj.__xdtor(); static if (initialize) { enum classSize = __traits(classInstanceSize, T); (cast(void*)obj)[0 .. classSize] = typeid(T).initializer[]; } } else rt_finalize(cast(void*)obj); } /// ditto void destroy(bool initialize = true, T)(T obj) if (is(T == interface)) { static assert(__traits(getLinkage, T) == "D", "Invalid call to destroy() on extern(" ~ __traits(getLinkage, T) ~ ") interface"); destroy!initialize(cast(Object)obj); } /// Reference type demonstration @system unittest { class C { struct Agg { static int dtorCount; int x = 10; ~this() { dtorCount++; } } static int dtorCount; string s = "S"; Agg a; ~this() { dtorCount++; } } C c = new C(); assert(c.dtorCount == 0); // destructor not yet called assert(c.s == "S"); // initial state `c.s` is `"S"` assert(c.a.dtorCount == 0); // destructor not yet called assert(c.a.x == 10); // initial state `c.a.x` is `10` c.s = "T"; c.a.x = 30; assert(c.s == "T"); // `c.s` is `"T"` destroy(c); assert(c.dtorCount == 1); // `c`'s destructor was called assert(c.s == "S"); // `c.s` is back to its inital state, `"S"` assert(c.a.dtorCount == 1); // `c.a`'s destructor was called assert(c.a.x == 10); // `c.a.x` is back to its inital state, `10` // check C++ classes work too! extern (C++) class CPP { struct Agg { __gshared int dtorCount; int x = 10; ~this() { dtorCount++; } } __gshared int dtorCount; string s = "S"; Agg a; ~this() { dtorCount++; } } CPP cpp = new CPP(); assert(cpp.dtorCount == 0); // destructor not yet called assert(cpp.s == "S"); // initial state `cpp.s` is `"S"` assert(cpp.a.dtorCount == 0); // destructor not yet called assert(cpp.a.x == 10); // initial state `cpp.a.x` is `10` cpp.s = "T"; cpp.a.x = 30; assert(cpp.s == "T"); // `cpp.s` is `"T"` destroy!false(cpp); // destroy without initialization assert(cpp.dtorCount == 1); // `cpp`'s destructor was called assert(cpp.s == "T"); // `cpp.s` is not initialized assert(cpp.a.dtorCount == 1); // `cpp.a`'s destructor was called assert(cpp.a.x == 30); // `cpp.a.x` is not initialized destroy(cpp); assert(cpp.dtorCount == 2); // `cpp`'s destructor was called again assert(cpp.s == "S"); // `cpp.s` is back to its inital state, `"S"` assert(cpp.a.dtorCount == 2); // `cpp.a`'s destructor was called again assert(cpp.a.x == 10); // `cpp.a.x` is back to its inital state, `10` } /// Value type demonstration @safe unittest { int i; assert(i == 0); // `i`'s initial state is `0` i = 1; assert(i == 1); // `i` changed to `1` destroy!false(i); assert(i == 1); // `i` was not initialized destroy(i); assert(i == 0); // `i` is back to its initial state `0` } @system unittest { extern(C++) static class C { void* ptr; this() {} } destroy!false(new C()); destroy!true(new C()); } @system unittest { // class with an `alias this` class A { static int dtorCount; ~this() { dtorCount++; } } class B { A a; alias a this; this() { a = new A; } static int dtorCount; ~this() { dtorCount++; } } auto b = new B; assert(A.dtorCount == 0); assert(B.dtorCount == 0); destroy(b); assert(A.dtorCount == 0); assert(B.dtorCount == 1); } @system unittest { interface I { } { class A: I { string s = "A"; this() {} } auto a = new A, b = new A; a.s = b.s = "asd"; destroy(a); assert(a.s == "A"); I i = b; destroy(i); assert(b.s == "A"); } { static bool destroyed = false; class B: I { string s = "B"; this() {} ~this() { destroyed = true; } } auto a = new B, b = new B; a.s = b.s = "asd"; destroy(a); assert(destroyed); assert(a.s == "B"); destroyed = false; I i = b; destroy(i); assert(destroyed); assert(b.s == "B"); } // this test is invalid now that the default ctor is not run after clearing version (none) { class C { string s; this() { s = "C"; } } auto a = new C; a.s = "asd"; destroy(a); assert(a.s == "C"); } } nothrow @safe @nogc unittest { { struct A { string s = "A"; } A a; a.s = "asd"; destroy!false(a); assert(a.s == "asd"); destroy(a); assert(a.s == "A"); } { static int destroyed = 0; struct C { string s = "C"; ~this() nothrow @safe @nogc { destroyed ++; } } struct B { C c; string s = "B"; ~this() nothrow @safe @nogc { destroyed ++; } } B a; a.s = "asd"; a.c.s = "jkl"; destroy!false(a); assert(destroyed == 2); assert(a.s == "asd"); assert(a.c.s == "jkl" ); destroy(a); assert(destroyed == 4); assert(a.s == "B"); assert(a.c.s == "C" ); } } /// ditto void destroy(bool initialize = true, T : U[n], U, size_t n)(ref T obj) if (!is(T == struct)) { foreach_reverse (ref e; obj[]) destroy!initialize(e); } @safe unittest { int[2] a; a[0] = 1; a[1] = 2; destroy!false(a); assert(a == [ 1, 2 ]); destroy(a); assert(a == [ 0, 0 ]); } @safe unittest { static struct vec2f { float[2] values; alias values this; } vec2f v; destroy!(true, vec2f)(v); } @system unittest { // Bugzilla 15009 static string op; static struct S { int x; this(int x) { op ~= "C" ~ cast(char)('0'+x); this.x = x; } this(this) { op ~= "P" ~ cast(char)('0'+x); } ~this() { op ~= "D" ~ cast(char)('0'+x); } } { S[2] a1 = [S(1), S(2)]; op = ""; } assert(op == "D2D1"); // built-in scope destruction { S[2] a1 = [S(1), S(2)]; op = ""; destroy(a1); assert(op == "D2D1"); // consistent with built-in behavior } { S[2][2] a2 = [[S(1), S(2)], [S(3), S(4)]]; op = ""; } assert(op == "D4D3D2D1"); { S[2][2] a2 = [[S(1), S(2)], [S(3), S(4)]]; op = ""; destroy(a2); assert(op == "D4D3D2D1", op); } } /// ditto void destroy(bool initialize = true, T)(ref T obj) if (!is(T == struct) && !is(T == interface) && !is(T == class) && !__traits(isStaticArray, T)) { static if (initialize) obj = T.init; } @safe unittest { { int a = 42; destroy!false(a); assert(a == 42); destroy(a); assert(a == 0); } { float a = 42; destroy!false(a); assert(a == 42); destroy(a); assert(a != a); // isnan } } private { extern (C) Object _d_newclass(const TypeInfo_Class ci); extern (C) void rt_finalize(void *data, bool det=true); } public @trusted @nogc nothrow pure extern (C) void _d_delThrowable(scope Throwable); /** * All D class objects inherit from Object. */ class Object { /** * Convert Object to a human readable string. */ string toString() { return typeid(this).name; } /** * Compute hash function for Object. */ size_t toHash() @trusted nothrow { // BUG: this prevents a compacting GC from working, needs to be fixed size_t addr = cast(size_t) cast(void*) this; // The bottom log2((void*).alignof) bits of the address will always // be 0. Moreover it is likely that each Object is allocated with a // separate call to malloc. The alignment of malloc differs from // platform to platform, but rather than having special cases for // each platform it is safe to use a shift of 4. To minimize // collisions in the low bits it is more important for the shift to // not be too small than for the shift to not be too big. return addr ^ (addr >>> 4); } /** * Compare with another Object obj. * Returns: * $(TABLE * $(TR $(TD this &lt; obj) $(TD &lt; 0)) * $(TR $(TD this == obj) $(TD 0)) * $(TR $(TD this &gt; obj) $(TD &gt; 0)) * ) */ int opCmp(Object o) { // BUG: this prevents a compacting GC from working, needs to be fixed //return cast(int)cast(void*)this - cast(int)cast(void*)o; throw new Exception("need opCmp for class " ~ typeid(this).name); //return this !is o; } /** * Test whether $(D this) is equal to $(D o). * The default implementation only compares by identity (using the $(D is) operator). * Generally, overrides for $(D opEquals) should attempt to compare objects by their contents. */ bool opEquals(Object o) { return this is o; } interface Monitor { void lock(); void unlock(); } /** * Create instance of class specified by the fully qualified name * classname. * The class must either have no constructors or have * a default constructor. * Returns: * null if failed * Example: * --- * module foo.bar; * * class C * { * this() { x = 10; } * int x; * } * * void main() * { * auto c = cast(C)Object.factory("foo.bar.C"); * assert(c !is null && c.x == 10); * } * --- */ static Object factory(string classname) { auto ci = TypeInfo_Class.find(classname); if (ci) { return ci.create(); } return null; } } bool opEquals(Object lhs, Object rhs) { // If aliased to the same object or both null => equal if (lhs is rhs) return true; // If either is null => non-equal if (lhs is null || rhs is null) return false; if (!lhs.opEquals(rhs)) return false; // If same exact type => one call to method opEquals if (typeid(lhs) is typeid(rhs) || !__ctfe && typeid(lhs).opEquals(typeid(rhs))) /* CTFE doesn't like typeid much. 'is' works, but opEquals doesn't (issue 7147). But CTFE also guarantees that equal TypeInfos are always identical. So, no opEquals needed during CTFE. */ { return true; } // General case => symmetric calls to method opEquals return rhs.opEquals(lhs); } /************************ * Returns true if lhs and rhs are equal. */ bool opEquals(const Object lhs, const Object rhs) { // A hack for the moment. return opEquals(cast()lhs, cast()rhs); } /// If aliased to the same object or both null => equal @system unittest { class F { int flag; this(int flag) { this.flag = flag; } } F f; assert(f == f); // both null f = new F(1); assert(f == f); // both aliased to the same object } /// If either is null => non-equal @system unittest { class F { int flag; this(int flag) { this.flag = flag; } } F f; assert(!(new F(0) == f)); assert(!(f == new F(0))); } /// If same exact type => one call to method opEquals @system unittest { class F { int flag; this(int flag) { this.flag = flag; } override bool opEquals(const Object o) { return flag == (cast(F) o).flag; } } F f; assert(new F(0) == new F(0)); assert(!(new F(0) == new F(1))); } /// General case => symmetric calls to method opEquals @system unittest { int fEquals, gEquals; class Base { int flag; this(int flag) { this.flag = flag; } } class F : Base { this(int flag) { super(flag); } override bool opEquals(const Object o) { fEquals++; return flag == (cast(Base) o).flag; } } class G : Base { this(int flag) { super(flag); } override bool opEquals(const Object o) { gEquals++; return flag == (cast(Base) o).flag; } } assert(new F(1) == new G(1)); assert(fEquals == 1); assert(gEquals == 1); } private extern(C) void _d_setSameMutex(shared Object ownee, shared Object owner) nothrow; void setSameMutex(shared Object ownee, shared Object owner) { _d_setSameMutex(ownee, owner); } /** * Information about an interface. * When an object is accessed via an interface, an Interface* appears as the * first entry in its vtbl. */ struct Interface { TypeInfo_Class classinfo; /// .classinfo for this interface (not for containing class) void*[] vtbl; size_t offset; /// offset to Interface 'this' from Object 'this' } /** * Array of pairs giving the offset and type information for each * member in an aggregate. */ struct OffsetTypeInfo { size_t offset; /// Offset of member from start of object TypeInfo ti; /// TypeInfo for this member } /** * Runtime type information about a type. * Can be retrieved for any type using a * $(GLINK2 expression,TypeidExpression, TypeidExpression). */ class TypeInfo { override string toString() const pure @safe nothrow { return typeid(this).name; } override size_t toHash() @trusted const nothrow { return hashOf(this.toString()); } override int opCmp(Object o) { import core.internal.string : dstrcmp; if (this is o) return 0; TypeInfo ti = cast(TypeInfo)o; if (ti is null) return 1; return dstrcmp(this.toString(), ti.toString()); } override bool opEquals(Object o) { /* TypeInfo instances are singletons, but duplicates can exist * across DLL's. Therefore, comparing for a name match is * sufficient. */ if (this is o) return true; auto ti = cast(const TypeInfo)o; return ti && this.toString() == ti.toString(); } /** * Computes a hash of the instance of a type. * Params: * p = pointer to start of instance of the type * Returns: * the hash * Bugs: * fix https://issues.dlang.org/show_bug.cgi?id=12516 e.g. by changing this to a truly safe interface. */ size_t getHash(scope const void* p) @trusted nothrow const { return hashOf(p); } /// Compares two instances for equality. bool equals(in void* p1, in void* p2) const { return p1 == p2; } /// Compares two instances for &lt;, ==, or &gt;. int compare(in void* p1, in void* p2) const { return _xopCmp(p1, p2); } /// Returns size of the type. @property size_t tsize() nothrow pure const @safe @nogc { return 0; } /// Swaps two instances of the type. void swap(void* p1, void* p2) const { immutable size_t n = tsize; for (size_t i = 0; i < n; i++) { byte t = (cast(byte *)p1)[i]; (cast(byte*)p1)[i] = (cast(byte*)p2)[i]; (cast(byte*)p2)[i] = t; } } /** Get TypeInfo for 'next' type, as defined by what kind of type this is, null if none. */ @property inout(TypeInfo) next() nothrow pure inout @nogc { return null; } /** * Return default initializer. If the type should be initialized to all * zeros, an array with a null ptr and a length equal to the type size will * be returned. For static arrays, this returns the default initializer for * a single element of the array, use `tsize` to get the correct size. */ abstract const(void)[] initializer() nothrow pure const @safe @nogc; /** Get flags for type: 1 means GC should scan for pointers, 2 means arg of this type is passed in XMM register */ @property uint flags() nothrow pure const @safe @nogc { return 0; } /// Get type information on the contents of the type; null if not available const(OffsetTypeInfo)[] offTi() const { return null; } /// Run the destructor on the object and all its sub-objects void destroy(void* p) const {} /// Run the postblit on the object and all its sub-objects void postblit(void* p) const {} /// Return alignment of type @property size_t talign() nothrow pure const @safe @nogc { return tsize; } /** Return internal info on arguments fitting into 8byte. * See X86-64 ABI 3.2.3 */ version (X86_64) int argTypes(out TypeInfo arg1, out TypeInfo arg2) @safe nothrow { arg1 = this; return 0; } /** Return info used by the garbage collector to do precise collection. */ @property immutable(void)* rtInfo() nothrow pure const @safe @nogc { return rtinfoHasPointers; } // better safe than sorry } class TypeInfo_Enum : TypeInfo { override string toString() const { return name; } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_Enum)o; return c && this.name == c.name && this.base == c.base; } override size_t getHash(scope const void* p) const { return base.getHash(p); } override bool equals(in void* p1, in void* p2) const { return base.equals(p1, p2); } override int compare(in void* p1, in void* p2) const { return base.compare(p1, p2); } override @property size_t tsize() nothrow pure const { return base.tsize; } override void swap(void* p1, void* p2) const { return base.swap(p1, p2); } override @property inout(TypeInfo) next() nothrow pure inout { return base.next; } override @property uint flags() nothrow pure const { return base.flags; } override const(void)[] initializer() const { return m_init.length ? m_init : base.initializer(); } override @property size_t talign() nothrow pure const { return base.talign; } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { return base.argTypes(arg1, arg2); } override @property immutable(void)* rtInfo() const { return base.rtInfo; } TypeInfo base; string name; void[] m_init; } @safe unittest // issue 12233 { static assert(is(typeof(TypeInfo.init) == TypeInfo)); assert(TypeInfo.init is null); } // Please make sure to keep this in sync with TypeInfo_P (src/rt/typeinfo/ti_ptr.d) class TypeInfo_Pointer : TypeInfo { override string toString() const { return m_next.toString() ~ "*"; } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_Pointer)o; return c && this.m_next == c.m_next; } override size_t getHash(scope const void* p) @trusted const { size_t addr = cast(size_t) *cast(const void**)p; return addr ^ (addr >> 4); } override bool equals(in void* p1, in void* p2) const { return *cast(void**)p1 == *cast(void**)p2; } override int compare(in void* p1, in void* p2) const { if (*cast(void**)p1 < *cast(void**)p2) return -1; else if (*cast(void**)p1 > *cast(void**)p2) return 1; else return 0; } override @property size_t tsize() nothrow pure const { return (void*).sizeof; } override const(void)[] initializer() const @trusted { return (cast(void *)null)[0 .. (void*).sizeof]; } override void swap(void* p1, void* p2) const { void* tmp = *cast(void**)p1; *cast(void**)p1 = *cast(void**)p2; *cast(void**)p2 = tmp; } override @property inout(TypeInfo) next() nothrow pure inout { return m_next; } override @property uint flags() nothrow pure const { return 1; } TypeInfo m_next; } class TypeInfo_Array : TypeInfo { override string toString() const { return value.toString() ~ "[]"; } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_Array)o; return c && this.value == c.value; } override size_t getHash(scope const void* p) @trusted const { void[] a = *cast(void[]*)p; return getArrayHash(value, a.ptr, a.length); } override bool equals(in void* p1, in void* p2) const { void[] a1 = *cast(void[]*)p1; void[] a2 = *cast(void[]*)p2; if (a1.length != a2.length) return false; size_t sz = value.tsize; for (size_t i = 0; i < a1.length; i++) { if (!value.equals(a1.ptr + i * sz, a2.ptr + i * sz)) return false; } return true; } override int compare(in void* p1, in void* p2) const { void[] a1 = *cast(void[]*)p1; void[] a2 = *cast(void[]*)p2; size_t sz = value.tsize; size_t len = a1.length; if (a2.length < len) len = a2.length; for (size_t u = 0; u < len; u++) { immutable int result = value.compare(a1.ptr + u * sz, a2.ptr + u * sz); if (result) return result; } return cast(int)a1.length - cast(int)a2.length; } override @property size_t tsize() nothrow pure const { return (void[]).sizeof; } override const(void)[] initializer() const @trusted { return (cast(void *)null)[0 .. (void[]).sizeof]; } override void swap(void* p1, void* p2) const { void[] tmp = *cast(void[]*)p1; *cast(void[]*)p1 = *cast(void[]*)p2; *cast(void[]*)p2 = tmp; } TypeInfo value; override @property inout(TypeInfo) next() nothrow pure inout { return value; } override @property uint flags() nothrow pure const { return 1; } override @property size_t talign() nothrow pure const { return (void[]).alignof; } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { arg1 = typeid(size_t); arg2 = typeid(void*); return 0; } override @property immutable(void)* rtInfo() nothrow pure const @safe { return RTInfo!(void[]); } } class TypeInfo_StaticArray : TypeInfo { override string toString() const { import core.internal.string : unsignedToTempString; char[20] tmpBuff = void; return value.toString() ~ "[" ~ unsignedToTempString(len, tmpBuff, 10) ~ "]"; } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_StaticArray)o; return c && this.len == c.len && this.value == c.value; } override size_t getHash(scope const void* p) @trusted const { return getArrayHash(value, p, len); } override bool equals(in void* p1, in void* p2) const { size_t sz = value.tsize; for (size_t u = 0; u < len; u++) { if (!value.equals(p1 + u * sz, p2 + u * sz)) return false; } return true; } override int compare(in void* p1, in void* p2) const { size_t sz = value.tsize; for (size_t u = 0; u < len; u++) { immutable int result = value.compare(p1 + u * sz, p2 + u * sz); if (result) return result; } return 0; } override @property size_t tsize() nothrow pure const { return len * value.tsize; } override void swap(void* p1, void* p2) const { import core.memory; import core.stdc.string : memcpy; void* tmp; size_t sz = value.tsize; ubyte[16] buffer; void* pbuffer; if (sz < buffer.sizeof) tmp = buffer.ptr; else tmp = pbuffer = (new void[sz]).ptr; for (size_t u = 0; u < len; u += sz) { size_t o = u * sz; memcpy(tmp, p1 + o, sz); memcpy(p1 + o, p2 + o, sz); memcpy(p2 + o, tmp, sz); } if (pbuffer) GC.free(pbuffer); } override const(void)[] initializer() nothrow pure const { return value.initializer(); } override @property inout(TypeInfo) next() nothrow pure inout { return value; } override @property uint flags() nothrow pure const { return value.flags; } override void destroy(void* p) const { immutable sz = value.tsize; p += sz * len; foreach (i; 0 .. len) { p -= sz; value.destroy(p); } } override void postblit(void* p) const { immutable sz = value.tsize; foreach (i; 0 .. len) { value.postblit(p); p += sz; } } TypeInfo value; size_t len; override @property size_t talign() nothrow pure const { return value.talign; } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { arg1 = typeid(void*); return 0; } // just return the rtInfo of the element, we have no generic type T to run RTInfo!T on override @property immutable(void)* rtInfo() nothrow pure const @safe { return value.rtInfo(); } } class TypeInfo_AssociativeArray : TypeInfo { override string toString() const { return value.toString() ~ "[" ~ key.toString() ~ "]"; } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_AssociativeArray)o; return c && this.key == c.key && this.value == c.value; } override bool equals(in void* p1, in void* p2) @trusted const { return !!_aaEqual(this, *cast(const AA*) p1, *cast(const AA*) p2); } override hash_t getHash(scope const void* p) nothrow @trusted const { return _aaGetHash(cast(AA*)p, this); } // BUG: need to add the rest of the functions override @property size_t tsize() nothrow pure const { return (char[int]).sizeof; } override const(void)[] initializer() const @trusted { return (cast(void *)null)[0 .. (char[int]).sizeof]; } override @property inout(TypeInfo) next() nothrow pure inout { return value; } override @property uint flags() nothrow pure const { return 1; } TypeInfo value; TypeInfo key; override @property size_t talign() nothrow pure const { return (char[int]).alignof; } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { arg1 = typeid(void*); return 0; } } class TypeInfo_Vector : TypeInfo { override string toString() const { return "__vector(" ~ base.toString() ~ ")"; } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_Vector)o; return c && this.base == c.base; } override size_t getHash(scope const void* p) const { return base.getHash(p); } override bool equals(in void* p1, in void* p2) const { return base.equals(p1, p2); } override int compare(in void* p1, in void* p2) const { return base.compare(p1, p2); } override @property size_t tsize() nothrow pure const { return base.tsize; } override void swap(void* p1, void* p2) const { return base.swap(p1, p2); } override @property inout(TypeInfo) next() nothrow pure inout { return base.next; } override @property uint flags() nothrow pure const { return base.flags; } override const(void)[] initializer() nothrow pure const { return base.initializer(); } override @property size_t talign() nothrow pure const { return 16; } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { return base.argTypes(arg1, arg2); } TypeInfo base; } class TypeInfo_Function : TypeInfo { override string toString() const { import core.demangle : demangleType; alias SafeDemangleFunctionType = char[] function (const(char)[] buf, char[] dst = null) @safe nothrow pure; SafeDemangleFunctionType demangle = ( () @trusted => cast(SafeDemangleFunctionType)(&demangleType) ) (); return (() @trusted => cast(string)(demangle(deco))) (); } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_Function)o; return c && this.deco == c.deco; } // BUG: need to add the rest of the functions override @property size_t tsize() nothrow pure const { return 0; // no size for functions } override const(void)[] initializer() const @safe { return null; } override @property immutable(void)* rtInfo() nothrow pure const @safe { return rtinfoNoPointers; } TypeInfo next; /** * Mangled function type string */ string deco; } @safe unittest { abstract class C { void func(); void func(int a); int func(int a, int b); } alias functionTypes = typeof(__traits(getVirtualFunctions, C, "func")); assert(typeid(functionTypes[0]).toString() == "void function()"); assert(typeid(functionTypes[1]).toString() == "void function(int)"); assert(typeid(functionTypes[2]).toString() == "int function(int, int)"); } class TypeInfo_Delegate : TypeInfo { override string toString() const { return cast(string)(next.toString() ~ " delegate()"); } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_Delegate)o; return c && this.deco == c.deco; } override size_t getHash(scope const void* p) @trusted const { return hashOf(*cast(void delegate()*)p); } override bool equals(in void* p1, in void* p2) const { auto dg1 = *cast(void delegate()*)p1; auto dg2 = *cast(void delegate()*)p2; return dg1 == dg2; } override int compare(in void* p1, in void* p2) const { auto dg1 = *cast(void delegate()*)p1; auto dg2 = *cast(void delegate()*)p2; if (dg1 < dg2) return -1; else if (dg1 > dg2) return 1; else return 0; } override @property size_t tsize() nothrow pure const { alias dg = int delegate(); return dg.sizeof; } override const(void)[] initializer() const @trusted { return (cast(void *)null)[0 .. (int delegate()).sizeof]; } override @property uint flags() nothrow pure const { return 1; } TypeInfo next; string deco; override @property size_t talign() nothrow pure const { alias dg = int delegate(); return dg.alignof; } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { arg1 = typeid(void*); arg2 = typeid(void*); return 0; } override @property immutable(void)* rtInfo() nothrow pure const @safe { return RTInfo!(int delegate()); } } /** * Runtime type information about a class. * Can be retrieved from an object instance by using the * $(DDSUBLINK spec/property,classinfo, .classinfo) property. */ class TypeInfo_Class : TypeInfo { override string toString() const { return info.name; } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_Class)o; return c && this.info.name == c.info.name; } override size_t getHash(scope const void* p) @trusted const { auto o = *cast(Object*)p; return o ? o.toHash() : 0; } override bool equals(in void* p1, in void* p2) const { Object o1 = *cast(Object*)p1; Object o2 = *cast(Object*)p2; return (o1 is o2) || (o1 && o1.opEquals(o2)); } override int compare(in void* p1, in void* p2) const { Object o1 = *cast(Object*)p1; Object o2 = *cast(Object*)p2; int c = 0; // Regard null references as always being "less than" if (o1 !is o2) { if (o1) { if (!o2) c = 1; else c = o1.opCmp(o2); } else c = -1; } return c; } override @property size_t tsize() nothrow pure const { return Object.sizeof; } override const(void)[] initializer() nothrow pure const @safe { return m_init; } override @property uint flags() nothrow pure const { return 1; } override @property const(OffsetTypeInfo)[] offTi() nothrow pure const { return m_offTi; } @property auto info() @safe nothrow pure const { return this; } @property auto typeinfo() @safe nothrow pure const { return this; } byte[] m_init; /** class static initializer * (init.length gives size in bytes of class) */ string name; /// class name void*[] vtbl; /// virtual function pointer table Interface[] interfaces; /// interfaces this class implements TypeInfo_Class base; /// base class void* destructor; void function(Object) classInvariant; enum ClassFlags : uint { isCOMclass = 0x1, noPointers = 0x2, hasOffTi = 0x4, hasCtor = 0x8, hasGetMembers = 0x10, hasTypeInfo = 0x20, isAbstract = 0x40, isCPPclass = 0x80, hasDtor = 0x100, } ClassFlags m_flags; void* deallocator; OffsetTypeInfo[] m_offTi; void function(Object) defaultConstructor; // default Constructor immutable(void)* m_RTInfo; // data for precise GC override @property immutable(void)* rtInfo() const { return m_RTInfo; } /** * Search all modules for TypeInfo_Class corresponding to classname. * Returns: null if not found */ static const(TypeInfo_Class) find(const scope char[] classname) { foreach (m; ModuleInfo) { if (m) { //writefln("module %s, %d", m.name, m.localClasses.length); foreach (c; m.localClasses) { if (c is null) continue; //writefln("\tclass %s", c.name); if (c.name == classname) return c; } } } return null; } /** * Create instance of Object represented by 'this'. */ Object create() const { if (m_flags & 8 && !defaultConstructor) return null; if (m_flags & 64) // abstract return null; Object o = _d_newclass(this); if (m_flags & 8 && defaultConstructor) { defaultConstructor(o); } return o; } } alias ClassInfo = TypeInfo_Class; @safe unittest { // Bugzilla 14401 static class X { int a; } assert(typeid(X).initializer is typeid(X).m_init); assert(typeid(X).initializer.length == typeid(const(X)).initializer.length); assert(typeid(X).initializer.length == typeid(shared(X)).initializer.length); assert(typeid(X).initializer.length == typeid(immutable(X)).initializer.length); } class TypeInfo_Interface : TypeInfo { override string toString() const { return info.name; } override bool opEquals(Object o) { if (this is o) return true; auto c = cast(const TypeInfo_Interface)o; return c && this.info.name == typeid(c).name; } override size_t getHash(scope const void* p) @trusted const { if (!*cast(void**)p) { return 0; } Interface* pi = **cast(Interface ***)*cast(void**)p; Object o = cast(Object)(*cast(void**)p - pi.offset); assert(o); return o.toHash(); } override bool equals(in void* p1, in void* p2) const { Interface* pi = **cast(Interface ***)*cast(void**)p1; Object o1 = cast(Object)(*cast(void**)p1 - pi.offset); pi = **cast(Interface ***)*cast(void**)p2; Object o2 = cast(Object)(*cast(void**)p2 - pi.offset); return o1 == o2 || (o1 && o1.opCmp(o2) == 0); } override int compare(in void* p1, in void* p2) const { Interface* pi = **cast(Interface ***)*cast(void**)p1; Object o1 = cast(Object)(*cast(void**)p1 - pi.offset); pi = **cast(Interface ***)*cast(void**)p2; Object o2 = cast(Object)(*cast(void**)p2 - pi.offset); int c = 0; // Regard null references as always being "less than" if (o1 != o2) { if (o1) { if (!o2) c = 1; else c = o1.opCmp(o2); } else c = -1; } return c; } override @property size_t tsize() nothrow pure const { return Object.sizeof; } override const(void)[] initializer() const @trusted { return (cast(void *)null)[0 .. Object.sizeof]; } override @property uint flags() nothrow pure const { return 1; } TypeInfo_Class info; } class TypeInfo_Struct : TypeInfo { override string toString() const { return name; } override bool opEquals(Object o) { if (this is o) return true; auto s = cast(const TypeInfo_Struct)o; return s && this.name == s.name && this.initializer().length == s.initializer().length; } override size_t getHash(scope const void* p) @trusted pure nothrow const { assert(p); if (xtoHash) { return (*xtoHash)(p); } else { return hashOf(p[0 .. initializer().length]); } } override bool equals(in void* p1, in void* p2) @trusted pure nothrow const { import core.stdc.string : memcmp; if (!p1 || !p2) return false; else if (xopEquals) return (*xopEquals)(p1, p2); else if (p1 == p2) return true; else // BUG: relies on the GC not moving objects return memcmp(p1, p2, initializer().length) == 0; } override int compare(in void* p1, in void* p2) @trusted pure nothrow const { import core.stdc.string : memcmp; // Regard null references as always being "less than" if (p1 != p2) { if (p1) { if (!p2) return true; else if (xopCmp) return (*xopCmp)(p2, p1); else // BUG: relies on the GC not moving objects return memcmp(p1, p2, initializer().length); } else return -1; } return 0; } override @property size_t tsize() nothrow pure const { return initializer().length; } override const(void)[] initializer() nothrow pure const @safe { return m_init; } override @property uint flags() nothrow pure const { return m_flags; } override @property size_t talign() nothrow pure const { return m_align; } final override void destroy(void* p) const { if (xdtor) { if (m_flags & StructFlags.isDynamicType) (*xdtorti)(p, this); else (*xdtor)(p); } } override void postblit(void* p) const { if (xpostblit) (*xpostblit)(p); } string name; void[] m_init; // initializer; m_init.ptr == null if 0 initialize @safe pure nothrow { size_t function(in void*) xtoHash; bool function(in void*, in void*) xopEquals; int function(in void*, in void*) xopCmp; string function(in void*) xtoString; enum StructFlags : uint { hasPointers = 0x1, isDynamicType = 0x2, // built at runtime, needs type info in xdtor } StructFlags m_flags; } union { void function(void*) xdtor; void function(void*, const TypeInfo_Struct ti) xdtorti; } void function(void*) xpostblit; uint m_align; override @property immutable(void)* rtInfo() nothrow pure const @safe { return m_RTInfo; } version (X86_64) { override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { arg1 = m_arg1; arg2 = m_arg2; return 0; } TypeInfo m_arg1; TypeInfo m_arg2; } immutable(void)* m_RTInfo; // data for precise GC } @system unittest { struct S { bool opEquals(ref const S rhs) const { return false; } } S s; assert(!typeid(S).equals(&s, &s)); } class TypeInfo_Tuple : TypeInfo { TypeInfo[] elements; override string toString() const { string s = "("; foreach (i, element; elements) { if (i) s ~= ','; s ~= element.toString(); } s ~= ")"; return s; } override bool opEquals(Object o) { if (this is o) return true; auto t = cast(const TypeInfo_Tuple)o; if (t && elements.length == t.elements.length) { for (size_t i = 0; i < elements.length; i++) { if (elements[i] != t.elements[i]) return false; } return true; } return false; } override size_t getHash(scope const void* p) const { assert(0); } override bool equals(in void* p1, in void* p2) const { assert(0); } override int compare(in void* p1, in void* p2) const { assert(0); } override @property size_t tsize() nothrow pure const { assert(0); } override const(void)[] initializer() const @trusted { assert(0); } override void swap(void* p1, void* p2) const { assert(0); } override void destroy(void* p) const { assert(0); } override void postblit(void* p) const { assert(0); } override @property size_t talign() nothrow pure const { assert(0); } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { assert(0); } } class TypeInfo_Const : TypeInfo { override string toString() const { return cast(string) ("const(" ~ base.toString() ~ ")"); } //override bool opEquals(Object o) { return base.opEquals(o); } override bool opEquals(Object o) { if (this is o) return true; if (typeid(this) != typeid(o)) return false; auto t = cast(TypeInfo_Const)o; return base.opEquals(t.base); } override size_t getHash(scope const void *p) const { return base.getHash(p); } override bool equals(in void *p1, in void *p2) const { return base.equals(p1, p2); } override int compare(in void *p1, in void *p2) const { return base.compare(p1, p2); } override @property size_t tsize() nothrow pure const { return base.tsize; } override void swap(void *p1, void *p2) const { return base.swap(p1, p2); } override @property inout(TypeInfo) next() nothrow pure inout { return base.next; } override @property uint flags() nothrow pure const { return base.flags; } override const(void)[] initializer() nothrow pure const { return base.initializer(); } override @property size_t talign() nothrow pure const { return base.talign; } version (X86_64) override int argTypes(out TypeInfo arg1, out TypeInfo arg2) { return base.argTypes(arg1, arg2); } TypeInfo base; } class TypeInfo_Invariant : TypeInfo_Const { override string toString() const { return cast(string) ("immutable(" ~ base.toString() ~ ")"); } } class TypeInfo_Shared : TypeInfo_Const { override string toString() const { return cast(string) ("shared(" ~ base.toString() ~ ")"); } } class TypeInfo_Inout : TypeInfo_Const { override string toString() const { return cast(string) ("inout(" ~ base.toString() ~ ")"); } } // Contents of Moduleinfo._flags enum { MIctorstart = 0x1, // we've started constructing it MIctordone = 0x2, // finished construction MIstandalone = 0x4, // module ctor does not depend on other module // ctors being done first MItlsctor = 8, MItlsdtor = 0x10, MIctor = 0x20, MIdtor = 0x40, MIxgetMembers = 0x80, MIictor = 0x100, MIunitTest = 0x200, MIimportedModules = 0x400, MIlocalClasses = 0x800, MIname = 0x1000, } /***************************************** * An instance of ModuleInfo is generated into the object file for each compiled module. * * It provides access to various aspects of the module. * It is not generated for betterC. */ struct ModuleInfo { uint _flags; // MIxxxx uint _index; // index into _moduleinfo_array[] version (all) { deprecated("ModuleInfo cannot be copy-assigned because it is a variable-sized struct.") void opAssign(const scope ModuleInfo m) { _flags = m._flags; _index = m._index; } } else { @disable this(); } const: private void* addrOf(int flag) nothrow pure @nogc in { assert(flag >= MItlsctor && flag <= MIname); assert(!(flag & (flag - 1)) && !(flag & ~(flag - 1) << 1)); } do { import core.stdc.string : strlen; void* p = cast(void*)&this + ModuleInfo.sizeof; if (flags & MItlsctor) { if (flag == MItlsctor) return p; p += typeof(tlsctor).sizeof; } if (flags & MItlsdtor) { if (flag == MItlsdtor) return p; p += typeof(tlsdtor).sizeof; } if (flags & MIctor) { if (flag == MIctor) return p; p += typeof(ctor).sizeof; } if (flags & MIdtor) { if (flag == MIdtor) return p; p += typeof(dtor).sizeof; } if (flags & MIxgetMembers) { if (flag == MIxgetMembers) return p; p += typeof(xgetMembers).sizeof; } if (flags & MIictor) { if (flag == MIictor) return p; p += typeof(ictor).sizeof; } if (flags & MIunitTest) { if (flag == MIunitTest) return p; p += typeof(unitTest).sizeof; } if (flags & MIimportedModules) { if (flag == MIimportedModules) return p; p += size_t.sizeof + *cast(size_t*)p * typeof(importedModules[0]).sizeof; } if (flags & MIlocalClasses) { if (flag == MIlocalClasses) return p; p += size_t.sizeof + *cast(size_t*)p * typeof(localClasses[0]).sizeof; } if (true || flags & MIname) // always available for now { if (flag == MIname) return p; p += strlen(cast(immutable char*)p); } assert(0); } @property uint index() nothrow pure @nogc { return _index; } @property uint flags() nothrow pure @nogc { return _flags; } /************************ * Returns: * module constructor for thread locals, `null` if there isn't one */ @property void function() tlsctor() nothrow pure @nogc { return flags & MItlsctor ? *cast(typeof(return)*)addrOf(MItlsctor) : null; } /************************ * Returns: * module destructor for thread locals, `null` if there isn't one */ @property void function() tlsdtor() nothrow pure @nogc { return flags & MItlsdtor ? *cast(typeof(return)*)addrOf(MItlsdtor) : null; } /***************************** * Returns: * address of a module's `const(MemberInfo)[] getMembers(string)` function, `null` if there isn't one */ @property void* xgetMembers() nothrow pure @nogc { return flags & MIxgetMembers ? *cast(typeof(return)*)addrOf(MIxgetMembers) : null; } /************************ * Returns: * module constructor, `null` if there isn't one */ @property void function() ctor() nothrow pure @nogc { return flags & MIctor ? *cast(typeof(return)*)addrOf(MIctor) : null; } /************************ * Returns: * module destructor, `null` if there isn't one */ @property void function() dtor() nothrow pure @nogc { return flags & MIdtor ? *cast(typeof(return)*)addrOf(MIdtor) : null; } /************************ * Returns: * module order independent constructor, `null` if there isn't one */ @property void function() ictor() nothrow pure @nogc { return flags & MIictor ? *cast(typeof(return)*)addrOf(MIictor) : null; } /************* * Returns: * address of function that runs the module's unittests, `null` if there isn't one */ @property void function() unitTest() nothrow pure @nogc { return flags & MIunitTest ? *cast(typeof(return)*)addrOf(MIunitTest) : null; } /**************** * Returns: * array of pointers to the ModuleInfo's of modules imported by this one */ @property immutable(ModuleInfo*)[] importedModules() nothrow pure @nogc { if (flags & MIimportedModules) { auto p = cast(size_t*)addrOf(MIimportedModules); return (cast(immutable(ModuleInfo*)*)(p + 1))[0 .. *p]; } return null; } /**************** * Returns: * array of TypeInfo_Class references for classes defined in this module */ @property TypeInfo_Class[] localClasses() nothrow pure @nogc { if (flags & MIlocalClasses) { auto p = cast(size_t*)addrOf(MIlocalClasses); return (cast(TypeInfo_Class*)(p + 1))[0 .. *p]; } return null; } /******************** * Returns: * name of module, `null` if no name */ @property string name() nothrow pure @nogc { if (true || flags & MIname) // always available for now { import core.stdc.string : strlen; auto p = cast(immutable char*)addrOf(MIname); return p[0 .. strlen(p)]; } // return null; } static int opApply(scope int delegate(ModuleInfo*) dg) { import core.internal.traits : externDFunc; alias moduleinfos_apply = externDFunc!("rt.minfo.moduleinfos_apply", int function(scope int delegate(immutable(ModuleInfo*)))); // Bugzilla 13084 - enforcing immutable ModuleInfo would break client code return moduleinfos_apply( (immutable(ModuleInfo*)m) => dg(cast(ModuleInfo*)m)); } } @system unittest { ModuleInfo* m1; foreach (m; ModuleInfo) { m1 = m; } } /////////////////////////////////////////////////////////////////////////////// // Throwable /////////////////////////////////////////////////////////////////////////////// /** * The base class of all thrown objects. * * All thrown objects must inherit from Throwable. Class $(D Exception), which * derives from this class, represents the category of thrown objects that are * safe to catch and handle. In principle, one should not catch Throwable * objects that are not derived from $(D Exception), as they represent * unrecoverable runtime errors. Certain runtime guarantees may fail to hold * when these errors are thrown, making it unsafe to continue execution after * catching them. */ class Throwable : Object { interface TraceInfo { int opApply(scope int delegate(ref const(char[]))) const; int opApply(scope int delegate(ref size_t, ref const(char[]))) const; string toString() const; } string msg; /// A message describing the error. /** * The _file name of the D source code corresponding with * where the error was thrown from. */ string file; /** * The _line number of the D source code corresponding with * where the error was thrown from. */ size_t line; /** * The stack trace of where the error happened. This is an opaque object * that can either be converted to $(D string), or iterated over with $(D * foreach) to extract the items in the stack trace (as strings). */ TraceInfo info; /** * A reference to the _next error in the list. This is used when a new * $(D Throwable) is thrown from inside a $(D catch) block. The originally * caught $(D Exception) will be chained to the new $(D Throwable) via this * field. */ private Throwable nextInChain; private uint _refcount; // 0 : allocated by GC // 1 : allocated by _d_newThrowable() // 2.. : reference count + 1 /** * Returns: * A reference to the _next error in the list. This is used when a new * $(D Throwable) is thrown from inside a $(D catch) block. The originally * caught $(D Exception) will be chained to the new $(D Throwable) via this * field. */ @property inout(Throwable) next() @safe inout return scope pure nothrow @nogc { return nextInChain; } /** * Replace next in chain with `tail`. * Use `chainTogether` instead if at all possible. */ @property void next(Throwable tail) @safe scope pure nothrow @nogc { if (tail && tail._refcount) ++tail._refcount; // increment the replacement *first* auto n = nextInChain; nextInChain = null; // sever the tail before deleting it if (n && n._refcount) _d_delThrowable(n); // now delete the old tail nextInChain = tail; // and set the new tail } /** * Returns: * mutable reference to the reference count, which is * 0 - allocated by the GC, 1 - allocated by _d_newThrowable(), * and >=2 which is the reference count + 1 */ @system @nogc final pure nothrow ref uint refcount() return scope { return _refcount; } /** * Loop over the chain of Throwables. */ int opApply(scope int delegate(Throwable) dg) { int result = 0; for (Throwable t = this; t; t = t.nextInChain) { result = dg(t); if (result) break; } return result; } /** * Append `e2` to chain of exceptions that starts with `e1`. * Params: * e1 = start of chain (can be null) * e2 = second part of chain (can be null) * Returns: * Throwable that is at the start of the chain; null if both `e1` and `e2` are null */ static @__future @system @nogc pure nothrow Throwable chainTogether(return scope Throwable e1, return scope Throwable e2) { if (e2 && e2.refcount()) ++e2.refcount(); if (!e1) return e2; if (!e2) return e1; for (auto e = e1; 1; e = e.nextInChain) { if (!e.nextInChain) { e.nextInChain = e2; break; } } return e1; } @nogc @safe pure nothrow this(string msg, Throwable nextInChain = null) { this.msg = msg; this.nextInChain = nextInChain; //this.info = _d_traceContext(); } @nogc @safe pure nothrow this(string msg, string file, size_t line, Throwable nextInChain = null) { this(msg, nextInChain); this.file = file; this.line = line; //this.info = _d_traceContext(); } @trusted nothrow ~this() { if (nextInChain && nextInChain._refcount) _d_delThrowable(nextInChain); } /** * Overrides $(D Object.toString) and returns the error message. * Internally this forwards to the $(D toString) overload that * takes a $(D_PARAM sink) delegate. */ override string toString() { string s; toString((buf) { s ~= buf; }); return s; } /** * The Throwable hierarchy uses a toString overload that takes a * $(D_PARAM _sink) delegate to avoid GC allocations, which cannot be * performed in certain error situations. Override this $(D * toString) method to customize the error message. */ void toString(scope void delegate(in char[]) sink) const { import core.internal.string : unsignedToTempString; char[20] tmpBuff = void; sink(typeid(this).name); sink("@"); sink(file); sink("("); sink(unsignedToTempString(line, tmpBuff, 10)); sink(")"); if (msg.length) { sink(": "); sink(msg); } if (info) { try { sink("\n----------------"); foreach (t; info) { sink("\n"); sink(t); } } catch (Throwable) { // ignore more errors } } } /** * Get the message describing the error. * Base behavior is to return the `Throwable.msg` field. * Override to return some other error message. * * Returns: * Error message */ @__future const(char)[] message() const { return this.msg; } } /** * The base class of all errors that are safe to catch and handle. * * In principle, only thrown objects derived from this class are safe to catch * inside a $(D catch) block. Thrown objects not derived from Exception * represent runtime errors that should not be caught, as certain runtime * guarantees may not hold, making it unsafe to continue program execution. */ class Exception : Throwable { /** * Creates a new instance of Exception. The nextInChain parameter is used * internally and should always be $(D null) when passed by user code. * This constructor does not automatically throw the newly-created * Exception; the $(D throw) statement should be used for that purpose. */ @nogc @safe pure nothrow this(string msg, string file = __FILE__, size_t line = __LINE__, Throwable nextInChain = null) { super(msg, file, line, nextInChain); } @nogc @safe pure nothrow this(string msg, Throwable nextInChain, string file = __FILE__, size_t line = __LINE__) { super(msg, file, line, nextInChain); } } /// @safe unittest { bool gotCaught; try { throw new Exception("msg"); } catch (Exception e) { gotCaught = true; assert(e.msg == "msg"); } assert(gotCaught); } @system unittest { { auto e = new Exception("msg"); assert(e.file == __FILE__); assert(e.line == __LINE__ - 2); assert(e.nextInChain is null); assert(e.msg == "msg"); } { auto e = new Exception("msg", new Exception("It's an Exception!"), "hello", 42); assert(e.file == "hello"); assert(e.line == 42); assert(e.nextInChain !is null); assert(e.msg == "msg"); } { auto e = new Exception("msg", "hello", 42, new Exception("It's an Exception!")); assert(e.file == "hello"); assert(e.line == 42); assert(e.nextInChain !is null); assert(e.msg == "msg"); } { auto e = new Exception("message"); assert(e.message == "message"); } } /** * The base class of all unrecoverable runtime errors. * * This represents the category of $(D Throwable) objects that are $(B not) * safe to catch and handle. In principle, one should not catch Error * objects, as they represent unrecoverable runtime errors. * Certain runtime guarantees may fail to hold when these errors are * thrown, making it unsafe to continue execution after catching them. */ class Error : Throwable { /** * Creates a new instance of Error. The nextInChain parameter is used * internally and should always be $(D null) when passed by user code. * This constructor does not automatically throw the newly-created * Error; the $(D throw) statement should be used for that purpose. */ @nogc @safe pure nothrow this(string msg, Throwable nextInChain = null) { super(msg, nextInChain); bypassedException = null; } @nogc @safe pure nothrow this(string msg, string file, size_t line, Throwable nextInChain = null) { super(msg, file, line, nextInChain); bypassedException = null; } /** The first $(D Exception) which was bypassed when this Error was thrown, or $(D null) if no $(D Exception)s were pending. */ Throwable bypassedException; } /// @system unittest { bool gotCaught; try { throw new Error("msg"); } catch (Error e) { gotCaught = true; assert(e.msg == "msg"); } assert(gotCaught); } @safe unittest { { auto e = new Error("msg"); assert(e.file is null); assert(e.line == 0); assert(e.nextInChain is null); assert(e.msg == "msg"); assert(e.bypassedException is null); } { auto e = new Error("msg", new Exception("It's an Exception!")); assert(e.file is null); assert(e.line == 0); assert(e.nextInChain !is null); assert(e.msg == "msg"); assert(e.bypassedException is null); } { auto e = new Error("msg", "hello", 42, new Exception("It's an Exception!")); assert(e.file == "hello"); assert(e.line == 42); assert(e.nextInChain !is null); assert(e.msg == "msg"); assert(e.bypassedException is null); } } /* Used in Exception Handling LSDA tables to 'wrap' C++ type info * so it can be distinguished from D TypeInfo */ class __cpp_type_info_ptr { void* ptr; // opaque pointer to C++ RTTI type info } extern (C) { // from druntime/src/rt/aaA.d private struct AA { void* impl; } // size_t _aaLen(in AA aa) pure nothrow @nogc; private void* _aaGetY(AA* paa, const TypeInfo_AssociativeArray ti, const size_t valsz, const scope void* pkey) pure nothrow; private void* _aaGetX(AA* paa, const TypeInfo_AssociativeArray ti, const size_t valsz, const scope void* pkey, out bool found) pure nothrow; // inout(void)* _aaGetRvalueX(inout AA aa, in TypeInfo keyti, in size_t valsz, in void* pkey); inout(void[]) _aaValues(inout AA aa, const size_t keysz, const size_t valsz, const TypeInfo tiValueArray) pure nothrow; inout(void[]) _aaKeys(inout AA aa, const size_t keysz, const TypeInfo tiKeyArray) pure nothrow; void* _aaRehash(AA* paa, const scope TypeInfo keyti) pure nothrow; void _aaClear(AA aa) pure nothrow; // alias _dg_t = extern(D) int delegate(void*); // int _aaApply(AA aa, size_t keysize, _dg_t dg); // alias _dg2_t = extern(D) int delegate(void*, void*); // int _aaApply2(AA aa, size_t keysize, _dg2_t dg); private struct AARange { AA impl; size_t idx; } AARange _aaRange(AA aa) pure nothrow @nogc @safe; bool _aaRangeEmpty(AARange r) pure nothrow @nogc @safe; void* _aaRangeFrontKey(AARange r) pure nothrow @nogc @safe; void* _aaRangeFrontValue(AARange r) pure nothrow @nogc @safe; void _aaRangePopFront(ref AARange r) pure nothrow @nogc @safe; int _aaEqual(in TypeInfo tiRaw, in AA aa1, in AA aa2); hash_t _aaGetHash(in AA* aa, in TypeInfo tiRaw) nothrow; /* _d_assocarrayliteralTX marked as pure, because aaLiteral can be called from pure code. This is a typesystem hole, however this is existing hole. Early compiler didn't check purity of toHash or postblit functions, if key is a UDT thus copiler allowed to create AA literal with keys, which have impure unsafe toHash methods. */ void* _d_assocarrayliteralTX(const TypeInfo_AssociativeArray ti, void[] keys, void[] values) pure; } void* aaLiteral(Key, Value)(Key[] keys, Value[] values) @trusted pure { return _d_assocarrayliteralTX(typeid(Value[Key]), *cast(void[]*)&keys, *cast(void[]*)&values); } alias AssociativeArray(Key, Value) = Value[Key]; /*********************************** * Removes all remaining keys and values from an associative array. * Params: * aa = The associative array. */ void clear(T : Value[Key], Value, Key)(T aa) { _aaClear(*cast(AA *) &aa); } /* ditto */ void clear(T : Value[Key], Value, Key)(T* aa) { _aaClear(*cast(AA *) aa); } /// @system unittest { auto aa = ["k1": 2]; aa.clear; assert("k1" !in aa); } /*********************************** * Reorganizes the associative array in place so that lookups are more * efficient. * Params: * aa = The associative array. * Returns: * The rehashed associative array. */ T rehash(T : Value[Key], Value, Key)(T aa) { _aaRehash(cast(AA*)&aa, typeid(Value[Key])); return aa; } /* ditto */ T rehash(T : Value[Key], Value, Key)(T* aa) { _aaRehash(cast(AA*)aa, typeid(Value[Key])); return *aa; } /* ditto */ T rehash(T : shared Value[Key], Value, Key)(T aa) { _aaRehash(cast(AA*)&aa, typeid(Value[Key])); return aa; } /* ditto */ T rehash(T : shared Value[Key], Value, Key)(T* aa) { _aaRehash(cast(AA*)aa, typeid(Value[Key])); return *aa; } /*********************************** * Create a new associative array of the same size and copy the contents of the * associative array into it. * Params: * aa = The associative array. */ V[K] dup(T : V[K], K, V)(T aa) { //pragma(msg, "K = ", K, ", V = ", V); // Bug10720 - check whether V is copyable static assert(is(typeof({ V v = aa[K.init]; })), "cannot call " ~ T.stringof ~ ".dup because " ~ V.stringof ~ " is not copyable"); V[K] result; //foreach (k, ref v; aa) // result[k] = v; // Bug13701 - won't work if V is not mutable ref V duplicateElem(ref K k, ref const V v) @trusted pure nothrow { import core.stdc.string : memcpy; void* pv = _aaGetY(cast(AA*)&result, typeid(V[K]), V.sizeof, &k); memcpy(pv, &v, V.sizeof); return *cast(V*)pv; } if (auto postblit = _getPostblit!V()) { foreach (k, ref v; aa) postblit(duplicateElem(k, v)); } else { foreach (k, ref v; aa) duplicateElem(k, v); } return result; } /* ditto */ V[K] dup(T : V[K], K, V)(T* aa) { return (*aa).dup; } /// @safe unittest { auto aa = ["k1": 2]; auto a2 = aa.dup; aa["k2"] = 3; assert("k2" !in a2); } // this should never be made public. private AARange _aaToRange(T: V[K], K, V)(ref T aa) pure nothrow @nogc @safe { // ensure we are dealing with a genuine AA. static if (is(const(V[K]) == const(T))) alias realAA = aa; else const(V[K]) realAA = aa; return _aaRange(() @trusted { return *cast(AA*)&realAA; } ()); } /*********************************** * Returns a forward range over the keys of the associative array. * Params: * aa = The associative array. * Returns: * A forward range. */ auto byKey(T : V[K], K, V)(T aa) pure nothrow @nogc @safe { import core.internal.traits : substInout; static struct Result { AARange r; pure nothrow @nogc: @property bool empty() @safe { return _aaRangeEmpty(r); } @property ref front() { auto p = (() @trusted => cast(substInout!K*) _aaRangeFrontKey(r)) (); return *p; } void popFront() @safe { _aaRangePopFront(r); } @property Result save() { return this; } } return Result(_aaToRange(aa)); } /* ditto */ auto byKey(T : V[K], K, V)(T* aa) pure nothrow @nogc { return (*aa).byKey(); } /// @safe unittest { auto dict = [1: 0, 2: 0]; int sum; foreach (v; dict.byKey) sum += v; assert(sum == 3); } /*********************************** * Returns a forward range over the values of the associative array. * Params: * aa = The associative array. * Returns: * A forward range. */ auto byValue(T : V[K], K, V)(T aa) pure nothrow @nogc @safe { import core.internal.traits : substInout; static struct Result { AARange r; pure nothrow @nogc: @property bool empty() @safe { return _aaRangeEmpty(r); } @property ref front() { auto p = (() @trusted => cast(substInout!V*) _aaRangeFrontValue(r)) (); return *p; } void popFront() @safe { _aaRangePopFront(r); } @property Result save() { return this; } } return Result(_aaToRange(aa)); } /* ditto */ auto byValue(T : V[K], K, V)(T* aa) pure nothrow @nogc { return (*aa).byValue(); } /// @safe unittest { auto dict = ["k1": 1, "k2": 2]; int sum; foreach (v; dict.byValue) sum += v; assert(sum == 3); } /*********************************** * Returns a forward range over the key value pairs of the associative array. * Params: * aa = The associative array. * Returns: * A forward range. */ auto byKeyValue(T : V[K], K, V)(T aa) pure nothrow @nogc @safe { import core.internal.traits : substInout; static struct Result { AARange r; pure nothrow @nogc: @property bool empty() @safe { return _aaRangeEmpty(r); } @property auto front() { static struct Pair { // We save the pointers here so that the Pair we return // won't mutate when Result.popFront is called afterwards. private void* keyp; private void* valp; @property ref key() inout { auto p = (() @trusted => cast(substInout!K*) keyp) (); return *p; } @property ref value() inout { auto p = (() @trusted => cast(substInout!V*) valp) (); return *p; } } return Pair(_aaRangeFrontKey(r), _aaRangeFrontValue(r)); } void popFront() @safe { return _aaRangePopFront(r); } @property Result save() { return this; } } return Result(_aaToRange(aa)); } /* ditto */ auto byKeyValue(T : V[K], K, V)(T* aa) pure nothrow @nogc { return (*aa).byKeyValue(); } /// @safe unittest { auto dict = ["k1": 1, "k2": 2]; int sum; foreach (e; dict.byKeyValue) sum += e.value; assert(sum == 3); } /*********************************** * Returns a dynamic array, the elements of which are the keys in the * associative array. * Params: * aa = The associative array. * Returns: * A dynamic array. */ Key[] keys(T : Value[Key], Value, Key)(T aa) @property { // ensure we are dealing with a genuine AA. static if (is(const(Value[Key]) == const(T))) alias realAA = aa; else const(Value[Key]) realAA = aa; auto a = cast(void[])_aaKeys(*cast(inout(AA)*)&realAA, Key.sizeof, typeid(Key[])); auto res = *cast(Key[]*)&a; _doPostblit(res); return res; } /* ditto */ Key[] keys(T : Value[Key], Value, Key)(T *aa) @property { return (*aa).keys; } /// @system unittest { auto aa = [1: "v1", 2: "v2"]; int sum; foreach (k; aa.keys) sum += k; assert(sum == 3); } @system unittest { static struct S { string str; void[][string] dict; alias dict this; } auto s = S("a"); assert(s.keys.length == 0); } /*********************************** * Returns a dynamic array, the elements of which are the values in the * associative array. * Params: * aa = The associative array. * Returns: * A dynamic array. */ Value[] values(T : Value[Key], Value, Key)(T aa) @property { // ensure we are dealing with a genuine AA. static if (is(const(Value[Key]) == const(T))) alias realAA = aa; else const(Value[Key]) realAA = aa; auto a = cast(void[])_aaValues(*cast(inout(AA)*)&realAA, Key.sizeof, Value.sizeof, typeid(Value[])); auto res = *cast(Value[]*)&a; _doPostblit(res); return res; } /* ditto */ Value[] values(T : Value[Key], Value, Key)(T *aa) @property { return (*aa).values; } /// @system unittest { auto aa = ["k1": 1, "k2": 2]; int sum; foreach (e; aa.values) sum += e; assert(sum == 3); } @system unittest { static struct S { string str; void[][string] dict; alias dict this; } auto s = S("a"); assert(s.values.length == 0); } /*********************************** * Looks up key; if it exists returns corresponding value else evaluates and * returns defaultValue. * Params: * aa = The associative array. * key = The key. * defaultValue = The default value. * Returns: * The value. */ inout(V) get(K, V)(inout(V[K]) aa, K key, lazy inout(V) defaultValue) { auto p = key in aa; return p ? *p : defaultValue; } /* ditto */ inout(V) get(K, V)(inout(V[K])* aa, K key, lazy inout(V) defaultValue) { return (*aa).get(key, defaultValue); } @safe unittest { auto aa = ["k1": 1]; assert(aa.get("k1", 0) == 1); assert(aa.get("k2", 0) == 0); } /*********************************** * Looks up key; if it exists returns corresponding value else evaluates * value, adds it to the associative array and returns it. * Params: * aa = The associative array. * key = The key. * value = The required value. * Returns: * The value. */ ref V require(K, V)(ref V[K] aa, K key, lazy V value = V.init) { bool found; // if key is @safe-ly copyable, `require` can infer @safe static if (isSafeCopyable!K) { auto p = () @trusted { return cast(V*) _aaGetX(cast(AA*) &aa, typeid(V[K]), V.sizeof, &key, found); } (); } else { auto p = cast(V*) _aaGetX(cast(AA*) &aa, typeid(V[K]), V.sizeof, &key, found); } return found ? *p : (*p = value); } /// @safe unittest { auto aa = ["k1": 1]; assert(aa.require("k1", 0) == 1); assert(aa.require("k2", 0) == 0); assert(aa["k2"] == 0); } // Constraints for aa update. Delegates, Functions or Functors (classes that // provide opCall) are allowed. See unittest for an example. private { template isCreateOperation(C, V) { static if (is(C : V delegate()) || is(C : V function())) enum bool isCreateOperation = true; else static if (isCreateOperation!(typeof(&C.opCall), V)) enum bool isCreateOperation = true; else enum bool isCreateOperation = false; } template isUpdateOperation(U, V) { static if (is(U : V delegate(ref V)) || is(U : V function(ref V))) enum bool isUpdateOperation = true; else static if (isUpdateOperation!(typeof(&U.opCall), V)) enum bool isUpdateOperation = true; else enum bool isUpdateOperation = false; } } // Tests whether T can be @safe-ly copied. Use a union to exclude destructor from the test. private enum bool isSafeCopyable(T) = is(typeof(() @safe { union U { T x; } T *x; auto u = U(*x); })); /*********************************** * Looks up key; if it exists applies the update delegate else evaluates the * create delegate and adds it to the associative array * Params: * aa = The associative array. * key = The key. * create = The delegate to apply on create. * update = The delegate to apply on update. */ void update(K, V, C, U)(ref V[K] aa, K key, scope C create, scope U update) if (isCreateOperation!(C, V) && isUpdateOperation!(U, V)) { bool found; // if key is @safe-ly copyable, `update` may infer @safe static if (isSafeCopyable!K) { auto p = () @trusted { return cast(V*) _aaGetX(cast(AA*) &aa, typeid(V[K]), V.sizeof, &key, found); } (); } else { auto p = cast(V*) _aaGetX(cast(AA*) &aa, typeid(V[K]), V.sizeof, &key, found); } if (!found) *p = create(); else *p = update(*p); } /// @system unittest { auto aa = ["k1": 1]; aa.update("k1", { return -1; // create (won't be executed }, (ref int v) { return v + 1; // update }); assert(aa["k1"] == 2); aa.update("k2", { return 0; // create }, (ref int v) { return -1; // update (won't be executed) }); assert(aa["k2"] == 0); } @safe unittest { static struct S { int x; @nogc nothrow pure: this(this) @system {} @safe const: // stubs bool opEquals(S rhs) { assert(0); } size_t toHash() { assert(0); } } int[string] aai; static assert(is(typeof(() @safe { aai.require("a", 1234); }))); static assert(is(typeof(() @safe { aai.update("a", { return 1234; }, (ref int x) { x++; return x; }); }))); S[string] aas; static assert(is(typeof(() { aas.require("a", S(1234)); }))); static assert(is(typeof(() { aas.update("a", { return S(1234); }, (ref S s) { s.x++; return s; }); }))); static assert(!is(typeof(() @safe { aas.update("a", { return S(1234); }, (ref S s) { s.x++; return s; }); }))); int[S] aais; static assert(is(typeof(() { aais.require(S(1234), 1234); }))); static assert(is(typeof(() { aais.update(S(1234), { return 1234; }, (ref int x) { x++; return x; }); }))); static assert(!is(typeof(() @safe { aais.require(S(1234), 1234); }))); static assert(!is(typeof(() @safe { aais.update(S(1234), { return 1234; }, (ref int x) { x++; return x; }); }))); } private void _destructRecurse(E, size_t n)(ref E[n] arr) { import core.internal.traits : hasElaborateDestructor; static if (hasElaborateDestructor!E) { foreach_reverse (ref elem; arr) _destructRecurse(elem); } } // Public and explicitly undocumented void _postblitRecurse(S)(ref S s) if (is(S == struct)) { static if (__traits(hasMember, S, "__xpostblit") && // Bugzilla 14746: Check that it's the exact member of S. __traits(isSame, S, __traits(parent, s.__xpostblit))) s.__xpostblit(); } // Ditto void _postblitRecurse(E, size_t n)(ref E[n] arr) { import core.internal.traits : hasElaborateCopyConstructor; static if (hasElaborateCopyConstructor!E) { size_t i; scope(failure) { for (; i != 0; --i) { _destructRecurse(arr[i - 1]); // What to do if this throws? } } for (i = 0; i < arr.length; ++i) _postblitRecurse(arr[i]); } } // Test destruction/postblit order @safe nothrow pure unittest { string[] order; struct InnerTop { ~this() @safe nothrow pure { order ~= "destroy inner top"; } this(this) @safe nothrow pure { order ~= "copy inner top"; } } struct InnerMiddle {} version (none) // https://issues.dlang.org/show_bug.cgi?id=14242 struct InnerElement { static char counter = '1'; ~this() @safe nothrow pure { order ~= "destroy inner element #" ~ counter++; } this(this) @safe nothrow pure { order ~= "copy inner element #" ~ counter++; } } struct InnerBottom { ~this() @safe nothrow pure { order ~= "destroy inner bottom"; } this(this) @safe nothrow pure { order ~= "copy inner bottom"; } } struct S { char[] s; InnerTop top; InnerMiddle middle; version (none) InnerElement[3] array; // https://issues.dlang.org/show_bug.cgi?id=14242 int a; InnerBottom bottom; ~this() @safe nothrow pure { order ~= "destroy outer"; } this(this) @safe nothrow pure { order ~= "copy outer"; } } string[] destructRecurseOrder; { S s; _destructRecurse(s); destructRecurseOrder = order; order = null; } assert(order.length); assert(destructRecurseOrder == order); order = null; S s; _postblitRecurse(s); assert(order.length); auto postblitRecurseOrder = order; order = null; S s2 = s; assert(order.length); assert(postblitRecurseOrder == order); } // Test static struct nothrow @safe @nogc unittest { static int i = 0; static struct S { ~this() nothrow @safe @nogc { i = 42; } } S s; _destructRecurse(s); assert(i == 42); } @safe unittest { // Bugzilla 14746 static struct HasDtor { ~this() { assert(0); } } static struct Owner { HasDtor* ptr; alias ptr this; } Owner o; assert(o.ptr is null); destroy(o); // must not reach in HasDtor.__dtor() } @safe unittest { // Bugzilla 14746 static struct HasPostblit { this(this) { assert(0); } } static struct Owner { HasPostblit* ptr; alias ptr this; } Owner o; assert(o.ptr is null); _postblitRecurse(o); // must not reach in HasPostblit.__postblit() } // Test handling of fixed-length arrays // Separate from first test because of https://issues.dlang.org/show_bug.cgi?id=14242 @safe unittest { string[] order; struct S { char id; this(this) { order ~= "copy #" ~ id; } ~this() { order ~= "destroy #" ~ id; } } string[] destructRecurseOrder; { S[3] arr = [S('1'), S('2'), S('3')]; _destructRecurse(arr); destructRecurseOrder = order; order = null; } assert(order.length); assert(destructRecurseOrder == order); order = null; S[3] arr = [S('1'), S('2'), S('3')]; _postblitRecurse(arr); assert(order.length); auto postblitRecurseOrder = order; order = null; auto arrCopy = arr; assert(order.length); assert(postblitRecurseOrder == order); } // Test handling of failed postblit // Not nothrow or @safe because of https://issues.dlang.org/show_bug.cgi?id=14242 /+ nothrow @safe +/ unittest { static class FailedPostblitException : Exception { this() nothrow @safe { super(null); } } static string[] order; static struct Inner { char id; @safe: this(this) { order ~= "copy inner #" ~ id; if (id == '2') throw new FailedPostblitException(); } ~this() nothrow { order ~= "destroy inner #" ~ id; } } static struct Outer { Inner inner1, inner2, inner3; nothrow @safe: this(char first, char second, char third) { inner1 = Inner(first); inner2 = Inner(second); inner3 = Inner(third); } this(this) { order ~= "copy outer"; } ~this() { order ~= "destroy outer"; } } auto outer = Outer('1', '2', '3'); try _postblitRecurse(outer); catch (FailedPostblitException) {} catch (Exception) assert(false); auto postblitRecurseOrder = order; order = null; try auto copy = outer; catch (FailedPostblitException) {} catch (Exception) assert(false); assert(postblitRecurseOrder == order); order = null; Outer[3] arr = [Outer('1', '1', '1'), Outer('1', '2', '3'), Outer('3', '3', '3')]; try _postblitRecurse(arr); catch (FailedPostblitException) {} catch (Exception) assert(false); postblitRecurseOrder = order; order = null; try auto arrCopy = arr; catch (FailedPostblitException) {} catch (Exception) assert(false); assert(postblitRecurseOrder == order); } version (none) { // enforce() copied from Phobos std.contracts for destroy(), left out until // we decide whether to use it. T _enforce(T, string file = __FILE__, int line = __LINE__) (T value, lazy const(char)[] msg = null) { if (!value) bailOut(file, line, msg); return value; } T _enforce(T, string file = __FILE__, int line = __LINE__) (T value, scope void delegate() dg) { if (!value) dg(); return value; } T _enforce(T)(T value, lazy Exception ex) { if (!value) throw ex(); return value; } private void _bailOut(string file, int line, in char[] msg) { char[21] buf = void; throw new Exception(cast(string)(file ~ "(" ~ ulongToString(buf[], line) ~ "): " ~ (msg ? msg : "Enforcement failed"))); } } version (CoreDdoc) { // This lets DDoc produce better documentation. /** Calculates the hash value of `arg` with an optional `seed` initial value. The result might not be equal to `typeid(T).getHash(&arg)`. Params: arg = argument to calculate the hash value of seed = optional `seed` value (may be used for hash chaining) Return: calculated hash value of `arg` */ size_t hashOf(T)(auto ref T arg, size_t seed) { static import core.internal.hash; return core.internal.hash.hashOf(arg, seed); } /// ditto size_t hashOf(T)(auto ref T arg) { static import core.internal.hash; return core.internal.hash.hashOf(arg); } @safe unittest { auto h1 = "my.string".hashOf; assert(h1 == "my.string".hashOf); } } else { public import core.internal.hash : hashOf; } /// @system unittest { class MyObject { size_t myMegaHash() const @safe pure nothrow { return 42; } } struct Test { int a; string b; MyObject c; size_t toHash() const pure nothrow { size_t hash = a.hashOf(); hash = b.hashOf(hash); size_t h1 = c.myMegaHash(); hash = h1.hashOf(hash); //Mix two hash values return hash; } } } bool _xopEquals(in void*, in void*) { throw new Error("TypeInfo.equals is not implemented"); } bool _xopCmp(in void*, in void*) { throw new Error("TypeInfo.compare is not implemented"); } void __ctfeWrite(scope const(char)[] s) @nogc @safe pure nothrow {} /****************************************** * Create RTInfo for type T */ template RTInfoImpl(size_t[] pointerBitmap) { immutable size_t[pointerBitmap.length] RTInfoImpl = pointerBitmap[]; } template NoPointersBitmapPayload(size_t N) { enum size_t[N] NoPointersBitmapPayload = 0; } template RTInfo(T) { enum pointerBitmap = __traits(getPointerBitmap, T); static if (pointerBitmap[1 .. $] == NoPointersBitmapPayload!(pointerBitmap.length - 1)) enum RTInfo = rtinfoNoPointers; else enum RTInfo = RTInfoImpl!(pointerBitmap).ptr; } /** * shortcuts for the precise GC, also generated by the compiler * used instead of the actual pointer bitmap */ enum immutable(void)* rtinfoNoPointers = null; enum immutable(void)* rtinfoHasPointers = cast(void*)1; // Compiler hook into the runtime implementation of array (vector) operations. template _arrayOp(Args...) { import core.internal.arrayop; alias _arrayOp = arrayOp!Args; } /* * Support for switch statements switching on strings. * Params: * caseLabels = sorted array of strings generated by compiler. Note the strings are sorted by length first, and then lexicographically. * condition = string to look up in table * Returns: * index of match in caseLabels, a negative integer if not found */ int __switch(T, caseLabels...)(/*in*/ const scope T[] condition) pure nothrow @safe @nogc { // This closes recursion for other cases. static if (caseLabels.length == 0) { return int.min; } else static if (caseLabels.length == 1) { return __cmp(condition, caseLabels[0]) == 0 ? 0 : int.min; } // To be adjusted after measurements // Compile-time inlined binary search. else static if (caseLabels.length < 7) { int r = void; enum mid = cast(int)caseLabels.length / 2; if (condition.length == caseLabels[mid].length) { r = __cmp(condition, caseLabels[mid]); if (r == 0) return mid; } else { // Equivalent to (but faster than) condition.length > caseLabels[$ / 2].length ? 1 : -1 r = ((condition.length > caseLabels[mid].length) << 1) - 1; } if (r < 0) { // Search the left side return __switch!(T, caseLabels[0 .. mid])(condition); } else { // Search the right side return __switch!(T, caseLabels[mid + 1 .. $])(condition) + mid + 1; } } else { // Need immutable array to be accessible in pure code, but case labels are // currently coerced to the switch condition type (e.g. const(char)[]). static immutable T[][caseLabels.length] cases = { auto res = new immutable(T)[][](caseLabels.length); foreach (i, s; caseLabels) res[i] = s.idup; return res; }(); // Run-time binary search in a static array of labels. return __switchSearch!T(cases[], condition); } } // binary search in sorted string cases, also see `__switch`. private int __switchSearch(T)(/*in*/ const scope T[][] cases, /*in*/ const scope T[] condition) pure nothrow @safe @nogc { size_t low = 0; size_t high = cases.length; do { auto mid = (low + high) / 2; int r = void; if (condition.length == cases[mid].length) { r = __cmp(condition, cases[mid]); if (r == 0) return cast(int) mid; } else { // Generates better code than "expr ? 1 : -1" on dmd and gdc, same with ldc r = ((condition.length > cases[mid].length) << 1) - 1; } if (r > 0) low = mid + 1; else high = mid; } while (low < high); // Not found return -1; } @system unittest { static void testSwitch(T)() { switch (cast(T[]) "c") { case "coo": default: break; } static int bug5381(immutable(T)[] s) { switch (s) { case "unittest": return 1; case "D_Version2": return 2; case "nonenone": return 3; case "none": return 4; case "all": return 5; default: return 6; } } int rc = bug5381("unittest"); assert(rc == 1); rc = bug5381("D_Version2"); assert(rc == 2); rc = bug5381("nonenone"); assert(rc == 3); rc = bug5381("none"); assert(rc == 4); rc = bug5381("all"); assert(rc == 5); rc = bug5381("nonerandom"); assert(rc == 6); static int binarySearch(immutable(T)[] s) { switch (s) { static foreach (i; 0 .. 16) case i.stringof: return i; default: return -1; } } static foreach (i; 0 .. 16) assert(binarySearch(i.stringof) == i); assert(binarySearch("") == -1); assert(binarySearch("sth.") == -1); assert(binarySearch(null) == -1); static int bug16739(immutable(T)[] s) { switch (s) { case "\u0100": return 1; case "a": return 2; default: return 3; } } assert(bug16739("\u0100") == 1); assert(bug16739("a") == 2); assert(bug16739("foo") == 3); } testSwitch!char; testSwitch!wchar; testSwitch!dchar; } // Compiler lowers final switch default case to this (which is a runtime error) // Old implementation is in core/exception.d void __switch_error()(string file = __FILE__, size_t line = __LINE__) { import core.exception : __switch_errorT; __switch_errorT(file, line); } // Helper functions private inout(TypeInfo) getElement(inout TypeInfo value) @trusted pure nothrow { TypeInfo element = cast() value; for (;;) { if (auto qualified = cast(TypeInfo_Const) element) element = qualified.base; else if (auto redefined = cast(TypeInfo_Enum) element) element = redefined.base; else if (auto staticArray = cast(TypeInfo_StaticArray) element) element = staticArray.value; else if (auto vector = cast(TypeInfo_Vector) element) element = vector.base; else break; } return cast(inout) element; } private size_t getArrayHash(const scope TypeInfo element, const scope void* ptr, const size_t count) @trusted nothrow { if (!count) return 0; const size_t elementSize = element.tsize; if (!elementSize) return 0; static bool hasCustomToHash(const scope TypeInfo value) @trusted pure nothrow { const element = getElement(value); if (const struct_ = cast(const TypeInfo_Struct) element) return !!struct_.xtoHash; return cast(const TypeInfo_Array) element || cast(const TypeInfo_AssociativeArray) element || cast(const ClassInfo) element || cast(const TypeInfo_Interface) element; } import core.internal.traits : externDFunc; if (!hasCustomToHash(element)) return hashOf(ptr[0 .. elementSize * count]); size_t hash = 0; foreach (size_t i; 0 .. count) hash = hashOf(element.getHash(ptr + i * elementSize), hash); return hash; } /// Provide the .dup array property. @property auto dup(T)(T[] a) if (!is(const(T) : T)) { import core.internal.traits : Unconst; static assert(is(T : Unconst!T), "Cannot implicitly convert type "~T.stringof~ " to "~Unconst!T.stringof~" in dup."); // wrap unsafe _dup in @trusted to preserve @safe postblit static if (__traits(compiles, (T b) @safe { T a = b; })) return _trustedDup!(T, Unconst!T)(a); else return _dup!(T, Unconst!T)(a); } /// @safe unittest { auto arr = [1, 2]; auto arr2 = arr.dup; arr[0] = 0; assert(arr == [0, 2]); assert(arr2 == [1, 2]); } /// ditto // const overload to support implicit conversion to immutable (unique result, see DIP29) @property T[] dup(T)(const(T)[] a) if (is(const(T) : T)) { // wrap unsafe _dup in @trusted to preserve @safe postblit static if (__traits(compiles, (T b) @safe { T a = b; })) return _trustedDup!(const(T), T)(a); else return _dup!(const(T), T)(a); } /// Provide the .idup array property. @property immutable(T)[] idup(T)(T[] a) { static assert(is(T : immutable(T)), "Cannot implicitly convert type "~T.stringof~ " to immutable in idup."); // wrap unsafe _dup in @trusted to preserve @safe postblit static if (__traits(compiles, (T b) @safe { T a = b; })) return _trustedDup!(T, immutable(T))(a); else return _dup!(T, immutable(T))(a); } /// ditto @property immutable(T)[] idup(T:void)(const(T)[] a) { return a.dup; } /// @safe unittest { char[] arr = ['a', 'b', 'c']; string s = arr.idup; arr[0] = '.'; assert(s == "abc"); } private U[] _trustedDup(T, U)(T[] a) @trusted { return _dup!(T, U)(a); } private U[] _dup(T, U)(T[] a) // pure nothrow depends on postblit { if (__ctfe) { static if (is(T : void)) assert(0, "Cannot dup a void[] array at compile time."); else { U[] res; foreach (ref e; a) res ~= e; return res; } } import core.stdc.string : memcpy; void[] arr = _d_newarrayU(typeid(T[]), a.length); memcpy(arr.ptr, cast(const(void)*)a.ptr, T.sizeof * a.length); auto res = *cast(U[]*)&arr; static if (!is(T : void)) _doPostblit(res); return res; } private extern (C) void[] _d_newarrayU(const TypeInfo ti, size_t length) pure nothrow; /************** * Get the postblit for type T. * Returns: * null if no postblit is necessary * function pointer for struct postblits * delegate for class postblits */ private auto _getPostblit(T)() @trusted pure nothrow @nogc { // infer static postblit type, run postblit if any static if (is(T == struct)) { import core.internal.traits : Unqual; // use typeid(Unqual!T) here to skip TypeInfo_Const/Shared/... alias _PostBlitType = typeof(function (ref T t){ T a = t; }); return cast(_PostBlitType)typeid(Unqual!T).xpostblit; } else if ((&typeid(T).postblit).funcptr !is &TypeInfo.postblit) { alias _PostBlitType = typeof(delegate (ref T t){ T a = t; }); return cast(_PostBlitType)&typeid(T).postblit; } else return null; } private void _doPostblit(T)(T[] arr) { // infer static postblit type, run postblit if any if (auto postblit = _getPostblit!T()) { foreach (ref elem; arr) postblit(elem); } } @safe unittest { static struct S1 { int* p; } static struct S2 { @disable this(); } static struct S3 { @disable this(this); } int dg1() pure nothrow @safe { { char[] m; string i; m = m.dup; i = i.idup; m = i.dup; i = m.idup; } { S1[] m; immutable(S1)[] i; m = m.dup; i = i.idup; static assert(!is(typeof(m.idup))); static assert(!is(typeof(i.dup))); } { S3[] m; immutable(S3)[] i; static assert(!is(typeof(m.dup))); static assert(!is(typeof(i.idup))); } { shared(S1)[] m; m = m.dup; static assert(!is(typeof(m.idup))); } { int[] a = (inout(int)) { inout(const(int))[] a; return a.dup; }(0); } return 1; } int dg2() pure nothrow @safe { { S2[] m = [S2.init, S2.init]; immutable(S2)[] i = [S2.init, S2.init]; m = m.dup; m = i.dup; i = m.idup; i = i.idup; } return 2; } enum a = dg1(); enum b = dg2(); assert(dg1() == a); assert(dg2() == b); } @system unittest { static struct Sunpure { this(this) @safe nothrow {} } static struct Sthrow { this(this) @safe pure {} } static struct Sunsafe { this(this) @system pure nothrow {} } static assert( __traits(compiles, () { [].dup!Sunpure; })); static assert(!__traits(compiles, () pure { [].dup!Sunpure; })); static assert( __traits(compiles, () { [].dup!Sthrow; })); static assert(!__traits(compiles, () nothrow { [].dup!Sthrow; })); static assert( __traits(compiles, () { [].dup!Sunsafe; })); static assert(!__traits(compiles, () @safe { [].dup!Sunsafe; })); static assert( __traits(compiles, () { [].idup!Sunpure; })); static assert(!__traits(compiles, () pure { [].idup!Sunpure; })); static assert( __traits(compiles, () { [].idup!Sthrow; })); static assert(!__traits(compiles, () nothrow { [].idup!Sthrow; })); static assert( __traits(compiles, () { [].idup!Sunsafe; })); static assert(!__traits(compiles, () @safe { [].idup!Sunsafe; })); } @safe unittest { static int*[] pureFoo() pure { return null; } { char[] s; immutable x = s.dup; } { immutable x = (cast(int*[])null).dup; } { immutable x = pureFoo(); } { immutable x = pureFoo().dup; } } @safe unittest { auto a = [1, 2, 3]; auto b = a.dup; debug(SENTINEL) {} else assert(b.capacity >= 3); } @system unittest { // Bugzilla 12580 void[] m = [0]; shared(void)[] s = [cast(shared)1]; immutable(void)[] i = [cast(immutable)2]; s = s.dup; static assert(is(typeof(s.dup) == shared(void)[])); m = i.dup; i = m.dup; i = i.idup; i = m.idup; i = s.idup; i = s.dup; static assert(!__traits(compiles, m = s.dup)); } @safe unittest { // Bugzilla 13809 static struct S { this(this) {} ~this() {} } S[] arr; auto a = arr.dup; } @system unittest { // Bugzilla 16504 static struct S { __gshared int* gp; int* p; // postblit and hence .dup could escape this(this) { gp = p; } } int p; scope S[1] arr = [S(&p)]; auto a = arr.dup; // dup does escape } // compiler frontend lowers struct array postblitting to this void __ArrayPostblit(T)(T[] a) { foreach (ref T e; a) e.__xpostblit(); } // compiler frontend lowers dynamic array deconstruction to this void __ArrayDtor(T)(T[] a) { foreach_reverse (ref T e; a) e.__xdtor(); } // Allows customized assert error messages string _d_assert_fail(string comp, A, B)(A a, B b) @nogc @safe nothrow pure { import core.internal.dassert : invertCompToken, miniFormatFakeAttributes, pureAlloc; /* The program will be terminated after the assertion error message has been printed and its not considered part of the "main" program. Also, catching an AssertError is Undefined Behavior Hence, we can fake purity and @nogc-ness here. */ auto valA = miniFormatFakeAttributes(a); auto valB = miniFormatFakeAttributes(b); enum token = invertCompToken(comp); const totalLen = valA.length + token.length + valB.length + 2; char[] buffer = cast(char[]) pureAlloc(totalLen)[0 .. totalLen]; // @nogc-concat of "<valA> <comp> <valB>" auto n = valA.length; buffer[0 .. n] = valA; buffer[n++] = ' '; buffer[n .. n + token.length] = token; n += token.length; buffer[n++] = ' '; buffer[n .. n + valB.length] = valB; return (() @trusted => cast(string) buffer)(); }
D
in a surreptitious manner
D
/* ** Copyright (C) 1999-2011Erik de Castro Lopo <erikd@mega-nerd.com> ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU Lesser General Public License as published by ** the Free Software Foundation; either version 2.1 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU Lesser General Public License for more details. ** ** You should have received a copy of the GNU Lesser General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* ** sndfile.h -- system-wide definitions ** ** API documentation is in the doc/ directory of the source code tarball ** and at http://www.mega-nerd.com/libsndfile/api.html. */ module deimos.libsndfile.d.sndfile; extern(C): /* This is the version 1.0.X header file. */ enum SNDFILE_1 = true; /* The following file types can be read and written. ** A file type would consist of a major type (ie SF_FORMAT_WAV) bitwise ** ORed with a minor type (ie SF_FORMAT_PCM). SF_FORMAT_TYPEMASK and ** SF_FORMAT_SUBMASK can be used to separate the major and minor file ** types. */ enum { /* Major formats. */ SF_FORMAT_WAV = 0x010000, /* Microsoft WAV format (little endian default). */ SF_FORMAT_AIFF = 0x020000, /* Apple/SGI AIFF format (big endian). */ SF_FORMAT_AU = 0x030000, /* Sun/NeXT AU format (big endian). */ SF_FORMAT_RAW = 0x040000, /* RAW PCM data. */ SF_FORMAT_PAF = 0x050000, /* Ensoniq PARIS file format. */ SF_FORMAT_SVX = 0x060000, /* Amiga IFF / SVX8 / SV16 format. */ SF_FORMAT_NIST = 0x070000, /* Sphere NIST format. */ SF_FORMAT_VOC = 0x080000, /* VOC files. */ SF_FORMAT_IRCAM = 0x0A0000, /* Berkeley/IRCAM/CARL */ SF_FORMAT_W64 = 0x0B0000, /* Sonic Foundry's 64 bit RIFF/WAV */ SF_FORMAT_MAT4 = 0x0C0000, /* Matlab (tm) V4.2 / GNU Octave 2.0 */ SF_FORMAT_MAT5 = 0x0D0000, /* Matlab (tm) V5.0 / GNU Octave 2.1 */ SF_FORMAT_PVF = 0x0E0000, /* Portable Voice Format */ SF_FORMAT_XI = 0x0F0000, /* Fasttracker 2 Extended Instrument */ SF_FORMAT_HTK = 0x100000, /* HMM Tool Kit format */ SF_FORMAT_SDS = 0x110000, /* Midi Sample Dump Standard */ SF_FORMAT_AVR = 0x120000, /* Audio Visual Research */ SF_FORMAT_WAVEX = 0x130000, /* MS WAVE with WAVEFORMATEX */ SF_FORMAT_SD2 = 0x160000, /* Sound Designer 2 */ SF_FORMAT_FLAC = 0x170000, /* FLAC lossless file format */ SF_FORMAT_CAF = 0x180000, /* Core Audio File format */ SF_FORMAT_WVE = 0x190000, /* Psion WVE format */ SF_FORMAT_OGG = 0x200000, /* Xiph OGG container */ SF_FORMAT_MPC2K = 0x210000, /* Akai MPC 2000 sampler */ SF_FORMAT_RF64 = 0x220000, /* RF64 WAV file */ /* Subtypes from here on. */ SF_FORMAT_PCM_S8 = 0x0001, /* Signed 8 bit data */ SF_FORMAT_PCM_16 = 0x0002, /* Signed 16 bit data */ SF_FORMAT_PCM_24 = 0x0003, /* Signed 24 bit data */ SF_FORMAT_PCM_32 = 0x0004, /* Signed 32 bit data */ SF_FORMAT_PCM_U8 = 0x0005, /* Unsigned 8 bit data (WAV and RAW only) */ SF_FORMAT_FLOAT = 0x0006, /* 32 bit float data */ SF_FORMAT_DOUBLE = 0x0007, /* 64 bit float data */ SF_FORMAT_ULAW = 0x0010, /* U-Law encoded. */ SF_FORMAT_ALAW = 0x0011, /* A-Law encoded. */ SF_FORMAT_IMA_ADPCM = 0x0012, /* IMA ADPCM. */ SF_FORMAT_MS_ADPCM = 0x0013, /* Microsoft ADPCM. */ SF_FORMAT_GSM610 = 0x0020, /* GSM 6.10 encoding. */ SF_FORMAT_VOX_ADPCM = 0x0021, /* OKI / Dialogix ADPCM */ SF_FORMAT_G721_32 = 0x0030, /* 32kbs G721 ADPCM encoding. */ SF_FORMAT_G723_24 = 0x0031, /* 24kbs G723 ADPCM encoding. */ SF_FORMAT_G723_40 = 0x0032, /* 40kbs G723 ADPCM encoding. */ SF_FORMAT_DWVW_12 = 0x0040, /* 12 bit Delta Width Variable Word encoding. */ SF_FORMAT_DWVW_16 = 0x0041, /* 16 bit Delta Width Variable Word encoding. */ SF_FORMAT_DWVW_24 = 0x0042, /* 24 bit Delta Width Variable Word encoding. */ SF_FORMAT_DWVW_N = 0x0043, /* N bit Delta Width Variable Word encoding. */ SF_FORMAT_DPCM_8 = 0x0050, /* 8 bit differential PCM (XI only) */ SF_FORMAT_DPCM_16 = 0x0051, /* 16 bit differential PCM (XI only) */ SF_FORMAT_VORBIS = 0x0060, /* Xiph Vorbis encoding. */ /* Endian-ness options. */ SF_ENDIAN_FILE = 0x00000000, /* Default file endian-ness. */ SF_ENDIAN_LITTLE = 0x10000000, /* Force little endian-ness. */ SF_ENDIAN_BIG = 0x20000000, /* Force big endian-ness. */ SF_ENDIAN_CPU = 0x30000000, /* Force CPU endian-ness. */ SF_FORMAT_SUBMASK = 0x0000FFFF, SF_FORMAT_TYPEMASK = 0x0FFF0000, SF_FORMAT_ENDMASK = 0x30000000 } ; /* ** The following are the valid command numbers for the sf_command() ** interface. The use of these commands is documented in the file ** command.html in the doc directory of the source code distribution. */ enum { SFC_GET_LIB_VERSION = 0x1000, SFC_GET_LOG_INFO = 0x1001, SFC_GET_CURRENT_SF_INFO = 0x1002, SFC_GET_NORM_DOUBLE = 0x1010, SFC_GET_NORM_FLOAT = 0x1011, SFC_SET_NORM_DOUBLE = 0x1012, SFC_SET_NORM_FLOAT = 0x1013, SFC_SET_SCALE_FLOAT_INT_READ = 0x1014, SFC_SET_SCALE_INT_FLOAT_WRITE = 0x1015, SFC_GET_SIMPLE_FORMAT_COUNT = 0x1020, SFC_GET_SIMPLE_FORMAT = 0x1021, SFC_GET_FORMAT_INFO = 0x1028, SFC_GET_FORMAT_MAJOR_COUNT = 0x1030, SFC_GET_FORMAT_MAJOR = 0x1031, SFC_GET_FORMAT_SUBTYPE_COUNT = 0x1032, SFC_GET_FORMAT_SUBTYPE = 0x1033, SFC_CALC_SIGNAL_MAX = 0x1040, SFC_CALC_NORM_SIGNAL_MAX = 0x1041, SFC_CALC_MAX_ALL_CHANNELS = 0x1042, SFC_CALC_NORM_MAX_ALL_CHANNELS = 0x1043, SFC_GET_SIGNAL_MAX = 0x1044, SFC_GET_MAX_ALL_CHANNELS = 0x1045, SFC_SET_ADD_PEAK_CHUNK = 0x1050, SFC_SET_ADD_HEADER_PAD_CHUNK = 0x1051, SFC_UPDATE_HEADER_NOW = 0x1060, SFC_SET_UPDATE_HEADER_AUTO = 0x1061, SFC_FILE_TRUNCATE = 0x1080, SFC_SET_RAW_START_OFFSET = 0x1090, SFC_SET_DITHER_ON_WRITE = 0x10A0, SFC_SET_DITHER_ON_READ = 0x10A1, SFC_GET_DITHER_INFO_COUNT = 0x10A2, SFC_GET_DITHER_INFO = 0x10A3, SFC_GET_EMBED_FILE_INFO = 0x10B0, SFC_SET_CLIPPING = 0x10C0, SFC_GET_CLIPPING = 0x10C1, SFC_GET_INSTRUMENT = 0x10D0, SFC_SET_INSTRUMENT = 0x10D1, SFC_GET_LOOP_INFO = 0x10E0, SFC_GET_BROADCAST_INFO = 0x10F0, SFC_SET_BROADCAST_INFO = 0x10F1, SFC_GET_CHANNEL_MAP_INFO = 0x1100, SFC_SET_CHANNEL_MAP_INFO = 0x1101, SFC_RAW_DATA_NEEDS_ENDSWAP = 0x1110, /* Support for Wavex Ambisonics Format */ SFC_WAVEX_SET_AMBISONIC = 0x1200, SFC_WAVEX_GET_AMBISONIC = 0x1201, SFC_SET_VBR_ENCODING_QUALITY = 0x1300, /* Following commands for testing only. */ SFC_TEST_IEEE_FLOAT_REPLACE = 0x6001, /* ** SFC_SET_ADD_* values are deprecated and will disappear at some ** time in the future. They are guaranteed to be here up to and ** including version 1.0.8 to avoid breakage of existng software. ** They currently do nothing and will continue to do nothing. */ SFC_SET_ADD_DITHER_ON_WRITE = 0x1070, SFC_SET_ADD_DITHER_ON_READ = 0x1071 } ; /* ** String types that can be set and read from files. Not all file types ** support this and even the file types which support one, may not support ** all string types. */ enum { SF_STR_TITLE = 0x01, SF_STR_COPYRIGHT = 0x02, SF_STR_SOFTWARE = 0x03, SF_STR_ARTIST = 0x04, SF_STR_COMMENT = 0x05, SF_STR_DATE = 0x06, SF_STR_ALBUM = 0x07, SF_STR_LICENSE = 0x08, SF_STR_TRACKNUMBER = 0x09, SF_STR_GENRE = 0x10 } ; /* ** Use the following as the start and end index when doing metadata ** transcoding. */ alias SF_STR_TITLE SF_STR_FIRST; alias SF_STR_GENRE SF_STR_LAST; enum { /* True and false */ SF_FALSE = 0, SF_TRUE = 1, /* Modes for opening files. */ SFM_READ = 0x10, SFM_WRITE = 0x20, SFM_RDWR = 0x30, SF_AMBISONIC_NONE = 0x40, SF_AMBISONIC_B_FORMAT = 0x41 } ; /* Public error values. These are guaranteed to remain unchanged for the duration ** of the library major version number. ** There are also a large number of private error numbers which are internal to ** the library which can change at any time. */ enum { SF_ERR_NO_ERROR = 0, SF_ERR_UNRECOGNISED_FORMAT = 1, SF_ERR_SYSTEM = 2, SF_ERR_MALFORMED_FILE = 3, SF_ERR_UNSUPPORTED_ENCODING = 4 } ; /* Channel map values (used with SFC_SET/GET_CHANNEL_MAP). */ enum { SF_CHANNEL_MAP_INVALID = 0, SF_CHANNEL_MAP_MONO = 1, SF_CHANNEL_MAP_LEFT, /* Apple calls this 'Left' */ SF_CHANNEL_MAP_RIGHT, /* Apple calls this 'Right' */ SF_CHANNEL_MAP_CENTER, /* Apple calls this 'Center' */ SF_CHANNEL_MAP_FRONT_LEFT, SF_CHANNEL_MAP_FRONT_RIGHT, SF_CHANNEL_MAP_FRONT_CENTER, SF_CHANNEL_MAP_REAR_CENTER, /* Apple calls this 'Center Surround', Msft calls this 'Back Center' */ SF_CHANNEL_MAP_REAR_LEFT, /* Apple calls this 'Left Surround', Msft calls this 'Back Left' */ SF_CHANNEL_MAP_REAR_RIGHT, /* Apple calls this 'Right Surround', Msft calls this 'Back Right' */ SF_CHANNEL_MAP_LFE, /* Apple calls this 'LFEScreen', Msft calls this 'Low Frequency' */ SF_CHANNEL_MAP_FRONT_LEFT_OF_CENTER, /* Apple calls this 'Left Center' */ SF_CHANNEL_MAP_FRONT_RIGHT_OF_CENTER, /* Apple calls this 'Right Center */ SF_CHANNEL_MAP_SIDE_LEFT, /* Apple calls this 'Left Surround Direct' */ SF_CHANNEL_MAP_SIDE_RIGHT, /* Apple calls this 'Right Surround Direct' */ SF_CHANNEL_MAP_TOP_CENTER, /* Apple calls this 'Top Center Surround' */ SF_CHANNEL_MAP_TOP_FRONT_LEFT, /* Apple calls this 'Vertical Height Left' */ SF_CHANNEL_MAP_TOP_FRONT_RIGHT, /* Apple calls this 'Vertical Height Right' */ SF_CHANNEL_MAP_TOP_FRONT_CENTER, /* Apple calls this 'Vertical Height Center' */ SF_CHANNEL_MAP_TOP_REAR_LEFT, /* Apple and MS call this 'Top Back Left' */ SF_CHANNEL_MAP_TOP_REAR_RIGHT, /* Apple and MS call this 'Top Back Right' */ SF_CHANNEL_MAP_TOP_REAR_CENTER, /* Apple and MS call this 'Top Back Center' */ SF_CHANNEL_MAP_AMBISONIC_B_W, SF_CHANNEL_MAP_AMBISONIC_B_X, SF_CHANNEL_MAP_AMBISONIC_B_Y, SF_CHANNEL_MAP_AMBISONIC_B_Z, SF_CHANNEL_MAP_MAX } ; /* A SNDFILE* pointer can be passed around much like stdio.h's FILE* pointer. */ struct SNDFILE_tag; alias SNDFILE_tag* SNDFILE; /* The following typedef is system specific and is defined when libsndfile is ** compiled. sf_count_t will be a 64 bit value when the underlying OS allows ** 64 bit file offsets. ** On windows, we need to allow the same header file to be compiler by both GCC ** and the Microsoft compiler. */ alias long sf_count_t; enum SF_COUNT_MAX = sf_count_t.max; /* A pointer to a SF_INFO structure is passed to sf_open () and filled in. ** On write, the SF_INFO structure is filled in by the user and passed into ** sf_open (). */ struct SF_INFO { sf_count_t frames ; /* Used to be called samples. Changed to avoid confusion. */ int samplerate ; int channels ; int format ; int sections ; int seekable ; } ; /* The SF_FORMAT_INFO struct is used to retrieve information about the sound ** file formats libsndfile supports using the sf_command () interface. ** ** Using this interface will allow applications to support new file formats ** and encoding types when libsndfile is upgraded, without requiring ** re-compilation of the application. ** ** Please consult the libsndfile documentation (particularly the information ** on the sf_command () interface) for examples of its use. */ struct SF_FORMAT_INFO { int format ; const char *name ; const char *extension ; } ; /* ** Enums and typedefs for adding dither on read and write. ** See the html documentation for sf_command(), SFC_SET_DITHER_ON_WRITE ** and SFC_SET_DITHER_ON_READ. */ enum { SFD_DEFAULT_LEVEL = 0, SFD_CUSTOM_LEVEL = 0x40000000, SFD_NO_DITHER = 500, SFD_WHITE = 501, SFD_TRIANGULAR_PDF = 502 } ; struct SF_DITHER_INFO { int type ; double level ; const char *name ; } ; /* Struct used to retrieve information about a file embedded within a ** larger file. See SFC_GET_EMBED_FILE_INFO. */ struct SF_EMBED_FILE_INFO { sf_count_t offset ; sf_count_t length ; } ; /* ** Structs used to retrieve music sample information from a file. */ enum { /* ** The loop mode field in SF_INSTRUMENT will be one of the following. */ SF_LOOP_NONE = 800, SF_LOOP_FORWARD, SF_LOOP_BACKWARD, SF_LOOP_ALTERNATING } ; struct SF_INSTRUMENT { int gain ; char basenote, detune ; char velocity_lo, velocity_hi ; char key_lo, key_hi ; int loop_count ; struct loop_ { int mode ; uint start ; uint end ; uint count ; } ; /* make variable in a sensible way */ loop_[16] loops; } ; /* Struct used to retrieve loop information from a file.*/ struct SF_LOOP_INFO { short time_sig_num ; /* any positive integer > 0 */ short time_sig_den ; /* any positive power of 2 > 0 */ int loop_mode ; /* see SF_LOOP enum */ int num_beats ; /* this is NOT the amount of quarter notes !!!*/ /* a full bar of 4/4 is 4 beats */ /* a full bar of 7/8 is 7 beats */ float bpm ; /* suggestion, as it can be calculated using other fields:*/ /* file's lenght, file's sampleRate and our time_sig_den*/ /* -> bpms are always the amount of _quarter notes_ per minute */ int root_key ; /* MIDI note, or -1 for None */ int future [6] ; } ; /* Struct used to retrieve broadcast (EBU) information from a file. ** Strongly (!) based on EBU "bext" chunk format used in Broadcast WAVE. */ struct SF_BROADCAST_INFO_VAR(size_t coding_hist_size) { char description [256] ; char originator [32] ; char originator_reference [32] ; char origination_date [10] ; char origination_time [8] ; uint time_reference_low ; uint time_reference_high ; short version_ ; char umid [64] ; char reserved [190] ; uint coding_history_size; char coding_history [coding_hist_size] ; } /* SF_BROADCAST_INFO is the above struct with coding_history field of 256 bytes. */ alias SF_BROADCAST_INFO_VAR!(256) SF_BROADCAST_INFO ; /* Virtual I/O functionality. */ alias sf_count_t function(void *user_data) sf_vio_get_filelen; alias sf_count_t function(sf_count_t offset, int whence, void *user_data) sf_vio_seek; alias sf_count_t function(void *ptr, sf_count_t count, void *user_data) sf_vio_read; alias sf_count_t function(const void *ptr, sf_count_t count, void *user_data) sf_vio_write; alias sf_count_t function(void *user_data) sf_vio_tell; struct SF_VIRTUAL_IO { sf_vio_get_filelen get_filelen ; sf_vio_seek seek ; sf_vio_read read ; sf_vio_write write ; sf_vio_tell tell ; } ; /* Open the specified file for read, write or both. On error, this will ** return a NULL pointer. To find the error number, pass a NULL SNDFILE ** to sf_strerror (). ** All calls to sf_open() should be matched with a call to sf_close(). */ SNDFILE* sf_open (const char *path, int mode, SF_INFO *sfinfo) ; /* Use the existing file descriptor to create a SNDFILE object. If close_desc ** is TRUE, the file descriptor will be closed when sf_close() is called. If ** it is FALSE, the descritor will not be closed. ** When passed a descriptor like this, the library will assume that the start ** of file header is at the current file offset. This allows sound files within ** larger container files to be read and/or written. ** On error, this will return a NULL pointer. To find the error number, pass a ** NULL SNDFILE to sf_strerror (). ** All calls to sf_open_fd() should be matched with a call to sf_close(). */ SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) ; SNDFILE* sf_open_virtual (SF_VIRTUAL_IO *sfvirtual, int mode, SF_INFO *sfinfo, void *user_data) ; /* sf_error () returns a error number which can be translated to a text ** string using sf_error_number(). */ int sf_error (SNDFILE *sndfile) ; /* sf_strerror () returns to the caller a pointer to the current error message for ** the given SNDFILE. */ const(char)* sf_strerror (SNDFILE *sndfile) ; /* sf_error_number () allows the retrieval of the error string for each internal ** error number. ** */ const(char)* sf_error_number (int errnum) ; /* The following two error functions are deprecated but they will remain in the ** library for the forseeable future. The function sf_strerror() should be used ** in their place. */ int sf_perror (SNDFILE *sndfile) ; int sf_error_str (SNDFILE *sndfile, char* str, size_t len) ; /* Return TRUE if fields of the SF_INFO struct are a valid combination of values. */ int sf_command (SNDFILE *sndfile, int command, void *data, int datasize) ; /* Return TRUE if fields of the SF_INFO struct are a valid combination of values. */ int sf_format_check (const SF_INFO *info) ; /* Seek within the waveform data chunk of the SNDFILE. sf_seek () uses ** the same values for whence (SEEK_SET, SEEK_CUR and SEEK_END) as ** stdio.h function fseek (). ** An offset of zero with whence set to SEEK_SET will position the ** read / write pointer to the first data sample. ** On success sf_seek returns the current position in (multi-channel) ** samples from the start of the file. ** Please see the libsndfile documentation for moving the read pointer ** separately from the write pointer on files open in mode SFM_RDWR. ** On error all of these functions return -1. */ sf_count_t sf_seek (SNDFILE *sndfile, sf_count_t frames, int whence) ; /* Functions for retrieving and setting string data within sound files. ** Not all file types support this features; AIFF and WAV do. For both ** functions, the str_type parameter must be one of the SF_STR_* values ** defined above. ** On error, sf_set_string() returns non-zero while sf_get_string() ** returns NULL. */ int sf_set_string (SNDFILE *sndfile, int str_type, const char* str) ; const(char)* sf_get_string (SNDFILE *sndfile, int str_type) ; /* Return the library version string. */ const(char)* sf_version_string () ; /* Functions for reading/writing the waveform data of a sound file. */ sf_count_t sf_read_raw (SNDFILE *sndfile, void *ptr, sf_count_t bytes) ; sf_count_t sf_write_raw (SNDFILE *sndfile, const void *ptr, sf_count_t bytes) ; /* Functions for reading and writing the data chunk in terms of frames. ** The number of items actually read/written = frames * number of channels. ** sf_xxxx_raw read/writes the raw data bytes from/to the file ** sf_xxxx_short passes data in the native short format ** sf_xxxx_int passes data in the native int format ** sf_xxxx_float passes data in the native float format ** sf_xxxx_double passes data in the native double format ** All of these read/write function return number of frames read/written. */ sf_count_t sf_readf_short (SNDFILE *sndfile, short *ptr, sf_count_t frames) ; sf_count_t sf_writef_short (SNDFILE *sndfile, const short *ptr, sf_count_t frames) ; sf_count_t sf_readf_int (SNDFILE *sndfile, int *ptr, sf_count_t frames) ; sf_count_t sf_writef_int (SNDFILE *sndfile, const int *ptr, sf_count_t frames) ; sf_count_t sf_readf_float (SNDFILE *sndfile, float *ptr, sf_count_t frames) ; sf_count_t sf_writef_float (SNDFILE *sndfile, const float *ptr, sf_count_t frames) ; sf_count_t sf_readf_double (SNDFILE *sndfile, double *ptr, sf_count_t frames) ; sf_count_t sf_writef_double (SNDFILE *sndfile, const double *ptr, sf_count_t frames) ; /* Functions for reading and writing the data chunk in terms of items. ** Otherwise similar to above. ** All of these read/write function return number of items read/written. */ sf_count_t sf_read_short (SNDFILE *sndfile, short *ptr, sf_count_t items) ; sf_count_t sf_write_short (SNDFILE *sndfile, const short *ptr, sf_count_t items) ; sf_count_t sf_read_int (SNDFILE *sndfile, int *ptr, sf_count_t items) ; sf_count_t sf_write_int (SNDFILE *sndfile, const int *ptr, sf_count_t items) ; sf_count_t sf_read_float (SNDFILE *sndfile, float *ptr, sf_count_t items) ; sf_count_t sf_write_float (SNDFILE *sndfile, const float *ptr, sf_count_t items) ; sf_count_t sf_read_double (SNDFILE *sndfile, double *ptr, sf_count_t items) ; sf_count_t sf_write_double (SNDFILE *sndfile, const double *ptr, sf_count_t items) ; /* Close the SNDFILE and clean up all memory allocations associated with this ** file. ** Returns 0 on success, or an error number. */ int sf_close (SNDFILE *sndfile) ; /* If the file is opened SFM_WRITE or SFM_RDWR, call fsync() on the file ** to force the writing of data to disk. If the file is opened SFM_READ ** no action is taken. */ void sf_write_sync (SNDFILE *sndfile) ; /* The function sf_wchar_open() is Windows Only! ** Open a file passing in a Windows Unicode filename. Otherwise, this is ** the same as sf_open(). ** ** In order for this to work, you need to do the following: ** ** #include <windows.h> ** #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 ** #including <sndfile.h> */ version (Windows) { SNDFILE* sf_wchar_open (wchar* wpath, int mode, SF_INFO *sfinfo) ; }
D
/******************************************************************************** * masm.d: main file for mips assembler/disassembler * * 2016 - Ben Perlin * *******************************************************************************/ import std.algorithm: sort; import std.array; import std.exception; import std.format; import std.getopt; import std.process; import std.stdio; import terminal; // from Adam Druppe's github import mips; int main(string[] args) { string startAddress = "0x0040_0000"; string traceFilename; string inputFilename; /* use stdin if empty */ auto helpInformation = getopt(args, std.getopt.config.passThrough, "start|s", &startAddress, "output-file|o", &traceFilename); if (helpInformation.helpWanted) { defaultGetoptPrinter("Usage msim [filename]", helpInformation.options); return 0; } if (args.length == 2) {inputFilename = args[1];} else if (args.length > 2) { stderr.writeln("Usage msim [filename]"); return 1; } // if using file output for trace file File traceFile = stdout; if (traceFilename != "") { try { traceFile = File(traceFilename, "w"); } catch (Throwable o) { stderr.writeln("Failed to open file: ", traceFilename); return 1; } } auto mips = new MIPS(); try { assembleAndLoad(mips, inputFilename, startAddress); } catch (Exception except) { stderr.writeln("Error in assembler: ", except.msg); return 1; } mips.simulate(); mips.showMemDump(); return 0; } void assembleAndLoad(MIPS mips, string inputFile, string startAddress) { auto assemblerOutput = pipe(); string[] args = ["./masm", "-s", startAddress]; if (inputFile != "") args ~= inputFile; // otherwise use stdin auto apid = spawnProcess(args, stdin, assemblerOutput.writeEnd); scope(failure) wait(apid); uint address, binaryContents, hexContents; bool started = false; foreach (line; assemblerOutput.readEnd.byLine) { auto n = line.formattedRead("[0x%x] %b 0x%x", &address, &binaryContents, &hexContents); enforce(n == 3, "Expected three terms"); enforce(binaryContents == hexContents, format("address [0x%08X]:" " binary and hex instructions do not match", address)); enforce(!(address&3), format("address not word aligned, [0x%08X]", address)); if (!started) { mips.PC = address; started = true; } mips.memory.store[address] = hexContents; } mips.exitPoint = address + 4; enforce (wait(apid) == 0); } /// quick and dirty printing utility /// designed to function like an extension method (using UFCS) void simulate(MIPS mips) { auto terminal = Terminal(ConsoleOutputType.cellular); auto input = RealTimeConsoleInput(&terminal, ConsoleInputFlags.raw); with (terminal) with (mips) while (!mips.finished) { mips.step(); // skip start state terminal.clear(); writefln("Time: %d\t Control-State: %s", time, control.state); writefln("PC: %s\tIR: %s\tMDR: %s\tA: %s\tB: %s\tALUout: %s", PC, IR, MDR, A, B, ALUout); writefln("Opcode: %s,\trs: $%d, \trt: $%d, \trd: $%d, \t shamt %d,\t funct: %s", cast(Opcode) opcode, rs, rt, rd, shamt, cast(Funct) funct); writefln("immediate: 0x%08X, address 0x%7X", immediate, address); writeln("\nControl-Signals:"); writefln(" PCWrite: %b, PCWriteCond: %b, PCWriteCondNEQ: %b, PCsource: %d", control.PCWrite, control.PCWriteCond, control.PCWriteCondNEQ, control.PCsource); writefln(" IorD: %b, MemRead: %b, MemWrite %b, MemToReg: %b", control.IorD, control.MemRead, control.MemWrite, control.MemToReg); writefln(" RegDest: %d, RegWrite: %b", control.RegDest, control.RegWrite); writefln(" ALUsrcA: %b, ALUsrcB: %d, ALUmasterOp: %s", control.ALUsrcA, control.ALUsrcB, control.ALUmasterOp); writefln("\nALU: aluOp: %s,\talu: 0x%08x, zero: %b", aluControl, alu, zero); writeln("\nRegister-File:"); foreach (i; 0..8) { enum fmt = " $%-2d: 0x%08X".replicate(4); with (regFile) writefln(fmt, i, registers[i], i+8, registers[i+8], i+16, registers[i+16], i+24, registers[i+24]); } writeln("\nMemory Changes: ", memory.dirty ? format("[0x%08X] 0x%08X", memory.dirtyAddress, memory.dirtyData) : ""); auto ch = input.getch(); // wait for input if (ch == 'q') break; } } void showMemDump(MIPS mips) { auto less = pipeProcess(["/usr/bin/less"], Redirect.stdin); less.stdin.writeln("Register-File:"); foreach (i; 0..8) { enum fmt = " $%-2d: 0x%08X".replicate(4); with (mips.regFile) less.stdin.writefln(fmt, i, registers[i], i+8, registers[i+8], i+16, registers[i+16], i+24, registers[i+24]); } less.stdin.writeln("\nMemory Dump\n[ address ]\tcontents"); foreach (pair; mips.memory.store.byKeyValue.array.sort!((a,b)=>(a.key < b.key))) { less.stdin.writefln("[0x%08X]\t0x%08X", pair.key, pair.value); } less.stdin.close(); wait(less.pid); }
D
/Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/Build/Intermediates/BasedLearningDemo.build/Debug-iphoneos/BasedLearningDemo.build/Objects-normal/arm64/ViewController.o : /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengTextViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengButtonViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengTextFieldViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengActionSheetViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengMKMapViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengImageViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengCollectionViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/ViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengAlertViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengLabelViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengTableViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengScrollViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreLocation.swiftmodule /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/Build/Intermediates/BasedLearningDemo.build/Debug-iphoneos/BasedLearningDemo.build/Objects-normal/arm64/ViewController~partial.swiftmodule : /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengTextViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengButtonViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengTextFieldViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengActionSheetViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengMKMapViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengImageViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengCollectionViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/ViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengAlertViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengLabelViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengTableViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengScrollViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreLocation.swiftmodule /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/Build/Intermediates/BasedLearningDemo.build/Debug-iphoneos/BasedLearningDemo.build/Objects-normal/arm64/ViewController~partial.swiftdoc : /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengTextViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengButtonViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengTextFieldViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengActionSheetViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengMKMapViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengImageViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengCollectionViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/ViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengAlertViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengLabelViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengTableViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/FengScrollViewViewController.swift /Users/fengshaohui/Desktop/swift/iOS/BasedLearningDemo/BasedLearningDemo/AppDelegate.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreLocation.swiftmodule
D
//Generated by Cap'n Proto compiler, DO NOT EDIT. //source: eval.capnp module capnproto.benchmark.evalschema; import capnproto; enum Operation : ushort { add, subtract, multiply, divide, modulus, _NOT_IN_SCHEMA, } struct Expression { public: static immutable structSize = cast(immutable)StructSize(2, 2); static struct Builder { public: this(SegmentBuilder* segment, int data, int pointers, int dataSize, short pointerCount) { b = StructBuilder(segment, data, pointers, dataSize, pointerCount); } auto asReader() { return b.asReader!Reader(); } .Operation getOp() { switch(b._getUshortField(0)) { case 0: return .Operation.add; case 1: return .Operation.subtract; case 2: return .Operation.multiply; case 3: return .Operation.divide; case 4: return .Operation.modulus; default: return .Operation._NOT_IN_SCHEMA; } } void setOp(.Operation value) { b._setShortField(0, cast(ushort)value); } Left.Builder getLeft() { return Expression.Left.Builder(b.segment, b.data, b.pointers, b.dataSize, b.pointerCount); } Left.Builder initLeft() { b._setUshortField(1, cast(ushort)0); b._setIntField(1, 0); b._clearPointerField(0); return Expression.Left.Builder(b.segment, b.data, b.pointers, b.dataSize, b.pointerCount); } Right.Builder getRight() { return Expression.Right.Builder(b.segment, b.data, b.pointers, b.dataSize, b.pointerCount); } Right.Builder initRight() { b._setIntField(2, 0); b._setUshortField(6, cast(ushort)0); b._clearPointerField(1); return Expression.Right.Builder(b.segment, b.data, b.pointers, b.dataSize, b.pointerCount); } public: StructBuilder b; } static struct Reader { public: this(SegmentReader* segment, int data, int pointers, int dataSize, short pointerCount, int nestingLimit) { b = StructReader(segment, data, pointers, dataSize, pointerCount, nestingLimit); } .Operation getOp() { switch(b._getUshortField(0)) { case 0: return .Operation.add; case 1: return .Operation.subtract; case 2: return .Operation.multiply; case 3: return .Operation.divide; case 4: return .Operation.modulus; default: return .Operation._NOT_IN_SCHEMA; } } Left.Reader getLeft() { return Expression.Left.Reader(b.segment, b.data, b.pointers, b.dataSize, b.pointerCount, b.nestingLimit); } Right.Reader getRight() { return Expression.Right.Reader(b.segment, b.data, b.pointers, b.dataSize, b.pointerCount, b.nestingLimit); } public: StructReader b; } struct Left { public: static immutable structSize = cast(immutable)StructSize(2, 2); static struct Builder { public: this(SegmentBuilder* segment, int data, int pointers, int dataSize, short pointerCount) { b = StructBuilder(segment, data, pointers, dataSize, pointerCount); } Which which() { switch(b._getUshortField(1)) { case 0: return Which.value; case 1: return Which.expression; default: return Which._NOT_IN_SCHEMA; } } auto asReader() { return b.asReader!Reader(); } bool isValue() { return which() == Expression.Left.Which.value; } int getValue() { assert(which() == Expression.Left.Which.value, "Must check which() before get()ing a union member."); return b._getIntField(1); } void setValue(int value) { b._setShortField(1, cast(ushort)Expression.Left.Which.value); b._setIntField(1, value); } bool isExpression() { return which() == Expression.Left.Which.expression; } .Expression.Builder getExpression() { assert(which() == Expression.Left.Which.expression, "Must check which() before get()ing a union member."); return b._getPointerField!(.Expression)(0, null, 0); } void setExpression(.Expression.Reader value) { b._setShortField(1, cast(ushort)Expression.Left.Which.expression); b._setPointerField!(.Expression)(0, value); } .Expression.Builder initExpression() { b._setShortField(1, cast(ushort)Expression.Left.Which.expression); return b._initPointerField!(.Expression)(0, 0); } public: StructBuilder b; } static struct Reader { public: this(SegmentReader* segment, int data, int pointers, int dataSize, short pointerCount, int nestingLimit) { b = StructReader(segment, data, pointers, dataSize, pointerCount, nestingLimit); } Which which() { switch(b._getUshortField(1)) { case 0: return Which.value; case 1: return Which.expression; default: return Which._NOT_IN_SCHEMA; } } bool isValue() { return which() == Expression.Left.Which.value; } int getValue() { assert(which() == Expression.Left.Which.value, "Must check which() before get()ing a union member."); return b._getIntField(1); } bool isExpression() { return which() == Expression.Left.Which.expression; } bool hasExpression() { return !b._pointerFieldIsNull(0); } .Expression.Reader getExpression() { assert(which() == Expression.Left.Which.expression, "Must check which() before get()ing a union member."); return b._getPointerField!(.Expression)(0, null, 0); } public: StructReader b; } enum Which : ushort { value, expression, _NOT_IN_SCHEMA, } } struct Right { public: static immutable structSize = cast(immutable)StructSize(2, 2); static struct Builder { public: this(SegmentBuilder* segment, int data, int pointers, int dataSize, short pointerCount) { b = StructBuilder(segment, data, pointers, dataSize, pointerCount); } Which which() { switch(b._getUshortField(6)) { case 0: return Which.value; case 1: return Which.expression; default: return Which._NOT_IN_SCHEMA; } } auto asReader() { return b.asReader!Reader(); } bool isValue() { return which() == Expression.Right.Which.value; } int getValue() { assert(which() == Expression.Right.Which.value, "Must check which() before get()ing a union member."); return b._getIntField(2); } void setValue(int value) { b._setShortField(6, cast(ushort)Expression.Right.Which.value); b._setIntField(2, value); } bool isExpression() { return which() == Expression.Right.Which.expression; } .Expression.Builder getExpression() { assert(which() == Expression.Right.Which.expression, "Must check which() before get()ing a union member."); return b._getPointerField!(.Expression)(1, null, 0); } void setExpression(.Expression.Reader value) { b._setShortField(6, cast(ushort)Expression.Right.Which.expression); b._setPointerField!(.Expression)(1, value); } .Expression.Builder initExpression() { b._setShortField(6, cast(ushort)Expression.Right.Which.expression); return b._initPointerField!(.Expression)(1, 0); } public: StructBuilder b; } static struct Reader { public: this(SegmentReader* segment, int data, int pointers, int dataSize, short pointerCount, int nestingLimit) { b = StructReader(segment, data, pointers, dataSize, pointerCount, nestingLimit); } Which which() { switch(b._getUshortField(6)) { case 0: return Which.value; case 1: return Which.expression; default: return Which._NOT_IN_SCHEMA; } } bool isValue() { return which() == Expression.Right.Which.value; } int getValue() { assert(which() == Expression.Right.Which.value, "Must check which() before get()ing a union member."); return b._getIntField(2); } bool isExpression() { return which() == Expression.Right.Which.expression; } bool hasExpression() { return !b._pointerFieldIsNull(1); } .Expression.Reader getExpression() { assert(which() == Expression.Right.Which.expression, "Must check which() before get()ing a union member."); return b._getPointerField!(.Expression)(1, null, 0); } public: StructReader b; } enum Which : ushort { value, expression, _NOT_IN_SCHEMA, } } } struct EvaluationResult { public: static immutable structSize = cast(immutable)StructSize(1, 0); static struct Builder { public: this(SegmentBuilder* segment, int data, int pointers, int dataSize, short pointerCount) { b = StructBuilder(segment, data, pointers, dataSize, pointerCount); } auto asReader() { return b.asReader!Reader(); } int getValue() { return b._getIntField(0); } void setValue(int value) { b._setIntField(0, value); } public: StructBuilder b; } static struct Reader { public: this(SegmentReader* segment, int data, int pointers, int dataSize, short pointerCount, int nestingLimit) { b = StructReader(segment, data, pointers, dataSize, pointerCount, nestingLimit); } int getValue() { return b._getIntField(0); } public: StructReader b; } } struct Schemas { public: __gshared static SegmentReader b_acf353ef75773376 = GeneratedClassSupport.decodeRawBytes([ 0x0,0x0,0x0,0x0,0x5,0x0,0x6,0x0, 0x76,0x33,0x77,0x75,0xef,0x53,0xf3,0xac, 0xb,0x0,0x0,0x0,0x2,0x0,0x0,0x0, 0xda,0x9e,0xe,0xe7,0xc3,0xc4,0x2d,0xe1, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x15,0x0,0x0,0x0,0xaa,0x0,0x0,0x0, 0x1d,0x0,0x0,0x0,0x7,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x19,0x0,0x0,0x0,0x7f,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x65,0x76,0x61,0x6c,0x2e,0x63,0x61,0x70, 0x6e,0x70,0x3a,0x4f,0x70,0x65,0x72,0x61, 0x74,0x69,0x6f,0x6e,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x0, 0x14,0x0,0x0,0x0,0x1,0x0,0x2,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x35,0x0,0x0,0x0,0x22,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x2d,0x0,0x0,0x0,0x4a,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x29,0x0,0x0,0x0,0x4a,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x3,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x25,0x0,0x0,0x0,0x3a,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x1d,0x0,0x0,0x0,0x42,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x61,0x64,0x64,0x0,0x0,0x0,0x0,0x0, 0x73,0x75,0x62,0x74,0x72,0x61,0x63,0x74, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x6d,0x75,0x6c,0x74,0x69,0x70,0x6c,0x79, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x64,0x69,0x76,0x69,0x64,0x65,0x0,0x0, 0x6d,0x6f,0x64,0x75,0x6c,0x75,0x73,0x0, ]); __gshared static SegmentReader b_81d32418aae320bf = GeneratedClassSupport.decodeRawBytes([ 0x0,0x0,0x0,0x0,0x5,0x0,0x6,0x0, 0xbf,0x20,0xe3,0xaa,0x18,0x24,0xd3,0x81, 0xb,0x0,0x0,0x0,0x1,0x0,0x2,0x0, 0xda,0x9e,0xe,0xe7,0xc3,0xc4,0x2d,0xe1, 0x2,0x0,0x7,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x15,0x0,0x0,0x0,0xb2,0x0,0x0,0x0, 0x1d,0x0,0x0,0x0,0x7,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x19,0x0,0x0,0x0,0xaf,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x65,0x76,0x61,0x6c,0x2e,0x63,0x61,0x70, 0x6e,0x70,0x3a,0x45,0x78,0x70,0x72,0x65, 0x73,0x73,0x69,0x6f,0x6e,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x0, 0xc,0x0,0x0,0x0,0x3,0x0,0x4,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x45,0x0,0x0,0x0,0x1a,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x40,0x0,0x0,0x0,0x3,0x0,0x1,0x0, 0x4c,0x0,0x0,0x0,0x2,0x0,0x1,0x0, 0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0xec,0x8e,0x22,0xd8,0x33,0xc5,0x66,0x82, 0x49,0x0,0x0,0x0,0x2a,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x6d,0x16,0x87,0x5b,0x16,0x67,0x75,0xec, 0x31,0x0,0x0,0x0,0x32,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x6f,0x70,0x0,0x0,0x0,0x0,0x0,0x0, 0xf,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x76,0x33,0x77,0x75,0xef,0x53,0xf3,0xac, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0xf,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x6c,0x65,0x66,0x74,0x0,0x0,0x0,0x0, 0x72,0x69,0x67,0x68,0x74,0x0,0x0,0x0, ]); __gshared static SegmentReader b_8266c533d8228eec = GeneratedClassSupport.decodeRawBytes([ 0x0,0x0,0x0,0x0,0x5,0x0,0x6,0x0, 0xec,0x8e,0x22,0xd8,0x33,0xc5,0x66,0x82, 0x16,0x0,0x0,0x0,0x1,0x0,0x2,0x0, 0xbf,0x20,0xe3,0xaa,0x18,0x24,0xd3,0x81, 0x2,0x0,0x7,0x0,0x1,0x0,0x2,0x0, 0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x15,0x0,0x0,0x0,0xda,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x19,0x0,0x0,0x0,0x77,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x65,0x76,0x61,0x6c,0x2e,0x63,0x61,0x70, 0x6e,0x70,0x3a,0x45,0x78,0x70,0x72,0x65, 0x73,0x73,0x69,0x6f,0x6e,0x2e,0x6c,0x65, 0x66,0x74,0x0,0x0,0x0,0x0,0x0,0x0, 0x8,0x0,0x0,0x0,0x3,0x0,0x4,0x0, 0x0,0x0,0xff,0xff,0x1,0x0,0x0,0x0, 0x0,0x0,0x1,0x0,0x1,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x29,0x0,0x0,0x0,0x32,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x24,0x0,0x0,0x0,0x3,0x0,0x1,0x0, 0x30,0x0,0x0,0x0,0x2,0x0,0x1,0x0, 0x1,0x0,0xfe,0xff,0x0,0x0,0x0,0x0, 0x0,0x0,0x1,0x0,0x2,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x2d,0x0,0x0,0x0,0x5a,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x2c,0x0,0x0,0x0,0x3,0x0,0x1,0x0, 0x38,0x0,0x0,0x0,0x2,0x0,0x1,0x0, 0x76,0x61,0x6c,0x75,0x65,0x0,0x0,0x0, 0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x65,0x78,0x70,0x72,0x65,0x73,0x73,0x69, 0x6f,0x6e,0x0,0x0,0x0,0x0,0x0,0x0, 0x10,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0xbf,0x20,0xe3,0xaa,0x18,0x24,0xd3,0x81, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x10,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, ]); __gshared static SegmentReader b_ec7567165b87166d = GeneratedClassSupport.decodeRawBytes([ 0x0,0x0,0x0,0x0,0x5,0x0,0x6,0x0, 0x6d,0x16,0x87,0x5b,0x16,0x67,0x75,0xec, 0x16,0x0,0x0,0x0,0x1,0x0,0x2,0x0, 0xbf,0x20,0xe3,0xaa,0x18,0x24,0xd3,0x81, 0x2,0x0,0x7,0x0,0x1,0x0,0x2,0x0, 0x6,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x15,0x0,0x0,0x0,0xe2,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x19,0x0,0x0,0x0,0x77,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x65,0x76,0x61,0x6c,0x2e,0x63,0x61,0x70, 0x6e,0x70,0x3a,0x45,0x78,0x70,0x72,0x65, 0x73,0x73,0x69,0x6f,0x6e,0x2e,0x72,0x69, 0x67,0x68,0x74,0x0,0x0,0x0,0x0,0x0, 0x8,0x0,0x0,0x0,0x3,0x0,0x4,0x0, 0x0,0x0,0xff,0xff,0x2,0x0,0x0,0x0, 0x0,0x0,0x1,0x0,0x3,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x29,0x0,0x0,0x0,0x32,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x24,0x0,0x0,0x0,0x3,0x0,0x1,0x0, 0x30,0x0,0x0,0x0,0x2,0x0,0x1,0x0, 0x1,0x0,0xfe,0xff,0x1,0x0,0x0,0x0, 0x0,0x0,0x1,0x0,0x4,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x2d,0x0,0x0,0x0,0x5a,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x2c,0x0,0x0,0x0,0x3,0x0,0x1,0x0, 0x38,0x0,0x0,0x0,0x2,0x0,0x1,0x0, 0x76,0x61,0x6c,0x75,0x65,0x0,0x0,0x0, 0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x65,0x78,0x70,0x72,0x65,0x73,0x73,0x69, 0x6f,0x6e,0x0,0x0,0x0,0x0,0x0,0x0, 0x10,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0xbf,0x20,0xe3,0xaa,0x18,0x24,0xd3,0x81, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x10,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, ]); __gshared static SegmentReader b_a349c302d856d199 = GeneratedClassSupport.decodeRawBytes([ 0x0,0x0,0x0,0x0,0x5,0x0,0x6,0x0, 0x99,0xd1,0x56,0xd8,0x2,0xc3,0x49,0xa3, 0xb,0x0,0x0,0x0,0x1,0x0,0x1,0x0, 0xda,0x9e,0xe,0xe7,0xc3,0xc4,0x2d,0xe1, 0x0,0x0,0x7,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x15,0x0,0x0,0x0,0xe2,0x0,0x0,0x0, 0x21,0x0,0x0,0x0,0x7,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x1d,0x0,0x0,0x0,0x3f,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x65,0x76,0x61,0x6c,0x2e,0x63,0x61,0x70, 0x6e,0x70,0x3a,0x45,0x76,0x61,0x6c,0x75, 0x61,0x74,0x69,0x6f,0x6e,0x52,0x65,0x73, 0x75,0x6c,0x74,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x0, 0x4,0x0,0x0,0x0,0x3,0x0,0x4,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0xd,0x0,0x0,0x0,0x32,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x8,0x0,0x0,0x0,0x3,0x0,0x1,0x0, 0x14,0x0,0x0,0x0,0x2,0x0,0x1,0x0, 0x76,0x61,0x6c,0x75,0x65,0x0,0x0,0x0, 0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x4,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, ]); }
D
a lightweight handheld collapsible canopy a formation of military planes maintained over ground operations or targets having the function of uniting a group of similar things covering or applying simultaneously to a number of similar items or elements or groups
D
/Users/taharahiroki/secret_account_test/target/debug/deps/rand_chacha-5c31137b7850b4ad.rmeta: /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs /Users/taharahiroki/secret_account_test/target/debug/deps/librand_chacha-5c31137b7850b4ad.rlib: /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs /Users/taharahiroki/secret_account_test/target/debug/deps/rand_chacha-5c31137b7850b4ad.d: /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs: /Users/taharahiroki/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs:
D
a person who is pursuing and trying to overtake or capture a drink to follow immediately after another drink
D
/** ## DC motor model Simple model of brush direct current motor. Model input: $(LIST * $(MATH U_r) - supply voltage, $(I V) * $(MATH T_l) - load torque, $(I N⋅m) ) Model output: $(LIST * $(MATH \omega_r) - rotor speed, $(I rad/S) ) Model parameters: $(LIST * $(MATH R_r) - rotor resistance, $(I Ohm) * $(MATH L_r) - rotor inductance, $(I H) * $(MATH \Psi_s) - stator magnetic flux, $(I Wb) * $(MATH J_r) - rotor inertia, $(I Kg⋅m$(SUPERSCRIPT 2)) ) Model state: $(LIST * $(MATH i_r) - rotor current, $(I A) * $(MATH T_e) - electric torque, $(I N⋅m) * $(MATH \omega_r) - rotor speed, $(I rad/S) * $(MATH E_b) - back EMF, $(I V) ) Basic model equations: $(MATH U_r - E_b = R_r i_r + L_r \frac{d i_r}{d t}) (1) $(MATH T_e - T_l = J_r \frac{d \omega_r}{d t} ) (2) $(MATH T_e = \Psi_s i_r) (3) $(MATH E_b = \Psi_s \omega_r) (4) where: $(LIST * $(MATH U_r) - rotor voltage, $(I V) * $(MATH E_b) - back EMF, $(I V) * $(MATH R_r) - full active resistance of rotor including brushes, $(I Ohm) * $(MATH L_r) - rotor coil inductance, $(I H) * $(MATH i_r) - rotor current, $(I A) * $(MATH T_e) - electrical torque of rotor, $(I N⋅m) * $(MATH T_l) - load torque at shaft, $(I N⋅m) * $(MATH J_r) - inertia of rotor, $(I Kg⋅m$(SUPERSCRIPT 2)) * $(MATH \Psi_s) - nominal magnet flux of stator, $(I Wb) * $(MATH t) - time, $(I S) ) Motor identification: $(MATH \Psi_s = \frac{U_r - R_r i_r}{\omega_r}) ![Simulation example](sim_dcm.svg) */ module uctl.simul.dcm; import std.traits: isInstanceOf, Unqual; import uctl.unit: isTiming, asTiming, sec, hasUnits, as, to, rawTypeOf, rawof, Resistance, Ohm, Inductance, H, MagneticFlux, Wb, InertiaMoment, Kgm2, Torque, Nm, AngularVel, rad_sec, Voltage, V, Current, A; import uctl.num: isNumer, asnum, typeOf; version(unittest) { import uctl.test: assert_eq, unittests; import uctl.unit: usec, mOhm, uH, mWb, gcm2, mNm; import uctl.num: fix, asfix; mixin unittests; } /** Motor parameters Params: dt_ = Sampling time R_ = Rotor resistance type L_ = Rotor inductance type F_ = Stator flux type J_ = Rotor inertia type $(TABLE_ROWS Example motor parameters * + Model + Rr, $(I mOhm) + Lr, $(I uH) + Fs, $(I mWb) + Jr, $(I mg⋅m$(SUPERSCRIPT 2)) * - BaneBots RS-775 18V DC brush motor - 124 - 42 (50?) - 8.5 - 8.7 ) */ struct Param(alias s_, R_, L_, F_, J_) if (isTiming!s_ && hasUnits!(R_, Resistance) && hasUnits!(L_, Inductance) && hasUnits!(F_, MagneticFlux) && hasUnits!(J_, InertiaMoment) && isNumer!(rawTypeOf!R_, rawTypeOf!L_, rawTypeOf!F_, rawTypeOf!J_)) { alias R = Unqual!R_; alias L = Unqual!L_; alias F = Unqual!F_; alias J = Unqual!J_; alias R_Ohm = typeof(R().to!Ohm.raw); alias L_H = typeof(L().to!H.raw); alias F_Wb = typeof(F().to!Wb.raw); alias J_Kgm2 = typeof(J().to!Kgm2.raw); /// Sampling time enum dt_sec = asTiming!(s_, sec, R_Ohm).raw; alias Dt_sec_L_H = typeof(dt_sec / L_H()); alias Dt_sec_J_Kgm2 = typeof(dt_sec / J_Kgm2()); /// Rotor resistance, $(I Ohm) R_Ohm rotor_R_Ohm; /// dt/Lr, $(I S/H) Dt_sec_L_H dt_rotor_L_H; /// Stator flux, $(I Wb) F_Wb stator_F_Wb; /// d/Jr, $(I S/(Kg⋅m$(SUPERSCRIPT 2))) Dt_sec_J_Kgm2 dt_rotor_J_Kgm2; /** Initialize motor parameters Params: rotor_R = Rotor resistance, $(I Ohm) rotor_L = Rotor inductance, $(I H) stator_F = Stator flux, $(I Wb) rotor_J = Rotor inertia, $(I Kg⋅m$(SUPERSCRIPT 2)) */ const pure nothrow @nogc @safe this(const R rotor_R, const L rotor_L, const F stator_F, const J rotor_J) { rotor_R_Ohm = rotor_R.to!Ohm.raw; dt_rotor_L_H = dt_sec / rotor_L.to!H.raw; stator_F_Wb = stator_F.to!Wb.raw; dt_rotor_J_Kgm2 = dt_sec / rotor_J.to!Kgm2.raw; } } /** Create motor parameters Params: s = Sampling time or frequency R = Rotor resistance type L = Rotor inductance type F = Stator flux type J = Rotor inertia type rotor_R = Rotor resistance rotor_L = Rotor inductance stator_F = Stator flux rotor_J = Rotor inertia */ pure nothrow @nogc @safe Param!(s, R, L, F, J) mk(alias P, alias s, R, L, F, J)(R rotor_R, L rotor_L, F stator_F, J rotor_J) if (__traits(isSame, Param, P) && isTiming!s && hasUnits!(R, Resistance) && hasUnits!(L, Inductance) && hasUnits!(F, MagneticFlux) && hasUnits!(J, InertiaMoment) && isNumer!(rawTypeOf!R, rawTypeOf!L, rawTypeOf!F, rawTypeOf!J)) { return Param!(s, R, L, F, J)(rotor_R, rotor_L, stator_F, rotor_J); } /// Test motor parameters (floating-point) nothrow @nogc unittest { enum dt = 100f.as!usec; static immutable param = mk!(Param, dt)(124f.as!mOhm, 42f.as!uH, 8.5f.as!mWb, 87.1f.as!gcm2); assert_eq(param.rotor_R_Ohm, 124e-3f); assert_eq(param.dt_rotor_L_H, 2.38095238f); assert_eq(param.stator_F_Wb, 8.5e-3f); assert_eq(param.dt_rotor_J_Kgm2, 11.481056f); } /// Test motor parameters (fixed-point) nothrow @nogc unittest { enum dt = 100f.as!usec; static immutable param = mk!(Param, dt)(asfix!124.as!mOhm, asfix!42.as!uH, asfix!8.5.as!mWb, asfix!87.1.as!gcm2); assert_eq(param.rotor_R_Ohm, asfix!124e-3); assert_eq(param.dt_rotor_L_H, asfix!2.380952381); assert_eq(param.stator_F_Wb, asfix!8.5e-3); assert_eq(param.dt_rotor_J_Kgm2, asfix!11.48105626); } /// Test motor parameters (fixed-point) nothrow @nogc unittest { alias R = fix!(0, 200); alias L = fix!(1e-3, 100); alias F = fix!(0, 20); alias J = fix!(1e-3, 200); enum dt = 100f.as!usec; static immutable param = mk!(Param, dt)(124f.as!mOhm.to!R, 42f.as!uH.to!L, 8.5f.as!mWb.to!F, 87.1f.as!gcm2.to!J); assert_eq(param.rotor_R_Ohm, param.R_Ohm(124e-3)); assert_eq(param.dt_rotor_L_H, param.Dt_sec_L_H(2.38092041)); assert_eq(param.stator_F_Wb, param.F_Wb(8.5e-3)); assert_eq(param.dt_rotor_J_Kgm2, param.Dt_sec_J_Kgm2(11.48101807)); } /// Check for parameters template isParam(X...) if (X.length == 1) { static if (is(X[0])) { enum bool isParam = isInstanceOf!(Param, X[0]); } else { enum bool isParam = isParam!(typeof(X[0])); } } /** Motor state Params: P_ = Motor parameters type U_ = Rotor voltage type, $(I V) W_ = Rotor speed type, $(I rad/S) */ struct State(alias P_, U_, W_) if (isParam!P_ && hasUnits!(U_, Voltage) && hasUnits!(W_, AngularVel) && isNumer!(P_.R_Ohm, rawTypeOf!U_, rawTypeOf!W_)) { alias P = typeOf!P_; alias U = Unqual!U_; alias W = Unqual!W_; alias U_V = Unqual!(typeof(U().to!V.raw)); alias W_rad_sec = Unqual!(typeof(W().to!rad_sec.raw)); alias I_A = typeof(U_V() / P.R_Ohm()); alias T_Nm = typeof(I_A() * P.F_Wb()); alias E_V = typeof(W_rad_sec() * P.F_Wb()); alias I = typeof(I_A().as!A); alias T = typeof(T_Nm().as!Nm); alias E = typeof(E_V().as!V); /// Rotor current, $(I A) I_A rotor_I_A = 0.0; /// Electro-magnetic torque, $(I Kg⋅m$(SUPERSCRIPT 2)) T_Nm rotor_T_Nm = 0.0; /// Back EMF, $(I V) E_V back_E_V = 0.0; /// Rotor speed, $(I rad/S) W_rad_sec rotor_W_rad_sec = 0.0; /// Get rotor current pure nothrow @nogc @safe auto rotor_I() const { return rotor_I_A.as!A; } /// Get rotor torque pure nothrow @nogc @safe auto rotor_T() const { return rotor_T_Nm.as!Nm; } /// Get back EMF pure nothrow @nogc @safe auto back_E() const { return back_E_V.as!V; } /// Get rotor speed pure nothrow @nogc @safe auto rotor_W() const { return rotor_W_rad_sec.as!rad_sec; } /** Initialize state */ pure nothrow @nogc @safe this(const I rotor_I, const T rotor_T, const E back_E, const W rotor_W) const { rotor_I_A = rotor_I.to!A.raw; rotor_T_Nm = rotor_T.to!Nm.raw; back_E_V = back_E.to!V.raw; rotor_W_rad_sec = rotor_W.to!rad_sec.raw; } /** Apply simulation step */ pure nothrow @nogc @safe W opCall(Us, Tl)(ref const P param, const Us supply_U, const Tl load_T) if (hasUnits!(Us, Voltage) && hasUnits!(Tl, Torque) && isNumer!(U_V, rawTypeOf!Us, rawTypeOf!Tl)) { const supply_U_V = supply_U.to!V.raw; const load_T_Nm = load_T.to!Nm.raw; rotor_I_A += (supply_U_V - back_E_V - param.rotor_R_Ohm * rotor_I_A) * param.dt_rotor_L_H; rotor_T_Nm = rotor_I_A * param.stator_F_Wb; rotor_W_rad_sec += (rotor_T_Nm - load_T_Nm) * param.dt_rotor_J_Kgm2; // [N m S Kg^-1 m^-2] => [Kg S^-2 m^2 S Kg^-1 m^-2] => [S^-1] if (rotor_W_rad_sec < cast(W_rad_sec) 0.0) { rotor_W_rad_sec = cast(W_rad_sec) 0.0; } back_E_V = rotor_W_rad_sec * param.stator_F_Wb; return rotor_W_rad_sec.as!rad_sec.to!(W.units); } } /// Test motor state (floating-point) nothrow @nogc unittest { alias U = typeof(0f.as!V); alias W = typeof(0f.as!rad_sec); enum dt = 100f.as!usec; static immutable param = mk!(Param, dt)(124f.as!mOhm, 42f.as!uH, 8.5f.as!mWb, 87.1f.as!gcm2); static state = State!(param, U, W)(); assert_eq(state(param, 0.0.as!V, 12.4.as!mNm), 0.0.as!rad_sec); assert_eq(state(param, 13.56.as!V, 12.4.as!mNm), 3.008364737.as!rad_sec, 1e-6); assert_eq(state(param, 13.56.as!V, 12.4.as!mNm), 8.231302261.as!rad_sec, 1e-6); assert_eq(state(param, 13.56.as!V, 13.6.as!mNm), 14.99089372.as!rad_sec, 1e-5); assert_eq(state(param, 12.0.as!V, 13.6.as!mNm), 22.46734637.as!rad_sec, 1e-5); } /// Test motor state (fixed-point) nothrow @nogc unittest { alias U = typeof(fix!(0, 20)().as!V); alias W = typeof(fix!(0, 100)().as!rad_sec); alias T = typeof(fix!(0, 20)().as!mNm); enum dt = 100f.as!usec; static immutable param = mk!(Param, dt)(asfix!124.as!mOhm, asfix!42.as!uH, asfix!8.5.as!mWb, asfix!87.1.as!gcm2); static state = State!(param, U, W)(); assert_eq(state(param, 0.0.as!V.to!U, 12.4.as!mNm.to!T), 0.0.as!rad_sec.to!W); assert_eq(state(param, 13.56.as!V.to!U, 12.4.as!mNm.to!T), 3.008364737.as!rad_sec.to!W); assert_eq(state(param, 13.56.as!V.to!U, 12.4.as!mNm.to!T), 8.231302261.as!rad_sec.to!W); assert_eq(state(param, 13.56.as!V.to!U, 13.6.as!mNm.to!T), 14.99089372.as!rad_sec.to!W); assert_eq(state(param, 12.0.as!V.to!U, 13.6.as!mNm.to!T), 22.46734637.as!rad_sec.to!W); }
D