code
stringlengths
3
10M
language
stringclasses
31 values
/Users/sol369/Desktop/InstaPics/DerivedData/InstaPics/Build/Intermediates/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/ImageTransition.o : /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/AnimatedImageView.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Box.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/CacheSerializer.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Filter.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Image.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageCache.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageDownloader.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImagePrefetcher.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageProcessor.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageTransition.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageView+Kingfisher.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Indicator.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Kingfisher.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/KingfisherManager.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/KingfisherOptionsInfo.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/RequestModifier.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Resource.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/String+MD5.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ThreadHelper.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/UIButton+Kingfisher.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Kingfisher.h /Users/sol369/Desktop/InstaPics/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/sol369/Desktop/InstaPics/DerivedData/InstaPics/Build/Intermediates/Pods.build/Debug-iphonesimulator/Kingfisher.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/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sol369/Desktop/InstaPics/DerivedData/InstaPics/Build/Intermediates/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/ImageTransition~partial.swiftmodule : /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/AnimatedImageView.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Box.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/CacheSerializer.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Filter.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Image.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageCache.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageDownloader.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImagePrefetcher.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageProcessor.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageTransition.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageView+Kingfisher.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Indicator.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Kingfisher.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/KingfisherManager.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/KingfisherOptionsInfo.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/RequestModifier.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Resource.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/String+MD5.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ThreadHelper.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/UIButton+Kingfisher.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Kingfisher.h /Users/sol369/Desktop/InstaPics/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/sol369/Desktop/InstaPics/DerivedData/InstaPics/Build/Intermediates/Pods.build/Debug-iphonesimulator/Kingfisher.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/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/sol369/Desktop/InstaPics/DerivedData/InstaPics/Build/Intermediates/Pods.build/Debug-iphonesimulator/Kingfisher.build/Objects-normal/x86_64/ImageTransition~partial.swiftdoc : /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/AnimatedImageView.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Box.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/CacheSerializer.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Filter.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Image.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageCache.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageDownloader.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImagePrefetcher.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageProcessor.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageTransition.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ImageView+Kingfisher.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Indicator.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Kingfisher.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/KingfisherManager.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/KingfisherOptionsInfo.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/RequestModifier.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Resource.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/String+MD5.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/ThreadHelper.swift /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/UIButton+Kingfisher.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Users/sol369/Desktop/InstaPics/Pods/Kingfisher/Sources/Kingfisher.h /Users/sol369/Desktop/InstaPics/Pods/Target\ Support\ Files/Kingfisher/Kingfisher-umbrella.h /Users/sol369/Desktop/InstaPics/DerivedData/InstaPics/Build/Intermediates/Pods.build/Debug-iphonesimulator/Kingfisher.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/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
D
func int C_PlayerIsFakeBandit(var C_Npc slf,var C_Npc oth) { var C_Item itm; if(slf.aivar[AIV_IgnoresArmor] == TRUE) { return FALSE; }; if(slf.aivar[AIV_IgnoresFakeGuild] == TRUE) { return FALSE; }; if(slf.guild == GIL_PIR) { return FALSE; }; if(Npc_HasEquippedArmor(oth) == TRUE) { itm = Npc_GetEquippedArmor(oth); if((Hlp_IsItem(itm,ItAr_BDT_M) == TRUE) || (Hlp_IsItem(itm,itar_oldcamp_guard_l) == TRUE) || (Hlp_IsItem(itm,itar_oldcamp_guard_m) == TRUE) || (Hlp_IsItem(itm,itar_oldcamp_guard_h) == TRUE) || (Hlp_IsItem(itm,ItAr_BDT_H) == TRUE)) { return TRUE; } else { return FALSE; }; } else if((slf.guild == GIL_BDT) && (CurrentLevel == ADDONWORLD_ZEN) && (Player_HasTalkedToBanditCamp == TRUE)) { return TRUE; } else { return FALSE; }; };
D
<?xml version="1.0" encoding="UTF-8"?> <di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi"> <pageList> <availablePage> <emfPageIdentifier href="01_SourceLeft_CompositeDiagram_Connector_Deleted.notation#_H4mVsHegEeOvq8ZFMULkbQ"/> </availablePage> </pageList> <sashModel currentSelection="//@sashModel/@windows.0/@children.0"> <windows> <children xsi:type="di:TabFolder"> <children> <emfPageIdentifier href="01_SourceLeft_CompositeDiagram_Connector_Deleted.notation#_H4mVsHegEeOvq8ZFMULkbQ"/> </children> </children> </windows> </sashModel> </di:SashWindowsMngr>
D
/** The exception module defines all system-level exceptions and provides a mechanism to alter system-level error handling. Copyright: Copyright Sean Kelly 2005 - 2013. License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). Authors: Sean Kelly and $(HTTP jmdavisprog.com, Jonathan M Davis) Source: $(DRUNTIMESRC core/_exception.d) */ module core.exception; // Compiler lowers final switch default case to this (which is a runtime error) void __switch_errorT()(string file = __FILE__, size_t line = __LINE__) @trusted { // Consider making this a compile time check. version (D_Exceptions) throw staticError!SwitchError(file, line, null); else assert(0, "No appropriate switch clause found"); } /** * Thrown on a range error. */ class RangeError : Error { this( string file = __FILE__, size_t line = __LINE__, Throwable next = null ) @nogc nothrow pure @safe { super( "Range violation", file, line, next ); } protected this( string msg, string file, size_t line, Throwable next = null ) @nogc nothrow pure @safe { super( msg, file, line, next ); } } unittest { { auto re = new RangeError(); assert(re.file == __FILE__); assert(re.line == __LINE__ - 2); assert(re.next is null); assert(re.msg == "Range violation"); } { auto re = new RangeError("hello", 42, new Exception("It's an Exception!")); assert(re.file == "hello"); assert(re.line == 42); assert(re.next !is null); assert(re.msg == "Range violation"); } } /** * Thrown when an out of bounds array index is accessed. */ class ArrayIndexError : RangeError { /// Index into array const size_t index; /// Length of indexed array const size_t length; // Buffer to avoid GC allocations private immutable char[100] msgBuf = '\0'; this(size_t index, size_t length, string file = __FILE__, size_t line = __LINE__, Throwable next = null) @nogc nothrow pure @safe { this.index = index; this.length = length; // Constructing the message is a bit clumsy: // It's essentially `printf("index [%zu] is out of bounds for array of length [%zu]", index, length)`, // but even `snprintf` isn't `pure`. // Also string concatenation isn't `@nogc`, and casting to/from immutable isn't `@safe` import core.internal.string : unsignedToTempString; char[msgBuf.length] buf = void; char[20] tmpBuf = void; char[] sink = buf[]; sink.rangeMsgPut("index ["); sink.rangeMsgPut(unsignedToTempString!10(index, tmpBuf)); sink.rangeMsgPut("] is out of bounds for array of length "); sink.rangeMsgPut(unsignedToTempString!10(length, tmpBuf)); this.msgBuf = buf; super(msgBuf[0..$-sink.length], file, line, next); } } @safe pure unittest { assert(new ArrayIndexError(900, 700).msg == "index [900] is out of bounds for array of length 700"); // Ensure msg buffer doesn't overflow on large numbers assert(new ArrayIndexError(size_t.max, size_t.max-1).msg); } unittest { try { _d_arraybounds_indexp("test", 400, 9, 3); assert(0, "no ArrayIndexError thrown"); } catch (ArrayIndexError re) { assert(re.file == "test"); assert(re.line == 400); assert(re.index == 9); assert(re.length == 3); } } /** * Thrown when an out of bounds array slice is created */ class ArraySliceError : RangeError { /// Lower/upper bound passed to slice: `array[lower .. upper]` const size_t lower, upper; /// Length of sliced array const size_t length; private immutable char[120] msgBuf = '\0'; this(size_t lower, size_t upper, size_t length, string file = __FILE__, size_t line = __LINE__, Throwable next = null) @nogc nothrow pure @safe { this.lower = lower; this.upper = upper; this.length = length; // Constructing the message is a bit clumsy for the same reasons as ArrayIndexError import core.internal.string : unsignedToTempString; char[msgBuf.length] buf = void; char[20] tmpBuf = void; char[] sink = buf; sink.rangeMsgPut("slice ["); sink.rangeMsgPut(unsignedToTempString!10(lower, tmpBuf)); sink.rangeMsgPut(" .. "); sink.rangeMsgPut(unsignedToTempString!10(upper, tmpBuf)); sink.rangeMsgPut("] "); if (lower > upper) { sink.rangeMsgPut("has a larger lower index than upper index"); } else { sink.rangeMsgPut("extends past source array of length "); sink.rangeMsgPut(unsignedToTempString!10(length, tmpBuf)); } this.msgBuf = buf; super(msgBuf[0..$-sink.length], file, line, next); } } @safe pure unittest { assert(new ArraySliceError(40, 80, 20).msg == "slice [40 .. 80] extends past source array of length 20"); assert(new ArraySliceError(90, 70, 20).msg == "slice [90 .. 70] has a larger lower index than upper index"); // Ensure msg buffer doesn't overflow on large numbers assert(new ArraySliceError(size_t.max, size_t.max, size_t.max-1).msg); } unittest { try { _d_arraybounds_slicep("test", 400, 1, 7, 3); assert(0, "no ArraySliceError thrown"); } catch (ArraySliceError re) { assert(re.file == "test"); assert(re.line == 400); assert(re.lower == 1); assert(re.upper == 7); assert(re.length == 3); } } /// Mini `std.range.primitives: put` for constructor of ArraySliceError / ArrayIndexError private void rangeMsgPut(ref char[] r, scope const(char)[] e) @nogc nothrow pure @safe { assert(r.length >= e.length); // don't throw ArraySliceError inside ArrayIndexError ctor r[0 .. e.length] = e[]; r = r[e.length .. $]; } /** * Thrown on an assert error. */ class AssertError : Error { @safe pure nothrow @nogc this( string file, size_t line ) { this(cast(Throwable)null, file, line); } @safe pure nothrow @nogc this( Throwable next, string file = __FILE__, size_t line = __LINE__ ) { this( "Assertion failure", file, line, next); } @safe pure nothrow @nogc this( string msg, string file = __FILE__, size_t line = __LINE__, Throwable next = null ) { super( msg, file, line, next ); } } unittest { { auto ae = new AssertError("hello", 42); assert(ae.file == "hello"); assert(ae.line == 42); assert(ae.next is null); assert(ae.msg == "Assertion failure"); } { auto ae = new AssertError(new Exception("It's an Exception!")); assert(ae.file == __FILE__); assert(ae.line == __LINE__ - 2); assert(ae.next !is null); assert(ae.msg == "Assertion failure"); } { auto ae = new AssertError(new Exception("It's an Exception!"), "hello", 42); assert(ae.file == "hello"); assert(ae.line == 42); assert(ae.next !is null); assert(ae.msg == "Assertion failure"); } { auto ae = new AssertError("msg"); assert(ae.file == __FILE__); assert(ae.line == __LINE__ - 2); assert(ae.next is null); assert(ae.msg == "msg"); } { auto ae = new AssertError("msg", "hello", 42); assert(ae.file == "hello"); assert(ae.line == 42); assert(ae.next is null); assert(ae.msg == "msg"); } { auto ae = new AssertError("msg", "hello", 42, new Exception("It's an Exception!")); assert(ae.file == "hello"); assert(ae.line == 42); assert(ae.next !is null); assert(ae.msg == "msg"); } } /** * Thrown on finalize error. */ class FinalizeError : Error { TypeInfo info; this( TypeInfo ci, Throwable next, string file = __FILE__, size_t line = __LINE__ ) @safe pure nothrow @nogc { this(ci, file, line, next); } this( TypeInfo ci, string file = __FILE__, size_t line = __LINE__, Throwable next = null ) @safe pure nothrow @nogc { super( "Finalization error", file, line, next ); super.info = SuppressTraceInfo.instance; info = ci; } override string toString() const @safe { return "An exception was thrown while finalizing an instance of " ~ info.toString(); } } unittest { ClassInfo info = new ClassInfo; info.name = "testInfo"; { auto fe = new FinalizeError(info); assert(fe.file == __FILE__); assert(fe.line == __LINE__ - 2); assert(fe.next is null); assert(fe.msg == "Finalization error"); assert(fe.info == info); } { auto fe = new FinalizeError(info, new Exception("It's an Exception!")); assert(fe.file == __FILE__); assert(fe.line == __LINE__ - 2); assert(fe.next !is null); assert(fe.msg == "Finalization error"); assert(fe.info == info); } { auto fe = new FinalizeError(info, "hello", 42); assert(fe.file == "hello"); assert(fe.line == 42); assert(fe.next is null); assert(fe.msg == "Finalization error"); assert(fe.info == info); } { auto fe = new FinalizeError(info, "hello", 42, new Exception("It's an Exception!")); assert(fe.file == "hello"); assert(fe.line == 42); assert(fe.next !is null); assert(fe.msg == "Finalization error"); assert(fe.info == info); } } /** * Thrown on an out of memory error. */ class OutOfMemoryError : Error { this(string file = __FILE__, size_t line = __LINE__, Throwable next = null ) @safe pure nothrow @nogc { this(true, file, line, next); } this(bool trace, string file = __FILE__, size_t line = __LINE__, Throwable next = null ) @safe pure nothrow @nogc { super("Memory allocation failed", file, line, next); if (!trace) this.info = SuppressTraceInfo.instance; } override string toString() const @trusted { return msg.length ? (cast()this).superToString() : "Memory allocation failed"; } // kludge to call non-const super.toString private string superToString() @trusted { return super.toString(); } } unittest { { auto oome = new OutOfMemoryError(); assert(oome.file == __FILE__); assert(oome.line == __LINE__ - 2); assert(oome.next is null); assert(oome.msg == "Memory allocation failed"); assert(oome.toString.length); } { auto oome = new OutOfMemoryError("hello", 42, new Exception("It's an Exception!")); assert(oome.file == "hello"); assert(oome.line == 42); assert(oome.next !is null); assert(oome.msg == "Memory allocation failed"); } } /** * Thrown on an invalid memory operation. * * An invalid memory operation error occurs in circumstances when the garbage * collector has detected an operation it cannot reliably handle. The default * D GC is not re-entrant, so this can happen due to allocations done from * within finalizers called during a garbage collection cycle. */ class InvalidMemoryOperationError : Error { this(string file = __FILE__, size_t line = __LINE__, Throwable next = null ) @safe pure nothrow @nogc { super( "Invalid memory operation", file, line, next ); this.info = SuppressTraceInfo.instance; } override string toString() const @trusted { return msg.length ? (cast()this).superToString() : "Invalid memory operation"; } // kludge to call non-const super.toString private string superToString() @trusted { return super.toString(); } } unittest { { auto oome = new InvalidMemoryOperationError(); assert(oome.file == __FILE__); assert(oome.line == __LINE__ - 2); assert(oome.next is null); assert(oome.msg == "Invalid memory operation"); assert(oome.toString.length); } { auto oome = new InvalidMemoryOperationError("hello", 42, new Exception("It's an Exception!")); assert(oome.file == "hello"); assert(oome.line == 42); assert(oome.next !is null); assert(oome.msg == "Invalid memory operation"); } } /** * Thrown on a configuration error. */ class ForkError : Error { this( string file = __FILE__, size_t line = __LINE__, Throwable next = null ) @nogc nothrow pure @safe { super( "fork() failed", file, line, next ); } } /** * Thrown on a switch error. */ class SwitchError : Error { @safe pure nothrow @nogc this( string file = __FILE__, size_t line = __LINE__, Throwable next = null ) { super( "No appropriate switch clause found", file, line, next ); } } unittest { { auto se = new SwitchError(); assert(se.file == __FILE__); assert(se.line == __LINE__ - 2); assert(se.next is null); assert(se.msg == "No appropriate switch clause found"); } { auto se = new SwitchError("hello", 42, new Exception("It's an Exception!")); assert(se.file == "hello"); assert(se.line == 42); assert(se.next !is null); assert(se.msg == "No appropriate switch clause found"); } } /** * Thrown on a unicode conversion error. */ class UnicodeException : Exception { size_t idx; this( string msg, size_t idx, string file = __FILE__, size_t line = __LINE__, Throwable next = null ) @safe pure nothrow @nogc { super( msg, file, line, next ); this.idx = idx; } } unittest { { auto ue = new UnicodeException("msg", 2); assert(ue.file == __FILE__); assert(ue.line == __LINE__ - 2); assert(ue.next is null); assert(ue.msg == "msg"); assert(ue.idx == 2); } { auto ue = new UnicodeException("msg", 2, "hello", 42, new Exception("It's an Exception!")); assert(ue.file == "hello"); assert(ue.line == 42); assert(ue.next !is null); assert(ue.msg == "msg"); assert(ue.idx == 2); } } /////////////////////////////////////////////////////////////////////////////// // Overrides /////////////////////////////////////////////////////////////////////////////// // NOTE: One assert handler is used for all threads. Thread-local // behavior should occur within the handler itself. This delegate // is __gshared for now based on the assumption that it will only // set by the main thread during program initialization. private __gshared AssertHandler _assertHandler = null; /** Gets/sets assert hander. null means the default handler is used. */ alias AssertHandler = void function(string file, size_t line, string msg) nothrow; /// ditto @property AssertHandler assertHandler() @trusted nothrow @nogc { return _assertHandler; } /// ditto @property void assertHandler(AssertHandler handler) @trusted nothrow @nogc { _assertHandler = handler; } /////////////////////////////////////////////////////////////////////////////// // Overridable Callbacks /////////////////////////////////////////////////////////////////////////////// /** * A callback for assert errors in D. The user-supplied assert handler will * be called if one has been supplied, otherwise an $(LREF AssertError) will be * thrown. * * Params: * file = The name of the file that signaled this error. * line = The line number on which this error occurred. */ extern (C) void onAssertError( string file = __FILE__, size_t line = __LINE__ ) nothrow { if ( _assertHandler is null ) throw staticError!AssertError(file, line); _assertHandler( file, line, null); } /** * A callback for assert errors in D. The user-supplied assert handler will * be called if one has been supplied, otherwise an $(LREF AssertError) will be * thrown. * * Params: * file = The name of the file that signaled this error. * line = The line number on which this error occurred. * msg = An error message supplied by the user. */ extern (C) void onAssertErrorMsg( string file, size_t line, string msg ) nothrow { if ( _assertHandler is null ) throw staticError!AssertError(msg, file, line); _assertHandler( file, line, msg ); } /** * A callback for unittest errors in D. The user-supplied unittest handler * will be called if one has been supplied, otherwise the error will be * written to stderr. * * Params: * file = The name of the file that signaled this error. * line = The line number on which this error occurred. * msg = An error message supplied by the user. */ extern (C) void onUnittestErrorMsg( string file, size_t line, string msg ) nothrow { onAssertErrorMsg( file, line, msg ); } /////////////////////////////////////////////////////////////////////////////// // Internal Error Callbacks /////////////////////////////////////////////////////////////////////////////// /** * A callback for general array bounds errors in D. A $(LREF RangeError) will be thrown. * * Params: * file = The name of the file that signaled this error. * line = The line number on which this error occurred. * * Throws: * $(LREF RangeError). */ extern (C) void onRangeError( string file = __FILE__, size_t line = __LINE__ ) @trusted pure nothrow @nogc { throw staticError!RangeError(file, line, null); } /** * A callback for array slice out of bounds errors in D. * * Params: * lower = the lower bound of the index passed of a slice * upper = the upper bound of the index passed of a slice or the index if not a slice * length = length of the array * file = The name of the file that signaled this error. * line = The line number on which this error occurred. * * Throws: * $(LREF ArraySliceError). */ extern (C) void onArraySliceError( size_t lower = 0, size_t upper = 0, size_t length = 0, string file = __FILE__, size_t line = __LINE__ ) @trusted pure nothrow @nogc { throw staticError!ArraySliceError(lower, upper, length, file, line, null); } /** * A callback for array index out of bounds errors in D. * * Params: * index = index in the array * length = length of the array * file = The name of the file that signaled this error. * line = The line number on which this error occurred. * * Throws: * $(LREF ArrayIndexError). */ extern (C) void onArrayIndexError( size_t index = 0, size_t length = 0, string file = __FILE__, size_t line = __LINE__ ) @trusted pure nothrow @nogc { throw staticError!ArrayIndexError(index, length, file, line, null); } /** * A callback for finalize errors in D. A $(LREF FinalizeError) will be thrown. * * Params: * info = The TypeInfo instance for the object that failed finalization. * e = The exception thrown during finalization. * file = The name of the file that signaled this error. * line = The line number on which this error occurred. * * Throws: * $(LREF FinalizeError). */ extern (C) void onFinalizeError( TypeInfo info, Throwable e, string file = __FILE__, size_t line = __LINE__ ) @trusted nothrow { // This error is thrown during a garbage collection, so no allocation must occur while // generating this object. So we use a preallocated instance throw staticError!FinalizeError(info, e, file, line); } version (D_BetterC) { // When compiling with -betterC we use template functions so if they are // used the bodies are copied into the user's program so there is no need // for the D runtime during linking. // In the future we might want to convert all functions in this module to // templates even for ordinary builds instead of providing them as an // extern(C) library. void onOutOfMemoryError()(void* pretend_sideffect = null) @nogc nothrow pure @trusted { assert(0, "Memory allocation failed"); } alias onOutOfMemoryErrorNoGC = onOutOfMemoryError; void onInvalidMemoryOperationError()(void* pretend_sideffect = null) @nogc nothrow pure @trusted { assert(0, "Invalid memory operation"); } } else { /** * A callback for out of memory errors in D. An $(LREF OutOfMemoryError) will be * thrown. * * Throws: * $(LREF OutOfMemoryError). */ extern (C) void onOutOfMemoryError(void* pretend_sideffect = null) @trusted pure nothrow @nogc /* dmd @@@BUG11461@@@ */ { // NOTE: Since an out of memory condition exists, no allocation must occur // while generating this object. throw staticError!OutOfMemoryError(); } extern (C) void onOutOfMemoryErrorNoGC() @trusted nothrow @nogc { // suppress stacktrace until they are @nogc throw staticError!OutOfMemoryError(false); } } /** * A callback for invalid memory operations in D. An * $(LREF InvalidMemoryOperationError) will be thrown. * * Throws: * $(LREF InvalidMemoryOperationError). */ extern (C) void onInvalidMemoryOperationError(void* pretend_sideffect = null) @trusted pure nothrow @nogc /* dmd @@@BUG11461@@@ */ { // The same restriction applies as for onOutOfMemoryError. The GC is in an // undefined state, thus no allocation must occur while generating this object. throw staticError!InvalidMemoryOperationError(); } /** * A callback for errors in the case of a failed fork in D. A $(LREF ForkError) will be thrown. * * Params: * file = The name of the file that signaled this error. * line = The line number on which this error occurred. * * Throws: * $(LREF ConfigurationError). */ extern (C) void onForkError( string file = __FILE__, size_t line = __LINE__ ) @trusted pure nothrow @nogc { throw staticError!ForkError( file, line, null ); } /** * A callback for unicode errors in D. A $(LREF UnicodeException) will be thrown. * * Params: * msg = Information about the error. * idx = String index where this error was detected. * file = The name of the file that signaled this error. * line = The line number on which this error occurred. * * Throws: * $(LREF UnicodeException). */ extern (C) void onUnicodeError( string msg, size_t idx, string file = __FILE__, size_t line = __LINE__ ) @safe pure { throw new UnicodeException( msg, idx, file, line ); } /*********************************** * These functions must be defined for any D program linked * against this library. */ /+ extern (C) void onAssertError(string file, size_t line); extern (C) void onAssertErrorMsg(string file, size_t line, string msg); extern (C) void onUnittestErrorMsg(string file, size_t line, string msg); extern (C) void onRangeError(string file, size_t line); extern (C) void onHiddenFuncError(Object o); +/ /*********************************** * Function calls to these are generated by the compiler and inserted into * the object code. */ extern (C) { /* One of these three is called upon an assert() fail. */ void _d_assertp(immutable(char)* file, uint line) { import core.stdc.string : strlen; onAssertError(file[0 .. strlen(file)], line); } void _d_assert_msg(string msg, string file, uint line) { onAssertErrorMsg(file, line, msg); } void _d_assert(string file, uint line) { onAssertError(file, line); } /* One of these three is called upon an assert() fail inside of a unittest block */ void _d_unittestp(immutable(char)* file, uint line) { import core.stdc.string : strlen; _d_unittest(file[0 .. strlen(file)], line); } void _d_unittest_msg(string msg, string file, uint line) { onUnittestErrorMsg(file, line, msg); } void _d_unittest(string file, uint line) { _d_unittest_msg("unittest failure", file, line); } /// Called when an invalid array index/slice or associative array key is accessed void _d_arrayboundsp(immutable(char*) file, uint line) { import core.stdc.string : strlen; onRangeError(file[0 .. strlen(file)], line); } /// ditto void _d_arraybounds(string file, uint line) { onRangeError(file, line); } /// Called when an out of range slice of an array is created void _d_arraybounds_slicep(immutable(char*) file, uint line, size_t lower, size_t upper, size_t length) { import core.stdc.string : strlen; onArraySliceError(lower, upper, length, file[0 .. strlen(file)], line); } /// ditto void _d_arraybounds_slice(string file, uint line, size_t lower, size_t upper, size_t length) { onArraySliceError(lower, upper, length, file, line); } /// Called when an out of range array index is accessed void _d_arraybounds_indexp(immutable(char*) file, uint line, size_t index, size_t length) { import core.stdc.string : strlen; onArrayIndexError(index, length, file[0 .. strlen(file)], line); } /// ditto void _d_arraybounds_index(string file, uint line, size_t index, size_t length) { onArrayIndexError(index, length, file, line); } } // TLS storage shared for all errors, chaining might create circular reference private align(2 * size_t.sizeof) void[256] _store; version (LDC) version (Windows) { version = LDC_Windows; // cannot access TLS globals directly across DLL boundaries, e.g., // when instantiating `staticError` below in another DLL pragma(inline, false) // could be safely inlined in the binary containing druntime only private ref getStore() { return _store; } } // only Errors for now as those are rarely chained private T staticError(T, Args...)(auto ref Args args) if (is(T : Error)) { // pure hack, what we actually need is @noreturn and allow to call that in pure functions static T get() { static assert(__traits(classInstanceSize, T) <= _store.length, T.stringof ~ " is too large for staticError()"); version (LDC_Windows) auto store = &getStore(); else auto store = &_store; return cast(T) store.ptr; } auto res = (cast(T function() @trusted pure nothrow @nogc) &get)(); import core.lifetime : emplace; emplace(res, args); return res; } // Suppress traceinfo generation when the GC cannot be used. Workaround for // Bugzilla 14993. We should make stack traces @nogc instead. package class SuppressTraceInfo : Throwable.TraceInfo { override int opApply(scope int delegate(ref const(char[]))) const { return 0; } override int opApply(scope int delegate(ref size_t, ref const(char[]))) const { return 0; } override string toString() const { return null; } static SuppressTraceInfo instance() @trusted @nogc pure nothrow { static immutable SuppressTraceInfo it = new SuppressTraceInfo; return cast(SuppressTraceInfo)it; } }
D
module godot.pathfollow; import std.meta : AliasSeq, staticIndexOf; import std.traits : Unqual; import godot.d.meta; import godot.core; import godot.c; import godot.object; import godot.classdb; import godot.spatial; @GodotBaseClass struct PathFollow { static immutable string _GODOT_internal_name = "PathFollow"; public: union { godot_object _godot_object; Spatial base; } alias base this; alias BaseClasses = AliasSeq!(typeof(base), typeof(base).BaseClasses); package(godot) void* opCast(T : void*)() const { return cast(void*)_godot_object.ptr; } godot_object opCast(T : godot_object)() const { return cast(godot_object)_godot_object; } bool opEquals(in PathFollow other) const { return _godot_object.ptr is other._godot_object.ptr; } PathFollow opAssign(T : typeof(null))(T n) { _godot_object.ptr = null; } bool opEquals(typeof(null) n) const { return _godot_object.ptr is null; } bool opCast(T : bool)() const { return _godot_object.ptr !is null; } inout(T) opCast(T)() inout if(isGodotBaseClass!T) { static assert(staticIndexOf!(PathFollow, T.BaseClasses) != -1, "Godot class "~T.stringof~" does not inherit PathFollow"); if(_godot_object.ptr is null) return T.init; String c = String(T._GODOT_internal_name); if(is_class(c)) return inout(T)(_godot_object); return T.init; } inout(T) opCast(T)() inout if(extendsGodotBaseClass!T) { static assert(is(typeof(T.owner) : PathFollow) || staticIndexOf!(PathFollow, typeof(T.owner).BaseClasses) != -1, "D class "~T.stringof~" does not extend PathFollow"); if(_godot_object.ptr is null) return null; if(has_method(String(`_GDNATIVE_D_typeid`))) { Object o = cast(Object)godot_nativescript_get_userdata(opCast!godot_object); return cast(inout(T))o; } return null; } static PathFollow _new() { static godot_class_constructor constructor; if(constructor is null) constructor = godot_get_class_constructor("PathFollow"); if(constructor is null) return typeof(this).init; return cast(PathFollow)(constructor()); } enum int ROTATION_NONE = 0; enum int ROTATION_Y = 1; enum int ROTATION_XYZ = 3; enum int ROTATION_XY = 2; void set_offset(in float offset) { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "set_offset"); const(void*)[1] _GODOT_args = [cast(void*)(&offset), ]; godot_method_bind_ptrcall(mb, cast(godot_object)(this), _GODOT_args.ptr); } float get_offset() const { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "get_offset"); float _GODOT_ret = float.init; godot_method_bind_ptrcall(mb, cast(godot_object)(this), null, cast(void*)&_GODOT_ret); return _GODOT_ret; } void set_h_offset(in float h_offset) { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "set_h_offset"); const(void*)[1] _GODOT_args = [cast(void*)(&h_offset), ]; godot_method_bind_ptrcall(mb, cast(godot_object)(this), _GODOT_args.ptr); } float get_h_offset() const { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "get_h_offset"); float _GODOT_ret = float.init; godot_method_bind_ptrcall(mb, cast(godot_object)(this), null, cast(void*)&_GODOT_ret); return _GODOT_ret; } void set_v_offset(in float v_offset) { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "set_v_offset"); const(void*)[1] _GODOT_args = [cast(void*)(&v_offset), ]; godot_method_bind_ptrcall(mb, cast(godot_object)(this), _GODOT_args.ptr); } float get_v_offset() const { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "get_v_offset"); float _GODOT_ret = float.init; godot_method_bind_ptrcall(mb, cast(godot_object)(this), null, cast(void*)&_GODOT_ret); return _GODOT_ret; } void set_unit_offset(in float unit_offset) { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "set_unit_offset"); const(void*)[1] _GODOT_args = [cast(void*)(&unit_offset), ]; godot_method_bind_ptrcall(mb, cast(godot_object)(this), _GODOT_args.ptr); } float get_unit_offset() const { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "get_unit_offset"); float _GODOT_ret = float.init; godot_method_bind_ptrcall(mb, cast(godot_object)(this), null, cast(void*)&_GODOT_ret); return _GODOT_ret; } void set_rotation_mode(in int rotation_mode) { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "set_rotation_mode"); const(void*)[1] _GODOT_args = [cast(void*)(&rotation_mode), ]; godot_method_bind_ptrcall(mb, cast(godot_object)(this), _GODOT_args.ptr); } int get_rotation_mode() const { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "get_rotation_mode"); int _GODOT_ret = int.init; godot_method_bind_ptrcall(mb, cast(godot_object)(this), null, cast(void*)&_GODOT_ret); return _GODOT_ret; } void set_cubic_interpolation(in bool enable) { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "set_cubic_interpolation"); const(void*)[1] _GODOT_args = [cast(void*)(&enable), ]; godot_method_bind_ptrcall(mb, cast(godot_object)(this), _GODOT_args.ptr); } bool get_cubic_interpolation() const { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "get_cubic_interpolation"); bool _GODOT_ret = bool.init; godot_method_bind_ptrcall(mb, cast(godot_object)(this), null, cast(void*)&_GODOT_ret); return _GODOT_ret; } void set_loop(in bool loop) { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "set_loop"); const(void*)[1] _GODOT_args = [cast(void*)(&loop), ]; godot_method_bind_ptrcall(mb, cast(godot_object)(this), _GODOT_args.ptr); } bool has_loop() const { static godot_method_bind* mb = null; if(mb is null) mb = godot_method_bind_get_method("PathFollow", "has_loop"); bool _GODOT_ret = bool.init; godot_method_bind_ptrcall(mb, cast(godot_object)(this), null, cast(void*)&_GODOT_ret); return _GODOT_ret; } }
D
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Routing.build/Utilities/Exports.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/Deprecated.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Routing/RouterNode.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Register/Route.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Parameter/ParameterValue.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Register/RouterOption.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Parameter/Parameter.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Routing/TrieRouter.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/RoutingError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Parameter/Parameters.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/Exports.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Routing/RoutableComponent.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Register/PathComponent.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/COperatingSystem.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 /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.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/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.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 /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/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Routing.build/Utilities/Exports~partial.swiftmodule : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/Deprecated.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Routing/RouterNode.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Register/Route.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Parameter/ParameterValue.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Register/RouterOption.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Parameter/Parameter.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Routing/TrieRouter.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/RoutingError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Parameter/Parameters.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/Exports.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Routing/RoutableComponent.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Register/PathComponent.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/COperatingSystem.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 /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.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/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.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 /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/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Routing.build/Utilities/Exports~partial.swiftdoc : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/Deprecated.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Routing/RouterNode.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Register/Route.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Parameter/ParameterValue.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Register/RouterOption.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Parameter/Parameter.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Routing/TrieRouter.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/RoutingError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Parameter/Parameters.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Utilities/Exports.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Routing/RoutableComponent.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/routing/Sources/Routing/Register/PathComponent.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Service.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/COperatingSystem.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 /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.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/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.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 /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
// Written in the D programming language. /** This module contains the $(LREF Complex) type, which is used to represent _complex numbers, along with related mathematical operations and functions. $(LREF Complex) will eventually $(LINK2 ../deprecate.html, replace) the built-in types $(D cfloat), $(D cdouble), $(D creal), $(D ifloat), $(D idouble), and $(D ireal). Authors: Lars Tandle Kyllingstad, Don Clugston Copyright: Copyright (c) 2010, Lars T. Kyllingstad. License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0) Source: $(PHOBOSSRC std/_complex.d) */ module std.complex; import std.format; import std.math; import std.numeric; import std.traits; /** Helper function that returns a _complex number with the specified real and imaginary parts. If neither $(D re) nor $(D im) are floating-point numbers, this function returns a $(D Complex!double). Otherwise, the return type is deduced using $(D std.traits.CommonType!(R, I)). Examples: --- auto c = complex(2.0); static assert (is(typeof(c) == Complex!double)); assert (c.re == 2.0); assert (c.im == 0.0); auto w = complex(2); static assert (is(typeof(w) == Complex!double)); assert (w == c); auto z = complex(1, 3.14L); static assert (is(typeof(z) == Complex!real)); assert (z.re == 1.0L); assert (z.im == 3.14L); --- */ auto complex(T)(T re) @safe pure nothrow if (is(T : double)) { static if (isFloatingPoint!T) return Complex!T(re, 0); else return Complex!double(re, 0); } /// ditto auto complex(R, I)(R re, I im) @safe pure nothrow if (is(R : double) && is(I : double)) { static if (isFloatingPoint!R || isFloatingPoint!I) return Complex!(CommonType!(R, I))(re, im); else return Complex!double(re, im); } unittest { auto a = complex(1.0); static assert (is(typeof(a) == Complex!double)); assert (a.re == 1.0); assert (a.im == 0.0); auto b = complex(2.0L); static assert (is(typeof(b) == Complex!real)); assert (b.re == 2.0L); assert (b.im == 0.0L); auto c = complex(1.0, 2.0); static assert (is(typeof(c) == Complex!double)); assert (c.re == 1.0); assert (c.im == 2.0); auto d = complex(3.0, 4.0L); static assert (is(typeof(d) == Complex!real)); assert (d.re == 3.0); assert (d.im == 4.0L); auto e = complex(1); static assert (is(typeof(e) == Complex!double)); assert (e.re == 1); assert (e.im == 0); auto f = complex(1L, 2); static assert (is(typeof(f) == Complex!double)); assert (f.re == 1L); assert (f.im == 2); auto g = complex(3, 4.0L); static assert (is(typeof(g) == Complex!real)); assert (g.re == 3); assert (g.im == 4.0L); } /** A complex number parametrised by a type $(D T), which must be either $(D float), $(D double) or $(D real). */ struct Complex(T) if (isFloatingPoint!T) { /** The real part of the number. */ T re; /** The imaginary part of the number. */ T im; /** Converts the complex number to a string representation. The second form of this function is usually not called directly; instead, it is used via $(XREF format,format), as shown in the examples below. Supported format characters are 'e', 'f', 'g', 'a', and 's'. See the $(LINK2 std_format.html, std.format documentation) for more information. */ string toString() const /* TODO: pure @safe nothrow */ { import std.exception : assumeUnique; char[] buf; buf.reserve(100); auto fmt = FormatSpec!char("%s"); toString((const(char)[] s) { buf ~= s; }, fmt); return assumeUnique(buf); } static if (is(T == double)) /// unittest { auto c = complex(1.2, 3.4); // Vanilla toString formatting: assert(c.toString() == "1.2+3.4i"); // Formatting with std.format specs: the precision and width specifiers // apply to both the real and imaginary parts of the complex number. import std.string; assert(format("%.2f", c) == "1.20+3.40i"); assert(format("%4.1f", c) == " 1.2+ 3.4i"); } /// ditto void toString(Char)(scope void delegate(const(Char)[]) sink, FormatSpec!Char formatSpec) const { formatValue(sink, re, formatSpec); if (signbit(im) == 0) sink("+"); formatValue(sink, im, formatSpec); sink("i"); } /** $(RED Deprecated. This function will be removed in March 2014. Please use $(XREF format,format) instead.) Converts the complex number to a string representation. If a $(D sink) delegate is specified, the string is passed to it and this function returns $(D null). Otherwise, this function returns the string representation directly. The output format is controlled via $(D formatSpec), which should consist of a single POSIX format specifier, including the percent (%) character. Note that complex numbers are floating point numbers, so the only valid format characters are 'e', 'f', 'g', 'a', and 's', where 's' gives the default behaviour. Positional parameters are not valid in this context. See the $(LINK2 std_format.html, std.format documentation) for more information. */ deprecated("Please use std.format.format() instead.") string toString(scope void delegate(const(char)[]) sink, string formatSpec = "%s") const { if (sink == null) { import std.exception : assumeUnique; char[] buf; buf.reserve(100); formattedWrite((const(char)[] s) { buf ~= s; }, formatSpec, this); return assumeUnique(buf); } formattedWrite(sink, formatSpec, this); return null; } @safe pure nothrow: this(R : T)(Complex!R z) { re = z.re; im = z.im; } this(Rx : T, Ry : T)(Rx x, Ry y) { re = x; im = y; } this(R : T)(R r) { re = r; im = 0; } // ASSIGNMENT OPERATORS // this = complex ref Complex opAssign(R : T)(Complex!R z) { re = z.re; im = z.im; return this; } // this = numeric ref Complex opAssign(R : T)(R r) { re = r; im = 0; return this; } // COMPARISON OPERATORS // this == complex bool opEquals(R : T)(Complex!R z) const { return re == z.re && im == z.im; } // this == numeric bool opEquals(R : T)(R r) const { return re == r && im == 0; } // UNARY OPERATORS // +complex Complex opUnary(string op)() const if (op == "+") { return this; } // -complex Complex opUnary(string op)() const if (op == "-") { return Complex(-re, -im); } // BINARY OPERATORS // complex op complex Complex!(CommonType!(T,R)) opBinary(string op, R)(Complex!R z) const { alias typeof(return) C; auto w = C(this.re, this.im); return w.opOpAssign!(op)(z); } // complex op numeric Complex!(CommonType!(T,R)) opBinary(string op, R)(R r) const if (isNumeric!R) { alias typeof(return) C; auto w = C(this.re, this.im); return w.opOpAssign!(op)(r); } // numeric + complex, numeric * complex Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(R r) const if ((op == "+" || op == "*") && (isNumeric!R)) { return opBinary!(op)(r); } // numeric - complex Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(R r) const if (op == "-" && isNumeric!R) { return Complex(r - re, -im); } // numeric / complex Complex!(CommonType!(T, R)) opBinaryRight(string op, R)(R r) const if (op == "/" && isNumeric!R) { typeof(return) w; alias FPTemporary!(typeof(w.re)) Tmp; if (fabs(re) < fabs(im)) { Tmp ratio = re/im; Tmp rdivd = r/(re*ratio + im); w.re = rdivd*ratio; w.im = -rdivd; } else { Tmp ratio = im/re; Tmp rdivd = r/(re + im*ratio); w.re = rdivd; w.im = -rdivd*ratio; } return w; } // OP-ASSIGN OPERATORS // complex += complex, complex -= complex ref Complex opOpAssign(string op, C)(C z) if ((op == "+" || op == "-") && is(C R == Complex!R)) { mixin ("re "~op~"= z.re;"); mixin ("im "~op~"= z.im;"); return this; } // complex *= complex ref Complex opOpAssign(string op, C)(C z) if (op == "*" && is(C R == Complex!R)) { auto temp = re*z.re - im*z.im; im = im*z.re + re*z.im; re = temp; return this; } // complex /= complex ref Complex opOpAssign(string op, C)(C z) if (op == "/" && is(C R == Complex!R)) { if (fabs(z.re) < fabs(z.im)) { FPTemporary!T ratio = z.re/z.im; FPTemporary!T denom = z.re*ratio + z.im; auto temp = (re*ratio + im)/denom; im = (im*ratio - re)/denom; re = temp; } else { FPTemporary!T ratio = z.im/z.re; FPTemporary!T denom = z.re + z.im*ratio; auto temp = (re + im*ratio)/denom; im = (im - re*ratio)/denom; re = temp; } return this; } // complex ^^= complex ref Complex opOpAssign(string op, C)(C z) if (op == "^^" && is(C R == Complex!R)) { FPTemporary!T r = abs(this); FPTemporary!T t = arg(this); FPTemporary!T ab = r^^z.re * exp(-t*z.im); FPTemporary!T ar = t*z.re + log(r)*z.im; re = ab*std.math.cos(ar); im = ab*std.math.sin(ar); return this; } // complex += numeric, complex -= numeric ref Complex opOpAssign(string op, U : T)(U a) if (op == "+" || op == "-") { mixin ("re "~op~"= a;"); return this; } // complex *= numeric, complex /= numeric ref Complex opOpAssign(string op, U : T)(U a) if (op == "*" || op == "/") { mixin ("re "~op~"= a;"); mixin ("im "~op~"= a;"); return this; } // complex ^^= real ref Complex opOpAssign(string op, R)(R r) if (op == "^^" && isFloatingPoint!R) { FPTemporary!T ab = abs(this)^^r; FPTemporary!T ar = arg(this)*r; re = ab*std.math.cos(ar); im = ab*std.math.sin(ar); return this; } // complex ^^= int ref Complex opOpAssign(string op, U)(U i) if (op == "^^" && isIntegral!U) { switch (i) { case 0: re = 1.0; im = 0.0; break; case 1: // identity; do nothing break; case 2: this *= this; break; case 3: auto z = this; this *= z; this *= z; break; default: this ^^= cast(real) i; } return this; } } unittest { enum EPS = double.epsilon; auto c1 = complex(1.0, 1.0); // Check unary operations. auto c2 = Complex!double(0.5, 2.0); assert (c2 == +c2); assert ((-c2).re == -(c2.re)); assert ((-c2).im == -(c2.im)); assert (c2 == -(-c2)); // Check complex-complex operations. auto cpc = c1 + c2; assert (cpc.re == c1.re + c2.re); assert (cpc.im == c1.im + c2.im); auto cmc = c1 - c2; assert (cmc.re == c1.re - c2.re); assert (cmc.im == c1.im - c2.im); auto ctc = c1 * c2; assert (approxEqual(abs(ctc), abs(c1)*abs(c2), EPS)); assert (approxEqual(arg(ctc), arg(c1)+arg(c2), EPS)); auto cdc = c1 / c2; assert (approxEqual(abs(cdc), abs(c1)/abs(c2), EPS)); assert (approxEqual(arg(cdc), arg(c1)-arg(c2), EPS)); auto cec = c1^^c2; assert (approxEqual(cec.re, 0.11524131979943839881, EPS)); assert (approxEqual(cec.im, 0.21870790452746026696, EPS)); // Check complex-real operations. double a = 123.456; auto cpr = c1 + a; assert (cpr.re == c1.re + a); assert (cpr.im == c1.im); auto cmr = c1 - a; assert (cmr.re == c1.re - a); assert (cmr.im == c1.im); auto ctr = c1 * a; assert (ctr.re == c1.re*a); assert (ctr.im == c1.im*a); auto cdr = c1 / a; assert (approxEqual(abs(cdr), abs(c1)/a, EPS)); assert (approxEqual(arg(cdr), arg(c1), EPS)); auto rpc = a + c1; assert (rpc == cpr); auto rmc = a - c1; assert (rmc.re == a-c1.re); assert (rmc.im == -c1.im); auto rtc = a * c1; assert (rtc == ctr); auto rdc = a / c1; assert (approxEqual(abs(rdc), a/abs(c1), EPS)); assert (approxEqual(arg(rdc), -arg(c1), EPS)); auto cer = c1^^3.0; assert (approxEqual(abs(cer), abs(c1)^^3, EPS)); assert (approxEqual(arg(cer), arg(c1)*3, EPS)); // Check Complex-int operations. foreach (i; 0..6) { auto cei = c1^^i; assert (approxEqual(abs(cei), abs(c1)^^i, EPS)); // Use cos() here to deal with arguments that go outside // the (-pi,pi] interval (only an issue for i>3). assert (approxEqual(std.math.cos(arg(cei)), std.math.cos(arg(c1)*i), EPS)); } // Check operations between different complex types. auto cf = Complex!float(1.0, 1.0); auto cr = Complex!real(1.0, 1.0); auto c1pcf = c1 + cf; auto c1pcr = c1 + cr; static assert (is(typeof(c1pcf) == Complex!double)); static assert (is(typeof(c1pcr) == Complex!real)); assert (c1pcf.re == c1pcr.re); assert (c1pcf.im == c1pcr.im); } unittest { // Initialization Complex!double a = 1; assert (a.re == 1 && a.im == 0); Complex!double b = 1.0; assert (b.re == 1.0 && b.im == 0); Complex!double c = Complex!real(1.0, 2); assert (c.re == 1.0 && c.im == 2); } unittest { // Assignments and comparisons Complex!double z; z = 1; assert (z == 1); assert (z.re == 1.0 && z.im == 0.0); z = 2.0; assert (z == 2.0); assert (z.re == 2.0 && z.im == 0.0); z = 1.0L; assert (z == 1.0L); assert (z.re == 1.0 && z.im == 0.0); auto w = Complex!real(1.0, 1.0); z = w; assert (z == w); assert (z.re == 1.0 && z.im == 1.0); auto c = Complex!float(2.0, 2.0); z = c; assert (z == c); assert (z.re == 2.0 && z.im == 2.0); } unittest { // Convert to string. // Using default format specifier auto z1 = Complex!real(0.123456789, 0.123456789); char[] s1; z1.toString((const(char)[] c) { s1 ~= c; }); assert (s1 == "0.123457+0.123457i"); assert (s1 == z1.toString()); // Using custom format specifier auto z2 = conj(z1); char[] s2; z2.toString((const(char)[] c) { s2 ~= c; }, "%.8e"); assert (s2 == "1.23456789e-01-1.23456789e-01i"); assert (s2 == z2.toString(null, "%.8e")); } /* Makes Complex!(Complex!T) fold to Complex!T. The rationale for this is that just like the real line is a subspace of the complex plane, the complex plane is a subspace of itself. Example of usage: --- Complex!T addI(T)(T x) { return x + Complex!T(0.0, 1.0); } --- The above will work if T is both real and complex. */ template Complex(T) if (is(T R == Complex!R)) { alias T Complex; } unittest { static assert (is(Complex!(Complex!real) == Complex!real)); Complex!T addI(T)(T x) { return x + Complex!T(0.0, 1.0); } auto z1 = addI(1.0); assert (z1.re == 1.0 && z1.im == 1.0); enum one = Complex!double(1.0, 0.0); auto z2 = addI(one); assert (z1 == z2); } /** Calculates the absolute value (or modulus) of a complex number. */ T abs(T)(Complex!T z) @safe pure nothrow { return hypot(z.re, z.im); } unittest { assert (abs(complex(1.0)) == 1.0); assert (abs(complex(0.0, 1.0)) == 1.0); assert (abs(complex(1.0L, -2.0L)) == std.math.sqrt(5.0L)); } /** Calculates the argument (or phase) of a complex number. */ T arg(T)(Complex!T z) @safe pure nothrow { return atan2(z.im, z.re); } unittest { assert (arg(complex(1.0)) == 0.0); assert (arg(complex(0.0L, 1.0L)) == PI_2); assert (arg(complex(1.0L, 1.0L)) == PI_4); } /** Returns the complex conjugate of a complex number. */ Complex!T conj(T)(Complex!T z) @safe pure nothrow { return Complex!T(z.re, -z.im); } unittest { assert (conj(complex(1.0)) == complex(1.0)); assert (conj(complex(1.0, 2.0)) == complex(1.0, -2.0)); } /** Constructs a complex number given its absolute value and argument. */ Complex!(CommonType!(T, U)) fromPolar(T, U)(T modulus, U argument) @safe pure nothrow { return Complex!(CommonType!(T,U)) (modulus*std.math.cos(argument), modulus*std.math.sin(argument)); } unittest { auto z = fromPolar(std.math.sqrt(2.0), PI_4); assert (approxEqual(z.re, 1.0L, real.epsilon)); assert (approxEqual(z.im, 1.0L, real.epsilon)); } /** Trigonometric functions. */ Complex!T sin(T)(Complex!T z) @safe pure nothrow { auto cs = expi(z.re); auto csh = coshisinh(z.im); return typeof(return)(cs.im * csh.re, cs.re * csh.im); } unittest { assert(sin(complex(0.0)) == 0.0); assert(sin(complex(2.0L, 0)) == std.math.sin(2.0L)); } /// ditto Complex!T cos(T)(Complex!T z) @safe pure nothrow { auto cs = expi(z.re); auto csh = coshisinh(z.im); return typeof(return)(cs.re * csh.re, - cs.im * csh.im); } unittest{ assert(cos(complex(0.0)) == 1.0); assert(cos(complex(1.3L)) == std.math.cos(1.3L)); assert(cos(complex(0, 5.2L)) == cosh(5.2L)); } /** Calculates cos(y) + i sin(y). Note: $(D expi) is included here for convenience and for easy migration of code that uses $(XREF math,_expi). Unlike $(XREF math,_expi), which uses the x87 $(I fsincos) instruction when possible, this function is no faster than calculating cos(y) and sin(y) separately. */ Complex!real expi(real y) @trusted pure nothrow { return Complex!real(std.math.cos(y), std.math.sin(y)); } unittest { assert(expi(1.3e5L) == complex(std.math.cos(1.3e5L), std.math.sin(1.3e5L))); assert(expi(0.0L) == 1.0L); auto z1 = expi(1.234); auto z2 = std.math.expi(1.234); assert(z1.re == z2.re && z1.im == z2.im); } /** Square root. */ Complex!T sqrt(T)(Complex!T z) @safe pure nothrow { typeof(return) c; real x,y,w,r; if (z == 0) { c = typeof(return)(0, 0); } else { real z_re = z.re; real z_im = z.im; x = fabs(z_re); y = fabs(z_im); if (x >= y) { r = y / x; w = std.math.sqrt(x) * std.math.sqrt(0.5 * (1 + std.math.sqrt(1 + r * r))); } else { r = x / y; w = std.math.sqrt(y) * std.math.sqrt(0.5 * (r + std.math.sqrt(1 + r * r))); } if (z_re >= 0) { c = typeof(return)(w, z_im / (w + w)); } else { if (z_im < 0) w = -w; c = typeof(return)(z_im / (w + w), w); } } return c; } unittest { assert (sqrt(complex(0.0)) == 0.0); assert (sqrt(complex(1.0L, 0)) == std.math.sqrt(1.0L)); assert (sqrt(complex(-1.0L, 0)) == complex(0, 1.0L)); } // Issue 10881: support %f formatting of complex numbers unittest { import std.string : format; auto x = complex(1.2, 3.4); assert(format("%.2f", x) == "1.20+3.40i"); auto y = complex(1.2, -3.4); assert(format("%.2f", y) == "1.20-3.40i"); } unittest { // Test wide string formatting wstring wformat(T)(string format, Complex!T c) { import std.array : appender; auto w = appender!wstring(); auto n = formattedWrite(w, format, c); return w.data; } auto x = complex(1.2, 3.4); assert(wformat("%.2f", x) == "1.20+3.40i"w); } unittest { // Test ease of use (vanilla toString() should be supported) assert(complex(1.2, 3.4).toString() == "1.2+3.4i"); }
D
// generate html files for every fixed view import std.stdio, std.string, std.conv, std.file; import std.uni : toLower; import std.algorithm, std.array; import std.typecons: No; import std.getopt; const int MAXLEN = 42; bool textmode; struct Desc { string nam; string typ; } struct SToken { int depth; TType ttype; string tok; } Desc[][string] parseDesc() { Desc[][string] viewsDesc; string vname; Desc[] desc; auto fdesc = File("fvdesc.txt"); foreach (l; fdesc.byLine) { if (l.indexOf(" Name Null? Type") != -1 || l.indexOf(" ----------------------------------------------------- -------- ------------------------------------") != -1) { continue; } else if (l.length > 6 && l[0..3] == "+++" && l[$-3..$] == "+++") { if (vname != "") { viewsDesc[vname] = desc; desc = []; } vname = l[3..$-3].to!string; } else if (split(l).length >= 2) { auto la = split(l); Desc d; d.nam = la[0].to!string; d.typ = join(la[1..$]," ").to!string; desc ~= d; } } if (vname != "") { viewsDesc[vname] = desc; } return viewsDesc; } string stripSpaces(char[] l) { bool prevspace = false; bool insidequotes = false; char[] newl; foreach (c; l) { if (insidequotes) { if (c == '\'') { insidequotes = false; } newl ~= c; } else { switch (c) { case '\'': insidequotes = true; newl ~= c; prevspace = false; break; case ' ': if (!prevspace) { prevspace = true; newl ~= c; } break; default: prevspace = false; newl ~= c; } } } return newl.to!string; } char[] kqfSearch(char[] pat) { auto qf = File("kqf.o"); ubyte[] upat = cast(ubyte[]) pat; char[8*1024*1024] s; auto buf = cast(ubyte[])std.file.read("kqf.o",8*1024*1024); auto ind = std.string.indexOf(cast(char[])buf,pat[1..$]); if (ind != -1) { long i = ind; ubyte[] b; do { b = buf[i..i+1]; i += 1; } while (b[0] != 0); return cast(char[])buf[ind..i-1]; } return null; } string[string] parseSelect() { string[string] s; string viewname; char[] viewdef; auto fv = File("fvdef.lst"); int i = 0; foreach (l; fv.byLine) { i += 1; if (l.indexOf("+++") == 0) { auto secondmarker = l[3..$].indexOf("+++")+3; viewname = l[3..secondmarker].to!string; if (l.length > 1024) { // 4036 || viewname == "V$RECOVERY_AREA_USAGE") { viewdef = kqfSearch(l[37..$]); if (viewdef.length > 0) { s[viewname] = stripSpaces(viewdef.strip); } } else { s[viewname] = stripSpaces(l[37..$].strip); } } else { writeln("unknown line #",i); } } return s; } enum TType { Select, From, Where, Func, Union, Other } class Token { TType type; string value; this(TType typ, string val) { type = typ; value = val; } override string toString() { return std.string.format("Token(%s,%s)",type,value); } } class Interpreter { string text; int pos; this (string s) { text = s; pos = 0; } void setText(string s) { text = s.dup; } string getNextToken() { bool inquotes = false; bool inparen = false; string tok; int cpos; foreach (c; text[pos..$]) { if (c == '\'') { if (inquotes) { inquotes = false; } else { inquotes = true; } } if (! inquotes) { } else { tok ~= c; cpos += 1; } } return ""; } int getStrPosition(string s, string chk) { int p; bool inquotes = false; int lvl = 0; int pos = -1; string tok = ""; foreach (c; s) { pos += 1; if (c == '\'') { inquotes = ! inquotes; } if (!inquotes) { if (c == '(') { lvl += 1; } else if (c == ')') { lvl -= 1; } if (c == ' ' || c == ')' || c == '(') { if (std.string.toLower(tok) == chk && lvl == 0) { return (pos-cast(int)chk.length); } tok = ""; } else { tok ~= c; } } else { tok ~= c; } } if (std.string.toLower(tok) == chk && lvl == 0) { return (pos-cast(int)chk.length); } return cast(int)s.length; } int getRightParenPos(string s) { int pos = -1; int lvl = 0; bool inquotes = false; foreach (c; s) { pos += 1; if (c == '\'') { inquotes = ! inquotes; } if (!inquotes) { if (c == '(') { lvl += 1; } else if (c == ')') { lvl -= 1; if (lvl == 0) { return pos; } } } } return pos; } int[] getSelectPositions (string s) { int[] sp; bool inquotes = false; int lvl = 0; int pos = -1; int cpos = 0; string tok = ""; foreach (c; s) { pos += 1; if (c == '\'') { inquotes = ! inquotes; } if (!inquotes) { if (c == ' ') { if ((std.string.toLower(tok) == "select") && (lvl == 0)) { sp ~= pos-6; } tok = ""; } else { if (c == '(') { lvl += 1; } else if (c == ')') { lvl -= 1; } tok ~= c; } } else { tok ~= c; } } if ((std.string.toLower(tok) == "select") && (lvl == 0)) { sp ~= pos-6; } return sp; } long getStrPos(string s, string sub) { auto x = indexOf(toLower(s),toLower(sub)); if (x != -1 && count(s[0..x],'(') == count(s[0..x],')') && (count(s[0..x],'\'') % 2 == 0) ) { return x; } else { return -1; } } string[] getCommaFields (string s) { string[] toks = []; bool inquotes = false; bool inparens = false; string tok = ""; int pos = -1; int lvl = 0; foreach (c; strip(s)) { pos += 1; if (c == '\'') { inquotes = ! inquotes; } if (!inquotes) { tok ~= c; /*if (c != ' ') { tok ~= c; }*/ if (c == '(') { lvl += 1; } else if (c == ')') { lvl -= 1; } else if ((c == ',') && (lvl == 0)) { toks ~= tok; tok = ""; } } else { tok ~= c; } } if (tok.length > 0) { toks ~= tok; } return toks; } } SToken[] pruneToks(SToken[] toks) { SToken[] ptoks; foreach (i,t; toks) { if (!(strip(t.tok) == "" && strip(toks[i-1].tok)[$-1..$] == ",")) { ptoks ~= t; } } return ptoks; } int selectMinDepth(SToken[] toks) { int md = int.max; foreach (t; toks) { if (strip(t.tok).toLower == "select") { if (md > t.depth) { md = t.depth; } } } return md; } SToken[] tokenizeDefinition(string s) { SToken[] toks; int depth = 0; bool inquotes = false; SToken t; string tok; foreach (c; s) { if (c == '\'') { if (inquotes) { inquotes = false; } else { inquotes = true; } } if (!inquotes) { if (c == ' ' || c == ',') { tok ~= c; t.depth = depth; t.tok = tok; toks ~= t; tok = ""; } else if (c == '(') { tok ~= c; t.depth = depth; t.tok = tok; toks ~= t; tok = ""; } else if (c == ')') { tok ~= c; t.depth = depth; t.tok = tok; toks ~= t; tok = ""; } else { tok ~= c; } if (c == '(') { depth += 1; } if (c == ')') { depth -= 1; } } else { tok ~= c; } } t.depth = depth; t.tok = tok; toks ~= t; return pruneToks(toks); } void generateHtml(string v,string vd) { SToken[] toks = tokenizeDefinition(vd); debug { writeln("=====\nview ",v, " selMinDepth=",selectMinDepth(toks)); foreach (t; toks) { writeln(leftJustify("",t.depth*2),t.tok); } } } long indexOfStr(string s, string chk) { char[] s2 = s.dup; bool inquotes, inparen; ulong pos; int lvl; for (auto i=0; i<s2.length; i++) { if (s2[i] == '\'') { inquotes = ! inquotes; } if (!inquotes) { if (s2[i] == '(') { lvl += 1; } else if (s2[i] == ')') { lvl -= 1; } if (lvl != 0) { s2[i] = '~'; } } else { s2[i] = '~'; } } return indexOf(s2, chk, No.caseSensitive); } ulong[] getSelectPositions (string s) { ulong[] sp; bool inquotes = false; int lvl = 0; int pos = -1; int cpos = 0; string tok = ""; foreach (c; s) { pos += 1; if (c == '\'') { inquotes = ! inquotes; } if (!inquotes) { if (c == ' ') { if ((std.string.toLower(tok) == "select") && (lvl == 0)) { sp ~= pos-6; } tok = ""; } else { if (c == '(') { lvl += 1; } else if (c == ')') { lvl -= 1; } tok ~= c; } } else { tok ~= c; } } if ((std.string.toLower(tok) == "select") && (lvl == 0)) { sp ~= pos-6; } return sp; } string[] getCommaFields (string s) { string[] toks = []; bool inquotes = false; bool inparens = false; string tok = ""; int pos = -1; int lvl = 0; foreach (c; strip(s)) { pos += 1; if (c == '\'') { inquotes = ! inquotes; } if (!inquotes) { tok ~= c; if (c == '(') { lvl += 1; } else if (c == ')') { lvl -= 1; } else if ((c == ',') && (lvl == 0)) { toks ~= tok; tok = ""; } } else { tok ~= c; } } if (tok.length > 0) { toks ~= tok; } return toks; } Desc[][string] desc; string[string] sel; void main(string[] args) { auto opts = getopt(args, "text", &textmode); if (!textmode) { writeln("<doctype html>\n<html>\n<head>\n<title>fixed views definitions\n</title>\n"); writeln("<style>\n"); writeln(q""pre .fu, pre .co,pre .kwd{font-weight:700} pre {display:block;background-color:#fff} pre .nocode{background-color:none;color:#fff} pre .str{color:#333} pre .kwd{color:#07c} pre .co{color:#2a2} pre .typ{color:#98fb98} pre .fun{color:#3d2c2c} pre .pln,pre .pun{color:#fff} pre .tag{color:khaki} pre .atn{color:#bdb76b} pre .atv{color:#ffa0a0} pre .dec{color:#98fb98} ""); writeln("</style>\n"); writeln("</head>\n<body>\n"); writeln("<pre><code>\n"); } desc = parseDesc(); /* debug { foreach (v,dd; desc) { writeln(v); foreach (d; dd) { writeln(" ",d.nam,"\t",d.typ); } } } */ sel = parseSelect(); ulong[] selpos; ulong getPaddingLength(string s) { ulong res = 4; if (s.length < 40) { res = 40 - s.length; } else if (s.length < 60) { res = 60 - s.length; } else if (s.length < 80) { res = 80 - s.length; } return res; } void printField(string f, int offset=0, Desc d=Desc()) { string[] dtoks; ulong padlen; long commentBeg = indexOf(f,"/*"); long commentEnd = indexOf(f,"*/"); if (commentBeg != -1) { if (textmode) { writeln(" ".replicate(offset),f[commentBeg..commentEnd+2]); } else { writeln(" ".replicate(offset),"<span class=\"co\">",f[commentBeg..commentEnd+2],"</span>"); } f = strip(f[commentEnd+2..$]); } if (startsWith(toLower(f),"decode")) { f = f.replace("decode ","decode"); dtoks = getCommaFields(f[7..$-2]); padlen = getPaddingLength(" ".replicate(offset)~f[0..7]~dtoks[0]); if (textmode) { writeln(" ".replicate(offset),f[0..7],dtoks[0]," ".replicate(padlen),"-- ",d.nam," ",d.typ); } else { writeln(" ".replicate(offset),"<span class=\"fu\">",f[0..7],"</span>",dtoks[0]," ".replicate(padlen),"<span class=\"co\">-- ",d.nam," ",d.typ,"</span>"); } for (auto i=1;i < dtoks.length-1; i += 2) { writeln(" ".replicate(offset+2),strip(dtoks[i])," ",strip(dtoks[i+1])); } if (dtoks.length % 2 == 0) { if (dtoks.length > 1 && strip(dtoks[$-1])[$-1] == ')') { writeln(" ".replicate(offset+2),strip(dtoks[$-1])); } else { std.stdio.write(" ".replicate(offset+2),strip(dtoks[$-1])); } } if (dtoks.length > 1 && strip(dtoks[$-1])[$-1] == ')') { writeln(" ".replicate(offset),f[$-2..$]); } else { writeln(f[$-2..$]); } /* } else if (startsWith(toLower(f),"to_number")) { if (f.length > MAXLEN) { padlen = getPaddingLength(" ".replicate(offset)~f[0..10]); writeln(" ".replicate(offset),f[0..10]," ".replicate(padlen),"-- ",d.nam," ",d.typ,"\n ",f[10..$]); } else { padlen = getPaddingLength(" ".replicate(offset)~f); writeln(" ".replicate(offset),f," ".replicate(padlen),"-- ",d.nam, " ", d.typ); } */ } else if (startsWith(toLower(f),"to_date") || startsWith(toLower(f),"to_timestamp") || startsWith(toLower(f),"to_number") || startsWith(toLower(f),"substr") || startsWith(toLower(f),"floor") || startsWith(toLower(f),"round") || startsWith(toLower(f),"abs") || startsWith(toLower(f),"nvl")) { long startind; if (startsWith(toLower(f),"to_date")) { startind = 8; } else if (startsWith(toLower(f),"to_timestamp")) { startind = 13; } else if (startsWith(toLower(f),"to_number")) { startind = 10; } else if (startsWith(toLower(f),"substr")) { startind = 7; } else if (startsWith(toLower(f),"floor") || startsWith(toLower(f),"round")) { startind = 6; } else if (startsWith(toLower(f),"abs") || startsWith(toLower(f),"nvl")) { startind = 4; } if (f.length > MAXLEN) { dtoks = getCommaFields(f[startind..$-2]); if (strip(dtoks[0]).length + offset + startind > MAXLEN) { padlen = getPaddingLength(" ".replicate(offset)~f[0..startind]); if (textmode) { writeln(" ".replicate(offset),f[0..startind]," ".replicate(padlen),"-- ",d.nam," ",d.typ); write(" ".replicate(offset+2)~strip(dtoks[0])); } else { writeln(" ".replicate(offset),"<span class=\"fu\">",f[0..startind],"</span>"," ".replicate(padlen),"<span class=\"co\">-- ",d.nam," ",d.typ,"</span>"); write(" ".replicate(offset+2)~strip(dtoks[0])); } foreach (el;dtoks[1..$]) { write(strip(el)); } } else { padlen = getPaddingLength(" ".replicate(offset)~f[0..startind]~strip(dtoks[0])); if (textmode) { writeln(" ".replicate(offset),f[0..startind],strip(dtoks[0])," ".replicate(padlen),"-- ",d.nam," ",d.typ); } else { writeln(" ".replicate(offset),"<span class=\"fu\">",f[0..startind],"</span>",strip(dtoks[0]), " ".replicate(padlen),"<span class=\"co\">-- ",d.nam," ",d.typ,"</span>"); } write(" ".replicate(offset+2)); foreach (el;dtoks[1..$]) { write(strip(el)); } } writeln(f[$-2..$]); } else { padlen = getPaddingLength(" ".replicate(offset)~f); if (textmode) { writeln(" ".replicate(offset),f," ".replicate(padlen),"-- ",d.nam," ",d.typ); } else { writeln(" ".replicate(offset),"<span class=\"fu\">",f,"</span>"," ".replicate(padlen),"<span class=\"co\">-- ",d.nam," ",d.typ,"</span>"); } } } else if (startsWith(toLower(f),"case")) { bool case2comment = true; dtoks = split(f); if (textmode) { std.stdio.write(" ".replicate(offset),strip(dtoks[0])," "); } else { std.stdio.write(" ".replicate(offset),"<span class=\"kwd\">",strip(dtoks[0]),"</span> "); } foreach (el;dtoks[1..$]) { if (strip(toLower(el)) in ["when":0]) { if (case2comment) { padlen = getPaddingLength(" ".replicate(offset)~strip(dtoks[0])~" "); if (textmode) { std.stdio.write(" ".replicate(padlen),"-- ",d.nam, " ",d.typ); } else { std.stdio.write(" ".replicate(padlen),"<span class=\"co\">-- ",d.nam, " ",d.typ,"</span>"); } case2comment = false; } if (textmode) { std.stdio.write("\n"," ".replicate(offset+2),strip(el)," "); } else { std.stdio.write("\n"," ".replicate(offset+2),"<span class=\"kwd\">",strip(el),"</span> "); } } else if (strip(toLower(el)) in ["then":1,"else":2]) { if (textmode) { std.stdio.write("\n"," ".replicate(offset+2),strip(el)," "); } else { std.stdio.write("\n"," ".replicate(offset+2),"<span class=\"kwd\">",strip(el),"</span> "); } } else if (strip(toLower(el)) == "end,") { if (textmode) { std.stdio.write("\n"," ".replicate(offset),strip(el)); } else { std.stdio.write("\n"," ".replicate(offset),"<span class=\"kwd\">",strip(el),"</span>"); } } else if (toLower(el) == "end") { if (textmode) { std.stdio.write("\n"," ".replicate(offset),strip(el),"\n "); } else { std.stdio.write("\n"," ".replicate(offset),"<span class=\"kwd\">",strip(el),"</span>\n "); } } else { std.stdio.write(el," "); } } writeln(""); } else { padlen = getPaddingLength(" ".replicate(offset)~f); if (textmode) { writeln(" ".replicate(offset),f," ".replicate(padlen),"-- ",d.nam," ",d.typ); } else { writeln(" ".replicate(offset),f," ".replicate(padlen),"<span class=\"co\">-- ",d.nam," ",d.typ,"</span>"); } } } void printSelectFields(string s, long pos2, int offset=0, Desc[] vdesc=[]) { if (textmode) { writeln(" ".replicate(offset),s[0..7]); } else { writeln(" ".replicate(offset),"<span class=\"kwd\">",s[0..7],"</span>"); } auto selfields = getCommaFields(s[7..pos2-1]); foreach (ind,f; selfields) { f = strip(f); printField(f,offset+2,vdesc[ind]); } //writeln(" ".replicate(offset+2),s[7..pos2-1]); } void printFromClause(string s, long pos1, long pos2, int offset=0) { if (pos1 == -1) return; if (textmode) { writeln(" ".replicate(offset),s[pos1..pos1+5]); } else { writeln(" ".replicate(offset),"<span class=\"kwd\">",s[pos1..pos1+5],"</span>"); } writeln(" ".replicate(offset+2),s[pos1+5..pos2]); } void printWhereClause(string s, long pos1, long pos2, int offset=0) { if (pos1 == -1) return; if (textmode) { writeln(" ".replicate(offset),s[pos1..pos1+6]); } else { writeln(" ".replicate(offset),"<span class=\"kwd\">",s[pos1..pos1+6],"</span>"); } writeln(" ".replicate(offset+2),s[pos1+6..pos2]); } void printGroupbyClause(string s, long pos1, long pos2, int offset=0) { if (pos1 == -1) return; if (textmode) { writeln(" ".replicate(offset),s[pos1..pos1+9]); } else { writeln(" ".replicate(offset),"<span class=\"kwd\">",s[pos1..pos1+9],"</span>"); } writeln(" ".replicate(offset+2),s[pos1+9..pos2]); } void printHavingClause(string s, long pos1, long pos2, int offset=0) { if (pos1 == -1) return; if (textmode) { writeln(" ".replicate(offset),s[pos1..pos1+7]); } else { writeln(" ".replicate(offset),"<span class=\"kwd\">",s[pos1..pos1+7],"</span>"); } writeln(" ".replicate(offset+2),s[pos1+7..pos2]); } void printOrderbyClause(string s, long pos1, long pos2, int offset=0) { if (pos1 == -1) return; if (textmode) { writeln(" ".replicate(offset),s[pos1..pos1+9]); } else { writeln(" ".replicate(offset),"<span class=\"kwd\">",s[pos1..pos1+9],"</span>"); } writeln(" ".replicate(offset+2),s[pos1+9..pos2]); } void printUnionallClause(string s, long pos1,long pos2, int offset=0) { if (pos1 == -1) return; if (textmode) { writeln(s[pos1..pos1+10]); } else { writeln("<span class=\"kwd\">",s[pos1..pos1+10],"</span>"); } if (pos1+10 != pos2) { writeln(" ".replicate(offset),s[pos1+10..pos2]); } } void printSelect(string v, string vd, int offset=0) { long frompos,wherepos,unionallpos,orderbypos,groupbypos,havingpos; frompos = indexOfStr(vd,"from "); wherepos = indexOfStr(vd,"where "); unionallpos = indexOfStr(vd,"union all "); groupbypos = indexOfStr(vd,"group by "); havingpos = indexOfStr(vd,"having "); orderbypos = indexOfStr(vd,"order by "); auto poses = [frompos,wherepos,unionallpos,groupbypos,havingpos,orderbypos]; long[] pa2; long pos2; pa2 = poses.filter!(a=>a>-1).array; pos2 = (pa2.length > 0) ? pa2.minElement : vd.length; printSelectFields(vd,pos2,offset,desc[v]); pa2 = poses.filter!(a=>a>frompos).array; pos2 = (pa2.length > 0) ? pa2.minElement : vd.length; printFromClause(vd,frompos,pos2,offset); pa2 = poses.filter!(a=>a>wherepos).array; pos2 = (pa2.length > 0) ? pa2.minElement : vd.length; printWhereClause(vd,wherepos,pos2,offset); pa2 = poses.filter!(a=>a>groupbypos).array; pos2 = (pa2.length > 0) ? pa2.minElement : vd.length; printGroupbyClause(vd,groupbypos,pos2,offset); pa2 = poses.filter!(a=>a>havingpos).array; pos2 = (pa2.length > 0) ? pa2.minElement : vd.length; printHavingClause(vd,havingpos,pos2,offset); pa2 = poses.filter!(a=>a>orderbypos).array; pos2 = (pa2.length > 0) ? pa2.minElement : vd.length; printOrderbyClause(vd,orderbypos,pos2,offset); pa2 = poses.filter!(a=>a>unionallpos).array; pos2 = (pa2.length > 0) ? pa2.minElement : vd.length; printUnionallClause(vd,unionallpos,pos2,offset); } foreach (v,vd; sel) { selpos = getSelectPositions(vd); selpos ~= vd.length; writeln("\n*** ",v, ":",vd,"\n"); foreach (i,a1; selpos[0..$-1]) { auto a2 = selpos[i+1]; printSelect(v,vd[a1..a2]); } } debug { int[] selpos, frompos, wherepos; string[] dtoks; long commentBeg, commentEnd; foreach (v,vd; sel) { Interpreter ip = new Interpreter(vd); selpos = ip.getSelectPositions(vd); selpos ~= cast(int)vd.length; writeln("\n*** ",v); // ,":",vd,"\n"); foreach (i,a1; selpos[0..$-1]) { auto a2 = selpos[i+1]; auto frompos = ip.getStrPosition(vd[a1..a2],"from"); auto wherepos = ip.getStrPosition(vd[a1..a2],"where"); auto selfields = ip.getCommaFields(vd[a1+6..a1+frompos]); writeln(vd[a1..a1+6]); // select //writeln("*** wherepos, a1, a2 ***",wherepos," ",a1, " ",a2); foreach (f; selfields) { f = strip(f); commentBeg = indexOf(f,"/*"); commentEnd = indexOf(f,"*/"); if (commentBeg != -1) { writeln(" ",f[commentBeg..commentEnd+2]); f = strip(f[commentEnd+2..$]); } if (startsWith(toLower(f),"decode")) { f = f.replace("decode ","decode"); dtoks = ip.getCommaFields(f[7..$-2]); writeln(" ",f[0..7],dtoks[0]); for (i=1;i < dtoks.length-1; i += 2) { writeln(" ",strip(dtoks[i])," ",strip(dtoks[i+1])); } if (dtoks.length % 2 == 0) { writeln(" ",strip(dtoks[$-1])); } writeln(" ",f[$-2..$]); } else if (startsWith(toLower(f),"to_number")) { if (f.length > MAXLEN) { writeln(" ",f[0..10],"\n ",f[10..$]); } else { writeln(" ",f); } } else if (startsWith(toLower(f),"to_date")) { if (f.length > MAXLEN) { dtoks = ip.getCommaFields(f[8..$-2]); writeln(" ",f[0..8],strip(dtoks[0])); write(" "); foreach (el;dtoks[1..$]) { write(strip(el)); } //writeln(" ",join(dtoks[1..$])); writeln(f[$-2..$]); } else { writeln(" ",f); } } else if (startsWith(toLower(f),"case")) { dtoks = split(f); std.stdio.write(" ",strip(dtoks[0])," "); foreach (el;dtoks[1..$]) { if (strip(toLower(el)) in ["when":0,"then":1,"else":2]) { std.stdio.write("\n ",strip(el)," "); } else if (strip(toLower(el)) == "end,") { std.stdio.write("\n ",strip(el)); } else if (toLower(el) == "end") { std.stdio.write("\n ",strip(el),"\n "); } else { std.stdio.write(el," "); } } writeln(""); } else { writeln(" ",f); } } //writeln("",vd[a1+frompos..a1+wherepos]); auto fromtabs = ip.getCommaFields(vd[a1+frompos+4..a1+wherepos]); writeln(vd[a1+frompos..a1+frompos+4]); foreach (t; fromtabs) { t = strip(t); if (t != "") { auto nlpos = ip.getStrPos(t,"union all"); if (nlpos != -1) { t = t[0..nlpos] ~ "\n" ~ t[nlpos..$]; } nlpos = ip.getStrPos(t,"group by "); if (nlpos != -1) { t = t[0..nlpos] ~ "\n" ~ t[nlpos..nlpos+8] ~ "\n " ~ strip(t[nlpos+8..$]); } nlpos = ip.getStrPos(t,"order by "); if (nlpos != -1) { t = t[0..nlpos] ~ "\n" ~ t[nlpos..nlpos+8] ~ "\n " ~ strip(t[nlpos+8..$]); } nlpos = ip.getStrPos(t,"having "); if (nlpos != -1) { t = t[0..nlpos] ~ "\n" ~ t[nlpos..$]; } if (t[0] == '(') { auto rppos = ip.getRightParenPos(t); writeln(" ("); writeln(" ",strip(t[1..rppos])); writeln(" ",t[rppos..$]); } else { writeln(" ",t); } } } if (a1+wherepos != a2) { string wherestr = vd[a1+wherepos..a2]; writeln(wherestr[0..5]); auto nlpos = ip.getStrPos(wherestr,"group by "); if (nlpos != -1) { wherestr = wherestr[0..nlpos] ~ "\n" ~ wherestr[nlpos..$]; } nlpos = ip.getStrPos(wherestr,"order by "); if (nlpos != -1) { wherestr = wherestr[0..nlpos] ~ "\n" ~ wherestr[nlpos..$]; } nlpos = ip.getStrPos(wherestr,"having "); if (nlpos != -1) { wherestr = wherestr[0..nlpos] ~ "\n" ~ wherestr[nlpos..$]; } nlpos = ip.getStrPos(wherestr,"union all"); if (nlpos != -1) { wherestr = wherestr[0..nlpos] ~ "\n" ~ wherestr[nlpos..$]; } writeln(" ",strip(wherestr[5..$])); /* uapos = ip.getStrPos(wherestr,"union all"); if (uapos != -1) { while (uapos != -1) { writeln(" ",strip(wherestr[5..uapos])); writeln(strip(wherestr[uapos..uapos+9])); wherestr = wherestr[uapos+9..$].dup; uapos = ip.getStrPos(wherestr,"union all"); } } else { writeln(" ",strip(wherestr[5..$])); } */ //writeln("",vd[a1+wherepos..a2]); } } //writeln(" selpos:",selpos, ); } } /* foreach (view,vdef; sel) { generateHtml(view,vdef); } */ if (!textmode) { writeln("</code></pre>"); writeln("</body>\n</html>\n"); } }
D
/Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/build/TestProjectForSibersCompanyByKurilovP.build/Debug-iphonesimulator/TestProjectForSibersCompanyByKurilovP.build/Objects-normal/x86_64/ChararcterDetailCellViewModel.o : /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIImageView+Cache.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/ErrorResponse.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/AppDelegate.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/CharacterDetailViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/CharacterImageCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/ChararcterCellViewModels/CharacterTableCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/ChararcterDetailCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterImageTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterDetailTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/Cells/CharacterTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/DefaultCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterImageViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/DiscardableImageCacheItem.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Origin.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Location.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UITextField+ClearButton.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Info.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManager.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/СharacterDetailController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/HudHelper.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Character.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManagerError.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListCoordinator.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/RequestFeeds.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIColor+AppColors.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/NetworkRequests.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/ReachabilityConnect.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Result.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/Constant.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkEndpoint.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/Alert.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharacterImageView.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 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/build/TestProjectForSibersCompanyByKurilovP.build/Debug-iphonesimulator/TestProjectForSibersCompanyByKurilovP.build/Objects-normal/x86_64/ChararcterDetailCellViewModel~partial.swiftmodule : /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIImageView+Cache.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/ErrorResponse.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/AppDelegate.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/CharacterDetailViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/CharacterImageCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/ChararcterCellViewModels/CharacterTableCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/ChararcterDetailCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterImageTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterDetailTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/Cells/CharacterTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/DefaultCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterImageViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/DiscardableImageCacheItem.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Origin.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Location.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UITextField+ClearButton.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Info.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManager.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/СharacterDetailController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/HudHelper.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Character.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManagerError.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListCoordinator.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/RequestFeeds.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIColor+AppColors.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/NetworkRequests.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/ReachabilityConnect.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Result.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/Constant.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkEndpoint.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/Alert.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharacterImageView.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 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/build/TestProjectForSibersCompanyByKurilovP.build/Debug-iphonesimulator/TestProjectForSibersCompanyByKurilovP.build/Objects-normal/x86_64/ChararcterDetailCellViewModel~partial.swiftdoc : /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIImageView+Cache.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/ErrorResponse.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/AppDelegate.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/CharacterDetailViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/CharacterImageCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/ChararcterCellViewModels/CharacterTableCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/ChararcterDetailCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterImageTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterDetailTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/Cells/CharacterTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/DefaultCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterImageViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/DiscardableImageCacheItem.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Origin.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Location.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UITextField+ClearButton.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Info.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManager.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/СharacterDetailController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/HudHelper.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Character.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManagerError.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListCoordinator.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/RequestFeeds.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIColor+AppColors.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/NetworkRequests.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/ReachabilityConnect.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Result.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/Constant.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkEndpoint.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/Alert.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharacterImageView.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 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module test.ParserTest; import hunt.markdown.node; import hunt.markdown.parser.InlineParser; import hunt.markdown.parser.InlineParserContext; import hunt.markdown.parser.InlineParserFactory; import hunt.markdown.parser.Parser; import hunt.markdown.parser.block; import hunt.markdown.renderer.html.HtmlRenderer; import hunt.Assert; import hunt.util.StringBuilder; import hunt.Exceptions; import std.stdio; import std.file : read,write; public class ParserTest { public static void test() { Parser parser = Parser.builder().build(); auto readPath = "./resources/spec.txt"; auto writePath = "./resources/spec.html"; auto reader = File(readPath,"r"); StringBuilder sb = new StringBuilder(); try { string line; while ((line = reader.readln()) != null) { sb.append(line); sb.append("\n"); } } catch (IOException e) { throw new RuntimeException(e); } string spec = sb.toString; Node document2 = parser.parse(spec); HtmlRenderer renderer = HtmlRenderer.builder().escapeHtml(true).build(); write(writePath,renderer.render(document2)); } }
D
func void b_pointatnpc(var C_NPC slf,var C_NPC oth,var C_NPC targ) { AI_WaitTillEnd(slf,oth); AI_PointAtNpc(slf,targ); b_say(slf,oth,"$THEREHEIS"); AI_StopPointAt(slf); };
D
module godot.core.rect3; import godot.core.defs; import godot.core.vector3; import godot.core.plane; import std.algorithm.mutation : swap; struct Rect3 { @nogc nothrow: Vector3 pos; Vector3 size; bool has_no_area() const { return (size.x<=CMP_EPSILON || size.y<=CMP_EPSILON || size.z<=CMP_EPSILON); } bool has_no_surface() const { return (size.x<=CMP_EPSILON && size.y<=CMP_EPSILON && size.z<=CMP_EPSILON); } bool intersects(in Rect3 p_aabb) const { if ( pos.x >= (p_aabb.pos.x + p_aabb.size.x) ) return false; if ( (pos.x+size.x) <= p_aabb.pos.x ) return false; if ( pos.y >= (p_aabb.pos.y + p_aabb.size.y) ) return false; if ( (pos.y+size.y) <= p_aabb.pos.y ) return false; if ( pos.z >= (p_aabb.pos.z + p_aabb.size.z) ) return false; if ( (pos.z+size.z) <= p_aabb.pos.z ) return false; return true; } bool intersects_inclusive(in Rect3 p_aabb) const { if ( pos.x > (p_aabb.pos.x + p_aabb.size.x) ) return false; if ( (pos.x+size.x) < p_aabb.pos.x ) return false; if ( pos.y > (p_aabb.pos.y + p_aabb.size.y) ) return false; if ( (pos.y+size.y) < p_aabb.pos.y ) return false; if ( pos.z > (p_aabb.pos.z + p_aabb.size.z) ) return false; if ( (pos.z+size.z) < p_aabb.pos.z ) return false; return true; } bool encloses(in Rect3 p_aabb) const { Vector3 src_min=pos; Vector3 src_max=pos+size; Vector3 dst_min=p_aabb.pos; Vector3 dst_max=p_aabb.pos+p_aabb.size; return ( (src_min.x <= dst_min.x) && (src_max.x > dst_max.x) && (src_min.y <= dst_min.y) && (src_max.y > dst_max.y) && (src_min.z <= dst_min.z) && (src_max.z > dst_max.z) ); } Vector3 get_support(in Vector3 p_normal) const { Vector3 half_extents = size * 0.5; Vector3 ofs = pos + half_extents; return Vector3( (p_normal.x>0) ? -half_extents.x : half_extents.x, (p_normal.y>0) ? -half_extents.y : half_extents.y, (p_normal.z>0) ? -half_extents.z : half_extents.z )+ofs; } Vector3 get_endpoint(int p_point) const { switch(p_point) { case 0: return Vector3( pos.x, pos.y, pos.z); case 1: return Vector3( pos.x, pos.y, pos.z+size.z); case 2: return Vector3( pos.x, pos.y+size.y, pos.z); case 3: return Vector3( pos.x, pos.y+size.y, pos.z+size.z); case 4: return Vector3( pos.x+size.x, pos.y, pos.z); case 5: return Vector3( pos.x+size.x, pos.y, pos.z+size.z); case 6: return Vector3( pos.x+size.x, pos.y+size.y, pos.z); case 7: return Vector3( pos.x+size.x, pos.y+size.y, pos.z+size.z); default: assert(0); ///ERR_FAIL_V(Vector3()) } } bool intersects_convex_shape(in Plane[] p_planes) const { Vector3 half_extents = size * 0.5; Vector3 ofs = pos + half_extents; foreach(const ref p; p_planes) { Vector3 point = Vector3( (p.normal.x>0) ? -half_extents.x : half_extents.x, (p.normal.y>0) ? -half_extents.y : half_extents.y, (p.normal.z>0) ? -half_extents.z : half_extents.z ); point+=ofs; if (p.is_point_over(point)) return false; } return true; } bool has_point(in Vector3 p_point) const { if (p_point.x<pos.x) return false; if (p_point.y<pos.y) return false; if (p_point.z<pos.z) return false; if (p_point.x>pos.x+size.x) return false; if (p_point.y>pos.y+size.y) return false; if (p_point.z>pos.z+size.z) return false; return true; } void expand_to(in Vector3 p_vector) { Vector3 begin=pos; Vector3 end=pos+size; if (p_vector.x<begin.x) begin.x=p_vector.x; if (p_vector.y<begin.y) begin.y=p_vector.y; if (p_vector.z<begin.z) begin.z=p_vector.z; if (p_vector.x>end.x) end.x=p_vector.x; if (p_vector.y>end.y) end.y=p_vector.y; if (p_vector.z>end.z) end.z=p_vector.z; pos=begin; size=end-begin; } void project_range_in_plane(in Plane p_plane, out real_t r_min, out real_t r_max) const { Vector3 half_extents = Vector3( size.x * 0.5, size.y * 0.5, size.z * 0.5 ); Vector3 center = Vector3( pos.x + half_extents.x, pos.y + half_extents.y, pos.z + half_extents.z ); real_t length = p_plane.normal.abs().dot(half_extents); real_t distance = p_plane.distance_to( center ); r_min = distance - length; r_max = distance + length; } real_t get_longest_axis_size() const { real_t max_size=size.x; if (size.y > max_size ) { max_size=size.y; } if (size.z > max_size ) { max_size=size.z; } return max_size; } real_t get_shortest_axis_size() const { real_t max_size=size.x; if (size.y < max_size ) { max_size=size.y; } if (size.z < max_size ) { max_size=size.z; } return max_size; } bool smits_intersect_ray(in Vector3 from, in Vector3 dir, real_t t0, real_t t1) const { real_t divx=1.0/dir.x; real_t divy=1.0/dir.y; real_t divz=1.0/dir.z; Vector3 upbound=pos+size; real_t tmin, tmax, tymin, tymax, tzmin, tzmax; if (dir.x >= 0) { tmin = (pos.x - from.x) * divx; tmax = (upbound.x - from.x) * divx; } else { tmin = (upbound.x - from.x) * divx; tmax = (pos.x - from.x) * divx; } if (dir.y >= 0) { tymin = (pos.y - from.y) * divy; tymax = (upbound.y - from.y) * divy; } else { tymin = (upbound.y - from.y) * divy; tymax = (pos.y - from.y) * divy; } if ( (tmin > tymax) || (tymin > tmax) ) return false; if (tymin > tmin) tmin = tymin; if (tymax < tmax) tmax = tymax; if (dir.z >= 0) { tzmin = (pos.z - from.z) * divz; tzmax = (upbound.z - from.z) * divz; } else { tzmin = (upbound.z - from.z) * divz; tzmax = (pos.z - from.z) * divz; } if ( (tmin > tzmax) || (tzmin > tmax) ) return false; if (tzmin > tmin) tmin = tzmin; if (tzmax < tmax) tmax = tzmax; return ( (tmin < t1) && (tmax > t0) ); } void grow_by(real_t p_amount) { pos.x-=p_amount; pos.y-=p_amount; pos.z-=p_amount; size.x+=2.0*p_amount; size.y+=2.0*p_amount; size.z+=2.0*p_amount; } real_t get_area() const { return size.x*size.y*size.z; } void merge_with(in Rect3 p_aabb) { Vector3 beg_1,beg_2; Vector3 end_1,end_2; Vector3 min,max; beg_1=pos; beg_2=p_aabb.pos; end_1=Vector3(size.x,size.y,size.z)+beg_1; end_2=Vector3(p_aabb.size.x,p_aabb.size.y,p_aabb.size.z)+beg_2; min.x=(beg_1.x<beg_2.x)?beg_1.x:beg_2.x; min.y=(beg_1.y<beg_2.y)?beg_1.y:beg_2.y; min.z=(beg_1.z<beg_2.z)?beg_1.z:beg_2.z; max.x=(end_1.x>end_2.x)?end_1.x:end_2.x; max.y=(end_1.y>end_2.y)?end_1.y:end_2.y; max.z=(end_1.z>end_2.z)?end_1.z:end_2.z; pos=min; size=max-min; } Rect3 intersection(in Rect3 p_aabb) const { Vector3 src_min=pos; Vector3 src_max=pos+size; Vector3 dst_min=p_aabb.pos; Vector3 dst_max=p_aabb.pos+p_aabb.size; Vector3 min,max; if (src_min.x > dst_max.x || src_max.x < dst_min.x ) return Rect3(); else { min.x= ( src_min.x > dst_min.x ) ? src_min.x :dst_min.x; max.x= ( src_max.x < dst_max.x ) ? src_max.x :dst_max.x; } if (src_min.y > dst_max.y || src_max.y < dst_min.y ) return Rect3(); else { min.y= ( src_min.y > dst_min.y ) ? src_min.y :dst_min.y; max.y= ( src_max.y < dst_max.y ) ? src_max.y :dst_max.y; } if (src_min.z > dst_max.z || src_max.z < dst_min.z ) return Rect3(); else { min.z= ( src_min.z > dst_min.z ) ? src_min.z :dst_min.z; max.z= ( src_max.z < dst_max.z ) ? src_max.z :dst_max.z; } return Rect3( min, max-min ); } bool intersects_ray(in Vector3 p_from, in Vector3 p_dir, Vector3* r_clip = null, Vector3* r_normal = null) const { Vector3 c1, c2; Vector3 end = pos+size; real_t near=-1e20; real_t far=1e20; int axis=0; for (int i=0;i<3;i++) { if (p_dir[i] == 0) { if ((p_from[i] < pos[i]) || (p_from[i] > end[i])) { return false; } } else { // ray not parallel to planes in this direction c1[i] = (pos[i] - p_from[i]) / p_dir[i]; c2[i] = (end[i] - p_from[i]) / p_dir[i]; if(c1[i] > c2[i]){ swap(c1,c2); } if (c1[i] > near){ near = c1[i]; axis=i; } if (c2[i] < far){ far = c2[i]; } if( (near > far) || (far < 0) ){ return false; } } } if (r_clip) *r_clip=c1; if (r_normal) { *r_normal=Vector3(); (*r_normal)[axis]=p_dir[axis]?-1:1; } return true; } bool intersects_segment(in Vector3 p_from, in Vector3 p_to, Vector3* r_clip = null, Vector3* r_normal = null) const { real_t min=0,max=1; int axis=0; real_t sign=0; for(int i=0;i<3;i++) { real_t seg_from=p_from[i]; real_t seg_to=p_to[i]; real_t box_begin=pos[i]; real_t box_end=box_begin+size[i]; real_t cmin,cmax; real_t csign; if (seg_from < seg_to) { if (seg_from > box_end || seg_to < box_begin) return false; real_t length=seg_to-seg_from; cmin = (seg_from < box_begin)?((box_begin - seg_from)/length):0; cmax = (seg_to > box_end)?((box_end - seg_from)/length):1; csign=-1.0; } else { if (seg_to > box_end || seg_from < box_begin) return false; real_t length=seg_to-seg_from; cmin = (seg_from > box_end)?(box_end - seg_from)/length:0; cmax = (seg_to < box_begin)?(box_begin - seg_from)/length:1; csign=1.0; } if (cmin > min) { min = cmin; axis=i; sign=csign; } if (cmax < max) max = cmax; if (max < min) return false; } Vector3 rel=p_to-p_from; if (r_normal) { Vector3 normal; normal[axis]=sign; *r_normal=normal; } if (r_clip) *r_clip=p_from+rel*min; return true; } bool intersects_plane(in Plane p_plane) const { Vector3[8] points = [ Vector3( pos.x, pos.y, pos.z), Vector3( pos.x, pos.y, pos.z+size.z), Vector3( pos.x, pos.y+size.y, pos.z), Vector3( pos.x, pos.y+size.y, pos.z+size.z), Vector3( pos.x+size.x, pos.y, pos.z), Vector3( pos.x+size.x, pos.y, pos.z+size.z), Vector3( pos.x+size.x, pos.y+size.y, pos.z), Vector3( pos.x+size.x, pos.y+size.y, pos.z+size.z), ]; bool over=false; bool under=false; for (int i=0;i<8;i++) { if (p_plane.distance_to(points[i])>0) over=true; else under=true; } return under && over; } Vector3 get_longest_axis() const { Vector3 axis = Vector3(1,0,0); real_t max_size=size.x; if (size.y > max_size ) { axis=Vector3(0,1,0); max_size=size.y; } if (size.z > max_size ) { axis=Vector3(0,0,1); max_size=size.z; } return axis; } int get_longest_axis_index() const { int axis=0; real_t max_size=size.x; if (size.y > max_size ) { axis=1; max_size=size.y; } if (size.z > max_size ) { axis=2; max_size=size.z; } return axis; } Vector3 get_shortest_axis() const { Vector3 axis = Vector3(1,0,0); real_t max_size=size.x; if (size.y < max_size ) { axis=Vector3(0,1,0); max_size=size.y; } if (size.z < max_size ) { axis=Vector3(0,0,1); max_size=size.z; } return axis; } int get_shortest_axis_index() const { int axis=0; real_t max_size=size.x; if (size.y < max_size ) { axis=1; max_size=size.y; } if (size.z < max_size ) { axis=2; max_size=size.z; } return axis; } Rect3 merge(in Rect3 p_with) const { Rect3 aabb=this; aabb.merge_with(p_with); return aabb; } Rect3 expand(in Vector3 p_vector) const { Rect3 aabb=this; aabb.expand_to(p_vector); return aabb; } Rect3 grow(real_t p_by) const { Rect3 aabb=this; aabb.grow_by(p_by); return aabb; } void get_edge(int p_edge, out Vector3 r_from, out Vector3 r_to) const { ///ERR_FAIL_INDEX(p_edge,12); switch(p_edge) { case 0:{ r_from=Vector3( pos.x+size.x , pos.y , pos.z ); r_to=Vector3( pos.x , pos.y , pos.z ); } break; case 1:{ r_from=Vector3( pos.x+size.x , pos.y , pos.z+size.z ); r_to=Vector3( pos.x+size.x , pos.y , pos.z ); } break; case 2:{ r_from=Vector3( pos.x , pos.y , pos.z+size.z ); r_to=Vector3( pos.x+size.x , pos.y , pos.z+size.z ); } break; case 3:{ r_from=Vector3( pos.x , pos.y , pos.z ); r_to=Vector3( pos.x , pos.y , pos.z+size.z ); } break; case 4:{ r_from=Vector3( pos.x , pos.y+size.y , pos.z ); r_to=Vector3( pos.x+size.x , pos.y+size.y , pos.z ); } break; case 5:{ r_from=Vector3( pos.x+size.x , pos.y+size.y , pos.z ); r_to=Vector3( pos.x+size.x , pos.y+size.y , pos.z+size.z ); } break; case 6:{ r_from=Vector3( pos.x+size.x , pos.y+size.y , pos.z+size.z ); r_to=Vector3( pos.x , pos.y+size.y , pos.z+size.z ); } break; case 7:{ r_from=Vector3( pos.x , pos.y+size.y , pos.z+size.z ); r_to=Vector3( pos.x , pos.y+size.y , pos.z ); } break; case 8:{ r_from=Vector3( pos.x , pos.y , pos.z+size.z ); r_to=Vector3( pos.x , pos.y+size.y , pos.z+size.z ); } break; case 9:{ r_from=Vector3( pos.x , pos.y , pos.z ); r_to=Vector3( pos.x , pos.y+size.y , pos.z ); } break; case 10:{ r_from=Vector3( pos.x+size.x , pos.y , pos.z ); r_to=Vector3( pos.x+size.x , pos.y+size.y , pos.z ); } break; case 11:{ r_from=Vector3( pos.x+size.x , pos.y , pos.z+size.z ); r_to=Vector3( pos.x+size.x , pos.y+size.y , pos.z+size.z ); } break; default: assert(0); } } }
D
[b]什么情况?[/b] 早期硬盘每扇区是512字节,随着硬盘新技术,新标准的出现,固态硬盘(Solid State Disk),大容量硬盘等新技术使用 Advanced Format (高级格式化) 设计标准,其规定每扇区4096字节,出于兼容性等因素考虑,新硬盘用固件对 OS 伪装成512字节。 如果不针对 "4K对齐" 问题进行分区,那么格式化NTFS后会出现NTFS逻辑扇区和硬盘的物理扇区不对齐。如果没有对齐最显著的是后果会造成读写速度低下,对于SSD还会减少寿命。 [b]哪些硬盘需要对齐?[/b] 所有SSD(固态硬盘);2011年1月1日后的机械硬盘,都会遵循先进格式化标准,使用先进格式化标准的硬盘,背面应该有 Advanced Format Drive ... 的字样。 [img]/upload/68f99acb6a50.jpg[/img] [b]如何对齐?[/b] 用DiskGenius工具分区进行分区,分区时选择“对齐到下列扇区的整数倍”扇区数选择8或以上。 [img]/upload/744182e7a6d7.jpg[/img] [b]如何验证是否4K对齐?[/b] 在Linux下,fdisk -lu 就可以(需要root权限) 查看每个分区起始的数字,能被8整除,就是4K对齐。 在Windows下使用工具AS SSD Benchmark,左上角选择要查看的分区,如果有XXXX K-OK字样则说明以对齐,如果是XXXX K-BAD字样则说明该分区没有对齐。 [b]老式没用使用4K扇区的硬盘,需要对齐吗?如果对齐了会怎样?[/b] 老式硬盘使用512B扇区,不需要对齐,如果对齐了不会有什么不良影响。
D
/home/alansky/Dev/Parity/substrate-node-template/target/debug/build/libp2p-core-41c8b46498681233/build_script_build-41c8b46498681233: /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.22.1/build.rs /home/alansky/Dev/Parity/substrate-node-template/target/debug/build/libp2p-core-41c8b46498681233/build_script_build-41c8b46498681233.d: /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.22.1/build.rs /home/alansky/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-core-0.22.1/build.rs:
D
module android.java.android.icu.lang.UCharacter_NumericType_d_interface; import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers; static import arsd.jni; import import0 = android.java.java.lang.Class_d_interface; @JavaName("UCharacter$NumericType") final class UCharacter_NumericType : IJavaObject { static immutable string[] _d_canCastTo = [ ]; @Import import0.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/icu/lang/UCharacter$NumericType;"; }
D
Long: form Short: F Arg: <name=content> Help: Specify multipart MIME data Protocols: HTTP SMTP IMAP Mutexed: data head upload-file Category: http upload Example: --form "name=curl" --form "file=@loadthis" $URL Added: 5.0 See-also: data form-string form-escape --- For HTTP protocol family, this lets curl emulate a filled-in form in which a user has pressed the submit button. This causes curl to POST data using the Content-Type multipart/form-data according to RFC 2388. For SMTP and IMAP protocols, this is the means to compose a multipart mail message to transmit. This enables uploading of binary files etc. To force the 'content' part to be a file, prefix the file name with an @ sign. To just get the content part from a file, prefix the file name with the symbol <. The difference between @ and < is then that @ makes a file get attached in the post as a file upload, while the < makes a text field and just get the contents for that text field from a file. Tell curl to read content from stdin instead of a file by using - as filename. This goes for both @ and < constructs. When stdin is used, the contents is buffered in memory first by curl to determine its size and allow a possible resend. Defining a part's data from a named non-regular file (such as a named pipe or similar) is unfortunately not subject to buffering and will be effectively read at transmission time; since the full size is unknown before the transfer starts, such data is sent as chunks by HTTP and rejected by IMAP. Example: send an image to an HTTP server, where \&'profile' is the name of the form-field to which the file portrait.jpg will be the input: curl -F profile=@portrait.jpg https://example.com/upload.cgi Example: send your name and shoe size in two text fields to the server: curl -F name=John -F shoesize=11 https://example.com/ Example: send your essay in a text field to the server. Send it as a plain text field, but get the contents for it from a local file: curl -F "story=<hugefile.txt" https://example.com/ You can also tell curl what Content-Type to use by using 'type=', in a manner similar to: curl -F "web=@index.html;type=text/html" example.com or curl -F "name=daniel;type=text/foo" example.com You can also explicitly change the name field of a file upload part by setting filename=, like this: curl -F "file=@localfile;filename=nameinpost" example.com If filename/path contains ',' or ';', it must be quoted by double-quotes like: curl -F "file=@\\"local,file\\";filename=\\"name;in;post\\"" example.com or curl -F 'file=@"local,file";filename="name;in;post"' example.com Note that if a filename/path is quoted by double-quotes, any double-quote or backslash within the filename must be escaped by backslash. Quoting must also be applied to non-file data if it contains semicolons, leading/trailing spaces or leading double quotes: curl -F 'colors="red; green; blue";type=text/x-myapp' example.com You can add custom headers to the field by setting headers=, like curl -F "submit=OK;headers=\\"X-submit-type: OK\\"" example.com or curl -F "submit=OK;headers=@headerfile" example.com The headers= keyword may appear more that once and above notes about quoting apply. When headers are read from a file, Empty lines and lines starting with '#' are comments and ignored; each header can be folded by splitting between two words and starting the continuation line with a space; embedded carriage-returns and trailing spaces are stripped. Here is an example of a header file contents: # This file contain two headers. X-header-1: this is a header # The following header is folded. X-header-2: this is another header To support sending multipart mail messages, the syntax is extended as follows: .br - name can be omitted: the equal sign is the first character of the argument, .br - if data starts with '(', this signals to start a new multipart: it can be followed by a content type specification. .br - a multipart can be terminated with a '=)' argument. Example: the following command sends an SMTP mime e-mail consisting in an inline part in two alternative formats: plain text and HTML. It attaches a text file: curl -F '=(;type=multipart/alternative' \\ -F '=plain text message' \\ -F '= <body>HTML message</body>;type=text/html' \\ -F '=)' -F '=@textfile.txt' ... smtp://example.com Data can be encoded for transfer using encoder=. Available encodings are *binary* and *8bit* that do nothing else than adding the corresponding Content-Transfer-Encoding header, *7bit* that only rejects 8-bit characters with a transfer error, *quoted-printable* and *base64* that encodes data according to the corresponding schemes, limiting lines length to 76 characters. Example: send multipart mail with a quoted-printable text message and a base64 attached file: curl -F '=text message;encoder=quoted-printable' \\ -F '=@localfile;encoder=base64' ... smtp://example.com See further examples and details in the MANUAL. This option can be used multiple times.
D
/Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.build/Objects-normal/x86_64/EndWith.o : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Async.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/FailureMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Match.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Functional.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expression.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Errors.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL+Wait.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Await.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.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/Nimble/Sources/NimbleObjectiveC/DSL.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Target\ Support\ Files/Nimble/Nimble-umbrella.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Nimble.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/include/CwlPreconditionTesting.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.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/Nimble.build/Objects-normal/x86_64/EndWith~partial.swiftmodule : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Async.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/FailureMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Match.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Functional.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expression.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Errors.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL+Wait.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Await.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.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/Nimble/Sources/NimbleObjectiveC/DSL.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Target\ Support\ Files/Nimble/Nimble-umbrella.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Nimble.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/include/CwlPreconditionTesting.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.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/Nimble.build/Objects-normal/x86_64/EndWith~partial.swiftdoc : /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherFunc.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Async.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ToSucceed.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeVoid.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/FailureMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/ExpectationMessage.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Predicate.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAKindOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeAnInstanceOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAllOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/SatisfyAnyOf.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ContainElementSatisfying.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Match.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/EndWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeginWith.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLogical.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Functional.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Equal.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThanOrEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ElementsEqual.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeNil.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeLessThan.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/Contain.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expression.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/PostNotification.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/SourceLocation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Expectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBExpectation.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/RaisesException.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowAssertion.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeCloseTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeIdenticalTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeGreaterThanOrEqualTo.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionRecorder.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NMBObjCMatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleXCTestHandler.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatchError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/ThrowError.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/MatcherProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Stringers.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Errors.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/AllPass.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/DSL+Wait.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Utils/Await.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Adapters/NimbleEnvironment.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/HaveCount.swift /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Matchers/BeEmpty.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/Nimble/Sources/NimbleObjectiveC/DSL.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Target\ Support\ Files/Nimble/Nimble-umbrella.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/Nimble/Nimble.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/include/CwlPreconditionTesting.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Dependencies/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h /Users/macosx/Desktop/TestNetWorkLayer/Pods/Nimble/Sources/NimbleObjectiveC/NMBStringify.h /Users/macosx/Desktop/TestNetWorkLayer/build/Pods.build/Debug-iphonesimulator/Nimble.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
module android.java.android.bluetooth.BluetoothProfile_ServiceListener; public import android.java.android.bluetooth.BluetoothProfile_ServiceListener_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!BluetoothProfile_ServiceListener; import import1 = android.java.java.lang.Class;
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 module gtkD.gtkglc.glu; //private import std.io; private import gtkD.gtkglc.glgdktypes; private import gtkD.gtkc.Loader; private import gtkD.gtkc.paths; /* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free ** Software License B, Version 1.1 (the "License"), the contents of this ** file are subject only to the provisions of the License. You may not use ** this file except in compliance with the License. You may obtain a copy ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: ** ** http://oss.sgi.com/projects/FreeB ** ** Note that, as provided in the License, the Software is distributed on an ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. ** ** Original Code. The Original Code is: OpenGL Sample Implementation, ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. ** Copyright in any portions created by third parties is as indicated ** elsewhere herein. All Rights Reserved. ** ** Additional Notice Provisions: This software was created using the ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has ** not been independently verified as being compliant with the OpenGL(R) ** version 1.2.1 Specification. */ //#ifndef __glu_h__ //#define __glu_h__ // //#if defined(USE_MGL_NAMESPACE) //#include "glu_mangle.h" //#endif // import gtkD.gtkglc.gl; /*************************************************************/ /* Extensions */ const GLU_EXT_object_space_tess = 1; const GLU_EXT_nurbs_tessellator = 1; /* Boolean */ const GLU_FALSE = 0; const GLU_TRUE = 1; /* Version */ const GLU_VERSION_1_1 = 1; const GLU_VERSION_1_2 = 1; const GLU_VERSION_1_3 = 1; /* StringName */ const GLU_VERSION = 100800; const GLU_EXTENSIONS = 100801; /* ErrorCode */ const GLU_INVALID_ENUM = 100900; const GLU_INVALID_VALUE = 100901; const GLU_OUT_OF_MEMORY = 100902; const GLU_INCOMPATIBLE_GL_VERSION = 100903; const GLU_INVALID_OPERATION = 100904; /* NurbsDisplay */ /* GLU_FILL */ const GLU_OUTLINE_POLYGON = 100240; const GLU_OUTLINE_PATCH = 100241; /* NurbsCallback */ const GLU_NURBS_ERROR = 100103; const GLU_ERROR = 100103; const GLU_NURBS_BEGIN = 100164; const GLU_NURBS_BEGIN_EXT = 100164; const GLU_NURBS_VERTEX = 100165; const GLU_NURBS_VERTEX_EXT = 100165; const GLU_NURBS_NORMAL = 100166; const GLU_NURBS_NORMAL_EXT = 100166; const GLU_NURBS_COLOR = 100167; const GLU_NURBS_COLOR_EXT = 100167; const GLU_NURBS_TEXTURE_COORD = 100168; const GLU_NURBS_TEX_COORD_EXT = 100168; const GLU_NURBS_END = 100169; const GLU_NURBS_END_EXT = 100169; const GLU_NURBS_BEGIN_DATA = 100170; const GLU_NURBS_BEGIN_DATA_EXT = 100170; const GLU_NURBS_VERTEX_DATA = 100171; const GLU_NURBS_VERTEX_DATA_EXT = 100171; const GLU_NURBS_NORMAL_DATA = 100172; const GLU_NURBS_NORMAL_DATA_EXT = 100172; const GLU_NURBS_COLOR_DATA = 100173; const GLU_NURBS_COLOR_DATA_EXT = 100173; const GLU_NURBS_TEXTURE_COORD_DATA = 100174; const GLU_NURBS_TEX_COORD_DATA_EXT = 100174; const GLU_NURBS_END_DATA = 100175; const GLU_NURBS_END_DATA_EXT = 100175; /* NurbsError */ const GLU_NURBS_ERROR1 = 100251; const GLU_NURBS_ERROR2 = 100252; const GLU_NURBS_ERROR3 = 100253; const GLU_NURBS_ERROR4 = 100254; const GLU_NURBS_ERROR5 = 100255; const GLU_NURBS_ERROR6 = 100256; const GLU_NURBS_ERROR7 = 100257; const GLU_NURBS_ERROR8 = 100258; const GLU_NURBS_ERROR9 = 100259; const GLU_NURBS_ERROR10 = 100260; const GLU_NURBS_ERROR11 = 100261; const GLU_NURBS_ERROR12 = 100262; const GLU_NURBS_ERROR13 = 100263; const GLU_NURBS_ERROR14 = 100264; const GLU_NURBS_ERROR15 = 100265; const GLU_NURBS_ERROR16 = 100266; const GLU_NURBS_ERROR17 = 100267; const GLU_NURBS_ERROR18 = 100268; const GLU_NURBS_ERROR19 = 100269; const GLU_NURBS_ERROR20 = 100270; const GLU_NURBS_ERROR21 = 100271; const GLU_NURBS_ERROR22 = 100272; const GLU_NURBS_ERROR23 = 100273; const GLU_NURBS_ERROR24 = 100274; const GLU_NURBS_ERROR25 = 100275; const GLU_NURBS_ERROR26 = 100276; const GLU_NURBS_ERROR27 = 100277; const GLU_NURBS_ERROR28 = 100278; const GLU_NURBS_ERROR29 = 100279; const GLU_NURBS_ERROR30 = 100280; const GLU_NURBS_ERROR31 = 100281; const GLU_NURBS_ERROR32 = 100282; const GLU_NURBS_ERROR33 = 100283; const GLU_NURBS_ERROR34 = 100284; const GLU_NURBS_ERROR35 = 100285; const GLU_NURBS_ERROR36 = 100286; const GLU_NURBS_ERROR37 = 100287; /* NurbsProperty */ const GLU_AUTO_LOAD_MATRIX = 100200; const GLU_CULLING = 100201; const GLU_SAMPLING_TOLERANCE = 100203; const GLU_DISPLAY_MODE = 100204; const GLU_PARAMETRIC_TOLERANCE = 100202; const GLU_SAMPLING_METHOD = 100205; const GLU_U_STEP = 100206; const GLU_V_STEP = 100207; const GLU_NURBS_MODE = 100160; const GLU_NURBS_MODE_EXT = 100160; const GLU_NURBS_TESSELLATOR = 100161; const GLU_NURBS_TESSELLATOR_EXT = 100161; const GLU_NURBS_RENDERER = 100162; const GLU_NURBS_RENDERER_EXT = 100162; /* NurbsSampling */ const GLU_OBJECT_PARAMETRIC_ERROR = 100208; const GLU_OBJECT_PARAMETRIC_ERROR_EXT = 100208; const GLU_OBJECT_PATH_LENGTH = 100209; const GLU_OBJECT_PATH_LENGTH_EXT = 100209; const GLU_PATH_LENGTH = 100215; const GLU_PARAMETRIC_ERROR = 100216; const GLU_DOMAIN_DISTANCE = 100217; /* NurbsTrim */ const GLU_MAP1_TRIM_2 = 100210; const GLU_MAP1_TRIM_3 = 100211; /* QuadricDrawStyle */ const GLU_POINT = 100010; const GLU_LINE = 100011; const GLU_FILL = 100012; const GLU_SILHOUETTE = 100013; /* QuadricCallback */ /* GLU_ERROR */ /* QuadricNormal */ const GLU_SMOOTH = 100000; const GLU_FLAT = 100001; const GLU_NONE = 100002; /* QuadricOrientation */ const GLU_OUTSIDE = 100020; const GLU_INSIDE = 100021; /* TessCallback */ const GLU_TESS_BEGIN = 100100; const GLU_BEGIN = 100100; const GLU_TESS_VERTEX = 100101; const GLU_VERTEX = 100101; const GLU_TESS_END = 100102; const GLU_END = 100102; const GLU_TESS_ERROR = 100103; const GLU_TESS_EDGE_FLAG = 100104; const GLU_EDGE_FLAG = 100104; const GLU_TESS_COMBINE = 100105; const GLU_TESS_BEGIN_DATA = 100106; const GLU_TESS_VERTEX_DATA = 100107; const GLU_TESS_END_DATA = 100108; const GLU_TESS_ERROR_DATA = 100109; const GLU_TESS_EDGE_FLAG_DATA = 100110; const GLU_TESS_COMBINE_DATA = 100111; /* TessContour */ const GLU_CW = 100120; const GLU_CCW = 100121; const GLU_INTERIOR = 100122; const GLU_EXTERIOR = 100123; const GLU_UNKNOWN = 100124; /* TessProperty */ const GLU_TESS_WINDING_RULE = 100140; const GLU_TESS_BOUNDARY_ONLY = 100141; const GLU_TESS_TOLERANCE = 100142; /* TessError */ const GLU_TESS_ERROR1 = 100151; const GLU_TESS_ERROR2 = 100152; const GLU_TESS_ERROR3 = 100153; const GLU_TESS_ERROR4 = 100154; const GLU_TESS_ERROR5 = 100155; const GLU_TESS_ERROR6 = 100156; const GLU_TESS_ERROR7 = 100157; const GLU_TESS_ERROR8 = 100158; const GLU_TESS_MISSING_BEGIN_POLYGON = 100151; const GLU_TESS_MISSING_BEGIN_CONTOUR = 100152; const GLU_TESS_MISSING_END_POLYGON = 100153; const GLU_TESS_MISSING_END_CONTOUR = 100154; const GLU_TESS_COORD_TOO_LARGE = 100155; const GLU_TESS_NEED_COMBINE_CALLBACK = 100156; /* TessWinding */ const GLU_TESS_WINDING_ODD = 100130; const GLU_TESS_WINDING_NONZERO = 100131; const GLU_TESS_WINDING_POSITIVE = 100132; const GLU_TESS_WINDING_NEGATIVE = 100133; const GLU_TESS_WINDING_ABS_GEQ_TWO = 100134; /*************************************************************/ //#ifdef __cplusplus //class GLUnurbs; //class GLUquadric; //class GLUtesselator; //#else //#endif extern (C): alias int GLUnurbs; alias int GLUquadric; alias int GLUtesselator; alias GLUtesselator GLUtriangulatorObj; const GLU_TESS_MAX_COORD = 1.0e150; /* Internal convenience typedefs */ alias void function()_GLUfuncptr; extern(System) { void gluBeginCurve(GLUnurbs *nurb); void gluBeginPolygon(GLUtesselator *tess); void gluBeginSurface(GLUnurbs *nurb); void gluBeginTrim(GLUnurbs *nurb); GLint gluBuild1DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, void *data); GLint gluBuild1DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, void *data); GLint gluBuild2DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, void *data); GLint gluBuild2DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, void *data); GLint gluBuild3DMipmapLevels(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, void *data); GLint gluBuild3DMipmaps(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *data); GLboolean gluCheckExtension(GLubyte *extName, GLubyte *extString); void gluCylinder(GLUquadric *quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks); void gluDeleteNurbsRenderer(GLUnurbs *nurb); void gluDeleteQuadric(GLUquadric *quad); void gluDeleteTess(GLUtesselator *tess); void gluDisk(GLUquadric *quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops); void gluEndCurve(GLUnurbs *nurb); void gluEndPolygon(GLUtesselator *tess); void gluEndSurface(GLUnurbs *nurb); void gluEndTrim(GLUnurbs *nurb); GLubyte * gluErrorString(GLenum error); void gluGetNurbsProperty(GLUnurbs *nurb, GLenum property, GLfloat *data); GLubyte * gluGetString(GLenum name); void gluGetTessProperty(GLUtesselator *tess, GLenum which, GLdouble *data); void gluLoadSamplingMatrices(GLUnurbs *nurb, GLfloat *model, GLfloat *perspective, GLint *view); void gluLookAt(GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ); GLUnurbs * gluNewNurbsRenderer(); GLUquadric * gluNewQuadric(); GLUtesselator * gluNewTess(); void gluNextContour(GLUtesselator *tess, GLenum type); void gluNurbsCallback(GLUnurbs *nurb, GLenum which, _GLUfuncptr CallBackFunc); void gluNurbsCallbackData(GLUnurbs *nurb, GLvoid *userData); void gluNurbsCallbackDataEXT(GLUnurbs *nurb, GLvoid *userData); void gluNurbsCurve(GLUnurbs *nurb, GLint knotCount, GLfloat *knots, GLint stride, GLfloat *control, GLint order, GLenum type); void gluNurbsProperty(GLUnurbs *nurb, GLenum property, GLfloat value); void gluNurbsSurface(GLUnurbs *nurb, GLint sKnotCount, GLfloat *sKnots, GLint tKnotCount, GLfloat *tKnots, GLint sStride, GLint tStride, GLfloat *control, GLint sOrder, GLint tOrder, GLenum type); void gluOrtho2D(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top); void gluPartialDisk(GLUquadric *quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep); void gluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar); void gluPickMatrix(GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport); GLint gluProject(GLdouble objX, GLdouble objY, GLdouble objZ, GLdouble *model, GLdouble *proj, GLint *view, GLdouble *winX, GLdouble *winY, GLdouble *winZ); void gluPwlCurve(GLUnurbs *nurb, GLint count, GLfloat *data, GLint stride, GLenum type); void gluQuadricCallback(GLUquadric *quad, GLenum which, _GLUfuncptr CallBackFunc); void gluQuadricDrawStyle(GLUquadric *quad, GLenum draw); void gluQuadricNormals(GLUquadric *quad, GLenum normal); void gluQuadricOrientation(GLUquadric *quad, GLenum orientation); void gluQuadricTexture(GLUquadric *quad, GLboolean texture); GLint gluScaleImage(GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid *dataOut); void gluSphere(GLUquadric *quad, GLdouble radius, GLint slices, GLint stacks); void gluTessBeginContour(GLUtesselator *tess); void gluTessBeginPolygon(GLUtesselator *tess, GLvoid *data); void gluTessCallback(GLUtesselator *tess, GLenum which, _GLUfuncptr CallBackFunc); void gluTessEndContour(GLUtesselator *tess); void gluTessEndPolygon(GLUtesselator *tess); void gluTessNormal(GLUtesselator *tess, GLdouble valueX, GLdouble valueY, GLdouble valueZ); void gluTessProperty(GLUtesselator *tess, GLenum which, GLdouble data); void gluTessVertex(GLUtesselator *tess, GLdouble *location, GLvoid *data); GLint gluUnProject(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble *model, GLdouble *proj, GLint *view, GLdouble *objX, GLdouble *objY, GLdouble *objZ); GLint gluUnProject4(GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, GLdouble *model, GLdouble *proj, GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble *objX, GLdouble *objY, GLdouble *objZ, GLdouble *objW); } // extern(System)
D
// DerelictCL - a Derelict based dynamic binding for OpenCL // written in the D programming language // // Copyright: MeinMein 2013-2014. // License: Boost License 1.0 // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // Authors: Gerbrand Kamphuis (meinmein.com), // Marvin Meeng (meinmein.com). module derelict.opencl.cl_d3d10; import derelict.opencl.loader; import derelict.opencl.types; extern (System) { // OpenCL 1.0 alias nothrow cl_int function(cl_platform_id platform, cl_d3d10_device_source_khr d3d_device_source, void* d3d_object, cl_d3d10_device_set_khr d3d_device_set, cl_uint num_entries, cl_device_id* devices, cl_uint* num_devices) da_clGetDeviceIDsFromD3D10KHR; alias nothrow cl_mem function(cl_context context, cl_mem_flags flags, ID3D10Buffer* resource, cl_int* errcode_ret) da_clCreateFromD3D10BufferKHR; alias nothrow cl_mem function(cl_context context, cl_mem_flags flags, ID3D10Texture2D* resource, uint subresource, cl_int* errcode_ret) da_clCreateFromD3D10Texture2DKHR; alias nothrow cl_mem function(cl_context context, cl_mem_flags flags, ID3D10Texture3D* resource, uint subresource, cl_int* errcode_ret) da_clCreateFromD3D10Texture3DKHR; alias nothrow cl_int function(cl_command_queue command_queue, cl_uint num_objects, const(cl_mem*) mem_objects, cl_uint num_events_in_wait_list, const(cl_event*) event_wait_list, cl_event* event) da_clEnqueueAcquireD3D10ObjectsKHR; alias nothrow cl_int function(cl_command_queue command_queue, cl_uint num_objects, const(cl_mem*) mem_objects, cl_uint num_events_in_wait_list, const(cl_event*) event_wait_list, cl_event* event) da_clEnqueueReleaseD3D10ObjectsKHR; } __gshared { // OpenCL 1.0 da_clGetDeviceIDsFromD3D10KHR clGetDeviceIDsFromD3D10KHR; da_clCreateFromD3D10BufferKHR clCreateFromD3D10BufferKHR; da_clCreateFromD3D10Texture2DKHR clCreateFromD3D10Texture2DKHR; da_clCreateFromD3D10Texture3DKHR clCreateFromD3D10Texture3DKHR; da_clEnqueueAcquireD3D10ObjectsKHR clEnqueueAcquireD3D10ObjectsKHR; da_clEnqueueReleaseD3D10ObjectsKHR clEnqueueReleaseD3D10ObjectsKHR; } package { void loadSymbols(void delegate(void**, string, bool doThrow) bindFunc) { } CLVersion reload(void delegate(void**, string, bool doThrow) bindFunc, CLVersion clVer) { return clVer; } private __gshared bool _EXT_cl_khr_d3d10_sharing; public bool EXT_cl_khr_d3d10_sharing() @property { return _EXT_cl_khr_d3d10_sharing; } private void load_cl_khr_d3d10_sharing(CLVersion clVer, cl_platform_id platform) { try { loadExtensionFunction(cast(void**)&clGetDeviceIDsFromD3D10KHR, "clGetDeviceIDsFromD3D10KHR",clVer, platform); loadExtensionFunction(cast(void**)&clCreateFromD3D10BufferKHR, "clCreateFromD3D10BufferKHR", clVer, platform); loadExtensionFunction(cast(void**)&clCreateFromD3D10Texture2DKHR, "clCreateFromD3D10Texture2DKHR", clVer, platform); loadExtensionFunction(cast(void**)&clCreateFromD3D10Texture3DKHR, "clCreateFromD3D10Texture3DKHR", clVer, platform); loadExtensionFunction(cast(void**)&clEnqueueAcquireD3D10ObjectsKHR, "clEnqueueAcquireD3D10ObjectsKHR", clVer, platform); loadExtensionFunction(cast(void**)&clEnqueueReleaseD3D10ObjectsKHR, "clEnqueueReleaseD3D10ObjectsKHR", clVer, platform); _EXT_cl_khr_d3d10_sharing = clGetDeviceIDsFromD3D10KHR !is null && clCreateFromD3D10BufferKHR !is null && clCreateFromD3D10Texture2DKHR !is null && clCreateFromD3D10Texture3DKHR !is null && clEnqueueAcquireD3D10ObjectsKHR !is null && clEnqueueReleaseD3D10ObjectsKHR !is null; } catch(Exception e) { _EXT_cl_khr_d3d10_sharing = false; } } void loadEXT(CLVersion clVer, cl_platform_id platform) { if(clVer >= CLVersion.CL10) { // OpenCL 1.0 load_cl_khr_d3d10_sharing(clVer, platform); } } }
D
module android.java.android.icu.text.Transliterator_Position; public import android.java.android.icu.text.Transliterator_Position_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!Transliterator_Position; import import1 = android.java.java.lang.Class;
D
/home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Core.build/Dispatch.swift.o : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/RFC1123.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/String+Polymorphic.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Sequence.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Collection+Safe.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Cache.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Extendable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/EmptyInitializable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/DataFile.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/String+CaseInsensitiveCompare.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Semaphore.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/String.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Dispatch.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Lock.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Portal.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/FileProtocol.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/StaticDataBuffer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/DispatchTime+Utilities.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Bits.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Exports.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Result.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Int+Hex.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Array.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/WorkingDirectory.swift /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/libc.swiftmodule /usr/lib/swift/linux/x86_64/Glibc.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Debugging.swiftmodule /usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /usr/lib/swift/linux/x86_64/Foundation.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Bits.swiftmodule /usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /usr/lib/swift/linux/x86_64/glibc.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CHTTP.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CSQLite.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Core.build/Dispatch~partial.swiftmodule : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/RFC1123.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/String+Polymorphic.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Sequence.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Collection+Safe.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Cache.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Extendable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/EmptyInitializable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/DataFile.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/String+CaseInsensitiveCompare.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Semaphore.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/String.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Dispatch.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Lock.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Portal.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/FileProtocol.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/StaticDataBuffer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/DispatchTime+Utilities.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Bits.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Exports.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Result.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Int+Hex.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Array.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/WorkingDirectory.swift /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/libc.swiftmodule /usr/lib/swift/linux/x86_64/Glibc.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Debugging.swiftmodule /usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /usr/lib/swift/linux/x86_64/Foundation.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Bits.swiftmodule /usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /usr/lib/swift/linux/x86_64/glibc.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CHTTP.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CSQLite.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Core.build/Dispatch~partial.swiftdoc : /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/RFC1123.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/String+Polymorphic.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Sequence.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Collection+Safe.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Cache.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Extendable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/EmptyInitializable.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/DataFile.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/String+CaseInsensitiveCompare.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Semaphore.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/String.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Dispatch.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Lock.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Portal.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/FileProtocol.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/StaticDataBuffer.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/DispatchTime+Utilities.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Bits.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Exports.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Result.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Int+Hex.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/Array.swift /home/albertfega/Desktop/LaSalleChat/.build/checkouts/core.git-4369016638413795800/Sources/Core/WorkingDirectory.swift /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/libc.swiftmodule /usr/lib/swift/linux/x86_64/Glibc.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Debugging.swiftmodule /usr/lib/swift/linux/x86_64/Dispatch.swiftmodule /usr/lib/swift/linux/x86_64/Foundation.swiftmodule /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/Bits.swiftmodule /usr/lib/swift/linux/x86_64/Swift.swiftmodule /usr/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule /usr/lib/swift/linux/x86_64/glibc.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CHTTP.build/module.modulemap /home/albertfega/Desktop/LaSalleChat/.build/x86_64-unknown-linux/debug/CSQLite.build/module.modulemap
D
import std.stdio; import core.thread; import std.datetime; import std.range; import std.conv; import derelict.sdl2.sdl; import rx; import std.container; import gamepad; import looprunner; import std.exception; version(OSX){ extern(C) int* CGEventCreateKeyboardEvent(int* source, ushort key, bool flag); extern(C) void CGEventPost(int tap, int*); extern(C) void CGEventSetFlags(int*, int); extern(C) void CFRelease (int* cf); } // extern(C) void CFRelease(int*); void main() { DerelictSDL2.load(); SDL_SetHint(SDL_HINT_NO_SIGNAL_HANDLERS, "1"); SDL_Init(0);scope(exit)SDL_Quit(); SDL_InitSubSystem(SDL_INIT_JOYSTICK); auto ctrl = new RightCtrl(); ctrl.searchPad; ctrl.setup(); auto runner = (new LoopRunner()).targetFps(60f) .run((){ctrl.update();}); } /// class RightCtrl{ public{ SDLGamePad currentPad(){ return _currentPad; } void setup(){ int currentLayer = 0; Disposable[] disposableLayer0 = createDisposableLayer0; Disposable[] disposableLayer1; Disposable[] disposableLayer2; _currentPad.onDownButton(Button.R1) .doSubscribe!((_){ if(currentLayer == 0){ disposableLayer0.each!(d => d.dispose()); disposableLayer1 = createDisposableLayer1(); currentLayer = 1; } }); _currentPad.onUpButton(Button.R1) .doSubscribe!((_){ disposableLayer1.each!(d => d.dispose()); currentLayer = 0; disposableLayer0 = createDisposableLayer0(); }); _currentPad.onDownButton(Button.R2) .doSubscribe!((_){ if(currentLayer == 0){ disposableLayer0.each!(d => d.dispose()); disposableLayer2 = createDisposableLayer2(); currentLayer = 2; } }); _currentPad.onUpButton(Button.R2) .doSubscribe!((_){ disposableLayer2.each!(d => d.dispose()); currentLayer = 0; disposableLayer0 = createDisposableLayer0(); }); } auto createDisposableLayer0(){ Disposable[] disposables; disposables ~= _currentPad.onDownButton(Button.Y) .doSubscribe!((_){ downKey(Key.Z, 0x00100000); upKey(Key.Z); }); disposables ~= _currentPad.onDownButton(Button.B) .doSubscribe((bool b){ downKey(Key.Z, 0x00120000); upKey(Key.Z); }); disposables ~= _currentPad.onStayButtonPeriodicly(Button.X) .doSubscribe((bool b){ downKey(Key.CloseBracket); upKey(Key.CloseBracket); }); disposables ~= _currentPad.onStayButtonPeriodicly(Button.A) .doSubscribe((bool b){ downKey(Key.OpenBracket); upKey(Key.OpenBracket); }); // toolselect disposables ~= _currentPad.onDownButton(Button.RightStick) .doSubscribe((bool b){ downKey(Key.I); }) .withDisposed((){ upKey(Key.I); }); disposables ~= _currentPad.onUpButton(Button.RightStick) .doSubscribe((bool b){ upKey(Key.I); downKey(Key.B); upKey(Key.B); }); disposables ~= _currentPad.onDownAxisButton(AxisButton.RLeft) .doSubscribe((bool b){ downKey(Key.R); }) .withDisposed((){ upKey(Key.R); }); disposables ~= _currentPad.onUpAxisButton(AxisButton.RLeft) .doSubscribe((bool b){ upKey(Key.R); downKey(Key.B); upKey(Key.B); }); disposables ~= _currentPad.onDownAxisButton(AxisButton.RDown) .doSubscribe((bool b){ downKey(Key.Z); }) .withDisposed((){ upKey(Key.Z); }); disposables ~= _currentPad.onUpAxisButton(AxisButton.RDown) .doSubscribe((bool b){ upKey(Key.Z); downKey(Key.B); upKey(Key.B); }); disposables ~= _currentPad.onDownAxisButton(AxisButton.RUp) .doSubscribe((bool b){ downKey(Key.E); }) .withDisposed((){ upKey(Key.E); }); disposables ~= _currentPad.onUpAxisButton(AxisButton.RUp) .doSubscribe((bool b){ upKey(Key.E); downKey(Key.B); upKey(Key.B); }); disposables ~= _currentPad.onDownAxisButton(AxisButton.RRight) .doSubscribe((bool b){ downKey(Key.H); }) .withDisposed((){ upKey(Key.H); }); disposables ~= _currentPad.onUpAxisButton(AxisButton.RRight) .doSubscribe((bool b){ upKey(Key.H); downKey(Key.B); upKey(Key.B); }); return disposables; } auto createDisposableLayer1(){ Disposable[] disposables; disposables ~= _currentPad.onDownButton(Button.X) .doSubscribe((bool b){ downKey(Key.C, 0x00100000); upKey(Key.C); }); disposables ~= _currentPad.onDownButton(Button.A) .doSubscribe((bool b){ downKey(Key.D, 0x00100000); upKey(Key.D); }); disposables ~= _currentPad.onDownButton(Button.Y) .doSubscribe((bool b){ downKey(Key.T, 0x00100000); upKey(Key.T); }) .withDisposed((){ }); disposables ~= _currentPad.onDownButton(Button.B) .doSubscribe((bool b){ downKey(Key.V, 0x00100000); upKey(Key.V); }) .withDisposed((){ }); disposables ~= _currentPad.onDownAxisButton(AxisButton.RUp) .doSubscribe((bool b){ downKey(Key.L); }) .withDisposed((){ upKey(Key.L); }); disposables ~= _currentPad.onUpAxisButton(AxisButton.RUp) .doSubscribe((bool b){ upKey(Key.W); downKey(Key.B); upKey(Key.B); }); disposables ~= _currentPad.onDownAxisButton(AxisButton.RLeft) .doSubscribe((bool b){ downKey(Key.W); }) .withDisposed((){ upKey(Key.R); }); disposables ~= _currentPad.onUpAxisButton(AxisButton.RLeft) .doSubscribe((bool b){ upKey(Key.W); downKey(Key.B); upKey(Key.B); }); disposables ~= _currentPad.onDownAxisButton(AxisButton.RRight) .doSubscribe((bool b){ downKey(Key.V); }) .withDisposed((){ upKey(Key.R); }); disposables ~= _currentPad.onUpAxisButton(AxisButton.RRight) .doSubscribe((bool b){ upKey(Key.V); downKey(Key.B); upKey(Key.B); }); return disposables; } auto createDisposableLayer2(){ Disposable[] disposables; disposables ~= _currentPad.onDownButton(Button.Y) .doSubscribe((bool b){ downKey(Key.Tab); upKey(Key.Tab); }); disposables ~= _currentPad.onDownButton(Button.X) .doSubscribe((bool b){ downKey(Key.F6); upKey(Key.F6); }); disposables ~= _currentPad.onDownButton(Button.B) .doSubscribe((bool b){ downKey(Key.F7); upKey(Key.F7); }); disposables ~= _currentPad.onDownButton(Button.A) .doSubscribe((bool b){ downKey(Key.F5); upKey(Key.F5); }); return disposables; } void searchPad(){ import std.algorithm; detectAllGamePads(); Disposable[] disposables; bool[] states; foreach(pad; _gamepads){ uint index = _gamepads.countUntil(pad).to!uint; states ~= false; pad.setupGamePad; disposables ~= pad.onUpdateButton(Button.Start).doSubscribe!(value => states[index] = value); } bool isDetected = false; uint detectedPadIndex = 0; do{ SDL_JoystickUpdate(); foreach(i, pad; _gamepads){ _gamepads[i].update; isDetected = states.canFind(true); detectedPadIndex = i; if(isDetected)break; } import std.algorithm.iteration: stdFold = fold; Thread.sleep( dur!("msecs")(100)); }while(!isDetected); foreach(disposable; disposables){ disposable.dispose(); } writeln("Detected! : ", detectedPadIndex); _currentPad = _gamepads[detectedPadIndex]; } void update(){ if(!_currentPad) return; SDL_JoystickUpdate(); _currentPad.update; } }//public private{ SDLGamePad _currentPad; SDLGamePad[] _gamepads; void detectAllGamePads(){ foreach(joystickIndex; SDL_NumJoysticks().iota){ auto handle = SDL_JoystickOpen(joystickIndex); if(!handle)continue; auto pad = new SDLGamePad(handle); pad.name.writeln; if(pad.isAttached) { SDL_JoystickGetDeviceGUID(joystickIndex).writeln; SDL_JoystickGetAttached(handle).writeln; SDL_JoystickInstanceID(handle).writeln; SDL_GetError.to!string.writeln; _gamepads ~= pad; } } _gamepads.length.writeln; SDL_GetError().to!string.writeln; } }//private }//class RightCtrl void downKey(Key key, int flag = 0){ version(OSX){ sendKey(key.to!ushort, true, flag); } version(Windows){ if(flag == 0){ sendKey(key.to!ushort, true, 0); }else if(flag == 0x00100000){ // ctrl sendKey(Key.Control.to!ushort, true, 0); sendKey(key.to!ushort, true, 0); sendKey(Key.Control.to!ushort, false, 0); }else if(flag == 0x00100000){ // ctrl + shift sendKey(Key.Control.to!ushort, true, 0); sendKey(Key.Shift.to!ushort, true, 0); sendKey(key.to!ushort, true, 0); sendKey(Key.Shift.to!ushort, false, 0); sendKey(Key.Control.to!ushort, false, 0); } } } void upKey(Key key, int flag = 0){ sendKey(key.to!ushort, false, flag); } void sendKey(ushort keycode, bool type, int flag){ version(OSX){ auto key = CGEventCreateKeyboardEvent(null, keycode, type); CGEventSetFlags(key, flag); CGEventPost(0, key); CFRelease(key); } version(Windows){ import core.sys.windows.windows; int KEYEVENTF_KEYDOWN = 0x0; int KEYEVENTF_KEYUP = 0x2; int KEYEVENTF_EXTENDEDKEY = 0x1; KEYBDINPUT keyboardInput; keyboardInput.wVk = keycode; if(type){ keyboardInput.dwFlags = KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYDOWN; }else{ keyboardInput.dwFlags = KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP; } keyboardInput.dwExtraInfo = 0; keyboardInput.time = 0; INPUT input; input.type = 1; input.ki = keyboardInput; INPUT[] inputs = [input]; writeln(keycode); SendInput(1, inputs.ptr, INPUT.sizeof); } } version(OSX){ enum Key{ A = 0x00, S = 0x01, D = 0x02, F = 0x03, H = 0x04, G = 0x05, Z = 0x06, X = 0x07, C = 0x08, V = 0x09, B = 0x0B, Q = 0x0C, W = 0x0D, E = 0x0E, R = 0x0F, Y = 0x10, T = 0x11, Num1 = 0x12, Num2 = 0x13, Num3 = 0x14, Num4 = 0x15, Num6 = 0x16, Num5 = 0x17, Equal = 0x18, Num9 = 0x19, Num7 = 0x1A, Minus = 0x1B, Num8 = 0x1C, Num0 = 0x1D, RightBracket = 0x1E, O = 0x1F, U = 0x20, LeftBracket = 0x21, I = 0x22, P = 0x23, L = 0x25, J = 0x26, Quote = 0x27, K = 0x28, Semicolon = 0x29, Backslash = 0x2A, Comma = 0x2B, Slash = 0x2C, N = 0x2D, M = 0x2E, Period = 0x2F, Grave = 0x32, KeypadDecimal = 0x41, KeypadMultiply = 0x43, KeypadPlus = 0x45, KeypadClear = 0x47, KeypadDivide = 0x4B, KeypadEnter = 0x4C, KeypadMinus = 0x4E, KeypadEquals = 0x51, Keypad0 = 0x52, Keypad1 = 0x53, Keypad2 = 0x54, Keypad3 = 0x55, Keypad4 = 0x56, Keypad5 = 0x57, Keypad6 = 0x58, Keypad7 = 0x59, Keypad8 = 0x5B, Keypad9 = 0x5C, Return = 0x24, Tab = 0x30, Space = 0x31, Delete = 0x33, Escape = 0x35, Command = 0x37, Shift = 0x38, CapsLock = 0x39, Option = 0x3A, Control = 0x3B, RightShift = 0x3C, RightOption = 0x3D, RightControl = 0x3E, Function = 0x3F, F17 = 0x40, VolumeUp = 0x48, VolumeDown = 0x49, Mute = 0x4A, F18 = 0x4F, F19 = 0x50, F20 = 0x5A, F5 = 0x60, F6 = 0x61, F7 = 0x62, F3 = 0x63, F8 = 0x64, F9 = 0x65, F11 = 0x67, F13 = 0x69, F16 = 0x6A, F14 = 0x6B, F10 = 0x6D, F12 = 0x6F, F15 = 0x71, Help = 0x72, Home = 0x73, PageUp = 0x74, ForwardDelete = 0x75, F4 = 0x76, End = 0x77, F2 = 0x78, PageDown = 0x79, F1 = 0x7A, LeftArrow = 0x7B, RightArrow = 0x7C, DownArrow = 0x7D, UpArrow = 0x7E, CloseBracket = 0x1e, OpenBracket = 0x21, International1 = 0x5e, } } version(Windows){ enum Key{ Control = 0x11, Shift = 0x10, OpenBracket = 0xDB, CloseBracket = 0xDD, Z = 0x5A, I = 0x49, B = 0x42, R = 0x52, E = 0x45, H = 0x48, C = 0x43, D = 0x44, T = 0x54, V = 0x56, L = 0x4C, W = 0x57, Tab = 0x09, F5= 0x74, F6= 0x75, F7= 0x76, } }
D
/** Common classes for HTTP clients and servers. Copyright: © 2012 Sönke Ludwig License: Subject to the terms of the MIT license, as written in the included LICENSE.txt file. Authors: Sönke Ludwig, Jan Krüger */ module vibe.http.common; public import vibe.http.status; import vibe.core.log; import vibe.core.tcp; import std.algorithm; import std.array; import std.conv; import std.datetime; import std.exception; import std.format; import std.string; import std.typecons; enum HttpVersion { HTTP_1_0, HTTP_1_1 } /** Represents an HTTP request made to a server. */ class HttpRequest { protected { TcpConnection m_conn; } public { HttpVersion httpVersion = HttpVersion.HTTP_1_1; string method = "GET"; string url = "/"; StrMapCI headers; } protected this(TcpConnection conn) { m_conn = conn; } protected this() { } @property string host() const { auto ph = "Host" in headers; return ph ? *ph : null; } @property void host(string v) { headers["Host"] = v; } @property bool persistent() const { auto ph = "connection" in headers; switch(httpVersion) { case HttpVersion.HTTP_1_0: if (ph && toLower(*ph) == "keep-alive") return true; return false; case HttpVersion.HTTP_1_1: if (ph && toLower(*ph) == "close") return false; return true; default: return false; } } } /** Represents the HTTP response from the server back to the client. */ class HttpResponse { public { HttpVersion httpVersion = HttpVersion.HTTP_1_1; int statusCode = HttpStatus.OK; string statusPhrase; StrMapCI headers; Cookie[string] cookies; } @property string contentType() const { auto pct = "Content-Type" in headers; return pct ? *pct : "application/octet-stream"; } @property void contentType(string ct) { headers["Content-Type"] = ct; } } class MultiPart { string contentType; InputStream stream; //JsonValue json; string[string] form; } string getHttpVersionString(HttpVersion ver) { final switch(ver){ case HttpVersion.HTTP_1_0: return "HTTP/1.0"; case HttpVersion.HTTP_1_1: return "HTTP/1.1"; } } HttpVersion parseHttpVersion(ref string str) { enforce(str.startsWith("HTTP/")); str = str[5 .. $]; int majorVersion = parse!int(str); enforce(str.startsWith(".")); str = str[1 .. $]; int minorVersion = parse!int(str); enforce( majorVersion == 1 && (minorVersion == 0 || minorVersion == 1) ); return minorVersion == 0 ? HttpVersion.HTTP_1_0 : HttpVersion.HTTP_1_1; } /** Takes an input stream that contains data in HTTP chunked format and outputs the raw data. */ final class ChunkedInputStream : InputStream { private { InputStream m_in; bool m_empty = false; ulong m_bytesInCurrentChunk = 0; } this(InputStream stream) { assert(stream !is null); m_in = stream; readChunk(); } @property bool empty() const { return m_empty; } @property ulong leastSize() const { return m_bytesInCurrentChunk; } void read(ubyte[] dst) { while( dst.length > 0 ){ enforce( !empty ); enforce( m_bytesInCurrentChunk > 0 ); auto sz = cast(size_t)min(m_bytesInCurrentChunk, dst.length); m_in.read(dst[0 .. sz]); dst = dst[sz .. $]; m_bytesInCurrentChunk -= sz; if( m_bytesInCurrentChunk == 0 ){ // skipp current chunk footer ubyte[2] crlf; m_in.read(crlf); enforce(crlf[0] == '\r' && crlf[1] == '\n'); readChunk(); } } } ubyte[] readLine(size_t max_bytes, string line_sep = "\r\n") { return readLineDefault(max_bytes, line_sep); } ubyte[] readAll(size_t max_bytes = 0) { return readAllDefault(max_bytes); } private void readChunk() { // read chunk header auto ln = m_in.readLine(); ulong sz = toImpl!ulong(cast(string)ln, 16u); m_bytesInCurrentChunk = sz; if( m_bytesInCurrentChunk == 0 ){ // empty chunk denotes the end m_empty = true; // skip final chunk footer ubyte[2] crlf; m_in.read(crlf); enforce(crlf[0] == '\r' && crlf[1] == '\n'); } } } /** Outputs data to an output stream in HTTP chunked format. */ final class ChunkedOutputStream : OutputStream { private { OutputStream m_out; Appender!(ubyte[]) m_buffer; } this(OutputStream stream) { m_out = stream; m_buffer = appender!(ubyte[])(); } void write(in ubyte[] bytes, bool do_flush = true) { m_buffer.put(bytes); if( do_flush ) flush(); } void write(InputStream data, ulong nbytes = 0, bool do_flush = true) { if( m_buffer.data.length > 0 ) flush(); if( nbytes == 0 ){ while( !data.empty ){ writeChunkSize(data.leastSize); m_out.write(data, data.leastSize, false); m_out.write("\r\n", do_flush); } } else { writeChunkSize(nbytes); m_out.write(data, nbytes, false); m_out.write("\r\n", do_flush); } } void flush() { auto data = m_buffer.data(); if( data.length ){ writeChunkSize(data.length); m_out.write(data, false); m_out.write("\r\n"); m_buffer.clear(); } m_out.flush(); } void finalize() { flush(); m_out.write("0\r\n\r\n"); m_out.finalize(); } private void writeChunkSize(long length) { m_out.write(format("%x\r\n", length), false); } } final class Cookie { private { string m_value; string m_domain; string m_path; string m_expires; long m_maxAge; bool m_secure; bool m_httpOnly; } Cookie setValue(string value) { m_value = value; return this; } @property string value() { return m_value; } Cookie setDomain(string domain) { m_domain = domain; return this; } @property string domain() { return m_domain; } Cookie setPath(string path) { m_path = path; return this; } @property string path() { return m_path; } Cookie setExpire(string expires) { m_expires = expires; return this; } @property string expires() { return m_expires; } Cookie setMaxAge(long maxAge) { m_maxAge = maxAge; return this;} @property long maxAge() { return m_maxAge; } Cookie setSecure(bool enabled) { m_secure = enabled; return this; } @property bool isSecure() { return m_secure; } Cookie setHttpOnly(bool enabled) { m_httpOnly = enabled; return this; } @property bool isHttpOnly() { return m_httpOnly; } } /** Behaves like string[string] but case does not matter for the key. This kind of map is used for MIME headers (e.g. for HTTP), where the case of the key strings does not matter. Note that despite case not being relevant for matching keyse, iterating over the map will yield the original case of the key that was put in. */ struct StrMapCI { private { Tuple!(string, string)[string] m_map; } void remove(string key){ m_map.remove(toLower(key)); } string opIndex(string key){ auto pv = toLower(key) in m_map; enforce(pv !is null, "Accessing non-existant key '"~key~"'."); return (*pv)[1]; } string opIndexAssign(string val, string key){ m_map[toLower(key)] = tuple(key, val); return val; } inout(string)* opBinaryRight(string op)(string key) inout if(op == "in") { auto p = toLower(key) in m_map; if( p is null ) return null; return &(*p)[1]; } bool opBinaryRight(string op)(string key) inout if(op == "!in") { return toLower(key) !in m_map; } int opApply(int delegate(ref string key, ref string val) del) { foreach( ref kv; m_map ){ string kcopy = kv[0]; if( auto ret = del(kcopy, kv[1]) ) return ret; } return 0; } int opApply(int delegate(ref string val) del) { foreach( ref kv; m_map ){ if( auto ret = del(kv[1]) ) return ret; } return 0; } @property StrMapCI dup() const { StrMapCI ret; foreach( v; m_map ) ret[v[0]] = v[1]; return ret; } } string toRFC822DateTimeString(SysTime time) { assert(time.timezone == UTC()); auto ret = appender!string(); static immutable dayStrings = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; static immutable monthStrings = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; formattedWrite(ret, "%s, %02d %s %d %02d:%02d:%02d %s", dayStrings[time.dayOfWeek], time.day, monthStrings[time.month-1], time.year, time.hour, time.minute, time.second, "GMT"); return ret.data; } string toRFC822TimeString(SysTime time) { assert(time.timezone == UTC()); auto ret = appender!string(); formattedWrite(ret, "%02d:%02d:%02d %s", time.hour, time.minute, time.second, "GMT"); return ret.data; } string toRFC822DateString(SysTime time) { assert(time.timezone == UTC()); auto ret = appender!string(); static immutable dayStrings = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; static immutable monthStrings = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; formattedWrite(ret, "%s, %02d %s %d", dayStrings[time.dayOfWeek], time.day, monthStrings[time.month-1], time.year); return ret.data; }
D
module parser.parser; import std.regex; import std.uni; class Parser { public: static parseSql(string rawSql){ unicode* sql = new unicode(); regex([``]); } }
D
/* * Copyright Andrej Mitrovic 2013 - 2020. * 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 dtk.widgets; public { import dtk.widgets.button; import dtk.widgets.checkbutton; import dtk.widgets.combobox; import dtk.widgets.dialog; import dtk.widgets.entry; import dtk.widgets.frame; import dtk.widgets.label; import dtk.widgets.labelframe; import dtk.widgets.listbox; import dtk.widgets.menu; import dtk.widgets.notebook; import dtk.widgets.options; import dtk.widgets.pane; import dtk.widgets.progressbar; import dtk.widgets.radiobutton; import dtk.widgets.separator; import dtk.widgets.slider; import dtk.widgets.spinbox; import dtk.widgets.sizegrip; import dtk.widgets.scrollbar; import dtk.widgets.text; import dtk.widgets.tree; import dtk.widgets.widget; import dtk.widgets.window; }
D
module UnrealScript.TribesGame.TrPlayerReplicationInfo; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrObject; import UnrealScript.UTGame.UTPlayerReplicationInfo; import UnrealScript.Engine.Actor; import UnrealScript.TribesGame.TrInventoryHelper; import UnrealScript.Engine.ParticleSystem; import UnrealScript.UTGame.UTCarriedObject; import UnrealScript.Engine.PlayerReplicationInfo; import UnrealScript.Engine.SkeletalMesh; import UnrealScript.TribesGame.TrValueModifier; import UnrealScript.TribesGame.TrStatsInterface; import UnrealScript.Engine.TeamInfo; extern(C++) interface TrPlayerReplicationInfo : UTPlayerReplicationInfo { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class TribesGame.TrPlayerReplicationInfo")); } private static __gshared TrPlayerReplicationInfo mDefaultProperties; @property final static TrPlayerReplicationInfo DefaultProperties() { mixin(MGDPC("TrPlayerReplicationInfo", "TrPlayerReplicationInfo TribesGame.Default__TrPlayerReplicationInfo")); } static struct Functions { private static __gshared { ScriptFunction mGetPlayerRank; ScriptFunction mGetCurrentClass; ScriptFunction mGetEquipDevice; ScriptFunction mGetRankIcon; ScriptFunction mGetCurrentValueModifier; ScriptFunction mGetEquipPointByWeaponId; ScriptFunction mGetArmorType; ScriptFunction mGetCurrentSkinClass; ScriptFunction mGetGibMesh; ScriptFunction mGet3PSkin; ScriptFunction mGetBodyMesh; ScriptFunction mGetHandsMesh; ScriptFunction mGetSkiThrust; ScriptFunction mGetJetpackSocketCount; ScriptFunction mGetJetpackThrust; ScriptFunction mGetJetpackSocket; ScriptFunction mGetJetpackTrail; ScriptFunction mRequestLoadoutChange; ScriptFunction mVerifyCharacter; ScriptFunction mGetCharacterEquip; ScriptFunction mGetCharacterEquipLocal; ScriptFunction mGetUpgradeLevel; ScriptFunction mGetUpgradeLevelLocal; ScriptFunction mUpdatePing; ScriptFunction mRegisterBuddy; ScriptFunction mLoad1PData; ScriptFunction mReplicatedEvent; ScriptFunction mPostBeginPlay; ScriptFunction mRegisterPlayerWithSession; ScriptFunction mUpdateValueModifier; ScriptFunction mReset; ScriptFunction mSetPlayerTeam; ScriptFunction mSwapToPendingCharClass; ScriptFunction mVerifyAndLoadCharacter; ScriptFunction mGetSelectedLoadout; ScriptFunction mShouldVisitStation; ScriptFunction mResolveDefaultEquip; ScriptFunction mSetActiveEquip; ScriptFunction mIncrementKills; ScriptFunction mCheckMultiKill; ScriptFunction mGetPlayerClassId; ScriptFunction mGetPendingClass; ScriptFunction mGetCurrentClassAbb; ScriptFunction mGetPlayerRankNum; ScriptFunction mGetBaseGP; ScriptFunction mGetBaseXP; ScriptFunction mSetPlayerGP; ScriptFunction mSetPlayerXP; ScriptFunction mGetRankFromXP; ScriptFunction mGetPerkFromId; ScriptFunction mSetFlag; ScriptFunction mDuplicate; ScriptFunction mCopyProperties; ScriptFunction mSetCached3PSkin; ScriptFunction mGetCurrentVoiceClass; ScriptFunction mUpdateCachedSkin; ScriptFunction mOn3PSkinContentLoaded; ScriptFunction mOn1PSkinContentLoaded; ScriptFunction mUpdate1PMesh; ScriptFunction mOnPingRedFlagged; ScriptFunction mServerPingRedFlag; } public @property static final { ScriptFunction GetPlayerRank() { mixin(MGF("mGetPlayerRank", "Function TribesGame.TrPlayerReplicationInfo.GetPlayerRank")); } ScriptFunction GetCurrentClass() { mixin(MGF("mGetCurrentClass", "Function TribesGame.TrPlayerReplicationInfo.GetCurrentClass")); } ScriptFunction GetEquipDevice() { mixin(MGF("mGetEquipDevice", "Function TribesGame.TrPlayerReplicationInfo.GetEquipDevice")); } ScriptFunction GetRankIcon() { mixin(MGF("mGetRankIcon", "Function TribesGame.TrPlayerReplicationInfo.GetRankIcon")); } ScriptFunction GetCurrentValueModifier() { mixin(MGF("mGetCurrentValueModifier", "Function TribesGame.TrPlayerReplicationInfo.GetCurrentValueModifier")); } ScriptFunction GetEquipPointByWeaponId() { mixin(MGF("mGetEquipPointByWeaponId", "Function TribesGame.TrPlayerReplicationInfo.GetEquipPointByWeaponId")); } ScriptFunction GetArmorType() { mixin(MGF("mGetArmorType", "Function TribesGame.TrPlayerReplicationInfo.GetArmorType")); } ScriptFunction GetCurrentSkinClass() { mixin(MGF("mGetCurrentSkinClass", "Function TribesGame.TrPlayerReplicationInfo.GetCurrentSkinClass")); } ScriptFunction GetGibMesh() { mixin(MGF("mGetGibMesh", "Function TribesGame.TrPlayerReplicationInfo.GetGibMesh")); } ScriptFunction Get3PSkin() { mixin(MGF("mGet3PSkin", "Function TribesGame.TrPlayerReplicationInfo.Get3PSkin")); } ScriptFunction GetBodyMesh() { mixin(MGF("mGetBodyMesh", "Function TribesGame.TrPlayerReplicationInfo.GetBodyMesh")); } ScriptFunction GetHandsMesh() { mixin(MGF("mGetHandsMesh", "Function TribesGame.TrPlayerReplicationInfo.GetHandsMesh")); } ScriptFunction GetSkiThrust() { mixin(MGF("mGetSkiThrust", "Function TribesGame.TrPlayerReplicationInfo.GetSkiThrust")); } ScriptFunction GetJetpackSocketCount() { mixin(MGF("mGetJetpackSocketCount", "Function TribesGame.TrPlayerReplicationInfo.GetJetpackSocketCount")); } ScriptFunction GetJetpackThrust() { mixin(MGF("mGetJetpackThrust", "Function TribesGame.TrPlayerReplicationInfo.GetJetpackThrust")); } ScriptFunction GetJetpackSocket() { mixin(MGF("mGetJetpackSocket", "Function TribesGame.TrPlayerReplicationInfo.GetJetpackSocket")); } ScriptFunction GetJetpackTrail() { mixin(MGF("mGetJetpackTrail", "Function TribesGame.TrPlayerReplicationInfo.GetJetpackTrail")); } ScriptFunction RequestLoadoutChange() { mixin(MGF("mRequestLoadoutChange", "Function TribesGame.TrPlayerReplicationInfo.RequestLoadoutChange")); } ScriptFunction VerifyCharacter() { mixin(MGF("mVerifyCharacter", "Function TribesGame.TrPlayerReplicationInfo.VerifyCharacter")); } ScriptFunction GetCharacterEquip() { mixin(MGF("mGetCharacterEquip", "Function TribesGame.TrPlayerReplicationInfo.GetCharacterEquip")); } ScriptFunction GetCharacterEquipLocal() { mixin(MGF("mGetCharacterEquipLocal", "Function TribesGame.TrPlayerReplicationInfo.GetCharacterEquipLocal")); } ScriptFunction GetUpgradeLevel() { mixin(MGF("mGetUpgradeLevel", "Function TribesGame.TrPlayerReplicationInfo.GetUpgradeLevel")); } ScriptFunction GetUpgradeLevelLocal() { mixin(MGF("mGetUpgradeLevelLocal", "Function TribesGame.TrPlayerReplicationInfo.GetUpgradeLevelLocal")); } ScriptFunction UpdatePing() { mixin(MGF("mUpdatePing", "Function TribesGame.TrPlayerReplicationInfo.UpdatePing")); } ScriptFunction RegisterBuddy() { mixin(MGF("mRegisterBuddy", "Function TribesGame.TrPlayerReplicationInfo.RegisterBuddy")); } ScriptFunction Load1PData() { mixin(MGF("mLoad1PData", "Function TribesGame.TrPlayerReplicationInfo.Load1PData")); } ScriptFunction ReplicatedEvent() { mixin(MGF("mReplicatedEvent", "Function TribesGame.TrPlayerReplicationInfo.ReplicatedEvent")); } ScriptFunction PostBeginPlay() { mixin(MGF("mPostBeginPlay", "Function TribesGame.TrPlayerReplicationInfo.PostBeginPlay")); } ScriptFunction RegisterPlayerWithSession() { mixin(MGF("mRegisterPlayerWithSession", "Function TribesGame.TrPlayerReplicationInfo.RegisterPlayerWithSession")); } ScriptFunction UpdateValueModifier() { mixin(MGF("mUpdateValueModifier", "Function TribesGame.TrPlayerReplicationInfo.UpdateValueModifier")); } ScriptFunction Reset() { mixin(MGF("mReset", "Function TribesGame.TrPlayerReplicationInfo.Reset")); } ScriptFunction SetPlayerTeam() { mixin(MGF("mSetPlayerTeam", "Function TribesGame.TrPlayerReplicationInfo.SetPlayerTeam")); } ScriptFunction SwapToPendingCharClass() { mixin(MGF("mSwapToPendingCharClass", "Function TribesGame.TrPlayerReplicationInfo.SwapToPendingCharClass")); } ScriptFunction VerifyAndLoadCharacter() { mixin(MGF("mVerifyAndLoadCharacter", "Function TribesGame.TrPlayerReplicationInfo.VerifyAndLoadCharacter")); } ScriptFunction GetSelectedLoadout() { mixin(MGF("mGetSelectedLoadout", "Function TribesGame.TrPlayerReplicationInfo.GetSelectedLoadout")); } ScriptFunction ShouldVisitStation() { mixin(MGF("mShouldVisitStation", "Function TribesGame.TrPlayerReplicationInfo.ShouldVisitStation")); } ScriptFunction ResolveDefaultEquip() { mixin(MGF("mResolveDefaultEquip", "Function TribesGame.TrPlayerReplicationInfo.ResolveDefaultEquip")); } ScriptFunction SetActiveEquip() { mixin(MGF("mSetActiveEquip", "Function TribesGame.TrPlayerReplicationInfo.SetActiveEquip")); } ScriptFunction IncrementKills() { mixin(MGF("mIncrementKills", "Function TribesGame.TrPlayerReplicationInfo.IncrementKills")); } ScriptFunction CheckMultiKill() { mixin(MGF("mCheckMultiKill", "Function TribesGame.TrPlayerReplicationInfo.CheckMultiKill")); } ScriptFunction GetPlayerClassId() { mixin(MGF("mGetPlayerClassId", "Function TribesGame.TrPlayerReplicationInfo.GetPlayerClassId")); } ScriptFunction GetPendingClass() { mixin(MGF("mGetPendingClass", "Function TribesGame.TrPlayerReplicationInfo.GetPendingClass")); } ScriptFunction GetCurrentClassAbb() { mixin(MGF("mGetCurrentClassAbb", "Function TribesGame.TrPlayerReplicationInfo.GetCurrentClassAbb")); } ScriptFunction GetPlayerRankNum() { mixin(MGF("mGetPlayerRankNum", "Function TribesGame.TrPlayerReplicationInfo.GetPlayerRankNum")); } ScriptFunction GetBaseGP() { mixin(MGF("mGetBaseGP", "Function TribesGame.TrPlayerReplicationInfo.GetBaseGP")); } ScriptFunction GetBaseXP() { mixin(MGF("mGetBaseXP", "Function TribesGame.TrPlayerReplicationInfo.GetBaseXP")); } ScriptFunction SetPlayerGP() { mixin(MGF("mSetPlayerGP", "Function TribesGame.TrPlayerReplicationInfo.SetPlayerGP")); } ScriptFunction SetPlayerXP() { mixin(MGF("mSetPlayerXP", "Function TribesGame.TrPlayerReplicationInfo.SetPlayerXP")); } ScriptFunction GetRankFromXP() { mixin(MGF("mGetRankFromXP", "Function TribesGame.TrPlayerReplicationInfo.GetRankFromXP")); } ScriptFunction GetPerkFromId() { mixin(MGF("mGetPerkFromId", "Function TribesGame.TrPlayerReplicationInfo.GetPerkFromId")); } ScriptFunction SetFlag() { mixin(MGF("mSetFlag", "Function TribesGame.TrPlayerReplicationInfo.SetFlag")); } ScriptFunction Duplicate() { mixin(MGF("mDuplicate", "Function TribesGame.TrPlayerReplicationInfo.Duplicate")); } ScriptFunction CopyProperties() { mixin(MGF("mCopyProperties", "Function TribesGame.TrPlayerReplicationInfo.CopyProperties")); } ScriptFunction SetCached3PSkin() { mixin(MGF("mSetCached3PSkin", "Function TribesGame.TrPlayerReplicationInfo.SetCached3PSkin")); } ScriptFunction GetCurrentVoiceClass() { mixin(MGF("mGetCurrentVoiceClass", "Function TribesGame.TrPlayerReplicationInfo.GetCurrentVoiceClass")); } ScriptFunction UpdateCachedSkin() { mixin(MGF("mUpdateCachedSkin", "Function TribesGame.TrPlayerReplicationInfo.UpdateCachedSkin")); } ScriptFunction On3PSkinContentLoaded() { mixin(MGF("mOn3PSkinContentLoaded", "Function TribesGame.TrPlayerReplicationInfo.On3PSkinContentLoaded")); } ScriptFunction On1PSkinContentLoaded() { mixin(MGF("mOn1PSkinContentLoaded", "Function TribesGame.TrPlayerReplicationInfo.On1PSkinContentLoaded")); } ScriptFunction Update1PMesh() { mixin(MGF("mUpdate1PMesh", "Function TribesGame.TrPlayerReplicationInfo.Update1PMesh")); } ScriptFunction OnPingRedFlagged() { mixin(MGF("mOnPingRedFlagged", "Function TribesGame.TrPlayerReplicationInfo.OnPingRedFlagged")); } ScriptFunction ServerPingRedFlag() { mixin(MGF("mServerPingRedFlag", "Function TribesGame.TrPlayerReplicationInfo.ServerPingRedFlag")); } } } static struct Constants { enum { THR_SPINFUSOR = 1, THR_SMG = 2, THR_RIFLE = 3, THR_LOCKED_ON = 4, THR_CROSSBOW = 5, THR_FLAME_THROWER = 6, THR_CHAIN_GUN = 7, THR_MISSILE = 8, THR_NANITE = 9, THR_SHOTGUN = 10, THR_UNKNOWN = 11, THR_LASER = 12, THR_CH_V13 = 13, THR_SCOPE = 14, THR_STANDARD = 15, THR_GRENADE_LAUNCHER = 16, THR_MELEE = 17, THR_SHRIKE = 18, THR_FREE_SPECTATOR = 19, THR_RED_DOT = 20, THR_BXT1 = 21, THR_PHASERIFLE = 22, THR_SAP20 = 23, THR_PLASMAGUN = 24, HAE_KILL_STREAK_LEVEL_1 = 1, HAE_KILL_STREAK_LEVEL_2 = 2, HAE_KILL_STREAK_LEVEL_3 = 3, HAE_KILL_STREAK_LEVEL_4 = 4, HAE_KILL_STREAK_LEVEL_5 = 5, TRHUD_PACK_STEALTH = 1, TRHUD_PACK_DAMAGE = 2, TRHUD_PACK_OMNI = 3, TRHUD_PACK_ERECHARGE = 4, TRHUD_PACK_AIRTURRET = 5, TRHUD_PACK_BLINK = 6, TRHUD_PACK_ENERGY = 7, TRHUD_PACK_SHIELD = 8, TRHUD_PACK_JAMMER = 9, TRHUD_PACK_LIGHTTURRET = 10, TRHUD_PACK_FORCEFIELD = 11, TRHUD_PACK_WALLTURRET = 12, TRHUD_PACK_REGEN = 13, TRHUD_PACK_DROPJAMMER = 14, TRHUD_TBD1 = 15, TRHUD_TBD2 = 16, TRHUD_TBD3 = 17, TRHUD_BELT_STICKYGREN = 18, TRHUD_BELT_FRAG = 19, TRHUD_BELT_CLAYMORE = 20, TRHUD_BELT_NITRON = 21, TRHUD_BELT_MOTIONALARM = 22, TRHUD_BELT_SPIKEGREN = 23, TRHUD_BELT_WHITEOUT = 24, TRHUD_BELT_APGREN = 25, TRHUD_BELT_STGREN = 26, TRHUD_BELT_PRISMMINES = 27, TRHUD_BELT_FLARE = 28, TRHUD_BELT_EMPGREN = 29, TRHUD_BELT_MINES = 30, TRHUD_BELT_DISKTOSS = 31, TRHUD_TBD4 = 32, TRHUD_TBD5 = 33, TRHUD_MEDAL_ASSIST = 34, TRHUD_CLAYMOREMINE = 35, TRHUD_PRISMMINE = 36, TRHUD_LIGHTTURRET = 37, TRHUD_AATURRET = 38, TRHUD_MOTIONSENSOR = 39, TRHUD_MINES = 40, TRHUD_FORCESHIELD = 41, TRHUD_DROPJAMMER = 42, TRHUD_GENERATOR = 43, TRHUD_SKIING = 44, TRHUD_MEDAL_KILLINGSPREE = 45, TRHUD_MEDAL_KILLINGRAMPAGE = 46, TRHUD_MEDAL_UNSTOPPABLE = 47, TRHUD_MEDAL_RELENTLESS = 48, TRHUD_MEDAL_THESLAYER = 49, TRHUD_MEDAL_SNIPINGSPREE = 50, TRHUD_MEDAL_MARKSMAN = 51, TRHUD_MEDAL_SHARPSHOOTER = 52, TRHUD_MEDAL_AIRMAIL = 53, TRHUD_MEDAL_DEMOLITIONSEXPERT = 54, TRHUD_MEDAL_HURTLOCKER = 55, TRHUD_MEDAL_CLASSICSPREE = 56, TRHUD_MEDAL_DISKJOCKEY = 57, TRHUD_MEDAL_TRIBALFANATIC = 58, TRHUD_MEDAL_DOUBLEKILL = 59, TRHUD_MEDAL_TRIPLEKILL = 60, TRHUD_MEDAL_QUATRAKILL = 61, TRHUD_MEDAL_ULTRAKILL = 62, TRHUD_MEDAL_TEAMKILL = 63, TRHUD_MEDAL_NOJOY = 64, TRHUD_MEDAL_REVENGE = 65, TRHUD_MEDAL_AFTERMATH = 66, TRHUD_MEDAL_FIRSTBLOOD = 67, TRHUD_MEDAL_BLUEPLATE = 68, TRHUD_MEDAL_STICKYKILL = 69, TRHUD_MEDAL_HEADSHOT = 70, TRHUD_MEDAL_ARTILLERYSHOT = 71, TRHUD_MEDAL_MARTIALART = 72, TRHUD_MEDAL_SQUISH = 73, TRHUD_MEDAL_FLAGGOLD = 74, TRHUD_MEDAL_FLAGSILVER = 75, TRHUD_MEDAL_FLAGBRONZE = 75, TRHUD_MEDAL_FLAGLLAMA = 75, TRHUD_MEDAL_GENERHATER = 76, TRHUD_MEDAL_RABBITHUNTER = 77, TRHUD_MEDAL_CAERBANNOG = 78, TRHUD_MEDAL_FINALBLOW = 79, TRHUD_MEDAL_GENDEFENSE = 76, TRHUD_MEDAL_FLAGDEFENSE = 75, TRHUD_MEDAL_VDESTROY = 73, TRHUD_MEDAL_HOTAIR = 284, TRICON_RANK_1 = 80, TRICON_RANK_2 = 81, TRICON_RANK_3 = 82, TRICON_RANK_4 = 83, TRICON_RANK_5 = 84, TRICON_RANK_6 = 85, TRICON_RANK_7 = 86, TRICON_RANK_8 = 87, TRICON_RANK_9 = 88, TRICON_RANK_10 = 89, TRICON_RANK_11 = 90, TRICON_RANK_12 = 91, TRICON_RANK_13 = 92, TRICON_RANK_14 = 93, TRICON_RANK_15 = 94, TRICON_RANK_16 = 95, TRICON_RANK_17 = 96, TRICON_RANK_18 = 97, TRICON_RANK_19 = 98, TRICON_RANK_20 = 99, TRICON_RANK_21 = 100, TRICON_RANK_22 = 101, TRICON_RANK_23 = 102, TRICON_RANK_24 = 103, TRICON_RANK_25 = 104, TRICON_RANK_26 = 105, TRICON_RANK_27 = 106, TRICON_RANK_28 = 107, TRICON_RANK_29 = 108, TRICON_RANK_30 = 109, TRICON_RANK_31 = 110, TRICON_RANK_32 = 111, TRICON_RANK_33 = 112, TRICON_RANK_34 = 113, TRICON_RANK_35 = 114, TRICON_RANK_36 = 115, TRICON_RANK_37 = 116, TRICON_RANK_38 = 117, TRICON_RANK_39 = 118, TRICON_RANK_40 = 119, TRICON_RANK_41 = 120, TRICON_RANK_42 = 121, TRICON_RANK_43 = 122, TRICON_RANK_44 = 123, TRICON_RANK_45 = 124, TRICON_RANK_46 = 125, TRICON_RANK_47 = 126, TRICON_RANK_48 = 127, TRICON_RANK_49 = 128, TRICON_RANK_50 = 129, TRICON_KILLTYPE_EXPLOSIVE = 130, TRICON_KILLTYPE_STICKY = 131, TRICON_KILLTYPE_SQUISH = 132, TRICON_KILLTYPE_MELEE = 133, TRICON_KILLTYPE_FALLING = 134, TRICON_KILLTYPE_VEHICLE = 135, TRICON_KILLTYPE_BULLET = 136, TRICON_KILLTYPE_SNIPER = 137, TRICON_KILLTYPE_BASE_TURRET = 138, TRICON_KILLTYPE_HEADSHOT = 139, TRICON_KILLTYPE_GENERIC = 140, TRICON_KILLTYPE_SPINFUSOR = 141, TRICON_KILLTYPE_TURRET = 142, TRICON_ACCOLADE_BASE_DESTROY = 143, TRICON_ACCOLADE_BASE_REPAIR = 144, TRICON_ACCOLADE_MIRACLE = 145, TRICON_ACCOLADE_ULTRAKILLNORED = 146, TRICON_ACCOLADE_NOTAMONGEQUALS = 147, TRICON_ACCOLADE_EXPLOSIVESPREE = 148, TRICON_ACCOLADE_ULTRAFASTGRAB = 149, TRICON_ACCOLADE_ONEMANARMY = 150, TRICON_ACCOLADE_GAMEWINNER = 151, TRICON_ACCOLADE_UNITEDWESTAND = 152, TRICON_ACCOLADE_DOUBLEDOWN = 153, TRICON_ACCOLADE_FASTFLAGGRAB = 154, TRICON_ACCOLADE_SHRIKEDOWN = 155, TRICON_ACCOLADE_GRAVCYCLEDOWN = 156, TRICON_ACCOLADE_BEOWULFDOWN = 157, TRICON_ACCOLADE_FINALBLOW = 158, TRICON_ACCOLADE_BENCHEM = 159, TRICON_ACCOLADE_LASTMANSTANDING = 160, TRICON_ACCOLADE_TRIBALHONOR = 161, TRICON_ACCOLADE_FLAGKILLER = 162, TRICON_ACCOLADE_GAMECOMPLETE = 163, TRICON_ACCOLADE_FLAGDEFENSE = 164, TRICON_ACCOLADE_GENERATORDEFENSE = 165, TRICON_ACCOLADE_LLAMAGRAB = 166, TRICON_ACCOLADE_EGRAB = 167, TRICON_ACCOLADE_TURRETDESTROYED = 168, TRICON_ACCOLADE_ALTFLAGCARRY = 169, TRICON_ACCOLADE_HOLDTHELINE = 281, TRICON_ACCOLADE_CAPTUREANDHOLD = 282, TRICON_BADGE_FLAGDEFENSE_4 = 170, TRICON_BADGE_FLAGDEFENSE_3 = 171, TRICON_BADGE_FLAGDEFENSE_2 = 172, TRICON_BADGE_FLAGDEFENSE_1 = 173, TRICON_BADGE_OPERATOR_4 = 174, TRICON_BADGE_OPERATOR_3 = 175, TRICON_BADGE_OPERATOR_2 = 176, TRICON_BADGE_OPERATOR_1 = 177, TRICON_BADGE_CALLINKILLS_4 = 178, TRICON_BADGE_CALLINKILLS_3 = 179, TRICON_BADGE_CALLINKILLS_2 = 180, TRICON_BADGE_CALLINKILLS_1 = 181, TRICON_BADGE_MELEEKILLS_4 = 182, TRICON_BADGE_MELEEKILLS_3 = 183, TRICON_BADGE_MELEEKILLS_2 = 184, TRICON_BADGE_MELEEKILLS_1 = 185, TRICON_BADGE_ONEMANARMY_4 = 186, TRICON_BADGE_ONEMANARMY_3 = 187, TRICON_BADGE_ONEMANARMY_2 = 188, TRICON_BADGE_ONEMANARMY_1 = 189, TRICON_BADGE_FLAGCAPPER_4 = 190, TRICON_BADGE_FLAGCAPPER_3 = 191, TRICON_BADGE_FLAGCAPPER_2 = 192, TRICON_BADGE_FLAGCAPPER_1 = 193, TRICON_BADGE_TOUROFDUTY_4 = 194, TRICON_BADGE_TOUROFDUTY_3 = 195, TRICON_BADGE_TOUROFDUTY_2 = 196, TRICON_BADGE_TOUROFDUTY_1 = 197, TRICON_BADGE_MULTIKILL_4 = 198, TRICON_BADGE_MULTIKILL_3 = 199, TRICON_BADGE_MULTIKILL_2 = 200, TRICON_BADGE_MULTIKILL_1 = 201, TRICON_BADGE_COMBATSTAR_4 = 202, TRICON_BADGE_COMBATSTAR_3 = 203, TRICON_BADGE_COMBATSTAR_2 = 204, TRICON_BADGE_COMBATSTAR_1 = 205, TRICON_BADGE_CROSSCOUNTRY_4 = 206, TRICON_BADGE_CROSSCOUNTRY_3 = 207, TRICON_BADGE_CROSSCOUNTRY_2 = 208, TRICON_BADGE_CROSSCOUNTRY_1 = 209, TRICON_BADGE_POWERPLAYER_4 = 210, TRICON_BADGE_POWERPLAYER_3 = 211, TRICON_BADGE_POWERPLAYER_2 = 212, TRICON_BADGE_POWERPLAYER_1 = 213, TRICON_BADGE_DEMOMAN_4 = 214, TRICON_BADGE_DEMOMAN_3 = 215, TRICON_BADGE_DEMOMAN_2 = 216, TRICON_BADGE_DEMOMAN_1 = 217, TRICON_BADGE_SPEEDRUNNER_4 = 218, TRICON_BADGE_SPEEDRUNNER_3 = 219, TRICON_BADGE_SPEEDRUNNER_2 = 220, TRICON_BADGE_SPEEDRUNNER_1 = 221, TRICON_BADGE_GOODDRIVER_4 = 222, TRICON_BADGE_GOODDRIVER_3 = 223, TRICON_BADGE_GOODDRIVER_2 = 224, TRICON_BADGE_GOODDRIVER_1 = 225, TRICON_BADGE_PURPLEHEART_4 = 226, TRICON_BADGE_PURPLEHEART_3 = 227, TRICON_BADGE_PURPLEHEART_2 = 228, TRICON_BADGE_PURPLEHEART_1 = 229, TRICON_BADGE_HAPPENSTOUSALL = 230, TRICON_BADGE_INVSTATION = 231, TRICON_BADGE_ANTIVEHICLE_4 = 232, TRICON_BADGE_ANTIVEHICLE_3 = 233, TRICON_BADGE_ANTIVEHICLE_2 = 234, TRICON_BADGE_ANTIVEHICLE_1 = 235, TRICON_BADGE_UTILITYBELT_4 = 236, TRICON_BADGE_UTILITYBELT_3 = 237, TRICON_BADGE_UTILITYBELT_2 = 238, TRICON_BADGE_UTILITYBELT_1 = 239, TRICON_BADGE_ONCALL_4 = 240, TRICON_BADGE_ONCALL_3 = 241, TRICON_BADGE_ONCALL_2 = 242, TRICON_BADGE_ONCALL_1 = 243, TRICON_BADGE_SUPPORT_4 = 244, TRICON_BADGE_SUPPORT_3 = 245, TRICON_BADGE_SUPPORT_2 = 246, TRICON_BADGE_SUPPORT_1 = 247, TRICON_BADGE_MARKSMAN_4 = 248, TRICON_BADGE_MARKSMAN_3 = 249, TRICON_BADGE_MARKSMAN_2 = 250, TRICON_BADGE_MARKSMAN_1 = 251, TRICON_BADGE_ASSISTOR_4 = 252, TRICON_BADGE_ASSISTOR_3 = 253, TRICON_BADGE_ASSISTOR_2 = 254, TRICON_BADGE_ASSISTOR_1 = 255, TRICON_BADGE_BUILDER_4 = 256, TRICON_BADGE_BUILDER_3 = 257, TRICON_BADGE_BUILDER_2 = 258, TRICON_BADGE_BUILDER_1 = 259, TRICON_BADGE_GOINGFAST_4 = 260, TRICON_BADGE_GOINGFAST_3 = 261, TRICON_BADGE_GOINGFAST_2 = 262, TRICON_BADGE_GOINGFAST_1 = 263, RANK_XP_1 = 0, RANK_XP_2 = 1350, RANK_XP_3 = 2781, RANK_XP_4 = 4298, RANK_XP_5 = 5906, RANK_XP_6 = 11212, RANK_XP_7 = 16836, RANK_XP_8 = 22798, RANK_XP_9 = 31741, RANK_XP_10 = 41130, RANK_XP_11 = 50990, RANK_XP_12 = 61342, RANK_XP_13 = 76870, RANK_XP_14 = 93020, RANK_XP_15 = 109815, RANK_XP_16 = 127283, RANK_XP_17 = 145449, RANK_XP_18 = 172698, RANK_XP_19 = 200765, RANK_XP_20 = 229673, RANK_XP_21 = 259449, RANK_XP_22 = 290118, RANK_XP_23 = 321707, RANK_XP_24 = 369091, RANK_XP_25 = 417896, RANK_XP_26 = 468166, RANK_XP_27 = 519943, RANK_XP_28 = 573274, RANK_XP_29 = 628205, RANK_XP_30 = 684783, RANK_XP_31 = 743059, RANK_XP_32 = 803084, RANK_XP_33 = 864909, RANK_XP_34 = 928589, RANK_XP_35 = 994179, RANK_XP_36 = 1061737, RANK_XP_37 = 1131321, RANK_XP_38 = 1202994, RANK_XP_39 = 1276816, RANK_XP_40 = 1352853, RANK_XP_41 = 1431171, RANK_XP_42 = 1511839, RANK_XP_43 = 1594926, RANK_XP_44 = 1680507, RANK_XP_45 = 1768654, RANK_XP_46 = 1859447, RANK_XP_47 = 1952963, RANK_XP_48 = 2049284, RANK_XP_49 = 2148495, RANK_XP_50 = 2250682, ACCOLADE_TYPE_MISC = 0, ACCOLADE_TYPE_MULTIKILL = 1, ACCOLADE_TYPE_KILLSTREAK = 2, TRICON_PERK_ICON_WIP = 1, TRICON_PERK_BONUS_KILL_CREDITS = 1, TRICON_PERK_STICKY_HANDS = 2, TRICON_PERK_REDUCED_VEHICLE_COST = 3, TRICON_PERK_REDUCED_SELF_DAMAGE = 4, TRICON_PERK_REDUCED_RUN_OVER = 5, TRICON_PERK_REDUCED_BASE_UPGRADE_COST = 6, TRICON_PERK_REDUCED_FALL_DMG = 7, TRICON_PERK_REDUCED_AIR_VEHICLE_COST = 8, TRICON_PERK_TRAP_DETECTION = 9, TRICON_PERK_PICKUP_ENERGY_HEALTH = 10, TRICON_PERK_MELEE_FLAG_DROP = 11, TRICON_PERK_EXTRA_MINES = 12, TRICON_PERK_EXTRA_ENERGY = 13, TRICON_PERK_EXTRA_GRENADE_PICKUP = 14, TRICON_PERK_EXTRA_AMMO = 15, TRICON_PERK_EXTRA_GRENADE = 16, TRICON_PERK_BEOWULF_HEALTH_INCREASE = 17, TRICON_PERK_EJECTION_SEAT = 18, TRICON_PERK_ORBITAL_STRIKE = 19, TRICON_PERK_REDUCED_MELEE_DAMAGE = 20, TRICON_PERK_MELEE_BACKSTAB = 21, TRICON_PERK_DEMOLITIONS = 22, TRICON_PERK_SQUIRRELLY = 23, TRICON_PERK_STEALTHY = 24, TRICON_PERK_ULTRA_CAPACITOR = 25, TRICON_PERK_DETERMINATION = 26, TRICON_SKILL_SPEED = 1, TRICON_SKILL_ENERGY = 2, TRICON_SKILL_PING = 3, TRICON_SKILL_AMMO = 4, TRICON_SKILL_ANTI_ARMOR = 5, TRICON_SKILL_GRENADE = 6, TRICON_SKILL_RADIUS = 7, TRICON_SKILL_HEALTH = 8, TRICON_SKILL_BOOT = 9, TRICON_SKILL_TIMER = 10, TRICON_CLASS_SENTINEL = 1, TRICON_CLASS_PATHFINDER = 2, TRICON_CLASS_JUMPER = 3, TRICON_CLASS_INFILTRATOR = 4, TRICON_CLASS_WARDER = 30, TRICON_CLASS_TECHNICIAN = 31, TRICON_CLASS_SOLDIER = 32, TRICON_CLASS_SCRAMBLER = 33, TRICON_CLASS_RANGER = 34, TRICON_CLASS_RAIDER = 35, TRICON_CLASS_ENGINEER = 36, TRICON_CLASS_ROOK = 60, TRICON_CLASS_MARAUDER = 61, TRICON_CLASS_JUGGERNAUT = 62, TRICON_CLASS_DOOMBRINGER = 63, TRICON_CLASS_BRUTE = 64, TRICON_CLASS_WIP = 88, ICON_UPGRADE_NONE = 0, MOD_TYPE_NONE = 1, MOD_TYPE_HEALTH = 2, MOD_TYPE_MASSPCT = 3, MOD_TYPE_RADARLINK = 4, MOD_TYPE_FLAGREACH = 5, MOD_TYPE_BUILDUPPCT = 6, MOD_TYPE_CLOTHESLINE = 7, MOD_TYPE_STICKYHANDS = 8, MOD_TYPE_MAXSKISPEED = 9, MOD_TYPE_EXTRAENERGY = 10, MOD_TYPE_EJECTIONSEAT = 11, MOD_TYPE_SELFDAMAGEPCT = 12, MOD_TYPE_REPAIRRATEPCT = 13, MOD_TYPE_EXTRAMINESOUT = 14, MOD_TYPE_VEHICLEEXTRAHEALTH = 15, MOD_TYPE_GROUNDSPEEDPCT = 16, MOD_TYPE_ENERGYDRAINPCT = 17, MOD_TYPE_UPGRADECOSTPCT = 18, MOD_TYPE_CANDETECTTRAPS = 19, MOD_TYPE_SPLATDAMAGEPCT = 20, MOD_TYPE_WEAPONSWITCHPCT = 21, MOD_TYPE_POTENTIALENERGY = 22, MOD_TYPE_MAXJETTINGSPEED = 23, MOD_TYPE_CREDITSFROMKILLS = 24, MOD_TYPE_TERMINALSKISPEED = 25, MOD_TYPE_MAXSKICONTROLPCT = 26, MOD_TYPE_HASDETERMINATION = 27, MOD_TYPE_DEPLOYABLEHEALTH = 28, MOD_TYPE_EXTRAOFFHANDAMMO = 29, MOD_TYPE_EXTRAPRIMARYAMMO = 30, MOD_TYPE_PRIMARYRELOADPCT = 31, MOD_TYPE_SENSORDISTANCEPCT = 32, MOD_TYPE_PACKENERGYCOSTPCT = 33, MOD_TYPE_AMMOFROMPICKUPPCT = 34, MOD_TYPE_TIMETOREGENENERGY = 35, MOD_TYPE_SECONDARYRELOADPCT = 36, MOD_TYPE_EXTRASECONDARYAMMO = 37, MOD_TYPE_ENERGYREGENRATEPCT = 38, MOD_TYPE_HEALTHREGENRATEPCT = 39, MOD_TYPE_DEPLOYABLERANGEPCT = 40, MOD_TYPE_JAMMERPACKRADIUSPCT = 41, MOD_TYPE_BLINKPACKPOTENCYPCT = 42, MOD_TYPE_PEAKSKICONTROLSPEED = 43, MOD_TYPE_CANCALLINSUPPLYDROP = 44, MOD_TYPE_EXTRADEPLOYABLESOUT = 45, MOD_TYPE_HEALTHFROMPICKUPPCT = 46, MOD_TYPE_ENERGYFROMPICKUPPCT = 47, MOD_TYPE_TERMINALJETTINGSPEED = 48, MOD_TYPE_TIMETOREGENHEALTHPCT = 49, MOD_TYPE_VEHICLECOSTPCT = 50, MOD_TYPE_SKICONTROLSIGMASQUARE = 51, MOD_TYPE_RECEIVEMELEEDAMAGEPCT = 52, MOD_TYPE_VICTIMDROPFLAGONMELEE = 53, MOD_TYPE_PRIMARYWEAPONRANGEPCT = 54, MOD_TYPE_OFFHANDDAMAGERADIUSPCT = 55, MOD_TYPE_TURRETACQUIRETARGETPCT = 56, MOD_TYPE_WHITEOUTINTERPSPEEDPCT = 57, MOD_TYPE_BACKSTABMELEEDAMAGEPCT = 58, MOD_TYPE_MAXSTOPPINGDISTANCEPCT = 59, MOD_TYPE_SECONDARYWEAPONRANGEPCT = 60, MOD_TYPE_EXTRAGRENADESFROMPICKUP = 61, MOD_TYPE_SHIELDPACKEFFECTIVENESS = 62, MOD_TYPE_STEALTHPACKPULSETIMEPCT = 63, MOD_TYPE_PRIMARYINCREASEDCLIPSIZE = 64, MOD_TYPE_EXTRACREDITSFROMBELTKILLS = 65, MOD_TYPE_TURRETARMORPENETRATIONPCT = 66, MOD_TYPE_SECONDARYINCREASEDCLIPSIZE = 67, MOD_TYPE_OFFHANDARMORPENETRATIONPCT = 68, MOD_TYPE_PRIMARYARMORPENETRATIONPCT = 69, MOD_TYPE_RUNOVERDAMAGEPROTECTIONPCT = 70, MOD_TYPE_PRIMARYWEAPONENERGYCOSTPCT = 71, MOD_TYPE_ACQUIRETIMEBYENEMYTURRETPCT = 72, MOD_TYPE_SECONDARYARMORPENETRATIONPCT = 73, MOD_TYPE_VEHICLEEXTRAENERGY = 74, MOD_TYPE_AMMOPICKUPREACH = 75, MOD_TYPE_VEHICLEPASSENGERDMGPROTPCT = 76, MOD_TYPE_DAMAGEREPAIRENEMYOBJECTIVES = 77, MOD_TYPE_POTENTIALENERGYFALLDAMAGE = 78, MOD_TYPE_FASTERTHROWBELTBUFFPCT = 79, MOD_TYPE_IGNOREGRENADESECONDARYONSELF = 80, MOD_TYPE_POTENTIALENERGYDMGTRANSFERPCT = 81, MOD_TYPE_FLAGREACHTIER = 82, MOD_TYPE_SONICPUNCH = 83, MOD_TYPE_SONICPUNCHDIST = 84, MOD_TYPE_SONICPUNCHKNOCKBACK = 85, MOD_TYPE_RAGE = 86, MOD_TYPE_RAGEENERGYREGEN = 87, MOD_TYPE_RAGETIMELENGTH = 88, MOD_TYPE_RAGEHEALTHRESTOREPCT = 89, MOD_TYPE_IGNOREPULSESTEALTHTIME = 90, MOD_TYPE_RAGEMASSREDUCTION = 91, MOD_TYPE_REPAIRDEPLOYABLERATEPCT = 92, } } struct EquipLevel { private ubyte __buffer__[5]; public extern(D): private static __gshared ScriptStruct mStaticClass; @property final static ScriptStruct StaticClass() { mixin(MGSCS("ScriptStruct TribesGame.TrPlayerReplicationInfo.EquipLevel")); } @property final auto ref { ubyte UpgradeLevel() { mixin(MGPS("ubyte", 4)); } int EquipId() { mixin(MGPS("int", 0)); } } } @property final { auto ref { int m_nCreditsEarned() { mixin(MGPC("int", 948)); } int m_nKills() { mixin(MGPC("int", 940)); } int m_nAssists() { mixin(MGPC("int", 944)); } int r_nArenaSpawnsLeft() { mixin(MGPC("int", 1128)); } Actor m_LockedTarget() { mixin(MGPC("Actor", 976)); } int m_nFreeCredits() { mixin(MGPC("int", 964)); } int m_nCurrentCredits() { mixin(MGPC("int", 968)); } ScriptClass r_VoiceClass() { mixin(MGPC("ScriptClass", 984)); } int m_nRabbitRank() { mixin(MGPC("int", 924)); } int m_nPlayerIconIndex() { mixin(MGPC("int", 936)); } int r_bSkinId() { mixin(MGPC("int", 1132)); } ScriptClass c_Cached1PSkin() { mixin(MGPC("ScriptClass", 1124)); } ScriptClass c_Cached3PSkin() { mixin(MGPC("ScriptClass", 1120)); } TrValueModifier m_ValueModifier() { mixin(MGPC("TrValueModifier", 1116)); } TrPlayerReplicationInfo.EquipLevel r_EquipLevels() { mixin(MGPC("TrPlayerReplicationInfo.EquipLevel", 1012)); } float c_fRedFlagTimeStamp() { mixin(MGPC("float", 1008)); } float c_fRedFlagPingTime() { mixin(MGPC("float", 1004)); } float c_fRedFlagPingThreshold() { mixin(MGPC("float", 1000)); } float c_fCurrentPingMS() { mixin(MGPC("float", 996)); } TrInventoryHelper InvHelper() { mixin(MGPC("TrInventoryHelper", 992)); } TrStatsInterface Stats() { mixin(MGPC("TrStatsInterface", 988)); } TrObject.EArmorType m_ArmorType() { mixin(MGPC("TrObject.EArmorType", 980)); } int m_nPlayerClassId() { mixin(MGPC("int", 960)); } int m_nBaseXP() { mixin(MGPC("int", 956)); } int m_nBaseGP() { mixin(MGPC("int", 952)); } int m_nRankIconIndex() { mixin(MGPC("int", 932)); } int m_nRankNum() { mixin(MGPC("int", 928)); } ScriptClass m_PendingBaseClass() { mixin(MGPC("ScriptClass", 920)); } ScriptClass m_CurrentBaseClass() { mixin(MGPC("ScriptClass", 916)); } ScriptClass m_Rank() { mixin(MGPC("ScriptClass", 912)); } int m_PendingLoadout() { mixin(MGPC("int", 908)); } int m_CurrentLoadout() { mixin(MGPC("int", 904)); } } bool r_bIsCrossedOffArenaList() { mixin(MGBPC(972, 0x8)); } bool r_bIsCrossedOffArenaList(bool val) { mixin(MSBPC(972, 0x8)); } bool c_bIsBuddyToLocalPlayer() { mixin(MGBPC(972, 0x2)); } bool c_bIsBuddyToLocalPlayer(bool val) { mixin(MSBPC(972, 0x2)); } bool c_bIsMutualBuddiesWithLocalPlayer() { mixin(MGBPC(972, 0x4)); } bool c_bIsMutualBuddiesWithLocalPlayer(bool val) { mixin(MSBPC(972, 0x4)); } bool r_bIsLastManStanding() { mixin(MGBPC(972, 0x10)); } bool r_bIsLastManStanding(bool val) { mixin(MSBPC(972, 0x10)); } bool bDevUpgrades() { mixin(MGBPC(972, 0x1)); } bool bDevUpgrades(bool val) { mixin(MSBPC(972, 0x1)); } } final: ScriptClass GetPlayerRank() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetPlayerRank, params.ptr, cast(void*)0); return *cast(ScriptClass*)params.ptr; } ScriptClass GetCurrentClass() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetCurrentClass, params.ptr, cast(void*)0); return *cast(ScriptClass*)params.ptr; } ScriptClass GetEquipDevice(ScriptClass FamilyInfo, TrObject.TR_EQUIP_POINT equipSlot) { ubyte params[12]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; *cast(TrObject.TR_EQUIP_POINT*)&params[4] = equipSlot; (cast(ScriptObject)this).ProcessEvent(Functions.GetEquipDevice, params.ptr, cast(void*)0); return *cast(ScriptClass*)&params[8]; } int GetRankIcon() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetRankIcon, params.ptr, cast(void*)0); return *cast(int*)params.ptr; } TrValueModifier GetCurrentValueModifier() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetCurrentValueModifier, params.ptr, cast(void*)0); return *cast(TrValueModifier*)params.ptr; } TrObject.TR_EQUIP_POINT GetEquipPointByWeaponId(int WeaponId) { ubyte params[5]; params[] = 0; *cast(int*)params.ptr = WeaponId; (cast(ScriptObject)this).ProcessEvent(Functions.GetEquipPointByWeaponId, params.ptr, cast(void*)0); return *cast(TrObject.TR_EQUIP_POINT*)&params[4]; } TrObject.EArmorType GetArmorType() { ubyte params[1]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetArmorType, params.ptr, cast(void*)0); return *cast(TrObject.EArmorType*)params.ptr; } ScriptClass GetCurrentSkinClass(ScriptClass FamilyInfo) { ubyte params[8]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; (cast(ScriptObject)this).ProcessEvent(Functions.GetCurrentSkinClass, params.ptr, cast(void*)0); return *cast(ScriptClass*)&params[4]; } SkeletalMesh GetGibMesh(ScriptClass FamilyInfo) { ubyte params[8]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; (cast(ScriptObject)this).ProcessEvent(Functions.GetGibMesh, params.ptr, cast(void*)0); return *cast(SkeletalMesh*)&params[4]; } SkeletalMesh Get3PSkin() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.Get3PSkin, params.ptr, cast(void*)0); return *cast(SkeletalMesh*)params.ptr; } SkeletalMesh GetBodyMesh() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetBodyMesh, params.ptr, cast(void*)0); return *cast(SkeletalMesh*)params.ptr; } SkeletalMesh GetHandsMesh() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetHandsMesh, params.ptr, cast(void*)0); return *cast(SkeletalMesh*)params.ptr; } ParticleSystem GetSkiThrust(ScriptClass FamilyInfo, ParticleSystem DefaultSystem) { ubyte params[12]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; *cast(ParticleSystem*)&params[4] = DefaultSystem; (cast(ScriptObject)this).ProcessEvent(Functions.GetSkiThrust, params.ptr, cast(void*)0); return *cast(ParticleSystem*)&params[8]; } int GetJetpackSocketCount(ScriptClass FamilyInfo) { ubyte params[8]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; (cast(ScriptObject)this).ProcessEvent(Functions.GetJetpackSocketCount, params.ptr, cast(void*)0); return *cast(int*)&params[4]; } ParticleSystem GetJetpackThrust(ScriptClass FamilyInfo) { ubyte params[8]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; (cast(ScriptObject)this).ProcessEvent(Functions.GetJetpackThrust, params.ptr, cast(void*)0); return *cast(ParticleSystem*)&params[4]; } ScriptName GetJetpackSocket(ScriptClass FamilyInfo, int Socket) { ubyte params[16]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; *cast(int*)&params[4] = Socket; (cast(ScriptObject)this).ProcessEvent(Functions.GetJetpackSocket, params.ptr, cast(void*)0); return *cast(ScriptName*)&params[8]; } ParticleSystem GetJetpackTrail(ScriptClass FamilyInfo) { ubyte params[8]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; (cast(ScriptObject)this).ProcessEvent(Functions.GetJetpackTrail, params.ptr, cast(void*)0); return *cast(ParticleSystem*)&params[4]; } bool RequestLoadoutChange(ScriptClass FamilyInfo, int Loadout) { ubyte params[12]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; *cast(int*)&params[4] = Loadout; (cast(ScriptObject)this).ProcessEvent(Functions.RequestLoadoutChange, params.ptr, cast(void*)0); return *cast(bool*)&params[8]; } bool VerifyCharacter(int ClassId) { ubyte params[8]; params[] = 0; *cast(int*)params.ptr = ClassId; (cast(ScriptObject)this).ProcessEvent(Functions.VerifyCharacter, params.ptr, cast(void*)0); return *cast(bool*)&params[4]; } void GetCharacterEquip(int ClassId, int Loadout) { ubyte params[8]; params[] = 0; *cast(int*)params.ptr = ClassId; *cast(int*)&params[4] = Loadout; (cast(ScriptObject)this).ProcessEvent(Functions.GetCharacterEquip, params.ptr, cast(void*)0); } void GetCharacterEquipLocal(int ClassId, int Loadout) { ubyte params[8]; params[] = 0; *cast(int*)params.ptr = ClassId; *cast(int*)&params[4] = Loadout; (cast(ScriptObject)this).ProcessEvent(Functions.GetCharacterEquipLocal, params.ptr, cast(void*)0); } int GetUpgradeLevel(int ClassId, int Type, ScriptArray!(int) UpgradeList) { ubyte params[24]; params[] = 0; *cast(int*)params.ptr = ClassId; *cast(int*)&params[4] = Type; *cast(ScriptArray!(int)*)&params[8] = UpgradeList; (cast(ScriptObject)this).ProcessEvent(Functions.GetUpgradeLevel, params.ptr, cast(void*)0); return *cast(int*)&params[20]; } int GetUpgradeLevelLocal(int ClassId, int Type, ScriptArray!(int) UpgradeList) { ubyte params[24]; params[] = 0; *cast(int*)params.ptr = ClassId; *cast(int*)&params[4] = Type; *cast(ScriptArray!(int)*)&params[8] = UpgradeList; (cast(ScriptObject)this).ProcessEvent(Functions.GetUpgradeLevelLocal, params.ptr, cast(void*)0); return *cast(int*)&params[20]; } void UpdatePing(float TimeStamp) { ubyte params[4]; params[] = 0; *cast(float*)params.ptr = TimeStamp; (cast(ScriptObject)this).ProcessEvent(Functions.UpdatePing, params.ptr, cast(void*)0); } void RegisterBuddy() { (cast(ScriptObject)this).ProcessEvent(Functions.RegisterBuddy, cast(void*)0, cast(void*)0); } ScriptClass Load1PData(ScriptString ContentPath) { ubyte params[16]; params[] = 0; *cast(ScriptString*)params.ptr = ContentPath; (cast(ScriptObject)this).ProcessEvent(Functions.Load1PData, params.ptr, cast(void*)0); return *cast(ScriptClass*)&params[12]; } void ReplicatedEvent(ScriptName VarName) { ubyte params[8]; params[] = 0; *cast(ScriptName*)params.ptr = VarName; (cast(ScriptObject)this).ProcessEvent(Functions.ReplicatedEvent, params.ptr, cast(void*)0); } void PostBeginPlay() { (cast(ScriptObject)this).ProcessEvent(Functions.PostBeginPlay, cast(void*)0, cast(void*)0); } void RegisterPlayerWithSession() { (cast(ScriptObject)this).ProcessEvent(Functions.RegisterPlayerWithSession, cast(void*)0, cast(void*)0); } void UpdateValueModifier() { (cast(ScriptObject)this).ProcessEvent(Functions.UpdateValueModifier, cast(void*)0, cast(void*)0); } void Reset() { (cast(ScriptObject)this).ProcessEvent(Functions.Reset, cast(void*)0, cast(void*)0); } void SetPlayerTeam(TeamInfo NewTeam) { ubyte params[4]; params[] = 0; *cast(TeamInfo*)params.ptr = NewTeam; (cast(ScriptObject)this).ProcessEvent(Functions.SetPlayerTeam, params.ptr, cast(void*)0); } void SwapToPendingCharClass(bool* bIsRespawn = null) { ubyte params[4]; params[] = 0; if (bIsRespawn !is null) *cast(bool*)params.ptr = *bIsRespawn; (cast(ScriptObject)this).ProcessEvent(Functions.SwapToPendingCharClass, params.ptr, cast(void*)0); } bool VerifyAndLoadCharacter(ScriptClass FamilyInfo, int Loadout) { ubyte params[12]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; *cast(int*)&params[4] = Loadout; (cast(ScriptObject)this).ProcessEvent(Functions.VerifyAndLoadCharacter, params.ptr, cast(void*)0); return *cast(bool*)&params[8]; } ScriptString GetSelectedLoadout() { ubyte params[12]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetSelectedLoadout, params.ptr, cast(void*)0); return *cast(ScriptString*)params.ptr; } bool ShouldVisitStation() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.ShouldVisitStation, params.ptr, cast(void*)0); return *cast(bool*)params.ptr; } void ResolveDefaultEquip(ScriptClass FamilyInfo) { ubyte params[4]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; (cast(ScriptObject)this).ProcessEvent(Functions.ResolveDefaultEquip, params.ptr, cast(void*)0); } void SetActiveEquip(TrObject.TR_EQUIP_POINT EquipId, int ItemId) { ubyte params[8]; params[] = 0; *cast(TrObject.TR_EQUIP_POINT*)params.ptr = EquipId; *cast(int*)&params[4] = ItemId; (cast(ScriptObject)this).ProcessEvent(Functions.SetActiveEquip, params.ptr, cast(void*)0); } void IncrementKills(bool bEnemyKill) { ubyte params[4]; params[] = 0; *cast(bool*)params.ptr = bEnemyKill; (cast(ScriptObject)this).ProcessEvent(Functions.IncrementKills, params.ptr, cast(void*)0); } void CheckMultiKill() { (cast(ScriptObject)this).ProcessEvent(Functions.CheckMultiKill, cast(void*)0, cast(void*)0); } int GetPlayerClassId() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetPlayerClassId, params.ptr, cast(void*)0); return *cast(int*)params.ptr; } ScriptClass GetPendingClass() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetPendingClass, params.ptr, cast(void*)0); return *cast(ScriptClass*)params.ptr; } ScriptString GetCurrentClassAbb() { ubyte params[12]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetCurrentClassAbb, params.ptr, cast(void*)0); return *cast(ScriptString*)params.ptr; } int GetPlayerRankNum() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetPlayerRankNum, params.ptr, cast(void*)0); return *cast(int*)params.ptr; } int GetBaseGP() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetBaseGP, params.ptr, cast(void*)0); return *cast(int*)params.ptr; } int GetBaseXP() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.GetBaseXP, params.ptr, cast(void*)0); return *cast(int*)params.ptr; } void SetPlayerGP(int GP) { ubyte params[4]; params[] = 0; *cast(int*)params.ptr = GP; (cast(ScriptObject)this).ProcessEvent(Functions.SetPlayerGP, params.ptr, cast(void*)0); } void SetPlayerXP(int XP) { ubyte params[4]; params[] = 0; *cast(int*)params.ptr = XP; (cast(ScriptObject)this).ProcessEvent(Functions.SetPlayerXP, params.ptr, cast(void*)0); } ScriptClass GetRankFromXP(int XP) { ubyte params[8]; params[] = 0; *cast(int*)params.ptr = XP; (cast(ScriptObject)this).ProcessEvent(Functions.GetRankFromXP, params.ptr, cast(void*)0); return *cast(ScriptClass*)&params[4]; } ScriptClass GetPerkFromId(int PerkId) { ubyte params[8]; params[] = 0; *cast(int*)params.ptr = PerkId; (cast(ScriptObject)this).ProcessEvent(Functions.GetPerkFromId, params.ptr, cast(void*)0); return *cast(ScriptClass*)&params[4]; } void SetFlag(UTCarriedObject NewFlag) { ubyte params[4]; params[] = 0; *cast(UTCarriedObject*)params.ptr = NewFlag; (cast(ScriptObject)this).ProcessEvent(Functions.SetFlag, params.ptr, cast(void*)0); } PlayerReplicationInfo Duplicate() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.Duplicate, params.ptr, cast(void*)0); return *cast(PlayerReplicationInfo*)params.ptr; } void CopyProperties(PlayerReplicationInfo PRI) { ubyte params[4]; params[] = 0; *cast(PlayerReplicationInfo*)params.ptr = PRI; (cast(ScriptObject)this).ProcessEvent(Functions.CopyProperties, params.ptr, cast(void*)0); } void SetCached3PSkin(ScriptClass NewCachedSkin) { ubyte params[4]; params[] = 0; *cast(ScriptClass*)params.ptr = NewCachedSkin; (cast(ScriptObject)this).ProcessEvent(Functions.SetCached3PSkin, params.ptr, cast(void*)0); } ScriptClass GetCurrentVoiceClass(ScriptClass FamilyInfo) { ubyte params[8]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; (cast(ScriptObject)this).ProcessEvent(Functions.GetCurrentVoiceClass, params.ptr, cast(void*)0); return *cast(ScriptClass*)&params[4]; } void UpdateCachedSkin() { (cast(ScriptObject)this).ProcessEvent(Functions.UpdateCachedSkin, cast(void*)0, cast(void*)0); } void On3PSkinContentLoaded(ScriptClass Skin3PDataClass) { ubyte params[4]; params[] = 0; *cast(ScriptClass*)params.ptr = Skin3PDataClass; (cast(ScriptObject)this).ProcessEvent(Functions.On3PSkinContentLoaded, params.ptr, cast(void*)0); } void On1PSkinContentLoaded(ScriptClass Skin1PDataClass) { ubyte params[4]; params[] = 0; *cast(ScriptClass*)params.ptr = Skin1PDataClass; (cast(ScriptObject)this).ProcessEvent(Functions.On1PSkinContentLoaded, params.ptr, cast(void*)0); } void Update1PMesh(ScriptClass FamilyInfo) { ubyte params[4]; params[] = 0; *cast(ScriptClass*)params.ptr = FamilyInfo; (cast(ScriptObject)this).ProcessEvent(Functions.Update1PMesh, params.ptr, cast(void*)0); } void OnPingRedFlagged() { (cast(ScriptObject)this).ProcessEvent(Functions.OnPingRedFlagged, cast(void*)0, cast(void*)0); } void ServerPingRedFlag(float CurrentPingMS) { ubyte params[4]; params[] = 0; *cast(float*)params.ptr = CurrentPingMS; (cast(ScriptObject)this).ProcessEvent(Functions.ServerPingRedFlag, params.ptr, cast(void*)0); } }
D
module hunt.http.codec.websocket.model.common; final class WebSocketConstants { enum string SEC_WEBSOCKET_EXTENSIONS = "Sec-WebSocket-Extensions"; enum string SEC_WEBSOCKET_PROTOCOL = "Sec-WebSocket-Protocol"; enum string SEC_WEBSOCKET_VERSION = "Sec-WebSocket-Version"; enum int SPEC_VERSION = 13; } /** * Behavior for how the WebSocket should operate. * <p> * This dictated by the <a href="https://tools.ietf.org/html/rfc6455">RFC 6455</a> spec in various places, where certain behavior must be performed depending on * operation as a <a href="https://tools.ietf.org/html/rfc6455#section-4.1">CLIENT</a> vs a <a href="https://tools.ietf.org/html/rfc6455#section-4.2">SERVER</a> */ enum WebSocketBehavior { CLIENT, SERVER } /** * Connection states as outlined in <a href="https://tools.ietf.org/html/rfc6455">RFC6455</a>. */ enum ConnectionState { Unknown, /** * [RFC] Initial state of a connection, the upgrade request / response is in progress */ CONNECTING, /** * [Impl] Intermediate state between CONNECTING and OPEN, used to indicate that a upgrade request/response is successful, but the end-user provided socket's * onOpen code has yet to run. * <p> * This state is to allow the local socket to initiate messages and frames, but to NOT start reading yet. */ CONNECTED, /** * [RFC] The websocket connection is established and open. * <p> * This indicates that the Upgrade has succeed, and the end-user provided socket's onOpen code has completed. * <p> * It is now time to start reading from the remote endpoint. */ OPEN, /** * [RFC] The websocket closing handshake is started. * <p> * This can be considered a half-closed state. * <p> * When receiving this as an event on {@link ConnectionStateListener#onConnectionStateChange(ConnectionState)} a close frame should be sent using * the {@link CloseInfo} available from {@link IOState#getCloseInfo()} */ CLOSING, /** * [RFC] The websocket connection is closed. * <p> * Connection should be disconnected and no further reads or writes should occur. */ CLOSED } final class OpCode { /** * OpCode for a Continuation Frame * * @see <a href="https://tools.ietf.org/html/rfc6455#section-11.8">RFC 6455, Section 11.8 (WebSocket Opcode Registry</a> */ enum byte CONTINUATION = cast(byte) 0x00; /** * OpCode for a Text Frame * * @see <a href="https://tools.ietf.org/html/rfc6455#section-11.8">RFC 6455, Section 11.8 (WebSocket Opcode Registry</a> */ enum byte TEXT = cast(byte) 0x01; /** * OpCode for a Binary Frame * * @see <a href="https://tools.ietf.org/html/rfc6455#section-11.8">RFC 6455, Section 11.8 (WebSocket Opcode Registry</a> */ enum byte BINARY = cast(byte) 0x02; /** * OpCode for a Close Frame * * @see <a href="https://tools.ietf.org/html/rfc6455#section-11.8">RFC 6455, Section 11.8 (WebSocket Opcode Registry</a> */ enum byte CLOSE = cast(byte) 0x08; /** * OpCode for a Ping Frame * * @see <a href="https://tools.ietf.org/html/rfc6455#section-11.8">RFC 6455, Section 11.8 (WebSocket Opcode Registry</a> */ enum byte PING = cast(byte) 0x09; /** * OpCode for a Pong Frame * * @see <a href="https://tools.ietf.org/html/rfc6455#section-11.8">RFC 6455, Section 11.8 (WebSocket Opcode Registry</a> */ enum byte PONG = cast(byte) 0x0A; /** * An undefined OpCode */ enum byte UNDEFINED = cast(byte) -1; static bool isControlFrame(byte opcode) { return (opcode >= CLOSE); } static bool isDataFrame(byte opcode) { return (opcode == TEXT) || (opcode == BINARY); } /** * Test for known opcodes (per the RFC spec) * * @param opcode the opcode to test * @return true if known. false if unknown, undefined, or reserved */ static bool isKnown(byte opcode) { return (opcode == CONTINUATION) || (opcode == TEXT) || (opcode == BINARY) || (opcode == CLOSE) || (opcode == PING) || (opcode == PONG); } static string name(byte opcode) { switch (opcode) { case -1: return "NO-OP"; case CONTINUATION: return "CONTINUATION"; case TEXT: return "TEXT"; case BINARY: return "BINARY"; case CLOSE: return "CLOSE"; case PING: return "PING"; case PONG: return "PONG"; default: return "NON-SPEC[" ~ opcode ~ "]"; } } }
D
/** * Compiler implementation of the $(LINK2 http://www.dlang.org, D programming language) * * Copyright: Copyright (c) 1999-2016 by Digital Mars, All Rights Reserved * Authors: Walter Bright, http://www.digitalmars.com * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Source: $(DMDSRC cppmangle.d) */ module ddmd.cppmangle; import core.stdc.string; import core.stdc.stdio; import ddmd.arraytypes; import ddmd.declaration; import ddmd.dstruct; import ddmd.dsymbol; import ddmd.dtemplate; import ddmd.expression; import ddmd.func; import ddmd.globals; import ddmd.id; import ddmd.identifier; import ddmd.mtype; import ddmd.root.outbuffer; import ddmd.root.rootobject; import ddmd.target; import ddmd.tokens; import ddmd.visitor; /* Do mangling for C++ linkage. * No attempt is made to support mangling of templates, operator * overloading, or special functions. * * So why don't we use the C++ ABI for D name mangling? * Because D supports a lot of things (like modules) that the C++ * ABI has no concept of. These affect every D mangled name, * so nothing would be compatible anyway. */ static if (TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_SOLARIS) { /* * Follows Itanium C++ ABI 1.86 */ extern (C++) final class CppMangleVisitor : Visitor { alias visit = super.visit; Objects components; OutBuffer buf; bool is_top_level; bool components_on; void writeBase36(size_t i) { if (i >= 36) { writeBase36(i / 36); i %= 36; } if (i < 10) buf.writeByte(cast(char)(i + '0')); else if (i < 36) buf.writeByte(cast(char)(i - 10 + 'A')); else assert(0); } bool substitute(RootObject p) { //printf("substitute %s\n", p ? p.toChars() : null); if (components_on) for (size_t i = 0; i < components.dim; i++) { if (p == components[i]) { /* Sequence is S_, S0_, .., S9_, SA_, ..., SZ_, S10_, ... */ buf.writeByte('S'); if (i) writeBase36(i - 1); buf.writeByte('_'); return true; } } return false; } bool exist(RootObject p) { //printf("exist %s\n", p ? p.toChars() : null); if (components_on) for (size_t i = 0; i < components.dim; i++) { if (p == components[i]) { return true; } } return false; } void store(RootObject p) { //printf("store %s\n", p ? p.toChars() : null); if (components_on) components.push(p); } void source_name(Dsymbol s, bool skipname = false) { //printf("source_name(%s)\n", s.toChars()); TemplateInstance ti = s.isTemplateInstance(); if (ti) { if (!skipname && !substitute(ti.tempdecl)) { store(ti.tempdecl); const(char)* name = ti.toAlias().ident.toChars(); buf.printf("%d%s", strlen(name), name); } buf.writeByte('I'); bool is_var_arg = false; for (size_t i = 0; i < ti.tiargs.dim; i++) { RootObject o = cast(RootObject)(*ti.tiargs)[i]; TemplateParameter tp = null; TemplateValueParameter tv = null; TemplateTupleParameter tt = null; if (!is_var_arg) { TemplateDeclaration td = ti.tempdecl.isTemplateDeclaration(); assert(td); tp = (*td.parameters)[i]; tv = tp.isTemplateValueParameter(); tt = tp.isTemplateTupleParameter(); } /* * <template-arg> ::= <type> # type or template * ::= <expr-primary> # simple expressions */ if (tt) { buf.writeByte('I'); is_var_arg = true; tp = null; } if (tv) { // <expr-primary> ::= L <type> <value number> E # integer literal if (tv.valType.isintegral()) { Expression e = isExpression(o); assert(e); buf.writeByte('L'); tv.valType.accept(this); if (tv.valType.isunsigned()) { buf.printf("%llu", e.toUInteger()); } else { sinteger_t val = e.toInteger(); if (val < 0) { val = -val; buf.writeByte('n'); } buf.printf("%lld", val); } buf.writeByte('E'); } else { s.error("Internal Compiler Error: C++ %s template value parameter is not supported", tv.valType.toChars()); assert(0); } } else if (!tp || tp.isTemplateTypeParameter()) { Type t = isType(o); assert(t); t.accept(this); } else if (tp.isTemplateAliasParameter()) { Dsymbol d = isDsymbol(o); Expression e = isExpression(o); if (!d && !e) { s.error("Internal Compiler Error: %s is unsupported parameter for C++ template: (%s)", o.toChars()); assert(0); } if (d && d.isFuncDeclaration()) { bool is_nested = d.toParent() && !d.toParent().isModule() && (cast(TypeFunction)d.isFuncDeclaration().type).linkage == LINKcpp; if (is_nested) buf.writeByte('X'); buf.writeByte('L'); mangle_function(d.isFuncDeclaration()); buf.writeByte('E'); if (is_nested) buf.writeByte('E'); } else if (e && e.op == TOKvar && (cast(VarExp)e).var.isVarDeclaration()) { VarDeclaration vd = (cast(VarExp)e).var.isVarDeclaration(); buf.writeByte('L'); mangle_variable(vd, true); buf.writeByte('E'); } else if (d && d.isTemplateDeclaration() && d.isTemplateDeclaration().onemember) { if (!substitute(d)) { cpp_mangle_name(d, false); } } else { s.error("Internal Compiler Error: %s is unsupported parameter for C++ template", o.toChars()); assert(0); } } else { s.error("Internal Compiler Error: C++ templates support only integral value, type parameters, alias templates and alias function parameters"); assert(0); } } if (is_var_arg) { buf.writeByte('E'); } buf.writeByte('E'); return; } else { const(char)* name = s.ident.toChars(); buf.printf("%d%s", strlen(name), name); } } void prefix_name(Dsymbol s) { //printf("prefix_name(%s)\n", s.toChars()); if (!substitute(s)) { Dsymbol p = s.toParent(); if (p && p.isTemplateInstance()) { s = p; if (exist(p.isTemplateInstance().tempdecl)) { p = null; } else { p = p.toParent(); } } if (p && !p.isModule()) { prefix_name(p); } store(s); source_name(s); } } /* Is s the initial qualifier? */ bool is_initial_qualifier(Dsymbol s) { Dsymbol p = s.toParent(); if (p && p.isTemplateInstance()) { if (exist(p.isTemplateInstance().tempdecl)) { return true; } p = p.toParent(); } return !p || p.isModule(); } void cpp_mangle_name(Dsymbol s, bool qualified) { //printf("cpp_mangle_name(%s, %d)\n", s.toChars(), qualified); Dsymbol p = s.toParent(); Dsymbol se = s; bool dont_write_prefix = false; if (p && p.isTemplateInstance()) { se = p; if (exist(p.isTemplateInstance().tempdecl)) dont_write_prefix = true; p = p.toParent(); } if (p && !p.isModule()) { /* The N..E is not required if: * 1. the parent is 'std' * 2. 'std' is the initial qualifier * 3. there is no CV-qualifier or a ref-qualifier for a member function * ABI 5.1.8 */ if (p.ident == Id.std && is_initial_qualifier(p) && !qualified) { if (s.ident == Id.allocator) { buf.writestring("Sa"); // "Sa" is short for ::std::allocator source_name(se, true); } else if (s.ident == Id.basic_string) { components_on = false; // turn off substitutions buf.writestring("Sb"); // "Sb" is short for ::std::basic_string size_t off = buf.offset; source_name(se, true); components_on = true; // Replace ::std::basic_string < char, ::std::char_traits<char>, ::std::allocator<char> > // with Ss //printf("xx: '%.*s'\n", (int)(buf.offset - off), buf.data + off); if (buf.offset - off >= 26 && memcmp(buf.data + off, cast(char*)"IcSt11char_traitsIcESaIcEE", 26) == 0) { buf.remove(off - 2, 28); buf.insert(off - 2, cast(const(char)*)"Ss", 2); return; } buf.setsize(off); source_name(se, true); } else if (s.ident == Id.basic_istream || s.ident == Id.basic_ostream || s.ident == Id.basic_iostream) { /* Replace * ::std::basic_istream<char, std::char_traits<char> > with Si * ::std::basic_ostream<char, std::char_traits<char> > with So * ::std::basic_iostream<char, std::char_traits<char> > with Sd */ size_t off = buf.offset; components_on = false; // turn off substitutions source_name(se, true); components_on = true; //printf("xx: '%.*s'\n", (int)(buf.offset - off), buf.data + off); if (buf.offset - off >= 21 && memcmp(buf.data + off, cast(char*)"IcSt11char_traitsIcEE", 21) == 0) { buf.remove(off, 21); char[2] mbuf; mbuf[0] = 'S'; mbuf[1] = 'i'; if (s.ident == Id.basic_ostream) mbuf[1] = 'o'; else if (s.ident == Id.basic_iostream) mbuf[1] = 'd'; buf.insert(off, mbuf.ptr, 2); return; } buf.setsize(off); buf.writestring("St"); source_name(se); } else { buf.writestring("St"); source_name(se); } } else { buf.writeByte('N'); if (!dont_write_prefix) prefix_name(p); source_name(se); buf.writeByte('E'); } } else source_name(se); store(s); } void mangle_variable(VarDeclaration d, bool is_temp_arg_ref) { if (!(d.storage_class & (STCextern | STCgshared))) { d.error("Internal Compiler Error: C++ static non- __gshared non-extern variables not supported"); assert(0); } Dsymbol p = d.toParent(); if (p && !p.isModule()) //for example: char Namespace1::beta[6] should be mangled as "_ZN10Namespace14betaE" { buf.writestring("_ZN"); prefix_name(p); source_name(d); buf.writeByte('E'); } else //char beta[6] should mangle as "beta" { if (!is_temp_arg_ref) { buf.writestring(d.ident.toChars()); } else { buf.writestring("_Z"); source_name(d); } } } void mangle_function(FuncDeclaration d) { //printf("mangle_function(%s)\n", d.toChars()); /* * <mangled-name> ::= _Z <encoding> * <encoding> ::= <function name> <bare-function-type> * ::= <data name> * ::= <special-name> */ TypeFunction tf = cast(TypeFunction)d.type; buf.writestring("_Z"); Dsymbol p = d.toParent(); if (p && !p.isModule() && tf.linkage == LINKcpp) { buf.writeByte('N'); if (d.type.isConst()) buf.writeByte('K'); prefix_name(p); // See ABI 5.1.8 Compression // Replace ::std::allocator with Sa if (buf.offset >= 17 && memcmp(buf.data, cast(char*)"_ZN3std9allocator", 17) == 0) { buf.remove(3, 14); buf.insert(3, cast(const(char)*)"Sa", 2); } // Replace ::std::basic_string with Sb if (buf.offset >= 21 && memcmp(buf.data, cast(char*)"_ZN3std12basic_string", 21) == 0) { buf.remove(3, 18); buf.insert(3, cast(const(char)*)"Sb", 2); } // Replace ::std with St if (buf.offset >= 7 && memcmp(buf.data, cast(char*)"_ZN3std", 7) == 0) { buf.remove(3, 4); buf.insert(3, cast(const(char)*)"St", 2); } if (d.isDtorDeclaration()) { buf.writestring("D1"); } else { source_name(d); } buf.writeByte('E'); } else { source_name(d); } if (tf.linkage == LINKcpp) //Template args accept extern "C" symbols with special mangling { assert(tf.ty == Tfunction); argsCppMangle(tf.parameters, tf.varargs); } } void argsCppMangle(Parameters* parameters, int varargs) { int paramsCppMangleDg(size_t n, Parameter fparam) { Type t = fparam.type.merge2(); if (fparam.storageClass & (STCout | STCref)) t = t.referenceTo(); else if (fparam.storageClass & STClazy) { // Mangle as delegate Type td = new TypeFunction(null, t, 0, LINKd); td = new TypeDelegate(td); t = t.merge(); } if (t.ty == Tsarray) { // Mangle static arrays as pointers t.error(Loc(), "Internal Compiler Error: unable to pass static array to extern(C++) function."); t.error(Loc(), "Use pointer instead."); assert(0); //t = t.nextOf().pointerTo(); } /* If it is a basic, enum or struct type, * then don't mark it const */ this.is_top_level = true; if ((t.ty == Tenum || t.ty == Tstruct || t.ty == Tpointer || t.isTypeBasic()) && t.isConst()) t.mutableOf().accept(this); else t.accept(this); this.is_top_level = false; return 0; } if (parameters) Parameter._foreach(parameters, &paramsCppMangleDg); if (varargs) buf.writestring("z"); else if (!parameters || !parameters.dim) buf.writeByte('v'); // encode ( ) parameters } public: extern (D) this() { this.components_on = true; } char* mangleOf(Dsymbol s) { VarDeclaration vd = s.isVarDeclaration(); FuncDeclaration fd = s.isFuncDeclaration(); if (vd) { mangle_variable(vd, false); } else if (fd) { mangle_function(fd); } else { assert(0); } Target.prefixName(&buf, LINKcpp); return buf.extractString(); } override void visit(Type t) { if (t.isImmutable() || t.isShared()) { t.error(Loc(), "Internal Compiler Error: shared or immutable types can not be mapped to C++ (%s)", t.toChars()); } else { t.error(Loc(), "Internal Compiler Error: unsupported type %s\n", t.toChars()); } assert(0); //Assert, because this error should be handled in frontend } override void visit(TypeBasic t) { /* ABI spec says: * v void * w wchar_t * b bool * c char * a signed char * h unsigned char * s short * t unsigned short * i int * j unsigned int * l long * m unsigned long * x long long, __int64 * y unsigned long long, __int64 * n __int128 * o unsigned __int128 * f float * d double * e long double, __float80 * g __float128 * z ellipsis * u <source-name> # vendor extended type */ char c; char p = 0; switch (t.ty) { case Tvoid: c = 'v'; break; case Tint8: c = 'a'; break; case Tuns8: c = 'h'; break; case Tint16: c = 's'; break; case Tuns16: c = 't'; break; case Tint32: c = 'i'; break; case Tuns32: c = 'j'; break; case Tfloat32: c = 'f'; break; case Tint64: c = (Target.c_longsize == 8 ? 'l' : 'x'); break; case Tuns64: c = (Target.c_longsize == 8 ? 'm' : 'y'); break; case Tint128: c = 'n'; break; case Tuns128: c = 'o'; break; case Tfloat64: c = 'd'; break; case Tfloat80: c = (Target.realsize - Target.realpad == 16) ? 'g' : 'e'; break; case Tbool: c = 'b'; break; case Tchar: c = 'c'; break; case Twchar: c = 't'; break; // unsigned short case Tdchar: c = 'w'; break; // wchar_t (UTF-32) case Timaginary32: p = 'G'; c = 'f'; break; case Timaginary64: p = 'G'; c = 'd'; break; case Timaginary80: p = 'G'; c = 'e'; break; case Tcomplex32: p = 'C'; c = 'f'; break; case Tcomplex64: p = 'C'; c = 'd'; break; case Tcomplex80: p = 'C'; c = 'e'; break; default: visit(cast(Type)t); return; } if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); } if (p || t.isConst()) { if (substitute(t)) { return; } else { store(t); } } if (t.isConst()) buf.writeByte('K'); if (p) buf.writeByte(p); buf.writeByte(c); } override void visit(TypeVector t) { is_top_level = false; if (substitute(t)) return; store(t); if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); } if (t.isConst()) buf.writeByte('K'); assert(t.basetype && t.basetype.ty == Tsarray); assert((cast(TypeSArray)t.basetype).dim); //buf.printf("Dv%llu_", ((TypeSArray *)t.basetype).dim.toInteger());// -- Gnu ABI v.4 buf.writestring("U8__vector"); //-- Gnu ABI v.3 t.basetype.nextOf().accept(this); } override void visit(TypeSArray t) { is_top_level = false; if (!substitute(t)) store(t); if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); } if (t.isConst()) buf.writeByte('K'); buf.printf("A%llu_", t.dim ? t.dim.toInteger() : 0); t.next.accept(this); } override void visit(TypeDArray t) { visit(cast(Type)t); } override void visit(TypeAArray t) { visit(cast(Type)t); } override void visit(TypePointer t) { is_top_level = false; if (substitute(t)) return; if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); } if (t.isConst()) buf.writeByte('K'); buf.writeByte('P'); t.next.accept(this); store(t); } override void visit(TypeReference t) { is_top_level = false; if (substitute(t)) return; buf.writeByte('R'); t.next.accept(this); store(t); } override void visit(TypeFunction t) { is_top_level = false; /* * <function-type> ::= F [Y] <bare-function-type> E * <bare-function-type> ::= <signature type>+ * # types are possible return type, then parameter types */ /* ABI says: "The type of a non-static member function is considered to be different, for the purposes of substitution, from the type of a namespace-scope or static member function whose type appears similar. The types of two non-static member functions are considered to be different, for the purposes of substitution, if the functions are members of different classes. In other words, for the purposes of substitution, the class of which the function is a member is considered part of the type of function." BUG: Right now, types of functions are never merged, so our simplistic component matcher always finds them to be different. We should use Type.equals on these, and use different TypeFunctions for non-static member functions, and non-static member functions of different classes. */ if (substitute(t)) return; buf.writeByte('F'); if (t.linkage == LINKc) buf.writeByte('Y'); Type tn = t.next; if (t.isref) tn = tn.referenceTo(); tn.accept(this); argsCppMangle(t.parameters, t.varargs); buf.writeByte('E'); store(t); } override void visit(TypeDelegate t) { visit(cast(Type)t); } override void visit(TypeStruct t) { Identifier id = t.sym.ident; //printf("struct id = '%s'\n", id.toChars()); char c; if (id == Id.__c_long) c = 'l'; else if (id == Id.__c_ulong) c = 'm'; else c = 0; if (c) { if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); } if (t.isConst()) { if (substitute(t)) { return; } else { store(t); } } if (t.isConst()) buf.writeByte('K'); buf.writeByte(c); return; } is_top_level = false; if (substitute(t)) return; if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); } if (t.isConst()) buf.writeByte('K'); if (!substitute(t.sym)) { cpp_mangle_name(t.sym, t.isConst()); } if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); } if (t.isConst()) store(t); } override void visit(TypeEnum t) { is_top_level = false; if (substitute(t)) return; if (t.isConst()) buf.writeByte('K'); if (!substitute(t.sym)) { cpp_mangle_name(t.sym, t.isConst()); } if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); } if (t.isConst()) store(t); } override void visit(TypeClass t) { if (substitute(t)) return; if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); } if (t.isConst() && !is_top_level) buf.writeByte('K'); is_top_level = false; buf.writeByte('P'); if (t.isConst()) buf.writeByte('K'); if (!substitute(t.sym)) { cpp_mangle_name(t.sym, t.isConst()); } if (t.isConst()) store(null); store(t); } } extern (C++) char* toCppMangle(Dsymbol s) { //printf("toCppMangle(%s)\n", s.toChars()); scope CppMangleVisitor v = new CppMangleVisitor(); return v.mangleOf(s); } } else static if (TARGET_WINDOS) { // Windows DMC and Microsoft Visual C++ mangling enum VC_SAVED_TYPE_CNT = 10; enum VC_SAVED_IDENT_CNT = 10; extern (C++) final class VisualCPPMangler : Visitor { alias visit = super.visit; const(char)*[VC_SAVED_IDENT_CNT] saved_idents; Type[VC_SAVED_TYPE_CNT] saved_types; enum Flags : int { IS_NOT_TOP_TYPE = 0x1, MANGLE_RETURN_TYPE = 0x2, IGNORE_CONST = 0x4, IS_DMC = 0x8, } alias IS_NOT_TOP_TYPE = Flags.IS_NOT_TOP_TYPE; alias MANGLE_RETURN_TYPE = Flags.MANGLE_RETURN_TYPE; alias IGNORE_CONST = Flags.IGNORE_CONST; alias IS_DMC = Flags.IS_DMC; int flags; OutBuffer buf; extern (D) this(VisualCPPMangler rvl) { flags |= (rvl.flags & IS_DMC); memcpy(&saved_idents, &rvl.saved_idents, (const(char)*).sizeof * VC_SAVED_IDENT_CNT); memcpy(&saved_types, &rvl.saved_types, Type.sizeof * VC_SAVED_TYPE_CNT); } public: extern (D) this(bool isdmc) { if (isdmc) { flags |= IS_DMC; } memset(&saved_idents, 0, (const(char)*).sizeof * VC_SAVED_IDENT_CNT); memset(&saved_types, 0, Type.sizeof * VC_SAVED_TYPE_CNT); } override void visit(Type type) { if (type.isImmutable() || type.isShared()) { type.error(Loc(), "Internal Compiler Error: shared or immutable types can not be mapped to C++ (%s)", type.toChars()); } else { type.error(Loc(), "Internal Compiler Error: unsupported type %s\n", type.toChars()); } assert(0); // Assert, because this error should be handled in frontend } override void visit(TypeBasic type) { //printf("visit(TypeBasic); is_not_top_type = %d\n", (int)(flags & IS_NOT_TOP_TYPE)); if (type.isImmutable() || type.isShared()) { visit(cast(Type)type); return; } if (type.isConst() && ((flags & IS_NOT_TOP_TYPE) || (flags & IS_DMC))) { if (checkTypeSaved(type)) return; } if ((type.ty == Tbool) && checkTypeSaved(type)) // try to replace long name with number { return; } if (!(flags & IS_DMC)) { switch (type.ty) { case Tint64: case Tuns64: case Tint128: case Tuns128: case Tfloat80: case Twchar: if (checkTypeSaved(type)) return; default: } } mangleModifier(type); switch (type.ty) { case Tvoid: buf.writeByte('X'); break; case Tint8: buf.writeByte('C'); break; case Tuns8: buf.writeByte('E'); break; case Tint16: buf.writeByte('F'); break; case Tuns16: buf.writeByte('G'); break; case Tint32: buf.writeByte('H'); break; case Tuns32: buf.writeByte('I'); break; case Tfloat32: buf.writeByte('M'); break; case Tint64: buf.writestring("_J"); break; case Tuns64: buf.writestring("_K"); break; case Tint128: buf.writestring("_L"); break; case Tuns128: buf.writestring("_M"); break; case Tfloat64: buf.writeByte('N'); break; case Tbool: buf.writestring("_N"); break; case Tchar: buf.writeByte('D'); break; case Tdchar: buf.writeByte('I'); break; // unsigned int case Tfloat80: if (flags & IS_DMC) buf.writestring("_Z"); // DigitalMars long double else buf.writestring("_T"); // Intel long double break; case Twchar: if (flags & IS_DMC) buf.writestring("_Y"); // DigitalMars wchar_t else buf.writestring("_W"); // Visual C++ wchar_t break; default: visit(cast(Type)type); return; } flags &= ~IS_NOT_TOP_TYPE; flags &= ~IGNORE_CONST; } override void visit(TypeVector type) { //printf("visit(TypeVector); is_not_top_type = %d\n", (int)(flags & IS_NOT_TOP_TYPE)); if (checkTypeSaved(type)) return; buf.writestring("T__m128@@"); // may be better as __m128i or __m128d? flags &= ~IS_NOT_TOP_TYPE; flags &= ~IGNORE_CONST; } override void visit(TypeSArray type) { // This method can be called only for static variable type mangling. //printf("visit(TypeSArray); is_not_top_type = %d\n", (int)(flags & IS_NOT_TOP_TYPE)); if (checkTypeSaved(type)) return; // first dimension always mangled as const pointer if (flags & IS_DMC) buf.writeByte('Q'); else buf.writeByte('P'); flags |= IS_NOT_TOP_TYPE; assert(type.next); if (type.next.ty == Tsarray) { mangleArray(cast(TypeSArray)type.next); } else { type.next.accept(this); } } // attention: D int[1][2]* arr mapped to C++ int arr[][2][1]; (because it's more typical situation) // There is not way to map int C++ (*arr)[2][1] to D override void visit(TypePointer type) { //printf("visit(TypePointer); is_not_top_type = %d\n", (int)(flags & IS_NOT_TOP_TYPE)); if (type.isImmutable() || type.isShared()) { visit(cast(Type)type); return; } assert(type.next); if (type.next.ty == Tfunction) { const(char)* arg = mangleFunctionType(cast(TypeFunction)type.next); // compute args before checking to save; args should be saved before function type // If we've mangled this function early, previous call is meaningless. // However we should do it before checking to save types of function arguments before function type saving. // If this function was already mangled, types of all it arguments are save too, thus previous can't save // anything if function is saved. if (checkTypeSaved(type)) return; if (type.isConst()) buf.writeByte('Q'); // const else buf.writeByte('P'); // mutable buf.writeByte('6'); // pointer to a function buf.writestring(arg); flags &= ~IS_NOT_TOP_TYPE; flags &= ~IGNORE_CONST; return; } else if (type.next.ty == Tsarray) { if (checkTypeSaved(type)) return; mangleModifier(type); if (type.isConst() || !(flags & IS_DMC)) buf.writeByte('Q'); // const else buf.writeByte('P'); // mutable if (global.params.is64bit) buf.writeByte('E'); flags |= IS_NOT_TOP_TYPE; mangleArray(cast(TypeSArray)type.next); return; } else { if (checkTypeSaved(type)) return; mangleModifier(type); if (type.isConst()) { buf.writeByte('Q'); // const } else { buf.writeByte('P'); // mutable } if (global.params.is64bit) buf.writeByte('E'); flags |= IS_NOT_TOP_TYPE; type.next.accept(this); } } override void visit(TypeReference type) { //printf("visit(TypeReference); type = %s\n", type.toChars()); if (checkTypeSaved(type)) return; if (type.isImmutable() || type.isShared()) { visit(cast(Type)type); return; } buf.writeByte('A'); // mutable if (global.params.is64bit) buf.writeByte('E'); flags |= IS_NOT_TOP_TYPE; assert(type.next); if (type.next.ty == Tsarray) { mangleArray(cast(TypeSArray)type.next); } else { type.next.accept(this); } } override void visit(TypeFunction type) { const(char)* arg = mangleFunctionType(type); if ((flags & IS_DMC)) { if (checkTypeSaved(type)) return; } else { buf.writestring("$$A6"); } buf.writestring(arg); flags &= ~(IS_NOT_TOP_TYPE | IGNORE_CONST); } override void visit(TypeStruct type) { Identifier id = type.sym.ident; char c; if (id == Id.__c_long_double) c = 'O'; // VC++ long double else if (id == Id.__c_long) c = 'J'; // VC++ long else if (id == Id.__c_ulong) c = 'K'; // VC++ unsigned long else c = 0; if (c) { if (type.isImmutable() || type.isShared()) { visit(cast(Type)type); return; } if (type.isConst() && ((flags & IS_NOT_TOP_TYPE) || (flags & IS_DMC))) { if (checkTypeSaved(type)) return; } mangleModifier(type); buf.writeByte(c); } else { if (checkTypeSaved(type)) return; //printf("visit(TypeStruct); is_not_top_type = %d\n", (int)(flags & IS_NOT_TOP_TYPE)); mangleModifier(type); if (type.sym.isUnionDeclaration()) buf.writeByte('T'); else buf.writeByte('U'); mangleIdent(type.sym); } flags &= ~IS_NOT_TOP_TYPE; flags &= ~IGNORE_CONST; } override void visit(TypeEnum type) { //printf("visit(TypeEnum); is_not_top_type = %d\n", (int)(flags & IS_NOT_TOP_TYPE)); if (checkTypeSaved(type)) return; mangleModifier(type); buf.writeByte('W'); switch (type.sym.memtype.ty) { case Tchar: case Tint8: buf.writeByte('0'); break; case Tuns8: buf.writeByte('1'); break; case Tint16: buf.writeByte('2'); break; case Tuns16: buf.writeByte('3'); break; case Tint32: buf.writeByte('4'); break; case Tuns32: buf.writeByte('5'); break; case Tint64: buf.writeByte('6'); break; case Tuns64: buf.writeByte('7'); break; default: visit(cast(Type)type); break; } mangleIdent(type.sym); flags &= ~IS_NOT_TOP_TYPE; flags &= ~IGNORE_CONST; } // D class mangled as pointer to C++ class // const(Object) mangled as Object const* const override void visit(TypeClass type) { //printf("visit(TypeClass); is_not_top_type = %d\n", (int)(flags & IS_NOT_TOP_TYPE)); if (checkTypeSaved(type)) return; if (flags & IS_NOT_TOP_TYPE) mangleModifier(type); if (type.isConst()) buf.writeByte('Q'); else buf.writeByte('P'); if (global.params.is64bit) buf.writeByte('E'); flags |= IS_NOT_TOP_TYPE; mangleModifier(type); buf.writeByte('V'); mangleIdent(type.sym); flags &= ~IS_NOT_TOP_TYPE; flags &= ~IGNORE_CONST; } char* mangleOf(Dsymbol s) { VarDeclaration vd = s.isVarDeclaration(); FuncDeclaration fd = s.isFuncDeclaration(); if (vd) { mangleVariable(vd); } else if (fd) { mangleFunction(fd); } else { assert(0); } return buf.extractString(); } private: void mangleFunction(FuncDeclaration d) { // <function mangle> ? <qualified name> <flags> <return type> <arg list> assert(d); buf.writeByte('?'); mangleIdent(d); if (d.needThis()) // <flags> ::= <virtual/protection flag> <const/volatile flag> <calling convention flag> { // Pivate methods always non-virtual in D and it should be mangled as non-virtual in C++ if (d.isVirtual() && d.vtblIndex != -1) { switch (d.protection.kind) { case PROTprivate: buf.writeByte('E'); break; case PROTprotected: buf.writeByte('M'); break; default: buf.writeByte('U'); break; } } else { switch (d.protection.kind) { case PROTprivate: buf.writeByte('A'); break; case PROTprotected: buf.writeByte('I'); break; default: buf.writeByte('Q'); break; } } if (global.params.is64bit) buf.writeByte('E'); if (d.type.isConst()) { buf.writeByte('B'); } else { buf.writeByte('A'); } } else if (d.isMember2()) // static function { // <flags> ::= <virtual/protection flag> <calling convention flag> switch (d.protection.kind) { case PROTprivate: buf.writeByte('C'); break; case PROTprotected: buf.writeByte('K'); break; default: buf.writeByte('S'); break; } } else // top-level function { // <flags> ::= Y <calling convention flag> buf.writeByte('Y'); } const(char)* args = mangleFunctionType(cast(TypeFunction)d.type, cast(bool)d.needThis(), d.isCtorDeclaration() || d.isDtorDeclaration()); buf.writestring(args); } void mangleVariable(VarDeclaration d) { // <static variable mangle> ::= ? <qualified name> <protection flag> <const/volatile flag> <type> assert(d); if (!(d.storage_class & (STCextern | STCgshared))) { d.error("Internal Compiler Error: C++ static non- __gshared non-extern variables not supported"); assert(0); } buf.writeByte('?'); mangleIdent(d); assert(!d.needThis()); if (d.parent && d.parent.isModule()) // static member { buf.writeByte('3'); } else { switch (d.protection.kind) { case PROTprivate: buf.writeByte('0'); break; case PROTprotected: buf.writeByte('1'); break; default: buf.writeByte('2'); break; } } char cv_mod = 0; Type t = d.type; if (t.isImmutable() || t.isShared()) { visit(cast(Type)t); return; } if (t.isConst()) { cv_mod = 'B'; // const } else { cv_mod = 'A'; // mutable } if (t.ty != Tpointer) t = t.mutableOf(); t.accept(this); if ((t.ty == Tpointer || t.ty == Treference || t.ty == Tclass) && global.params.is64bit) { buf.writeByte('E'); } buf.writeByte(cv_mod); } void mangleName(Dsymbol sym, bool dont_use_back_reference = false) { //printf("mangleName('%s')\n", sym.toChars()); const(char)* name = null; bool is_dmc_template = false; if (sym.isDtorDeclaration()) { buf.writestring("?1"); return; } if (TemplateInstance ti = sym.isTemplateInstance()) { scope VisualCPPMangler tmp = new VisualCPPMangler((flags & IS_DMC) ? true : false); tmp.buf.writeByte('?'); tmp.buf.writeByte('$'); tmp.buf.writestring(ti.name.toChars()); tmp.saved_idents[0] = ti.name.toChars(); tmp.buf.writeByte('@'); if (flags & IS_DMC) { tmp.mangleIdent(sym.parent, true); is_dmc_template = true; } bool is_var_arg = false; for (size_t i = 0; i < ti.tiargs.dim; i++) { RootObject o = (*ti.tiargs)[i]; TemplateParameter tp = null; TemplateValueParameter tv = null; TemplateTupleParameter tt = null; if (!is_var_arg) { TemplateDeclaration td = ti.tempdecl.isTemplateDeclaration(); assert(td); tp = (*td.parameters)[i]; tv = tp.isTemplateValueParameter(); tt = tp.isTemplateTupleParameter(); } if (tt) { is_var_arg = true; tp = null; } if (tv) { if (tv.valType.isintegral()) { tmp.buf.writeByte('$'); tmp.buf.writeByte('0'); Expression e = isExpression(o); assert(e); if (tv.valType.isunsigned()) { tmp.mangleNumber(e.toUInteger()); } else if (is_dmc_template) { // NOTE: DMC mangles everything based on // unsigned int tmp.mangleNumber(e.toInteger()); } else { sinteger_t val = e.toInteger(); if (val < 0) { val = -val; tmp.buf.writeByte('?'); } tmp.mangleNumber(val); } } else { sym.error("Internal Compiler Error: C++ %s template value parameter is not supported", tv.valType.toChars()); assert(0); } } else if (!tp || tp.isTemplateTypeParameter()) { Type t = isType(o); assert(t); t.accept(tmp); } else if (tp.isTemplateAliasParameter()) { Dsymbol d = isDsymbol(o); Expression e = isExpression(o); if (!d && !e) { sym.error("Internal Compiler Error: %s is unsupported parameter for C++ template", o.toChars()); assert(0); } if (d && d.isFuncDeclaration()) { tmp.buf.writeByte('$'); tmp.buf.writeByte('1'); tmp.mangleFunction(d.isFuncDeclaration()); } else if (e && e.op == TOKvar && (cast(VarExp)e).var.isVarDeclaration()) { tmp.buf.writeByte('$'); if (flags & IS_DMC) tmp.buf.writeByte('1'); else tmp.buf.writeByte('E'); tmp.mangleVariable((cast(VarExp)e).var.isVarDeclaration()); } else if (d && d.isTemplateDeclaration() && d.isTemplateDeclaration().onemember) { Dsymbol ds = d.isTemplateDeclaration().onemember; if (flags & IS_DMC) { tmp.buf.writeByte('V'); } else { if (ds.isUnionDeclaration()) { tmp.buf.writeByte('T'); } else if (ds.isStructDeclaration()) { tmp.buf.writeByte('U'); } else if (ds.isClassDeclaration()) { tmp.buf.writeByte('V'); } else { sym.error("Internal Compiler Error: C++ templates support only integral value, type parameters, alias templates and alias function parameters"); assert(0); } } tmp.mangleIdent(d); } else { sym.error("Internal Compiler Error: %s is unsupported parameter for C++ template: (%s)", o.toChars()); assert(0); } } else { sym.error("Internal Compiler Error: C++ templates support only integral value, type parameters, alias templates and alias function parameters"); assert(0); } } name = tmp.buf.extractString(); } else { name = sym.ident.toChars(); } assert(name); if (!is_dmc_template) { if (dont_use_back_reference) { saveIdent(name); } else { if (checkAndSaveIdent(name)) return; } } buf.writestring(name); buf.writeByte('@'); } // returns true if name already saved bool checkAndSaveIdent(const(char)* name) { for (uint i = 0; i < VC_SAVED_IDENT_CNT; i++) { if (!saved_idents[i]) // no saved same name { saved_idents[i] = name; break; } if (!strcmp(saved_idents[i], name)) // ok, we've found same name. use index instead of name { buf.writeByte(i + '0'); return true; } } return false; } void saveIdent(const(char)* name) { for (size_t i = 0; i < VC_SAVED_IDENT_CNT; i++) { if (!saved_idents[i]) // no saved same name { saved_idents[i] = name; break; } if (!strcmp(saved_idents[i], name)) // ok, we've found same name. use index instead of name { return; } } } void mangleIdent(Dsymbol sym, bool dont_use_back_reference = false) { // <qualified name> ::= <sub-name list> @ // <sub-name list> ::= <sub-name> <name parts> // ::= <sub-name> // <sub-name> ::= <identifier> @ // ::= ?$ <identifier> @ <template args> @ // :: <back reference> // <back reference> ::= 0-9 // <template args> ::= <template arg> <template args> // ::= <template arg> // <template arg> ::= <type> // ::= $0<encoded integral number> //printf("mangleIdent('%s')\n", sym.toChars()); Dsymbol p = sym; if (p.toParent() && p.toParent().isTemplateInstance()) { p = p.toParent(); } while (p && !p.isModule()) { mangleName(p, dont_use_back_reference); p = p.toParent(); if (p.toParent() && p.toParent().isTemplateInstance()) { p = p.toParent(); } } if (!dont_use_back_reference) buf.writeByte('@'); } void mangleNumber(dinteger_t num) { if (!num) // 0 encoded as "A@" { buf.writeByte('A'); buf.writeByte('@'); return; } if (num <= 10) // 5 encoded as "4" { buf.writeByte(cast(char)(num - 1 + '0')); return; } char[17] buff; buff[16] = 0; size_t i = 16; while (num) { --i; buff[i] = num % 16 + 'A'; num /= 16; } buf.writestring(&buff[i]); buf.writeByte('@'); } bool checkTypeSaved(Type type) { if (flags & IS_NOT_TOP_TYPE) return false; if (flags & MANGLE_RETURN_TYPE) return false; for (uint i = 0; i < VC_SAVED_TYPE_CNT; i++) { if (!saved_types[i]) // no saved same type { saved_types[i] = type; return false; } if (saved_types[i].equals(type)) // ok, we've found same type. use index instead of type { buf.writeByte(i + '0'); flags &= ~IS_NOT_TOP_TYPE; flags &= ~IGNORE_CONST; return true; } } return false; } void mangleModifier(Type type) { if (flags & IGNORE_CONST) return; if (type.isImmutable() || type.isShared()) { visit(cast(Type)type); return; } if (type.isConst()) { if (flags & IS_NOT_TOP_TYPE) buf.writeByte('B'); // const else if ((flags & IS_DMC) && type.ty != Tpointer) buf.writestring("_O"); } else if (flags & IS_NOT_TOP_TYPE) buf.writeByte('A'); // mutable } void mangleArray(TypeSArray type) { mangleModifier(type); size_t i = 0; Type cur = type; while (cur && cur.ty == Tsarray) { i++; cur = cur.nextOf(); } buf.writeByte('Y'); mangleNumber(i); // count of dimensions cur = type; while (cur && cur.ty == Tsarray) // sizes of dimensions { TypeSArray sa = cast(TypeSArray)cur; mangleNumber(sa.dim ? sa.dim.toInteger() : 0); cur = cur.nextOf(); } flags |= IGNORE_CONST; cur.accept(this); } const(char)* mangleFunctionType(TypeFunction type, bool needthis = false, bool noreturn = false) { scope VisualCPPMangler tmp = new VisualCPPMangler(this); // Calling convention if (global.params.is64bit) // always Microsoft x64 calling convention { tmp.buf.writeByte('A'); } else { switch (type.linkage) { case LINKc: tmp.buf.writeByte('A'); break; case LINKcpp: if (needthis && type.varargs != 1) tmp.buf.writeByte('E'); // thiscall else tmp.buf.writeByte('A'); // cdecl break; case LINKwindows: tmp.buf.writeByte('G'); // stdcall break; case LINKpascal: tmp.buf.writeByte('C'); break; default: tmp.visit(cast(Type)type); break; } } tmp.flags &= ~IS_NOT_TOP_TYPE; if (noreturn) { tmp.buf.writeByte('@'); } else { Type rettype = type.next; if (type.isref) rettype = rettype.referenceTo(); flags &= ~IGNORE_CONST; if (rettype.ty == Tstruct || rettype.ty == Tenum) { Identifier id = rettype.toDsymbol(null).ident; if (id != Id.__c_long_double && id != Id.__c_long && id != Id.__c_ulong) { tmp.buf.writeByte('?'); tmp.buf.writeByte('A'); } } tmp.flags |= MANGLE_RETURN_TYPE; rettype.accept(tmp); tmp.flags &= ~MANGLE_RETURN_TYPE; } if (!type.parameters || !type.parameters.dim) { if (type.varargs == 1) tmp.buf.writeByte('Z'); else tmp.buf.writeByte('X'); } else { int mangleParameterDg(size_t n, Parameter p) { Type t = p.type; if (p.storageClass & (STCout | STCref)) { t = t.referenceTo(); } else if (p.storageClass & STClazy) { // Mangle as delegate Type td = new TypeFunction(null, t, 0, LINKd); td = new TypeDelegate(td); t = t.merge(); } if (t.ty == Tsarray) { t.error(Loc(), "Internal Compiler Error: unable to pass static array to extern(C++) function."); t.error(Loc(), "Use pointer instead."); assert(0); } tmp.flags &= ~IS_NOT_TOP_TYPE; tmp.flags &= ~IGNORE_CONST; t.accept(tmp); return 0; } Parameter._foreach(type.parameters, &mangleParameterDg); if (type.varargs == 1) { tmp.buf.writeByte('Z'); } else { tmp.buf.writeByte('@'); } } tmp.buf.writeByte('Z'); const(char)* ret = tmp.buf.extractString(); memcpy(&saved_idents, &tmp.saved_idents, (const(char)*).sizeof * VC_SAVED_IDENT_CNT); memcpy(&saved_types, &tmp.saved_types, Type.sizeof * VC_SAVED_TYPE_CNT); return ret; } } extern (C++) char* toCppMangle(Dsymbol s) { scope VisualCPPMangler v = new VisualCPPMangler(!global.params.mscoff); return v.mangleOf(s); } } else { static assert(0, "fix this"); }
D
import gcc.attribute; /* Test all gdc supported attributes. */ @attribute("forceinline") void forceinline() { } @attribute("noinline") void noinline() { } @attribute("flatten") void flatten() { }
D
/* 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. */ // Copyright linse 2020. // 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 flow.common.interceptor.EngineConfigurationConstants; interface EngineConfigurationConstants { static string KEY_PROCESS_ENGINE_CONFIG = "cfg.processEngine"; static string KEY_DMN_ENGINE_CONFIG = "cfg.dmnEngine"; static string KEY_IDM_ENGINE_CONFIG = "cfg.idmEngine"; static string KEY_FORM_ENGINE_CONFIG = "cfg.formEngine"; static string KEY_CONTENT_ENGINE_CONFIG = "cfg.contentEngine"; static string KEY_CMMN_ENGINE_CONFIG = "cfg.cmmnEngine"; static string KEY_APP_ENGINE_CONFIG = "cfg.appEngine"; static string KEY_EVENT_REGISTRY_CONFIG = "cfg.eventRegistry"; static string KEY_TASK_SERVICE_CONFIG = "cfg.taskService"; static string KEY_VARIABLE_SERVICE_CONFIG = "cfg.variableService"; static string KEY_IDENTITY_LINK_SERVICE_CONFIG = "cfg.identityLinkService"; static string KEY_ENTITY_LINK_SERVICE_CONFIG = "cfg.entityLinkService"; static string KEY_EVENT_SUBSCRIPTION_SERVICE_CONFIG = "cfg.eventSubscriptionService"; static string KEY_JOB_SERVICE_CONFIG = "cfg.jobService"; static string KEY_BATCH_SERVICE_CONFIG = "cfg.batchService"; static int PRIORITY_ENGINE_PROCESS = 50000; static int PRIORITY_ENGINE_EVENT_REGISTRY = 100000; static int PRIORITY_ENGINE_IDM = 150000; static int PRIORITY_ENGINE_DMN = 200000; static int PRIORITY_ENGINE_FORM = 300000; static int PRIORITY_ENGINE_CONTENT = 400000; static int PRIORITY_ENGINE_CMMN = 500000; }
D
import std.algorithm, std.range, std.stdio; int main() { int[] a1=[0,1,2,3,4,5,6,7,8,9]; int[] a2=[6,7,8,9]; immutable pivot = 5; int mysum(int a,int b) pure { if(b<=pivot) return a+b; else return a; } auto result=reduce!(mysum)(chain(a1,a2)); //passing a delegate closure writeln("Result: ",result); return 0; }
D
/** * Handles the creation and life cycle of UI objects and webview textures */ module components.userinterface; import core; import utility.awesomium, components, utility, graphics.graphics; import std.string, gl3n.linalg; /** * User interface objects handle drawing/updating an AwesomiumView over the screen */ shared class UserInterface { private: uint _height; uint _width; shared mat4 _scaleMat; AwesomiumView _view; // TODO: Handle JS public: /// WebView to be drawn mixin( Property!(_view, AccessModifier.Public) ); /// Scale of the UI mixin( Property!(_scaleMat, AccessModifier.Public) ); /** * Create UI object * * Params: * w = Width (in pixels) of UI * h = Height (in pixels) of UI * filePath = Absolute file path to UI file */ this( uint w, uint h, string filePath ) { _scaleMat = mat4.identity; _scaleMat[0][0] = cast(float)w/2.0f; _scaleMat[1][1] = cast(float)h/2.0f; _height = h; _width = w; _view = new shared AwesomiumView( w, h, filePath, null ); logDebug( "UI File: ", filePath ); } /** * Update UI view */ void update() { /// TODO: Check for mouse & keyboard input _view.update(); return; } /** * Draw UI view */ void draw() { Graphics.addUI( this ); } /** * Cleanup UI memory */ void shutdown() { // Try to clean up gl buffers _view.shutdown(); // Clean up mesh, material, and view } /* void keyPress(int key) { } */ /** * Initializes Awesomium singleton */ static void initializeAwesomium() { version( Windows ) { // Webcore setup awe_webcore_initialize_default(); string baseDir = FilePath.Resources.UI; awe_string* aweBaseDir = awe_string_create_from_ascii( baseDir.toStringz(), baseDir.length ); awe_webcore_set_base_directory( aweBaseDir ); awe_string_destroy( aweBaseDir ); } } /** * Updates Awesomium singleton */ static void updateAwesomium() { version( Windows ) awe_webcore_update(); } /** * Shutdowns Awesomium singleton */ static void shutdownAwesomium() { version( Windows ) awe_webcore_shutdown(); } } /** * Creates an Awesomium web view texture */ shared class AwesomiumView : Texture, IComponent { private: version( Windows ) awe_webview* webView; ubyte[] glBuffer; public: this( uint w, uint h, string filePath, shared GameObject owner, bool localFilePath = true ) { _width = w; _height = h; glBuffer = new ubyte[_width*_height*4]; this.owner = owner; super( cast(ubyte*)null ); version( Windows ) { webView = cast(shared)awe_webcore_create_webview( _width, _height, false ); awe_webview_set_transparent( cast(awe_webview*)webView, true ); awe_string* urlString = awe_string_create_from_ascii( filePath.toStringz(), filePath.length ); if ( localFilePath ) awe_webview_load_file(cast(awe_webview*)webView, urlString, awe_string_empty()); else awe_webview_load_url(cast(awe_webview*)webView, urlString, awe_string_empty(), awe_string_empty(), awe_string_empty()); // Wait for WebView to finish loading the page // JK DON'T //while(awe_webview_is_loading_page(cast(awe_webview*)webView)) //awe_webcore_update(); // Destroy our URL string awe_string_destroy( urlString ); } } override void update() { // No webview? No update. version( Windows ) if ( webView && awe_webview_is_dirty( cast(awe_webview*)webView ) ) { const(awe_renderbuffer)* buffer = awe_webview_render( cast(awe_webview*)webView ); // Ensure the buffer exists if ( buffer !is null ) { buffer.awe_renderbuffer_copy_to( cast(ubyte*)glBuffer.ptr, awe_renderbuffer_get_rowspan( buffer ), 4, false, true ); updateBuffer( cast(ubyte*)glBuffer.ptr ); } } } override void shutdown() { destroy( glBuffer ); version( Windows ) awe_webview_destroy( cast(awe_webview*)webView ); } }
D
module UnrealScript.Engine.ActorFactorySkeletalMeshCinematic; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.Engine.ActorFactorySkeletalMesh; extern(C++) interface ActorFactorySkeletalMeshCinematic : ActorFactorySkeletalMesh { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class Engine.ActorFactorySkeletalMeshCinematic")); } private static __gshared ActorFactorySkeletalMeshCinematic mDefaultProperties; @property final static ActorFactorySkeletalMeshCinematic DefaultProperties() { mixin(MGDPC("ActorFactorySkeletalMeshCinematic", "ActorFactorySkeletalMeshCinematic Engine.Default__ActorFactorySkeletalMeshCinematic")); } }
D
/** * License: * Copyright Devisualization (Richard Andrew Cattermole) 2014 - 2017. * 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 devisualization.bindings.gdk.gdk_pixbuf; import devisualization.bindings.gdk.glib; /// mixin template GDK_Pixbuf_Functions() { import devisualization.bindings.gdk.gdk_pixbuf; import devisualization.bindings.gdk.glib; extern(C): /// GdkPixbuf* function(GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height) gdk_pixbuf_new; /// GdkColorspace function(const GdkPixbuf* pixbuf) gdk_pixbuf_get_colorspace; /// int function(const GdkPixbuf* pixbuf) gdk_pixbuf_get_n_channels; /// gboolean function(const GdkPixbuf* pixbuf) gdk_pixbuf_get_has_alpha; /// int function(const GdkPixbuf* pixbuf) gdk_pixbuf_get_bits_per_sample; /// guchar* function(const GdkPixbuf* pixbuf) gdk_pixbuf_get_pixels; /// int function(const GdkPixbuf* pixbuf) gdk_pixbuf_get_width; /// int function(const GdkPixbuf* pixbuf) gdk_pixbuf_get_height; /// int function(const GdkPixbuf* pixbuf) gdk_pixbuf_get_rowstride; /// gsize function(const GdkPixbuf* pixbuf) gdk_pixbuf_get_byte_length; /// const ubyte* function(const GdkPixbuf* pixbuf) gdk_pixbuf_read_pixels; /// GdkPixbuf* function(const guchar* data, GdkColorspace colorspace, gboolean has_alpha, int bits_per_sample, int width, int height, int rowstride, GdkPixbufDestroyNotify destroy_fn, gpointer destroy_fn_data) gdk_pixbuf_new_from_data; /// void function(GdkPixbuf* pixbuf) gdk_pixbuf_ref; /// void function(GdkPixbuf* pixbuf) gdk_pixbuf_unref; /// GdkPixbuf* function(const GdkPixbuf *pixbuf) gdk_pixbuf_copy; /// GdkPixbuf* function(const GdkPixbuf* src, int dest_width, int dest_height, GdkInterpType interp_type) gdk_pixbuf_scale_simple; } /** * GdkPixbuf: * * This is the main structure in the gdk-pixbuf library. It is * used to represent images. It contains information about the * image's pixel data, its color space, bits per sample, width and * height, and the rowstride (the number of bytes between the start of * one row and the start of the next). */ struct GdkPixbuf; /** * GdkPixbufDestroyNotify: * @pixels: (array) (element-type guint8): The pixel array of the pixbuf * that is being finalized. * @data: (closure): User closure data. * * A function of this type is responsible for freeing the pixel array * of a pixbuf. The gdk_pixbuf_new_from_data() function lets you * pass in a pre-allocated pixel array so that a pixbuf can be * created from it; in this case you will need to pass in a function * of #GdkPixbufDestroyNotify so that the pixel data can be freed * when the pixbuf is finalized. */ alias GdkPixbufDestroyNotify = extern(C) void function(guchar* pixels, gpointer data); /** * GdkColorspace: * @GDK_COLORSPACE_RGB: Indicates a red/green/blue additive color space. * * This enumeration defines the color spaces that are supported by * the gdk-pixbuf library. Currently only RGB is supported. * * Note that these values are encoded in inline pixbufs * as ints, so don't reorder them */ enum GdkColorspace { /// GDK_COLORSPACE_RGB } /** * GdkInterpType: * @GDK_INTERP_NEAREST: Nearest neighbor sampling; this is the fastest * and lowest quality mode. Quality is normally unacceptable when scaling * down, but may be OK when scaling up. * @GDK_INTERP_TILES: This is an accurate simulation of the PostScript * image operator without any interpolation enabled. Each pixel is * rendered as a tiny parallelogram of solid color, the edges of which * are implemented with antialiasing. It resembles nearest neighbor for * enlargement, and bilinear for reduction. * @GDK_INTERP_BILINEAR: Best quality/speed balance; use this mode by * default. Bilinear interpolation. For enlargement, it is * equivalent to point-sampling the ideal bilinear-interpolated image. * For reduction, it is equivalent to laying down small tiles and * integrating over the coverage area. * @GDK_INTERP_HYPER: This is the slowest and highest quality * reconstruction function. It is derived from the hyperbolic filters in * Wolberg's "Digital Image Warping", and is formally defined as the * hyperbolic-filter sampling the ideal hyperbolic-filter interpolated * image (the filter is designed to be idempotent for 1:1 pixel mapping). * * This enumeration describes the different interpolation modes that * can be used with the scaling functions. @GDK_INTERP_NEAREST is * the fastest scaling method, but has horrible quality when * scaling down. @GDK_INTERP_BILINEAR is the best choice if you * aren't sure what to choose, it has a good speed/quality balance. * * <note> * Cubic filtering is missing from the list; hyperbolic * interpolation is just as fast and results in higher quality. * </note> */ enum GdkInterpType { /// GDK_INTERP_NEAREST, /// GDK_INTERP_TILES, /// GDK_INTERP_BILINEAR, /// GDK_INTERP_HYPER }
D
/Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Fluent.build/Database/Driver.swift.o : /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Database.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Driver.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Entity/Entity.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Filters.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Group.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Sort.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/MemoryDriver.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Database+Preparation.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Migration.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Preparation.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/PreparationError.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Action.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Comparison.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Filter.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Group.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Join.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Limit.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Query.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Scope.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Sort.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Children.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Parent.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/RelationError.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Siblings.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Database+Schema.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Creator.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Field.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Modifier.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Query.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Schema.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQLSerializer.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Utilities/Fluent+Node.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/Foundation.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/Dispatch.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Node.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/PathIndexable.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Polymorphic.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Fluent.build/Driver~partial.swiftmodule : /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Database.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Driver.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Entity/Entity.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Filters.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Group.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Sort.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/MemoryDriver.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Database+Preparation.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Migration.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Preparation.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/PreparationError.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Action.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Comparison.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Filter.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Group.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Join.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Limit.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Query.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Scope.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Sort.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Children.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Parent.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/RelationError.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Siblings.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Database+Schema.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Creator.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Field.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Modifier.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Query.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Schema.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQLSerializer.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Utilities/Fluent+Node.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/Foundation.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/Dispatch.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Node.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/PathIndexable.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Polymorphic.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Fluent.build/Driver~partial.swiftdoc : /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Database.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Database/Driver.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Entity/Entity.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Filters.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Group.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/Memory+Sort.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Memory/MemoryDriver.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Database+Preparation.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Migration.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/Preparation.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Preparation/PreparationError.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Action.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Comparison.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Filter.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Group.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Join.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Limit.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Query.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Scope.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Query/Sort.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Children.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Parent.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/RelationError.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Relations/Siblings.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Database+Schema.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Creator.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Field.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema+Modifier.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Schema/Schema.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/GeneralSQLSerializer.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Query.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL+Schema.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQL.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/SQL/SQLSerializer.swift /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/Packages/Fluent-1.4.1/Sources/Fluent/Utilities/Fluent+Node.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/Foundation.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/Dispatch.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/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Node.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/PathIndexable.swiftmodule /Users/okasho/serverProject/tryswift/get_post_patch_and_delate/swift/.build/debug/Polymorphic.swiftmodule
D
/* * The MIT License (MIT) * * Copyright (c) 2014 Devisualization (Richard Andrew Cattermole) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * 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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ module test.main; import devisualization.window.window; import devisualization.window.interfaces.context; import derelict.opengl3.gl; import std.stdio; import core.thread; import openvg; import std.range; import std.random; void checkVg() { auto err = vgGetError(); writeln(err); } VGubyte[] segs = [ VG_MOVE_TO, VG_LINE_TO_REL, VG_LINE_TO_REL, VG_LINE_TO_REL, VG_LINE_TO_REL, VG_LINE_TO_REL, VG_LINE_TO_REL, VG_LINE_TO_REL, VG_LINE_TO_REL, VG_LINE_TO_REL, VG_CLOSE_PATH ]; VGfloat[] data = [ 0,50, 15,-40, 45,0, -35,-20, 15,-40, -40,30, -40,-30, 15,40, -35,20, 45,0 ]; VGfloat[] cstroke = [0.5,0.2,0.8, 0.6]; VGfloat[] cfill = [0.3,1.0,0.0, 0.6]; VGfloat phase=0.0f; VGint jindex = 0; VGint jsize = 3; VGint[] joins = [ VG_JOIN_MITER, VG_JOIN_BEVEL, VG_JOIN_ROUND ]; VGint cindex = 2; VGint csize = 3; VGint[] caps = [ VG_CAP_BUTT, VG_CAP_SQUARE, VG_CAP_ROUND ]; VGfloat sx=1.0f, sy=1.0f; VGfloat startX=0.0f; VGfloat startY=0.0f; VGfloat clickX=0.0f; VGfloat clickY=0.0f; struct shape { float scale; float x; float y; } shape[] shapes; VGPath testPath; void init() { DerelictGL3.reload(); VGboolean vgCtxSucc = vgCreateContextSH(640, 480); if(!vgCtxSucc) writeln("failed to create VG context"); testPath = vgCreatePath(VG_PATH_FORMAT_STANDARD, VG_PATH_DATATYPE_F, 1,0,0,0, VG_PATH_CAPABILITY_ALL); vgAppendPathData(testPath, cast(int)segs.length, cast(ubyte*)segs, cast(void*)data); auto testStroke = vgCreatePaint(); vgSetParameterfv(testStroke, VG_PAINT_COLOR, cstroke); vgSetPaint(testStroke, VG_STROKE_PATH); auto testFill = vgCreatePaint(); vgSetParameterfv(testFill, VG_PAINT_COLOR, cfill); vgSetPaint(testFill, VG_FILL_PATH); foreach(i; iota(0,150)) { float scale = uniform(0.1, 1); float x = uniform(0,640); float y = uniform(0,480); shapes ~= shape(scale, x, y); } int major; int minor; glGetIntegerv(GL_MAJOR_VERSION, &major); glGetIntegerv(GL_MAJOR_VERSION, &minor); writeln("OpenGL Context Version ",major,".",minor); } void main() { DerelictGL3.load(); Window window = new Window(640, 480, "My window!"w, WindowContextType.Opengl ); window.show(); window.addOnDraw((Windowable window2) { VGfloat[] cc = [0,0,0,1]; VGfloat[] dash = [10,15,0,15]; vgSetfv(VG_CLEAR_COLOR, cc); vgClear(0,0,640,480); //vgSetfv(VG_STROKE_DASH_PATTERN, dash); //vgSeti(VG_STROKE_DASH_PHASE_RESET, VG_TRUE); //vgSetf(VG_STROKE_DASH_PHASE, phase); vgSetf(VG_STROKE_LINE_WIDTH, 5.0f); vgSetf(VG_STROKE_JOIN_STYLE, joins[jindex]); vgSetf(VG_STROKE_CAP_STYLE, caps[cindex]); vgLoadIdentity(); foreach(shape s; shapes) { vgLoadIdentity(); vgTranslate(s.x,s.y); vgScale(s.scale, s.scale); vgDrawPath(testPath, VG_FILL_PATH); vgDrawPath(testPath, VG_STROKE_PATH); } }); bool hitContext; while(true) { import core.thread : Thread; import core.time : dur; Window.messageLoopIteration(); IContext context = window.context; if (window.hasBeenClosed) break; else if (context !is null) { if (!hitContext) { context.activate; writeln("has context"); writeln("type: ", context.type); writeln("toolkit version: ", context.toolkitVersion); writeln("shading language version: ", context.shadingLanguageVersion); init(); hitContext = true; } window.onDraw; context.swapBuffers; } Thread.sleep(dur!"msecs"(25)); } }
D
INSTANCE Info_Mod_Alwin_Hi (C_INFO) { npc = Mod_560_NONE_Alwin_NW; nr = 1; condition = Info_Mod_Alwin_Hi_Condition; information = Info_Mod_Alwin_Hi_Info; permanent = 0; important = 0; description = "Wer bist du?"; }; FUNC INT Info_Mod_Alwin_Hi_Condition() { return 1; }; FUNC VOID Info_Mod_Alwin_Hi_Info() { B_Say (hero, self, "$WHOAREYOU"); AI_Output(self, hero, "Info_Mod_Alwin_Hi_12_01"); //Ich bin Alwin, Schafshirte und Metzger. Was kann ich für dich tun? }; INSTANCE Info_Mod_Alwin_Flugblaetter (C_INFO) { npc = Mod_560_NONE_Alwin_NW; nr = 1; condition = Info_Mod_Alwin_Flugblaetter_Condition; information = Info_Mod_Alwin_Flugblaetter_Info; permanent = 0; important = 0; description = "Ich hab hier ein Flugblatt für dich."; }; FUNC INT Info_Mod_Alwin_Flugblaetter_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Matteo_Auftrag_2)) && (Npc_HasItems(hero, MatteoFlugblaetter) >= 1) && (Mod_Flugblaetter < 20) &&(!Npc_KnowsInfo(hero, Info_Mod_Matteo_Flugblaetter)) && (Npc_KnowsInfo(hero, Info_Mod_Alwin_Hi)) { return 1; }; }; FUNC VOID Info_Mod_Alwin_Flugblaetter_Info() { B_Say (hero, self, "$MATTEOPAPER"); B_GiveInvItems (hero, self, MatteoFlugblaetter, 1); AI_Output(self, hero, "Info_Mod_Alwin_Flugblaetter_12_01"); //Oh danke. Mal sehen ... B_UseFakeScroll(); AI_Output(self, hero, "Info_Mod_Alwin_Flugblaetter_12_02"); //Ah ja. Vielleicht werd ich mal bei Matteo vorbeischauen. Mod_Flugblaetter += 1; }; INSTANCE Info_Mod_Alwin_LobartScene (C_INFO) { npc = Mod_560_NONE_Alwin_NW; nr = 1; condition = Info_Mod_Alwin_LobartScene_Condition; information = Info_Mod_Alwin_LobartScene_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Alwin_LobartScene_Condition() { if (Mod_LobartAlwin == 4) { return 1; }; }; FUNC VOID Info_Mod_Alwin_LobartScene_Info() { AI_Output(self, hero, "Info_Mod_Alwin_LobartScene_12_00"); //Was glotzt ihr so? AI_StopProcessInfos (self); }; INSTANCE Info_Mod_Alwin_LobartScene2 (C_INFO) { npc = Mod_560_NONE_Alwin_NW; nr = 1; condition = Info_Mod_Alwin_LobartScene2_Condition; information = Info_Mod_Alwin_LobartScene2_Info; permanent = 0; important = 1; }; FUNC INT Info_Mod_Alwin_LobartScene2_Condition() { if (Npc_KnowsInfo(hero, Info_Mod_Meldor_LobartAlwinScene)) { return 1; }; }; FUNC VOID Info_Mod_Alwin_LobartScene2_Info() { AI_Output(self, hero, "Info_Mod_Alwin_LobartScene2_12_00"); //Besser saufen als kiffen, du Arsch. (stöhnt) Ah, meine Birne! AI_Output(self, hero, "Info_Mod_Alwin_LobartScene2_12_01"); //Kann mich gar nicht erinnern, dass ich heute schon voll war. AI_StopProcessInfos (self); B_StartOtherRoutine (Mod_560_NONE_Alwin_NW, "START"); B_StartOtherRoutine (Mod_597_NONE_Meldor_NW, "START"); B_StartOtherRoutine (Mod_1041_VLK_Buergerin_NW, "START"); B_StartOtherRoutine (Mod_1039_VLK_Buergerin_NW, "START"); B_StartOtherRoutine (Mod_593_NONE_Lucy_NW, "START"); }; INSTANCE Info_Mod_Alwin_Pickpocket (C_INFO) { npc = Mod_560_NONE_Alwin_NW; nr = 1; condition = Info_Mod_Alwin_Pickpocket_Condition; information = Info_Mod_Alwin_Pickpocket_Info; permanent = 1; important = 0; description = Pickpocket_30; }; FUNC INT Info_Mod_Alwin_Pickpocket_Condition() { C_Beklauen (15, ItMi_Gold, 13); }; FUNC VOID Info_Mod_Alwin_Pickpocket_Info() { Info_ClearChoices (Info_Mod_Alwin_Pickpocket); Info_AddChoice (Info_Mod_Alwin_Pickpocket, DIALOG_BACK, Info_Mod_Alwin_Pickpocket_BACK); Info_AddChoice (Info_Mod_Alwin_Pickpocket, DIALOG_PICKPOCKET, Info_Mod_Alwin_Pickpocket_DoIt); }; FUNC VOID Info_Mod_Alwin_Pickpocket_BACK() { Info_ClearChoices (Info_Mod_Alwin_Pickpocket); }; FUNC VOID Info_Mod_Alwin_Pickpocket_DoIt() { if (B_Beklauen() == TRUE) { Info_ClearChoices (Info_Mod_Alwin_Pickpocket); } else { Info_ClearChoices (Info_Mod_Alwin_Pickpocket); Info_AddChoice (Info_Mod_Alwin_Pickpocket, DIALOG_PP_BESCHIMPFEN, Info_Mod_Alwin_Pickpocket_Beschimpfen); Info_AddChoice (Info_Mod_Alwin_Pickpocket, DIALOG_PP_BESTECHUNG, Info_Mod_Alwin_Pickpocket_Bestechung); Info_AddChoice (Info_Mod_Alwin_Pickpocket, DIALOG_PP_HERAUSREDEN, Info_Mod_Alwin_Pickpocket_Herausreden); }; }; FUNC VOID Info_Mod_Alwin_Pickpocket_Beschimpfen() { B_Say (hero, self, "$PICKPOCKET_BESCHIMPFEN"); B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_Alwin_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); }; FUNC VOID Info_Mod_Alwin_Pickpocket_Bestechung() { B_Say (hero, self, "$PICKPOCKET_BESTECHUNG"); var int rnd; rnd = r_max(99); if (rnd < 25) || ((rnd >= 25) && (rnd < 50) && (Npc_HasItems(hero, ItMi_Gold) < 50)) || ((rnd >= 50) && (rnd < 75) && (Npc_HasItems(hero, ItMi_Gold) < 100)) || ((rnd >= 75) && (rnd < 100) && (Npc_HasItems(hero, ItMi_Gold) < 200)) { B_Say (self, hero, "$DIRTYTHIEF"); Info_ClearChoices (Info_Mod_Alwin_Pickpocket); AI_StopProcessInfos (self); B_Attack (self, hero, AR_Theft, 1); } else { if (rnd >= 75) { B_GiveInvItems (hero, self, ItMi_Gold, 200); } else if (rnd >= 50) { B_GiveInvItems (hero, self, ItMi_Gold, 100); } else if (rnd >= 25) { B_GiveInvItems (hero, self, ItMi_Gold, 50); }; B_Say (self, hero, "$PICKPOCKET_BESTECHUNG_01"); Info_ClearChoices (Info_Mod_Alwin_Pickpocket); AI_StopProcessInfos (self); }; }; FUNC VOID Info_Mod_Alwin_Pickpocket_Herausreden() { B_Say (hero, self, "$PICKPOCKET_HERAUSREDEN"); if (r_max(99) < Mod_Verhandlungsgeschick) { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_01"); Info_ClearChoices (Info_Mod_Alwin_Pickpocket); } else { B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_02"); }; }; INSTANCE Info_Mod_Alwin_EXIT (C_INFO) { npc = Mod_560_NONE_Alwin_NW; nr = 1; condition = Info_Mod_Alwin_EXIT_Condition; information = Info_Mod_Alwin_EXIT_Info; permanent = 1; important = 0; description = DIALOG_ENDE; }; FUNC INT Info_Mod_Alwin_EXIT_Condition() { return 1; }; FUNC VOID Info_Mod_Alwin_EXIT_Info() { AI_StopProcessInfos (self); };
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 = gtk-Keyboard-Accelerators.html * outPack = gtk * outFile = AccelGroup * strct = GtkAccelGroup * realStrct= * ctorStrct= * clss = AccelGroup * interf = * class Code: No * interface Code: No * template for: * extend = * implements: * prefixes: * - gtk_accel_group_ * - gtk_ * omit structs: * omit prefixes: * omit code: * omit signals: * imports: * - gtkD.glib.Str * - gtkD.gobject.Closure * - gtkD.gobject.ObjectG * - gtkD.gtk.AccelGroup * - gtkD.glib.ListSG * structWrap: * - GClosure* -> Closure * - GObject* -> ObjectG * - GSList* -> ListSG * - GtkAccelGroup* -> AccelGroup * module aliases: * local aliases: * overrides: */ module gtkD.gtk.AccelGroup; 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.gobject.Closure; private import gtkD.gobject.ObjectG; private import gtkD.gtk.AccelGroup; private import gtkD.glib.ListSG; private import gtkD.gobject.ObjectG; /** * Description * A GtkAccelGroup represents a group of keyboard accelerators, * typically attached to a toplevel GtkWindow (with * gtk_window_add_accel_group()). Usually you won't need to create a * GtkAccelGroup directly; instead, when using GtkItemFactory, GTK+ * automatically sets up the accelerators for your menus in the item * factory's GtkAccelGroup. * Note that accelerators are different from * mnemonics. Accelerators are shortcuts for * activating a menu item; they appear alongside the menu item they're a * shortcut for. For example "Ctrl+Q" might appear alongside the "Quit" * menu item. Mnemonics are shortcuts for GUI elements such as text * entries or buttons; they appear as underlined characters. See * gtk_label_new_with_mnemonic(). Menu items can have both accelerators * and mnemonics, of course. */ public class AccelGroup : ObjectG { /** the main Gtk struct */ protected GtkAccelGroup* gtkAccelGroup; public GtkAccelGroup* getAccelGroupStruct() { return gtkAccelGroup; } /** the main Gtk struct as a void* */ protected override void* getStruct() { return cast(void*)gtkAccelGroup; } /** * Sets our main struct and passes it to the parent class */ public this (GtkAccelGroup* gtkAccelGroup) { if(gtkAccelGroup is null) { this = null; return; } //Check if there already is a D object for this gtk struct void* ptr = getDObject(cast(GObject*)gtkAccelGroup); if( ptr !is null ) { this = cast(AccelGroup)ptr; return; } super(cast(GObject*)gtkAccelGroup); this.gtkAccelGroup = gtkAccelGroup; } /** */ int[char[]] connectedSignals; bool delegate(ObjectG, guint, GdkModifierType, AccelGroup)[] onAccelActivateListeners; /** * The accel-activate signal is an implementation detail of * GtkAccelGroup and not meant to be used by applications. */ void addOnAccelActivate(bool delegate(ObjectG, guint, GdkModifierType, AccelGroup) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0) { if ( !("accel-activate" in connectedSignals) ) { Signals.connectData( getStruct(), "accel-activate", cast(GCallback)&callBackAccelActivate, cast(void*)this, null, connectFlags); connectedSignals["accel-activate"] = 1; } onAccelActivateListeners ~= dlg; } extern(C) static gboolean callBackAccelActivate(GtkAccelGroup* accelGroupStruct, GObject* acceleratable, guint keyval, GdkModifierType modifier, AccelGroup accelGroup) { foreach ( bool delegate(ObjectG, guint, GdkModifierType, AccelGroup) dlg ; accelGroup.onAccelActivateListeners ) { if ( dlg(new ObjectG(acceleratable), keyval, modifier, accelGroup) ) { return 1; } } return 0; } void delegate(guint, GdkModifierType, Closure, AccelGroup)[] onAccelChangedListeners; /** * The accel-changed signal is emitted when a GtkAccelGroupEntry * is added to or removed from the accel group. * Widgets like GtkAccelLabel which display an associated * accelerator should connect to this signal, and rebuild * their visual representation if the accel_closure is theirs. * See Also * gtk_window_add_accel_group(), gtk_accel_map_change_entry(), * gtk_item_factory_new(), gtk_label_new_with_mnemonic() */ void addOnAccelChanged(void delegate(guint, GdkModifierType, Closure, AccelGroup) dlg, ConnectFlags connectFlags=cast(ConnectFlags)0) { if ( !("accel-changed" in connectedSignals) ) { Signals.connectData( getStruct(), "accel-changed", cast(GCallback)&callBackAccelChanged, cast(void*)this, null, connectFlags); connectedSignals["accel-changed"] = 1; } onAccelChangedListeners ~= dlg; } extern(C) static void callBackAccelChanged(GtkAccelGroup* accelGroupStruct, guint keyval, GdkModifierType modifier, GClosure* accelClosure, AccelGroup accelGroup) { foreach ( void delegate(guint, GdkModifierType, Closure, AccelGroup) dlg ; accelGroup.onAccelChangedListeners ) { dlg(keyval, modifier, new Closure(accelClosure), accelGroup); } } /** * Creates a new GtkAccelGroup. * Throws: ConstructionException GTK+ fails to create the object. */ public this () { // GtkAccelGroup* gtk_accel_group_new (void); auto p = gtk_accel_group_new(); if(p is null) { throw new ConstructionException("null returned by gtk_accel_group_new()"); } this(cast(GtkAccelGroup*) p); } /** * Installs an accelerator in this group. When accel_group is being activated * in response to a call to gtk_accel_groups_activate(), closure will be * invoked if the accel_key and accel_mods from gtk_accel_groups_activate() * match those of this connection. * The signature used for the closure is that of GtkAccelGroupActivate. * Note that, due to implementation details, a single closure can only be * connected to one accelerator group. * Params: * accelKey = key value of the accelerator * accelMods = modifier combination of the accelerator * accelFlags = a flag mask to configure this accelerator * closure = closure to be executed upon accelerator activation */ public void connect(uint accelKey, GdkModifierType accelMods, GtkAccelFlags accelFlags, Closure closure) { // void gtk_accel_group_connect (GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags, GClosure *closure); gtk_accel_group_connect(gtkAccelGroup, accelKey, accelMods, accelFlags, (closure is null) ? null : closure.getClosureStruct()); } /** * Installs an accelerator in this group, using an accelerator path to look * up the appropriate key and modifiers (see gtk_accel_map_add_entry()). * When accel_group is being activated in response to a call to * gtk_accel_groups_activate(), closure will be invoked if the accel_key and * accel_mods from gtk_accel_groups_activate() match the key and modifiers * for the path. * The signature used for the closure is that of GtkAccelGroupActivate. * Note that accel_path string will be stored in a GQuark. Therefore, if you * pass a static string, you can save some memory by interning it first with * g_intern_static_string(). * Params: * accelPath = path used for determining key and modifiers. * closure = closure to be executed upon accelerator activation */ public void connectByPath(string accelPath, Closure closure) { // void gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group, const gchar *accel_path, GClosure *closure); gtk_accel_group_connect_by_path(gtkAccelGroup, Str.toStringz(accelPath), (closure is null) ? null : closure.getClosureStruct()); } /** * Removes an accelerator previously installed through * gtk_accel_group_connect(). * Params: * closure = the closure to remove from this accelerator group * Returns: TRUE if the closure was found and got disconnected */ public int disconnect(Closure closure) { // gboolean gtk_accel_group_disconnect (GtkAccelGroup *accel_group, GClosure *closure); return gtk_accel_group_disconnect(gtkAccelGroup, (closure is null) ? null : closure.getClosureStruct()); } /** * Removes an accelerator previously installed through * gtk_accel_group_connect(). * Params: * accelKey = key value of the accelerator * accelMods = modifier combination of the accelerator * Returns: TRUE if there was an accelerator which could be removed, FALSE otherwise */ public int disconnectKey(uint accelKey, GdkModifierType accelMods) { // gboolean gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods); return gtk_accel_group_disconnect_key(gtkAccelGroup, accelKey, accelMods); } /** * Queries an accelerator group for all entries matching accel_key and * accel_mods. * Params: * accelKey = key value of the accelerator * accelMods = modifier combination of the accelerator * Returns: an array of n_entries GtkAccelGroupEntry elements, or NULL. The array is owned by GTK+ and must not be freed. */ public GtkAccelGroupEntry[] query(uint accelKey, GdkModifierType accelMods) { // GtkAccelGroupEntry* gtk_accel_group_query (GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, guint *n_entries); uint nEntries; auto p = gtk_accel_group_query(gtkAccelGroup, accelKey, accelMods, &nEntries); return p[0 .. nEntries]; } /** * Finds the first accelerator in accel_group * that matches accel_key and accel_mods, and * activates it. * Params: * accelQuark = the quark for the accelerator name * acceleratable = the GObject, usually a GtkWindow, on which * to activate the accelerator. * accelKey = accelerator keyval from a key event * accelMods = keyboard state mask from a key event * Returns: TRUE if an accelerator was activated and handled this keypress */ public int activate(GQuark accelQuark, ObjectG acceleratable, uint accelKey, GdkModifierType accelMods) { // gboolean gtk_accel_group_activate (GtkAccelGroup *accel_group, GQuark accel_quark, GObject *acceleratable, guint accel_key, GdkModifierType accel_mods); return gtk_accel_group_activate(gtkAccelGroup, accelQuark, (acceleratable is null) ? null : acceleratable.getObjectGStruct(), accelKey, accelMods); } /** * Locks the given accelerator group. * Locking an acelerator group prevents the accelerators contained * within it to be changed during runtime. Refer to * gtk_accel_map_change_entry() about runtime accelerator changes. * If called more than once, accel_group remains locked until * gtk_accel_group_unlock() has been called an equivalent number * of times. */ public void lock() { // void gtk_accel_group_lock (GtkAccelGroup *accel_group); gtk_accel_group_lock(gtkAccelGroup); } /** * Undoes the last call to gtk_accel_group_lock() on this accel_group. */ public void unlock() { // void gtk_accel_group_unlock (GtkAccelGroup *accel_group); gtk_accel_group_unlock(gtkAccelGroup); } /** * Locks are added and removed using gtk_accel_group_lock() and * gtk_accel_group_unlock(). * Since 2.14 * Returns: TRUE if there are 1 or more locks on the accel_group,FALSE otherwise. */ public int getIsLocked() { // gboolean gtk_accel_group_get_is_locked (GtkAccelGroup *accel_group); return gtk_accel_group_get_is_locked(gtkAccelGroup); } /** * Finds the GtkAccelGroup to which closure is connected; * see gtk_accel_group_connect(). * Params: * closure = a GClosure * Returns: the GtkAccelGroup to which closure is connected, or NULL. */ public static AccelGroup fromAccelClosure(Closure closure) { // GtkAccelGroup* gtk_accel_group_from_accel_closure (GClosure *closure); auto p = gtk_accel_group_from_accel_closure((closure is null) ? null : closure.getClosureStruct()); if(p is null) { return null; } return new AccelGroup(cast(GtkAccelGroup*) p); } /** * Gets a GdkModifierType representing the mask for this * accel_group. For example, GDK_CONTROL_MASK, GDK_SHIFT_MASK, etc. * Since 2.14 * Returns: the modifier mask for this accel group. */ public GdkModifierType getModifierMask() { // GdkModifierType gtk_accel_group_get_modifier_mask (GtkAccelGroup *accel_group); return gtk_accel_group_get_modifier_mask(gtkAccelGroup); } /** * Finds the first accelerator in any GtkAccelGroup attached * to object that matches accel_key and accel_mods, and * activates that accelerator. * Params: * object = the GObject, usually a GtkWindow, on which * to activate the accelerator. * accelKey = accelerator keyval from a key event * accelMods = keyboard state mask from a key event * Returns: TRUE if an accelerator was activated and handled this keypress */ public static int accelGroupsActivate(ObjectG object, uint accelKey, GdkModifierType accelMods) { // gboolean gtk_accel_groups_activate (GObject *object, guint accel_key, GdkModifierType accel_mods); return gtk_accel_groups_activate((object is null) ? null : object.getObjectGStruct(), accelKey, accelMods); } /** * Gets a list of all accel groups which are attached to object. * Params: * object = a GObject, usually a GtkWindow * Returns: a list of all accel groups which are attached to object */ public static ListSG accelGroupsFromObject(ObjectG object) { // GSList* gtk_accel_groups_from_object (GObject *object); auto p = gtk_accel_groups_from_object((object is null) ? null : object.getObjectGStruct()); if(p is null) { return null; } return new ListSG(cast(GSList*) p); } /** * Finds the first entry in an accelerator group for which * find_func returns TRUE and returns its GtkAccelKey. * Params: * findFunc = a function to filter the entries of accel_group with * data = data to pass to find_func * Returns: the key of the first entry passing find_func. The key is owned by GTK+ and must not be freed. */ public GtkAccelKey* find(GtkAccelGroupFindFunc findFunc, void* data) { // GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group, GtkAccelGroupFindFunc find_func, gpointer data); return gtk_accel_group_find(gtkAccelGroup, findFunc, data); } /** * Determines whether a given keyval and modifier mask constitute * a valid keyboard accelerator. For example, the GDK_a keyval * plus GDK_CONTROL_MASK is valid - this is a "Ctrl+a" accelerator. * But, you can't, for instance, use the GDK_Control_L keyval * as an accelerator. * Params: * keyval = a GDK keyval * modifiers = modifier mask * Returns: TRUE if the accelerator is valid */ public static int acceleratorValid(uint keyval, GdkModifierType modifiers) { // gboolean gtk_accelerator_valid (guint keyval, GdkModifierType modifiers); return gtk_accelerator_valid(keyval, modifiers); } /** * Parses a string representing an accelerator. The * format looks like "<Control>a" or "<Shift><Alt>F1" or * "<Release>z" (the last one is for key release). * The parser is fairly liberal and allows lower or upper case, * and also abbreviations such as "<Ctl>" and "<Ctrl>". * If the parse fails, accelerator_key and accelerator_mods will * be set to 0 (zero). * Params: * accelerator = string representing an accelerator * acceleratorKey = return location for accelerator keyval * acceleratorMods = return location for accelerator modifier mask */ public static void acceleratorParse(string accelerator, out uint acceleratorKey, out GdkModifierType acceleratorMods) { // void gtk_accelerator_parse (const gchar *accelerator, guint *accelerator_key, GdkModifierType *accelerator_mods); gtk_accelerator_parse(Str.toStringz(accelerator), &acceleratorKey, &acceleratorMods); } /** * Converts an accelerator keyval and modifier mask * into a string parseable by gtk_accelerator_parse(). * For example, if you pass in GDK_q and GDK_CONTROL_MASK, * this function returns "<Control>q". * If you need to display accelerators in the user interface, * see gtk_accelerator_get_label(). * Params: * acceleratorKey = accelerator keyval * acceleratorMods = accelerator modifier mask * Returns: a newly-allocated accelerator name */ public static string acceleratorName(uint acceleratorKey, GdkModifierType acceleratorMods) { // gchar* gtk_accelerator_name (guint accelerator_key, GdkModifierType accelerator_mods); return Str.toString(gtk_accelerator_name(acceleratorKey, acceleratorMods)); } /** * Converts an accelerator keyval and modifier mask into a string * which can be used to represent the accelerator to the user. * Since 2.6 * Params: * acceleratorKey = accelerator keyval * acceleratorMods = accelerator modifier mask * Returns: a newly-allocated string representing the accelerator. */ public static string acceleratorGetLabel(uint acceleratorKey, GdkModifierType acceleratorMods) { // gchar* gtk_accelerator_get_label (guint accelerator_key, GdkModifierType accelerator_mods); return Str.toString(gtk_accelerator_get_label(acceleratorKey, acceleratorMods)); } /** * Sets the modifiers that will be considered significant for keyboard * accelerators. The default mod mask is GDK_CONTROL_MASK | * GDK_SHIFT_MASK | GDK_MOD1_MASK | GDK_SUPER_MASK | * GDK_HYPER_MASK | GDK_META_MASK, that is, Control, Shift, Alt, * Super, Hyper and Meta. Other modifiers will by default be ignored * by GtkAccelGroup. * You must include at least the three modifiers Control, Shift * and Alt in any value you pass to this function. * The default mod mask should be changed on application startup, * before using any accelerator groups. * Params: * defaultModMask = accelerator modifier mask */ public static void acceleratorSetDefaultModMask(GdkModifierType defaultModMask) { // void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask); gtk_accelerator_set_default_mod_mask(defaultModMask); } /** * Gets the value set by gtk_accelerator_set_default_mod_mask(). * Returns: the default accelerator modifier mask */ public static uint acceleratorGetDefaultModMask() { // guint gtk_accelerator_get_default_mod_mask (void); return gtk_accelerator_get_default_mod_mask(); } }
D
module dtools.util.util; // template constructor (partial) instantiation. auto make(T,T2...)(T2 a){ // __ctor: undocumented feature, we put it here in one place. T b0=void; b0.__ctor!(T2)(a); return b0; /+ this compiled in dmd.2.062, but not in dmd.2.063 auto b=T.__ctor!(T2)(a); return b; // return T.__ctor!(T2)(a); //directly doesn't seem to work in 2.062 +/ } version(unittest){ struct A{this(T)(T a){};} } unittest{ auto a=make!(A,double)(1); static assert(is(typeof(a) == A)); } // Take address of a class/struct/anything void*AddressOf(T)(T a) if(is(T==class)){ return *cast(void**)& a; } T*AddressOf(T)(ref T a) if(!is(T==class)){ return &a; } unittest{ import std.stdio; import std.conv; class A{ int x; // T opCast(T : int)() { return 1; } int opCast(T:void*)() { return 1; } // auto opCast(T:void*)() { return null; } } struct B{ } A a; assert(AddressOf(a) is null); a = new A; auto a2=a; assert(AddressOf(a) == AddressOf(a2) ); B b; assert(AddressOf(b) !is null); B*b2; assert(AddressOf(*b2) is null); // writeln(AddressOf(B.init)); //waiting for rvalue ref, DIP39 }
D
/** * Defines AST nodes for the parsing stage. * * Copyright: Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved * 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/astbase.d, _astbase.d) * Documentation: https://dlang.org/phobos/dmd_astbase.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/astbase.d */ module dmd.astbase; import dmd.parsetimevisitor; /** The ASTBase family defines a family of AST nodes appropriate for parsing with * no semantic information. It defines all the AST nodes that the parser needs * and also all the conveniance methods and variables. The resulting AST can be * visited with the strict, permissive and transitive visitors. * The ASTBase family is used to instantiate the parser in the parser library. */ struct ASTBase { import dmd.root.file; import dmd.root.filename; import dmd.root.array; import dmd.root.rootobject; import dmd.root.outbuffer; import dmd.root.ctfloat; import dmd.root.rmem; import dmd.root.string : toDString; import dmd.root.stringtable; import dmd.tokens; import dmd.identifier; import dmd.globals; import dmd.id; import dmd.errors; import dmd.lexer; import core.stdc.string; import core.stdc.stdarg; alias Dsymbols = Array!(Dsymbol); alias Objects = Array!(RootObject); alias Expressions = Array!(Expression); alias TemplateParameters = Array!(TemplateParameter); alias BaseClasses = Array!(BaseClass*); alias Parameters = Array!(Parameter); alias Statements = Array!(Statement); alias Catches = Array!(Catch); alias Identifiers = Array!(Identifier); alias Initializers = Array!(Initializer); alias Ensures = Array!(Ensure); enum Sizeok : ubyte { none, // size of aggregate is not yet able to compute fwd, // size of aggregate is ready to compute done, // size of aggregate is set correctly } enum Baseok : ubyte { none, // base classes not computed yet start, // in process of resolving base classes done, // all base classes are resolved semanticdone, // all base classes semantic done } enum MODFlags : int { const_ = 1, // type is const immutable_ = 4, // type is immutable shared_ = 2, // type is shared wild = 8, // type is wild wildconst = (MODFlags.wild | MODFlags.const_), // type is wild const mutable = 0x10, // type is mutable (only used in wildcard matching) } alias MOD = ubyte; enum STC : ulong { undefined_ = 0L, static_ = (1L << 0), extern_ = (1L << 1), const_ = (1L << 2), final_ = (1L << 3), abstract_ = (1L << 4), parameter = (1L << 5), field = (1L << 6), override_ = (1L << 7), auto_ = (1L << 8), synchronized_ = (1L << 9), deprecated_ = (1L << 10), in_ = (1L << 11), // in parameter out_ = (1L << 12), // out parameter lazy_ = (1L << 13), // lazy parameter foreach_ = (1L << 14), // variable for foreach loop //(1L << 15) variadic = (1L << 16), // the 'variadic' parameter in: T foo(T a, U b, V variadic...) ctorinit = (1L << 17), // can only be set inside constructor templateparameter = (1L << 18), // template parameter scope_ = (1L << 19), immutable_ = (1L << 20), ref_ = (1L << 21), init = (1L << 22), // has explicit initializer manifest = (1L << 23), // manifest constant nodtor = (1L << 24), // don't run destructor nothrow_ = (1L << 25), // never throws exceptions pure_ = (1L << 26), // pure function tls = (1L << 27), // thread local alias_ = (1L << 28), // alias parameter shared_ = (1L << 29), // accessible from multiple threads gshared = (1L << 30), // accessible from multiple threads, but not typed as "shared" wild = (1L << 31), // for "wild" type constructor property = (1L << 32), safe = (1L << 33), trusted = (1L << 34), system = (1L << 35), ctfe = (1L << 36), // can be used in CTFE, even if it is static disable = (1L << 37), // for functions that are not callable result = (1L << 38), // for result variables passed to out contracts nodefaultctor = (1L << 39), // must be set inside constructor temp = (1L << 40), // temporary variable rvalue = (1L << 41), // force rvalue for variables nogc = (1L << 42), // @nogc volatile_ = (1L << 43), // destined for volatile in the back end return_ = (1L << 44), // 'return ref' or 'return scope' for function parameters autoref = (1L << 45), // Mark for the already deduced 'auto ref' parameter inference = (1L << 46), // do attribute inference exptemp = (1L << 47), // temporary variable that has lifetime restricted to an expression maybescope = (1L << 48), // parameter might be 'scope' scopeinferred = (1L << 49), // 'scope' has been inferred and should not be part of mangling future = (1L << 50), // introducing new base class function local = (1L << 51), // do not forward (see dmd.dsymbol.ForwardingScopeDsymbol). returninferred = (1L << 52), // 'return' has been inferred and should not be part of mangling live = (1L << 53), // function @live attribute safeGroup = STC.safe | STC.trusted | STC.system, IOR = STC.in_ | STC.ref_ | STC.out_, TYPECTOR = (STC.const_ | STC.immutable_ | STC.shared_ | STC.wild), FUNCATTR = (STC.ref_ | STC.nothrow_ | STC.nogc | STC.pure_ | STC.property | STC.live | safeGroup), } extern (C++) __gshared const(StorageClass) STCStorageClass = (STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.const_ | STC.final_ | STC.abstract_ | STC.synchronized_ | STC.deprecated_ | STC.override_ | STC.lazy_ | STC.alias_ | STC.out_ | STC.in_ | STC.manifest | STC.immutable_ | STC.shared_ | STC.wild | STC.nothrow_ | STC.nogc | STC.pure_ | STC.ref_ | STC.return_ | STC.tls | STC.gshared | STC.property | STC.live | STC.safeGroup | STC.disable); enum ENUMTY : int { Tarray, // slice array, aka T[] Tsarray, // static array, aka T[dimension] Taarray, // associative array, aka T[type] Tpointer, Treference, Tfunction, Tident, Tclass, Tstruct, Tenum, Tdelegate, Tnone, Tvoid, Tint8, Tuns8, Tint16, Tuns16, Tint32, Tuns32, Tint64, Tuns64, Tfloat32, Tfloat64, Tfloat80, Timaginary32, Timaginary64, Timaginary80, Tcomplex32, Tcomplex64, Tcomplex80, Tbool, Tchar, Twchar, Tdchar, Terror, Tinstance, Ttypeof, Ttuple, Tslice, Treturn, Tnull, Tvector, Tint128, Tuns128, Ttraits, Tmixin, TMAX } alias Tarray = ENUMTY.Tarray; alias Tsarray = ENUMTY.Tsarray; alias Taarray = ENUMTY.Taarray; alias Tpointer = ENUMTY.Tpointer; alias Treference = ENUMTY.Treference; alias Tfunction = ENUMTY.Tfunction; alias Tident = ENUMTY.Tident; alias Tclass = ENUMTY.Tclass; alias Tstruct = ENUMTY.Tstruct; alias Tenum = ENUMTY.Tenum; alias Tdelegate = ENUMTY.Tdelegate; alias Tnone = ENUMTY.Tnone; alias Tvoid = ENUMTY.Tvoid; alias Tint8 = ENUMTY.Tint8; alias Tuns8 = ENUMTY.Tuns8; alias Tint16 = ENUMTY.Tint16; alias Tuns16 = ENUMTY.Tuns16; alias Tint32 = ENUMTY.Tint32; alias Tuns32 = ENUMTY.Tuns32; alias Tint64 = ENUMTY.Tint64; alias Tuns64 = ENUMTY.Tuns64; alias Tfloat32 = ENUMTY.Tfloat32; alias Tfloat64 = ENUMTY.Tfloat64; alias Tfloat80 = ENUMTY.Tfloat80; alias Timaginary32 = ENUMTY.Timaginary32; alias Timaginary64 = ENUMTY.Timaginary64; alias Timaginary80 = ENUMTY.Timaginary80; alias Tcomplex32 = ENUMTY.Tcomplex32; alias Tcomplex64 = ENUMTY.Tcomplex64; alias Tcomplex80 = ENUMTY.Tcomplex80; alias Tbool = ENUMTY.Tbool; alias Tchar = ENUMTY.Tchar; alias Twchar = ENUMTY.Twchar; alias Tdchar = ENUMTY.Tdchar; alias Terror = ENUMTY.Terror; alias Tinstance = ENUMTY.Tinstance; alias Ttypeof = ENUMTY.Ttypeof; alias Ttuple = ENUMTY.Ttuple; alias Tslice = ENUMTY.Tslice; alias Treturn = ENUMTY.Treturn; alias Tnull = ENUMTY.Tnull; alias Tvector = ENUMTY.Tvector; alias Tint128 = ENUMTY.Tint128; alias Tuns128 = ENUMTY.Tuns128; alias Ttraits = ENUMTY.Ttraits; alias Tmixin = ENUMTY.Tmixin; alias TMAX = ENUMTY.TMAX; alias TY = ubyte; enum TFlags { integral = 1, floating = 2, unsigned = 4, real_ = 8, imaginary = 0x10, complex = 0x20, } enum PKG : int { unknown, // not yet determined whether it's a package.d or not module_, // already determined that's an actual package.d package_, // already determined that's an actual package } enum StructPOD : int { no, // struct is not POD yes, // struct is POD fwd, // POD not yet computed } enum TRUST : ubyte { default_ = 0, system = 1, // @system (same as TRUST.default) trusted = 2, // @trusted safe = 3, // @safe live = 4, // @live } enum PURE : ubyte { impure = 0, // not pure at all fwdref = 1, // it's pure, but not known which level yet weak = 2, // no mutable globals are read or written const_ = 3, // parameters are values or const strong = 4, // parameters are values or immutable } enum AliasThisRec : int { no = 0, // no alias this recursion yes = 1, // alias this has recursive dependency fwdref = 2, // not yet known typeMask = 3, // mask to read no/yes/fwdref tracing = 0x4, // mark in progress of implicitConvTo/deduceWild tracingDT = 0x8, // mark in progress of deduceType } enum VarArg : ubyte { none = 0, /// fixed number of arguments variadic = 1, /// T t, ...) can be C-style (core.stdc.stdarg) or D-style (core.vararg) typesafe = 2, /// T t ...) typesafe https://dlang.org/spec/function.html#typesafe_variadic_functions /// or https://dlang.org/spec/function.html#typesafe_variadic_functions } alias Visitor = ParseTimeVisitor!ASTBase; extern (C++) abstract class ASTNode : RootObject { abstract void accept(Visitor v); } extern (C++) class Dsymbol : ASTNode { Loc loc; Identifier ident; UnitTestDeclaration ddocUnittest; UserAttributeDeclaration userAttribDecl; Dsymbol parent; const(char)* comment; final extern (D) this() {} final extern (D) this(Identifier ident) { this.ident = ident; } final extern (D) this(const ref Loc loc, Identifier ident) { this.loc = loc; this.ident = ident; } void addComment(const(char)* comment) { if (!this.comment) this.comment = comment; else if (comment && strcmp(cast(char*)comment, cast(char*)this.comment) != 0) this.comment = Lexer.combineComments(this.comment.toDString(), comment.toDString(), true); } override const(char)* toChars() const { return ident ? ident.toChars() : "__anonymous"; } bool oneMember(Dsymbol *ps, Identifier ident) { *ps = this; return true; } extern (D) static bool oneMembers(ref Dsymbols members, Dsymbol* ps, Identifier ident) { Dsymbol s = null; for (size_t i = 0; i < members.dim; i++) { Dsymbol sx = members[i]; bool x = sx.oneMember(ps, ident); if (!x) { assert(*ps is null); return false; } if (*ps) { assert(ident); if (!(*ps).ident || !(*ps).ident.equals(ident)) continue; if (!s) s = *ps; else if (s.isOverloadable() && (*ps).isOverloadable()) { // keep head of overload set FuncDeclaration f1 = s.isFuncDeclaration(); FuncDeclaration f2 = (*ps).isFuncDeclaration(); if (f1 && f2) { for (; f1 != f2; f1 = f1.overnext0) { if (f1.overnext0 is null) { f1.overnext0 = f2; break; } } } } else // more than one symbol { *ps = null; //printf("\tfalse 2\n"); return false; } } } *ps = s; return true; } bool isOverloadable() const { return false; } const(char)* kind() const { return "symbol"; } static if (__VERSION__ < 2092) final void error(const(char)* format, ...) { va_list ap; va_start(ap, format); // last parameter : toPrettyChars verror(loc, format, ap, kind(), ""); va_end(ap); } else pragma(printf) final void error(const(char)* format, ...) { va_list ap; va_start(ap, format); // last parameter : toPrettyChars verror(loc, format, ap, kind(), ""); va_end(ap); } inout(AttribDeclaration) isAttribDeclaration() inout { return null; } inout(TemplateDeclaration) isTemplateDeclaration() inout { return null; } inout(FuncLiteralDeclaration) isFuncLiteralDeclaration() inout { return null; } inout(FuncDeclaration) isFuncDeclaration() inout { return null; } inout(VarDeclaration) isVarDeclaration() inout { return null; } inout(TemplateInstance) isTemplateInstance() inout { return null; } inout(Declaration) isDeclaration() inout { return null; } inout(ClassDeclaration) isClassDeclaration() inout { return null; } inout(AggregateDeclaration) isAggregateDeclaration() inout { return null; } Dsymbol syntaxCopy(Dsymbol s) { return null; } override final DYNCAST dyncast() const { return DYNCAST.dsymbol; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class AliasThis : Dsymbol { Identifier ident; extern (D) this(const ref Loc loc, Identifier ident) { super(null); this.loc = loc; this.ident = ident; } override void accept(Visitor v) { v.visit(this); } } extern (C++) abstract class Declaration : Dsymbol { StorageClass storage_class; Prot protection; LINK linkage; Type type; final extern (D) this(Identifier id) { super(id); storage_class = STC.undefined_; protection = Prot(Prot.Kind.undefined); linkage = LINK.default_; } override final inout(Declaration) isDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class ScopeDsymbol : Dsymbol { Dsymbols* members; final extern (D) this() {} final extern (D) this(Identifier id) { super(id); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class Import : Dsymbol { Identifiers* packages; Identifier id; Identifier aliasId; int isstatic; Prot protection; Identifiers names; Identifiers aliases; extern (D) this(const ref Loc loc, Identifiers* packages, Identifier id, Identifier aliasId, int isstatic) { super(null); this.loc = loc; this.packages = packages; this.id = id; this.aliasId = aliasId; this.isstatic = isstatic; this.protection = Prot(Prot.Kind.private_); if (aliasId) { // import [cstdio] = std.stdio; this.ident = aliasId; } else if (packages && packages.dim) { // import [std].stdio; this.ident = (*packages)[0]; } else { // import [foo]; this.ident = id; } } void addAlias(Identifier name, Identifier _alias) { if (isstatic) error("cannot have an import bind list"); if (!aliasId) this.ident = null; names.push(name); aliases.push(_alias); } override void accept(Visitor v) { v.visit(this); } } extern (C++) abstract class AttribDeclaration : Dsymbol { Dsymbols* decl; final extern (D) this(Dsymbols *decl) { this.decl = decl; } final extern (D) this(const ref Loc loc, Identifier ident, Dsymbols* decl) { super(loc, ident); this.decl = decl; } override final inout(AttribDeclaration) isAttribDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class StaticAssert : Dsymbol { Expression exp; Expression msg; extern (D) this(const ref Loc loc, Expression exp, Expression msg) { super(Id.empty); this.loc = loc; this.exp = exp; this.msg = msg; } } extern (C++) final class DebugSymbol : Dsymbol { uint level; extern (D) this(const ref Loc loc, Identifier ident) { super(ident); this.loc = loc; } extern (D) this(const ref Loc loc, uint level) { this.level = level; this.loc = loc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class VersionSymbol : Dsymbol { uint level; extern (D) this(const ref Loc loc, Identifier ident) { super(ident); this.loc = loc; } extern (D) this(const ref Loc loc, uint level) { this.level = level; this.loc = loc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class VarDeclaration : Declaration { Type type; Initializer _init; enum AdrOnStackNone = ~0u; uint ctfeAdrOnStack; uint sequenceNumber; __gshared uint nextSequenceNumber; final extern (D) this(const ref Loc loc, Type type, Identifier id, Initializer _init, StorageClass st = STC.undefined_) { super(id); this.type = type; this._init = _init; this.loc = loc; this.storage_class = st; sequenceNumber = ++nextSequenceNumber; ctfeAdrOnStack = AdrOnStackNone; } override final inout(VarDeclaration) isVarDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) struct Ensure { Identifier id; Statement ensure; } extern (C++) class FuncDeclaration : Declaration { Statement fbody; Statements* frequires; Ensures* fensures; Loc endloc; StorageClass storage_class; Type type; bool inferRetType; ForeachStatement fes; FuncDeclaration overnext0; final extern (D) this(const ref Loc loc, Loc endloc, Identifier id, StorageClass storage_class, Type type) { super(id); this.storage_class = storage_class; this.type = type; if (type) { // Normalize storage_class, because function-type related attributes // are already set in the 'type' in parsing phase. this.storage_class &= ~(STC.TYPECTOR | STC.FUNCATTR); } this.loc = loc; this.endloc = endloc; inferRetType = (type && type.nextOf() is null); } FuncLiteralDeclaration isFuncLiteralDeclaration() { return null; } override bool isOverloadable() const { return true; } override final inout(FuncDeclaration) isFuncDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AliasDeclaration : Declaration { Dsymbol aliassym; extern (D) this(const ref Loc loc, Identifier id, Dsymbol s) { super(id); this.loc = loc; this.aliassym = s; } extern (D) this(const ref Loc loc, Identifier id, Type type) { super(id); this.loc = loc; this.type = type; } override bool isOverloadable() const { //assume overloadable until alias is resolved; // should be modified when semantic analysis is added return true; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TupleDeclaration : Declaration { Objects* objects; extern (D) this(const ref Loc loc, Identifier id, Objects* objects) { super(id); this.loc = loc; this.objects = objects; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class FuncLiteralDeclaration : FuncDeclaration { TOK tok; extern (D) this(const ref Loc loc, Loc endloc, Type type, TOK tok, ForeachStatement fes, Identifier id = null) { super(loc, endloc, null, STC.undefined_, type); this.ident = id ? id : Id.empty; this.tok = tok; this.fes = fes; } override inout(FuncLiteralDeclaration) isFuncLiteralDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class PostBlitDeclaration : FuncDeclaration { extern (D) this(const ref Loc loc, Loc endloc, StorageClass stc, Identifier id) { super(loc, endloc, id, stc, null); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CtorDeclaration : FuncDeclaration { extern (D) this(const ref Loc loc, Loc endloc, StorageClass stc, Type type, bool isCopyCtor = false) { super(loc, endloc, Id.ctor, stc, type); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DtorDeclaration : FuncDeclaration { extern (D) this(const ref Loc loc, Loc endloc) { super(loc, endloc, Id.dtor, STC.undefined_, null); } extern (D) this(const ref Loc loc, Loc endloc, StorageClass stc, Identifier id) { super(loc, endloc, id, stc, null); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class InvariantDeclaration : FuncDeclaration { extern (D) this(const ref Loc loc, Loc endloc, StorageClass stc, Identifier id, Statement fbody) { super(loc, endloc, id ? id : Identifier.generateId("__invariant"), stc, null); this.fbody = fbody; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class UnitTestDeclaration : FuncDeclaration { char* codedoc; extern (D) this(const ref Loc loc, Loc endloc, StorageClass stc, char* codedoc) { super(loc, endloc, Identifier.generateIdWithLoc("__unittest", loc), stc, null); this.codedoc = codedoc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class NewDeclaration : FuncDeclaration { ParameterList parameterList; extern (D) this(const ref Loc loc, Loc endloc, StorageClass stc, ref ParameterList parameterList) { super(loc, endloc, Id.classNew, STC.static_ | stc, null); this.parameterList = parameterList; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class StaticCtorDeclaration : FuncDeclaration { final extern (D) this(const ref Loc loc, Loc endloc, StorageClass stc) { super(loc, endloc, Identifier.generateIdWithLoc("_staticCtor", loc), STC.static_ | stc, null); } final extern (D) this(const ref Loc loc, Loc endloc, string name, StorageClass stc) { super(loc, endloc, Identifier.generateIdWithLoc(name, loc), STC.static_ | stc, null); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class StaticDtorDeclaration : FuncDeclaration { final extern (D) this()(Loc loc, Loc endloc, StorageClass stc) { super(loc, endloc, Identifier.generateIdWithLoc("__staticDtor", loc), STC.static_ | stc, null); } final extern (D) this(const ref Loc loc, Loc endloc, string name, StorageClass stc) { super(loc, endloc, Identifier.generateIdWithLoc(name, loc), STC.static_ | stc, null); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class SharedStaticCtorDeclaration : StaticCtorDeclaration { extern (D) this(const ref Loc loc, Loc endloc, StorageClass stc) { super(loc, endloc, "_sharedStaticCtor", stc); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class SharedStaticDtorDeclaration : StaticDtorDeclaration { extern (D) this(const ref Loc loc, Loc endloc, StorageClass stc) { super(loc, endloc, "_sharedStaticDtor", stc); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class Package : ScopeDsymbol { PKG isPkgMod; uint tag; final extern (D) this(Identifier ident) { super(ident); this.isPkgMod = PKG.unknown; __gshared uint packageTag; this.tag = packageTag++; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class EnumDeclaration : ScopeDsymbol { Type type; Type memtype; Prot protection; extern (D) this(const ref Loc loc, Identifier id, Type memtype) { super(id); this.loc = loc; type = new TypeEnum(this); this.memtype = memtype; protection = Prot(Prot.Kind.undefined); } override void accept(Visitor v) { v.visit(this); } } extern (C++) abstract class AggregateDeclaration : ScopeDsymbol { Prot protection; Sizeok sizeok; Type type; final extern (D) this(const ref Loc loc, Identifier id) { super(id); this.loc = loc; protection = Prot(Prot.Kind.public_); sizeok = Sizeok.none; } override final inout(AggregateDeclaration) isAggregateDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TemplateDeclaration : ScopeDsymbol { TemplateParameters* parameters; TemplateParameters* origParameters; Expression constraint; bool literal; bool ismixin; bool isstatic; Prot protection; Dsymbol onemember; extern (D) this(const ref Loc loc, Identifier id, TemplateParameters* parameters, Expression constraint, Dsymbols* decldefs, bool ismixin = false, bool literal = false) { super(id); this.loc = loc; this.parameters = parameters; this.origParameters = parameters; this.members = decldefs; this.literal = literal; this.ismixin = ismixin; this.isstatic = true; this.protection = Prot(Prot.Kind.undefined); if (members && ident) { Dsymbol s; if (Dsymbol.oneMembers(*members, &s, ident) && s) { onemember = s; s.parent = this; } } } override bool isOverloadable() const { return true; } override inout(TemplateDeclaration) isTemplateDeclaration () inout { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class TemplateInstance : ScopeDsymbol { Identifier name; Objects* tiargs; Dsymbol tempdecl; bool semantictiargsdone; bool havetempdecl; TemplateInstance inst; final extern (D) this(const ref Loc loc, Identifier ident, Objects* tiargs) { super(null); this.loc = loc; this.name = ident; this.tiargs = tiargs; } final extern (D) this(const ref Loc loc, TemplateDeclaration td, Objects* tiargs) { super(null); this.loc = loc; this.name = td.ident; this.tempdecl = td; this.semantictiargsdone = true; this.havetempdecl = true; } override final inout(TemplateInstance) isTemplateInstance() inout { return this; } Objects* arraySyntaxCopy(Objects* objs) { Objects* a = null; if (objs) { a = new Objects(); a.setDim(objs.dim); for (size_t i = 0; i < objs.dim; i++) (*a)[i] = objectSyntaxCopy((*objs)[i]); } return a; } RootObject objectSyntaxCopy(RootObject o) { if (!o) return null; if (Type t = isType(o)) return t.syntaxCopy(); if (Expression e = isExpression(o)) return e.syntaxCopy(); return o; } override Dsymbol syntaxCopy(Dsymbol s) { TemplateInstance ti = s ? cast(TemplateInstance)s : new TemplateInstance(loc, name, null); ti.tiargs = arraySyntaxCopy(tiargs); TemplateDeclaration td; if (inst && tempdecl && (td = tempdecl.isTemplateDeclaration()) !is null) td.ScopeDsymbol.syntaxCopy(ti); else ScopeDsymbol.syntaxCopy(ti); return ti; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class Nspace : ScopeDsymbol { /** * Namespace identifier resolved during semantic. */ Expression identExp; extern (D) this(const ref Loc loc, Identifier ident, Expression identExp, Dsymbols* members) { super(ident); this.loc = loc; this.members = members; this.identExp = identExp; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CompileDeclaration : AttribDeclaration { Expressions* exps; extern (D) this(const ref Loc loc, Expressions* exps) { super(null); this.loc = loc; this.exps = exps; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class UserAttributeDeclaration : AttribDeclaration { Expressions* atts; extern (D) this(Expressions* atts, Dsymbols* decl) { super(decl); this.atts = atts; } 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 { udas = new Expressions(2); (*udas)[0] = new TupleExp(Loc.initial, udas1); (*udas)[1] = new TupleExp(Loc.initial, udas2); } return udas; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class LinkDeclaration : AttribDeclaration { LINK linkage; extern (D) this(LINK p, Dsymbols* decl) { super(decl); linkage = p; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AnonDeclaration : AttribDeclaration { bool isunion; extern (D) this(const ref Loc loc, bool isunion, Dsymbols* decl) { super(decl); this.loc = loc; this.isunion = isunion; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AlignDeclaration : AttribDeclaration { Expression ealign; extern (D) this(const ref Loc loc, Expression ealign, Dsymbols* decl) { super(decl); this.loc = loc; this.ealign = ealign; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CPPMangleDeclaration : AttribDeclaration { CPPMANGLE cppmangle; extern (D) this(CPPMANGLE p, Dsymbols* decl) { super(decl); cppmangle = p; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CPPNamespaceDeclaration : AttribDeclaration { 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; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ProtDeclaration : AttribDeclaration { Prot protection; Identifiers* pkg_identifiers; extern (D) this(const ref Loc loc, Prot p, Dsymbols* decl) { super(decl); this.loc = loc; this.protection = p; } extern (D) this(const ref Loc loc, Identifiers* pkg_identifiers, Dsymbols* decl) { super(decl); this.loc = loc; this.protection.kind = Prot.Kind.package_; this.protection.pkg = null; this.pkg_identifiers = pkg_identifiers; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class PragmaDeclaration : AttribDeclaration { Expressions* args; extern (D) this(const ref Loc loc, Identifier ident, Expressions* args, Dsymbols* decl) { super(decl); this.loc = loc; this.ident = ident; this.args = args; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class StorageClassDeclaration : AttribDeclaration { StorageClass stc; final extern (D) this(StorageClass stc, Dsymbols* decl) { super(decl); this.stc = stc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class ConditionalDeclaration : AttribDeclaration { Condition condition; Dsymbols* elsedecl; final extern (D) this(const ref Loc loc, Condition condition, Dsymbols* decl, Dsymbols* elsedecl) { super(loc, null, decl); this.condition = condition; this.elsedecl = elsedecl; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DeprecatedDeclaration : StorageClassDeclaration { Expression msg; extern (D) this(Expression msg, Dsymbols* decl) { super(STC.deprecated_, decl); this.msg = msg; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class StaticIfDeclaration : ConditionalDeclaration { extern (D) this(const ref Loc loc, Condition condition, Dsymbols* decl, Dsymbols* elsedecl) { super(loc, condition, decl, elsedecl); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class StaticForeachDeclaration : AttribDeclaration { StaticForeach sfe; extern (D) this(StaticForeach sfe, Dsymbols* decl) { super(decl); this.sfe = sfe; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class EnumMember : VarDeclaration { Expression origValue; Type origType; @property ref value() { return (cast(ExpInitializer)_init).exp; } extern (D) this(const ref Loc loc, Identifier id, Expression value, Type origType) { super(loc, null, id ? id : Id.empty, new ExpInitializer(loc, value)); this.origValue = value; this.origType = origType; } extern(D) this(const ref Loc loc, Identifier id, Expression value, Type memtype, StorageClass stc, UserAttributeDeclaration uad, DeprecatedDeclaration dd) { this(loc, id, value, memtype); storage_class = stc; userAttribDecl = uad; // just ignore `dd` } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class Module : Package { extern (C++) __gshared AggregateDeclaration moduleinfo; const FileName srcfile; const(char)* arg; extern (D) this(const(char)* filename, Identifier ident, int doDocComment, int doHdrGen) { super(ident); this.arg = filename; srcfile = FileName(FileName.defaultExt(filename.toDString, global.mars_ext)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class StructDeclaration : AggregateDeclaration { int zeroInit; StructPOD ispod; final extern (D) this(const ref Loc loc, Identifier id, bool inObject) { super(loc, id); zeroInit = 0; ispod = StructPOD.fwd; type = new TypeStruct(this); if (inObject) { if (id == Id.ModuleInfo && !Module.moduleinfo) Module.moduleinfo = this; } } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class UnionDeclaration : StructDeclaration { extern (D) this(const ref Loc loc, Identifier id) { super(loc, id, false); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class ClassDeclaration : AggregateDeclaration { extern (C++) __gshared { // Names found by reading object.d in druntime ClassDeclaration object; ClassDeclaration throwable; ClassDeclaration exception; ClassDeclaration errorException; ClassDeclaration cpp_type_info_ptr; // Object.__cpp_type_info_ptr } BaseClasses* baseclasses; Baseok baseok; final extern (D) this(const ref Loc loc, Identifier id, BaseClasses* baseclasses, Dsymbols* members, bool inObject) { if(!id) id = Identifier.generateId("__anonclass"); assert(id); super(loc, id); __gshared const(char)* msg = "only object.d can define this reserved class name"; if (baseclasses) { // Actually, this is a transfer this.baseclasses = baseclasses; } else this.baseclasses = new BaseClasses(); this.members = members; //printf("ClassDeclaration(%s), dim = %d\n", id.toChars(), this.baseclasses.dim); // For forward references type = new TypeClass(this); if (id) { // Look for special class names if (id == Id.__sizeof || id == Id.__xalignof || id == Id._mangleof) error("illegal class name"); // BUG: What if this is the wrong TypeInfo, i.e. it is nested? if (id.toChars()[0] == 'T') { if (id == Id.TypeInfo) { if (!inObject) error("%s", msg); Type.dtypeinfo = this; } if (id == Id.TypeInfo_Class) { if (!inObject) error("%s", msg); Type.typeinfoclass = this; } if (id == Id.TypeInfo_Interface) { if (!inObject) error("%s", msg); Type.typeinfointerface = this; } if (id == Id.TypeInfo_Struct) { if (!inObject) error("%s", msg); Type.typeinfostruct = this; } if (id == Id.TypeInfo_Pointer) { if (!inObject) error("%s", msg); Type.typeinfopointer = this; } if (id == Id.TypeInfo_Array) { if (!inObject) error("%s", msg); Type.typeinfoarray = this; } if (id == Id.TypeInfo_StaticArray) { //if (!inObject) // Type.typeinfostaticarray.error("%s", msg); Type.typeinfostaticarray = this; } if (id == Id.TypeInfo_AssociativeArray) { if (!inObject) error("%s", msg); Type.typeinfoassociativearray = this; } if (id == Id.TypeInfo_Enum) { if (!inObject) error("%s", msg); Type.typeinfoenum = this; } if (id == Id.TypeInfo_Function) { if (!inObject) error("%s", msg); Type.typeinfofunction = this; } if (id == Id.TypeInfo_Delegate) { if (!inObject) error("%s", msg); Type.typeinfodelegate = this; } if (id == Id.TypeInfo_Tuple) { if (!inObject) error("%s", msg); Type.typeinfotypelist = this; } if (id == Id.TypeInfo_Const) { if (!inObject) error("%s", msg); Type.typeinfoconst = this; } if (id == Id.TypeInfo_Invariant) { if (!inObject) error("%s", msg); Type.typeinfoinvariant = this; } if (id == Id.TypeInfo_Shared) { if (!inObject) error("%s", msg); Type.typeinfoshared = this; } if (id == Id.TypeInfo_Wild) { if (!inObject) error("%s", msg); Type.typeinfowild = this; } if (id == Id.TypeInfo_Vector) { if (!inObject) error("%s", msg); Type.typeinfovector = this; } } if (id == Id.Object) { if (!inObject) error("%s", msg); object = this; } if (id == Id.Throwable) { if (!inObject) error("%s", msg); throwable = this; } if (id == Id.Exception) { if (!inObject) error("%s", msg); exception = this; } if (id == Id.Error) { if (!inObject) error("%s", msg); errorException = this; } if (id == Id.cpp_type_info_ptr) { if (!inObject) error("%s", msg); cpp_type_info_ptr = this; } } baseok = Baseok.none; } override final inout(ClassDeclaration) isClassDeclaration() inout { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class InterfaceDeclaration : ClassDeclaration { final extern (D) this(const ref Loc loc, Identifier id, BaseClasses* baseclasses) { super(loc, id, baseclasses, null, false); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class TemplateMixin : TemplateInstance { TypeQualified tqual; extern (D) this(const ref Loc loc, Identifier ident, TypeQualified tqual, Objects *tiargs) { super(loc, tqual.idents.dim ? cast(Identifier)tqual.idents[tqual.idents.dim - 1] : (cast(TypeIdentifier)tqual).ident, tiargs ? tiargs : new Objects()); this.ident = ident; this.tqual = tqual; } override void accept(Visitor v) { v.visit(this); } } extern (C++) struct ParameterList { Parameters* parameters; StorageClass stc; // storage class of ... VarArg varargs = VarArg.none; this(Parameters* parameters, VarArg varargs = VarArg.none, StorageClass stc = 0) { this.parameters = parameters; this.varargs = varargs; this.stc = stc; } } extern (C++) final class Parameter : ASTNode { StorageClass storageClass; Type type; Identifier ident; Expression defaultArg; UserAttributeDeclaration userAttribDecl; // user defined attributes extern (D) alias ForeachDg = int delegate(size_t idx, Parameter param); final extern (D) this(StorageClass storageClass, Type type, Identifier ident, Expression defaultArg, UserAttributeDeclaration userAttribDecl) { this.storageClass = storageClass; this.type = type; this.ident = ident; this.defaultArg = defaultArg; this.userAttribDecl = userAttribDecl; } static size_t dim(Parameters* parameters) { size_t nargs = 0; int dimDg(size_t n, Parameter p) { ++nargs; return 0; } _foreach(parameters, &dimDg); return nargs; } static Parameter getNth(Parameters* parameters, size_t nth, size_t* pn = null) { Parameter param; int getNthParamDg(size_t n, Parameter p) { if (n == nth) { param = p; return 1; } return 0; } int res = _foreach(parameters, &getNthParamDg); return res ? param : null; } extern (D) static int _foreach(Parameters* parameters, scope ForeachDg dg, size_t* pn = null) { assert(dg); if (!parameters) return 0; size_t n = pn ? *pn : 0; // take over index int result = 0; foreach (i; 0 .. parameters.dim) { Parameter p = (*parameters)[i]; Type t = p.type.toBasetype(); if (t.ty == Ttuple) { TypeTuple tu = cast(TypeTuple)t; result = _foreach(tu.arguments, dg, &n); } else result = dg(n++, p); if (result) break; } if (pn) *pn = n; // update index return result; } Parameter syntaxCopy() { return new Parameter(storageClass, type ? type.syntaxCopy() : null, ident, defaultArg ? defaultArg.syntaxCopy() : null, userAttribDecl ? cast(UserAttributeDeclaration) userAttribDecl.syntaxCopy(null) : null); } override void accept(Visitor v) { v.visit(this); } static Parameters* arraySyntaxCopy(Parameters* parameters) { Parameters* params = null; if (parameters) { params = new Parameters(); params.setDim(parameters.dim); for (size_t i = 0; i < params.dim; i++) (*params)[i] = (*parameters)[i].syntaxCopy(); } return params; } } enum STMT : ubyte { Error, Peel, Exp, DtorExp, Compile, Compound, CompoundDeclaration, CompoundAsm, UnrolledLoop, Scope, Forwarding, While, Do, For, Foreach, ForeachRange, If, Conditional, StaticForeach, Pragma, StaticAssert, Switch, Case, CaseRange, Default, GotoDefault, GotoCase, SwitchError, Return, Break, Continue, Synchronized, With, TryCatch, TryFinally, ScopeGuard, Throw, Debug, Goto, Label, Asm, InlineAsm, GccAsm, Import, } extern (C++) abstract class Statement : ASTNode { Loc loc; STMT stmt; final extern (D) this(const ref Loc loc, STMT stmt) { this.loc = loc; this.stmt = stmt; } nothrow pure @nogc inout(ExpStatement) isExpStatement() inout { return stmt == STMT.Exp ? cast(typeof(return))this : null; } nothrow pure @nogc inout(CompoundStatement) isCompoundStatement() inout { return stmt == STMT.Compound ? cast(typeof(return))this : null; } nothrow pure @nogc inout(ReturnStatement) isReturnStatement() inout { return stmt == STMT.Return ? cast(typeof(return))this : null; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ImportStatement : Statement { Dsymbols* imports; extern (D) this(const ref Loc loc, Dsymbols* imports) { super(loc, STMT.Import); this.imports = imports; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ScopeStatement : Statement { Statement statement; Loc endloc; extern (D) this(const ref Loc loc, Statement s, Loc endloc) { super(loc, STMT.Scope); this.statement = s; this.endloc = endloc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ReturnStatement : Statement { Expression exp; extern (D) this(const ref Loc loc, Expression exp) { super(loc, STMT.Return); this.exp = exp; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class LabelStatement : Statement { Identifier ident; Statement statement; final extern (D) this(const ref Loc loc, Identifier ident, Statement statement) { super(loc, STMT.Label); this.ident = ident; this.statement = statement; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class StaticAssertStatement : Statement { StaticAssert sa; final extern (D) this(StaticAssert sa) { super(sa.loc, STMT.StaticAssert); this.sa = sa; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CompileStatement : Statement { Expressions* exps; final extern (D) this(const ref Loc loc, Expressions* exps) { super(loc, STMT.Compile); this.exps = exps; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class WhileStatement : Statement { Expression condition; Statement _body; Loc endloc; extern (D) this(const ref Loc loc, Expression c, Statement b, Loc endloc) { super(loc, STMT.While); condition = c; _body = b; this.endloc = endloc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ForStatement : Statement { Statement _init; Expression condition; Expression increment; Statement _body; Loc endloc; extern (D) this(const ref Loc loc, Statement _init, Expression condition, Expression increment, Statement _body, Loc endloc) { super(loc, STMT.For); this._init = _init; this.condition = condition; this.increment = increment; this._body = _body; this.endloc = endloc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DoStatement : Statement { Statement _body; Expression condition; Loc endloc; extern (D) this(const ref Loc loc, Statement b, Expression c, Loc endloc) { super(loc, STMT.Do); _body = b; condition = c; this.endloc = endloc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ForeachRangeStatement : Statement { TOK op; // TOK.foreach_ or TOK.foreach_reverse_ Parameter prm; // loop index variable Expression lwr; Expression upr; Statement _body; Loc endloc; // location of closing curly bracket extern (D) this(const ref Loc loc, TOK op, Parameter prm, Expression lwr, Expression upr, Statement _body, Loc endloc) { super(loc, STMT.ForeachRange); this.op = op; this.prm = prm; this.lwr = lwr; this.upr = upr; this._body = _body; this.endloc = endloc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ForeachStatement : Statement { TOK op; // TOK.foreach_ or TOK.foreach_reverse_ Parameters* parameters; // array of Parameter*'s Expression aggr; Statement _body; Loc endloc; // location of closing curly bracket extern (D) this(const ref Loc loc, TOK op, Parameters* parameters, Expression aggr, Statement _body, Loc endloc) { super(loc, STMT.Foreach); this.op = op; this.parameters = parameters; this.aggr = aggr; this._body = _body; this.endloc = endloc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class IfStatement : Statement { Parameter prm; Expression condition; Statement ifbody; Statement elsebody; VarDeclaration match; // for MatchExpression results Loc endloc; // location of closing curly bracket extern (D) this(const ref Loc loc, Parameter prm, Expression condition, Statement ifbody, Statement elsebody, Loc endloc) { super(loc, STMT.If); this.prm = prm; this.condition = condition; this.ifbody = ifbody; this.elsebody = elsebody; this.endloc = endloc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ScopeGuardStatement : Statement { TOK tok; Statement statement; extern (D) this(const ref Loc loc, TOK tok, Statement statement) { super(loc, STMT.ScopeGuard); this.tok = tok; this.statement = statement; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ConditionalStatement : Statement { Condition condition; Statement ifbody; Statement elsebody; extern (D) this(const ref Loc loc, Condition condition, Statement ifbody, Statement elsebody) { super(loc, STMT.Conditional); this.condition = condition; this.ifbody = ifbody; this.elsebody = elsebody; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class StaticForeachStatement : Statement { StaticForeach sfe; extern (D) this(const ref Loc loc, StaticForeach sfe) { super(loc, STMT.StaticForeach); this.sfe = sfe; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class PragmaStatement : Statement { Identifier ident; Expressions* args; // array of Expression's Statement _body; extern (D) this(const ref Loc loc, Identifier ident, Expressions* args, Statement _body) { super(loc, STMT.Pragma); this.ident = ident; this.args = args; this._body = _body; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class SwitchStatement : Statement { Expression condition; Statement _body; bool isFinal; extern (D) this(const ref Loc loc, Expression c, Statement b, bool isFinal) { super(loc, STMT.Switch); this.condition = c; this._body = b; this.isFinal = isFinal; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CaseRangeStatement : Statement { Expression first; Expression last; Statement statement; extern (D) this(const ref Loc loc, Expression first, Expression last, Statement s) { super(loc, STMT.CaseRange); this.first = first; this.last = last; this.statement = s; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CaseStatement : Statement { Expression exp; Statement statement; extern (D) this(const ref Loc loc, Expression exp, Statement s) { super(loc, STMT.Case); this.exp = exp; this.statement = s; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DefaultStatement : Statement { Statement statement; extern (D) this(const ref Loc loc, Statement s) { super(loc, STMT.Default); this.statement = s; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class BreakStatement : Statement { Identifier ident; extern (D) this(const ref Loc loc, Identifier ident) { super(loc, STMT.Break); this.ident = ident; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ContinueStatement : Statement { Identifier ident; extern (D) this(const ref Loc loc, Identifier ident) { super(loc, STMT.Continue); this.ident = ident; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class GotoDefaultStatement : Statement { extern (D) this(const ref Loc loc) { super(loc, STMT.GotoDefault); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class GotoCaseStatement : Statement { Expression exp; extern (D) this(const ref Loc loc, Expression exp) { super(loc, STMT.GotoCase); this.exp = exp; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class GotoStatement : Statement { Identifier ident; extern (D) this(const ref Loc loc, Identifier ident) { super(loc, STMT.Goto); this.ident = ident; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class SynchronizedStatement : Statement { Expression exp; Statement _body; extern (D) this(const ref Loc loc, Expression exp, Statement _body) { super(loc, STMT.Synchronized); this.exp = exp; this._body = _body; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class WithStatement : Statement { Expression exp; Statement _body; Loc endloc; extern (D) this(const ref Loc loc, Expression exp, Statement _body, Loc endloc) { super(loc, STMT.With); this.exp = exp; this._body = _body; this.endloc = endloc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TryCatchStatement : Statement { Statement _body; Catches* catches; extern (D) this(const ref Loc loc, Statement _body, Catches* catches) { super(loc, STMT.TryCatch); this._body = _body; this.catches = catches; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TryFinallyStatement : Statement { Statement _body; Statement finalbody; extern (D) this(const ref Loc loc, Statement _body, Statement finalbody) { super(loc, STMT.TryFinally); this._body = _body; this.finalbody = finalbody; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ThrowStatement : Statement { Expression exp; extern (D) this(const ref Loc loc, Expression exp) { super(loc, STMT.Throw); this.exp = exp; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class AsmStatement : Statement { Token* tokens; extern (D) this(const ref Loc loc, Token* tokens) { super(loc, STMT.Asm); this.tokens = tokens; } extern (D) this(const ref Loc loc, Token* tokens, STMT stmt) { super(loc, stmt); this.tokens = tokens; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class InlineAsmStatement : AsmStatement { extern (D) this(const ref Loc loc, Token* tokens) { super(loc, tokens, STMT.InlineAsm); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class GccAsmStatement : AsmStatement { extern (D) this(const ref Loc loc, Token* tokens) { super(loc, tokens, STMT.GccAsm); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class ExpStatement : Statement { Expression exp; final extern (D) this(const ref Loc loc, Expression exp) { super(loc, STMT.Exp); this.exp = exp; } final extern (D) this(const ref Loc loc, Dsymbol declaration) { super(loc, STMT.Exp); this.exp = new DeclarationExp(loc, declaration); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class CompoundStatement : Statement { Statements* statements; final extern (D) this(const ref Loc loc, Statements* statements) { super(loc, STMT.Compound); this.statements = statements; } final extern (D) this(const ref Loc loc, Statements* statements, STMT stmt) { super(loc, stmt); this.statements = statements; } final extern (D) this(const ref Loc loc, Statement[] sts...) { super(loc, STMT.Compound); statements = new Statements(); statements.reserve(sts.length); foreach (s; sts) statements.push(s); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CompoundDeclarationStatement : CompoundStatement { final extern (D) this(const ref Loc loc, Statements* statements) { super(loc, statements, STMT.CompoundDeclaration); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CompoundAsmStatement : CompoundStatement { StorageClass stc; final extern (D) this(const ref Loc loc, Statements* s, StorageClass stc) { super(loc, s, STMT.CompoundAsm); this.stc = stc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class Catch : RootObject { Loc loc; Type type; Identifier ident; Statement handler; extern (D) this(const ref Loc loc, Type t, Identifier id, Statement handler) { this.loc = loc; this.type = t; this.ident = id; this.handler = handler; } } extern (C++) abstract class Type : ASTNode { TY ty; MOD mod; char* deco; extern (C++) __gshared Type tvoid; extern (C++) __gshared Type tint8; extern (C++) __gshared Type tuns8; extern (C++) __gshared Type tint16; extern (C++) __gshared Type tuns16; extern (C++) __gshared Type tint32; extern (C++) __gshared Type tuns32; extern (C++) __gshared Type tint64; extern (C++) __gshared Type tuns64; extern (C++) __gshared Type tint128; extern (C++) __gshared Type tuns128; extern (C++) __gshared Type tfloat32; extern (C++) __gshared Type tfloat64; extern (C++) __gshared Type tfloat80; extern (C++) __gshared Type timaginary32; extern (C++) __gshared Type timaginary64; extern (C++) __gshared Type timaginary80; extern (C++) __gshared Type tcomplex32; extern (C++) __gshared Type tcomplex64; extern (C++) __gshared Type tcomplex80; extern (C++) __gshared Type tbool; extern (C++) __gshared Type tchar; extern (C++) __gshared Type twchar; extern (C++) __gshared Type tdchar; extern (C++) __gshared Type[TMAX] basic; extern (C++) __gshared Type tshiftcnt; extern (C++) __gshared Type tvoidptr; // void* extern (C++) __gshared Type tstring; // immutable(char)[] extern (C++) __gshared Type twstring; // immutable(wchar)[] extern (C++) __gshared Type tdstring; // immutable(dchar)[] extern (C++) __gshared Type terror; // for error recovery extern (C++) __gshared Type tnull; // for null type extern (C++) __gshared Type tsize_t; // matches size_t alias extern (C++) __gshared Type tptrdiff_t; // matches ptrdiff_t alias extern (C++) __gshared Type thash_t; // matches hash_t alias extern (C++) __gshared ClassDeclaration dtypeinfo; extern (C++) __gshared ClassDeclaration typeinfoclass; extern (C++) __gshared ClassDeclaration typeinfointerface; extern (C++) __gshared ClassDeclaration typeinfostruct; extern (C++) __gshared ClassDeclaration typeinfopointer; extern (C++) __gshared ClassDeclaration typeinfoarray; extern (C++) __gshared ClassDeclaration typeinfostaticarray; extern (C++) __gshared ClassDeclaration typeinfoassociativearray; extern (C++) __gshared ClassDeclaration typeinfovector; extern (C++) __gshared ClassDeclaration typeinfoenum; extern (C++) __gshared ClassDeclaration typeinfofunction; extern (C++) __gshared ClassDeclaration typeinfodelegate; extern (C++) __gshared ClassDeclaration typeinfotypelist; extern (C++) __gshared ClassDeclaration typeinfoconst; extern (C++) __gshared ClassDeclaration typeinfoinvariant; extern (C++) __gshared ClassDeclaration typeinfoshared; extern (C++) __gshared ClassDeclaration typeinfowild; extern (C++) __gshared StringTable!Type stringtable; extern (C++) __gshared ubyte[TMAX] sizeTy = () { ubyte[TMAX] sizeTy = __traits(classInstanceSize, TypeBasic); sizeTy[Tsarray] = __traits(classInstanceSize, TypeSArray); sizeTy[Tarray] = __traits(classInstanceSize, TypeDArray); sizeTy[Taarray] = __traits(classInstanceSize, TypeAArray); sizeTy[Tpointer] = __traits(classInstanceSize, TypePointer); sizeTy[Treference] = __traits(classInstanceSize, TypeReference); sizeTy[Tfunction] = __traits(classInstanceSize, TypeFunction); sizeTy[Tdelegate] = __traits(classInstanceSize, TypeDelegate); sizeTy[Tident] = __traits(classInstanceSize, TypeIdentifier); sizeTy[Tinstance] = __traits(classInstanceSize, TypeInstance); sizeTy[Ttypeof] = __traits(classInstanceSize, TypeTypeof); sizeTy[Tenum] = __traits(classInstanceSize, TypeEnum); sizeTy[Tstruct] = __traits(classInstanceSize, TypeStruct); sizeTy[Tclass] = __traits(classInstanceSize, TypeClass); sizeTy[Ttuple] = __traits(classInstanceSize, TypeTuple); sizeTy[Tslice] = __traits(classInstanceSize, TypeSlice); sizeTy[Treturn] = __traits(classInstanceSize, TypeReturn); sizeTy[Terror] = __traits(classInstanceSize, TypeError); sizeTy[Tnull] = __traits(classInstanceSize, TypeNull); sizeTy[Tvector] = __traits(classInstanceSize, TypeVector); sizeTy[Tmixin] = __traits(classInstanceSize, TypeMixin); return sizeTy; }(); static struct Mcache { Type cto; // MODFlags.const_ Type ito; // MODFlags.immutable_ Type sto; // MODFlags.shared_ Type scto; // MODFlags.shared_ | MODFlags.const_ Type wto; // MODFlags.wild Type wcto; // MODFlags.wildconst Type swto; // MODFlags.shared_ | MODFlags.wild Type swcto; // MODFlags.shared_ | MODFlags.wildconst } private Mcache* mcache; Type pto; Type rto; Type arrayof; // These members are probably used in semnatic analysis //TypeInfoDeclaration vtinfo; //type* ctype; final extern (D) this(TY ty) { this.ty = ty; } override const(char)* toChars() const { return "type"; } static void _init() { stringtable._init(14_000); // Set basic types __gshared TY* basetab = [ Tvoid, Tint8, Tuns8, Tint16, Tuns16, Tint32, Tuns32, Tint64, Tuns64, Tint128, Tuns128, Tfloat32, Tfloat64, Tfloat80, Timaginary32, Timaginary64, Timaginary80, Tcomplex32, Tcomplex64, Tcomplex80, Tbool, Tchar, Twchar, Tdchar, Terror ]; for (size_t i = 0; basetab[i] != Terror; i++) { Type t = new TypeBasic(basetab[i]); t = t.merge(); basic[basetab[i]] = t; } basic[Terror] = new TypeError(); tvoid = basic[Tvoid]; tint8 = basic[Tint8]; tuns8 = basic[Tuns8]; tint16 = basic[Tint16]; tuns16 = basic[Tuns16]; tint32 = basic[Tint32]; tuns32 = basic[Tuns32]; tint64 = basic[Tint64]; tuns64 = basic[Tuns64]; tint128 = basic[Tint128]; tuns128 = basic[Tuns128]; tfloat32 = basic[Tfloat32]; tfloat64 = basic[Tfloat64]; tfloat80 = basic[Tfloat80]; timaginary32 = basic[Timaginary32]; timaginary64 = basic[Timaginary64]; timaginary80 = basic[Timaginary80]; tcomplex32 = basic[Tcomplex32]; tcomplex64 = basic[Tcomplex64]; tcomplex80 = basic[Tcomplex80]; tbool = basic[Tbool]; tchar = basic[Tchar]; twchar = basic[Twchar]; tdchar = basic[Tdchar]; tshiftcnt = tint32; terror = basic[Terror]; tnull = new TypeNull(); tnull.deco = tnull.merge().deco; tvoidptr = tvoid.pointerTo(); tstring = tchar.immutableOf().arrayOf(); twstring = twchar.immutableOf().arrayOf(); tdstring = tdchar.immutableOf().arrayOf(); const isLP64 = global.params.isLP64; tsize_t = basic[isLP64 ? Tuns64 : Tuns32]; tptrdiff_t = basic[isLP64 ? Tint64 : Tint32]; thash_t = tsize_t; } extern (D) final Mcache* getMcache() { if (!mcache) mcache = cast(Mcache*) mem.xcalloc(Mcache.sizeof, 1); return mcache; } final Type pointerTo() { if (ty == Terror) return this; if (!pto) { Type t = new TypePointer(this); if (ty == Tfunction) { t.deco = t.merge().deco; pto = t; } else pto = t.merge(); } return pto; } final Type arrayOf() { if (ty == Terror) return this; if (!arrayof) { Type t = new TypeDArray(this); arrayof = t.merge(); } return arrayof; } final bool isImmutable() const { return (mod & MODFlags.immutable_) != 0; } final Type nullAttributes() { uint sz = sizeTy[ty]; Type t = cast(Type)mem.xmalloc(sz); memcpy(cast(void*)t, cast(void*)this, sz); // t.mod = NULL; // leave mod unchanged t.deco = null; t.arrayof = null; t.pto = null; t.rto = null; t.mcache = null; //t.vtinfo = null; these aren't used in parsing //t.ctype = null; if (t.ty == Tstruct) (cast(TypeStruct)t).att = AliasThisRec.fwdref; if (t.ty == Tclass) (cast(TypeClass)t).att = AliasThisRec.fwdref; return t; } Type makeConst() { if (mcache && mcache.cto) return mcache.cto; Type t = this.nullAttributes(); t.mod = MODFlags.const_; return t; } Type makeWildConst() { if (mcache && mcache.wcto) return mcache.wcto; Type t = this.nullAttributes(); t.mod = MODFlags.wildconst; return t; } Type makeShared() { if (mcache && mcache.sto) return mcache.sto; Type t = this.nullAttributes(); t.mod = MODFlags.shared_; return t; } Type makeSharedConst() { if (mcache && mcache.scto) return mcache.scto; Type t = this.nullAttributes(); t.mod = MODFlags.shared_ | MODFlags.const_; return t; } Type makeImmutable() { if (mcache && mcache.ito) return mcache.ito; Type t = this.nullAttributes(); t.mod = MODFlags.immutable_; return t; } Type makeWild() { if (mcache && mcache.wto) return mcache.wto; Type t = this.nullAttributes(); t.mod = MODFlags.wild; return t; } Type makeSharedWildConst() { if (mcache && mcache.swcto) return mcache.swcto; Type t = this.nullAttributes(); t.mod = MODFlags.shared_ | MODFlags.wildconst; return t; } Type makeSharedWild() { if (mcache && mcache.swto) return mcache.swto; Type t = this.nullAttributes(); t.mod = MODFlags.shared_ | MODFlags.wild; return t; } // Truncated final Type merge() { if (ty == Terror) return this; if (ty == Ttypeof) return this; if (ty == Tident) return this; if (ty == Tinstance) return this; if (ty == Taarray && !(cast(TypeAArray)this).index.merge().deco) return this; if (ty != Tenum && nextOf() && !nextOf().deco) return this; // if (!deco) - code missing Type t = this; assert(t); return t; } final Type addSTC(StorageClass stc) { Type t = this; if (t.isImmutable()) { } else if (stc & STC.immutable_) { t = t.makeImmutable(); } else { if ((stc & STC.shared_) && !t.isShared()) { if (t.isWild()) { if (t.isConst()) t = t.makeSharedWildConst(); else t = t.makeSharedWild(); } else { if (t.isConst()) t = t.makeSharedConst(); else t = t.makeShared(); } } if ((stc & STC.const_) && !t.isConst()) { if (t.isShared()) { if (t.isWild()) t = t.makeSharedWildConst(); else t = t.makeSharedConst(); } else { if (t.isWild()) t = t.makeWildConst(); else t = t.makeConst(); } } if ((stc & STC.wild) && !t.isWild()) { if (t.isShared()) { if (t.isConst()) t = t.makeSharedWildConst(); else t = t.makeSharedWild(); } else { if (t.isConst()) t = t.makeWildConst(); else t = t.makeWild(); } } } return t; } Expression toExpression() { return null; } Type syntaxCopy() { return null; } final Type sharedWildConstOf() { if (mod == (MODFlags.shared_ | MODFlags.wildconst)) return this; if (mcache.swcto) { assert(mcache.swcto.mod == (MODFlags.shared_ | MODFlags.wildconst)); return mcache.swcto; } Type t = makeSharedWildConst(); t = t.merge(); t.fixTo(this); return t; } final Type sharedConstOf() { if (mod == (MODFlags.shared_ | MODFlags.const_)) return this; if (mcache.scto) { assert(mcache.scto.mod == (MODFlags.shared_ | MODFlags.const_)); return mcache.scto; } Type t = makeSharedConst(); t = t.merge(); t.fixTo(this); return t; } final Type wildConstOf() { if (mod == MODFlags.wildconst) return this; if (mcache && mcache.wcto) { assert(mcache.wcto.mod == MODFlags.wildconst); return mcache.wcto; } Type t = makeWildConst(); t = t.merge(); t.fixTo(this); return t; } final Type constOf() { if (mod == MODFlags.const_) return this; if (mcache && mcache.cto) { assert(mcache.cto.mod == MODFlags.const_); return mcache.cto; } Type t = makeConst(); t = t.merge(); t.fixTo(this); return t; } final Type sharedWildOf() { if (mod == (MODFlags.shared_ | MODFlags.wild)) return this; if (mcache && mcache.swto) { assert(mcache.swto.mod == (MODFlags.shared_ | MODFlags.wild)); return mcache.swto; } Type t = makeSharedWild(); t = t.merge(); t.fixTo(this); return t; } final Type wildOf() { if (mod == MODFlags.wild) return this; if (mcache && mcache.wto) { assert(mcache.wto.mod == MODFlags.wild); return mcache.wto; } Type t = makeWild(); t = t.merge(); t.fixTo(this); return t; } final Type sharedOf() { if (mod == MODFlags.shared_) return this; if (mcache && mcache.sto) { assert(mcache.sto.mod == MODFlags.shared_); return mcache.sto; } Type t = makeShared(); t = t.merge(); t.fixTo(this); return t; } final Type immutableOf() { if (isImmutable()) return this; if (mcache && mcache.ito) { assert(mcache.ito.isImmutable()); return mcache.ito; } Type t = makeImmutable(); t = t.merge(); t.fixTo(this); return t; } final void fixTo(Type t) { Type mto = null; Type tn = nextOf(); if (!tn || ty != Tsarray && tn.mod == t.nextOf().mod) { switch (t.mod) { case 0: mto = t; break; case MODFlags.const_: getMcache(); mcache.cto = t; break; case MODFlags.wild: getMcache(); mcache.wto = t; break; case MODFlags.wildconst: getMcache(); mcache.wcto = t; break; case MODFlags.shared_: getMcache(); mcache.sto = t; break; case MODFlags.shared_ | MODFlags.const_: getMcache(); mcache.scto = t; break; case MODFlags.shared_ | MODFlags.wild: getMcache(); mcache.swto = t; break; case MODFlags.shared_ | MODFlags.wildconst: getMcache(); mcache.swcto = t; break; case MODFlags.immutable_: getMcache(); mcache.ito = t; break; default: break; } } assert(mod != t.mod); if (mod) { getMcache(); t.getMcache(); } switch (mod) { case 0: break; case MODFlags.const_: mcache.cto = mto; t.mcache.cto = this; break; case MODFlags.wild: mcache.wto = mto; t.mcache.wto = this; break; case MODFlags.wildconst: mcache.wcto = mto; t.mcache.wcto = this; break; case MODFlags.shared_: mcache.sto = mto; t.mcache.sto = this; break; case MODFlags.shared_ | MODFlags.const_: mcache.scto = mto; t.mcache.scto = this; break; case MODFlags.shared_ | MODFlags.wild: mcache.swto = mto; t.mcache.swto = this; break; case MODFlags.shared_ | MODFlags.wildconst: mcache.swcto = mto; t.mcache.swcto = this; break; case MODFlags.immutable_: t.mcache.ito = this; if (t.mcache.cto) t.mcache.cto.getMcache().ito = this; if (t.mcache.sto) t.mcache.sto.getMcache().ito = this; if (t.mcache.scto) t.mcache.scto.getMcache().ito = this; if (t.mcache.wto) t.mcache.wto.getMcache().ito = this; if (t.mcache.wcto) t.mcache.wcto.getMcache().ito = this; if (t.mcache.swto) t.mcache.swto.getMcache().ito = this; if (t.mcache.swcto) t.mcache.swcto.getMcache().ito = this; break; default: assert(0); } } final Type addMod(MOD mod) { Type t = this; if (!t.isImmutable()) { switch (mod) { case 0: break; case MODFlags.const_: if (isShared()) { if (isWild()) t = sharedWildConstOf(); else t = sharedConstOf(); } else { if (isWild()) t = wildConstOf(); else t = constOf(); } break; case MODFlags.wild: if (isShared()) { if (isConst()) t = sharedWildConstOf(); else t = sharedWildOf(); } else { if (isConst()) t = wildConstOf(); else t = wildOf(); } break; case MODFlags.wildconst: if (isShared()) t = sharedWildConstOf(); else t = wildConstOf(); break; case MODFlags.shared_: if (isWild()) { if (isConst()) t = sharedWildConstOf(); else t = sharedWildOf(); } else { if (isConst()) t = sharedConstOf(); else t = sharedOf(); } break; case MODFlags.shared_ | MODFlags.const_: if (isWild()) t = sharedWildConstOf(); else t = sharedConstOf(); break; case MODFlags.shared_ | MODFlags.wild: if (isConst()) t = sharedWildConstOf(); else t = sharedWildOf(); break; case MODFlags.shared_ | MODFlags.wildconst: t = sharedWildConstOf(); break; case MODFlags.immutable_: t = immutableOf(); break; default: assert(0); } } return t; } // TypeEnum overrides this method Type nextOf() { return null; } // TypeBasic, TypeVector, TypePointer, TypeEnum override this method bool isscalar() { return false; } final bool isConst() const { return (mod & MODFlags.const_) != 0; } final bool isWild() const { return (mod & MODFlags.wild) != 0; } final bool isShared() const { return (mod & MODFlags.shared_) != 0; } Type toBasetype() { return this; } // TypeIdentifier, TypeInstance, TypeTypeOf, TypeReturn, TypeStruct, TypeEnum, TypeClass override this method Dsymbol toDsymbol(Scope* sc) { return null; } final pure inout nothrow @nogc { inout(TypeError) isTypeError() { return ty == Terror ? cast(typeof(return))this : null; } inout(TypeVector) isTypeVector() { return ty == Tvector ? cast(typeof(return))this : null; } inout(TypeSArray) isTypeSArray() { return ty == Tsarray ? cast(typeof(return))this : null; } inout(TypeDArray) isTypeDArray() { return ty == Tarray ? cast(typeof(return))this : null; } inout(TypeAArray) isTypeAArray() { return ty == Taarray ? cast(typeof(return))this : null; } inout(TypePointer) isTypePointer() { return ty == Tpointer ? cast(typeof(return))this : null; } inout(TypeReference) isTypeReference() { return ty == Treference ? cast(typeof(return))this : null; } inout(TypeFunction) isTypeFunction() { return ty == Tfunction ? cast(typeof(return))this : null; } inout(TypeDelegate) isTypeDelegate() { return ty == Tdelegate ? cast(typeof(return))this : null; } inout(TypeIdentifier) isTypeIdentifier() { return ty == Tident ? cast(typeof(return))this : null; } inout(TypeInstance) isTypeInstance() { return ty == Tinstance ? cast(typeof(return))this : null; } inout(TypeTypeof) isTypeTypeof() { return ty == Ttypeof ? cast(typeof(return))this : null; } inout(TypeReturn) isTypeReturn() { return ty == Treturn ? cast(typeof(return))this : null; } inout(TypeStruct) isTypeStruct() { return ty == Tstruct ? cast(typeof(return))this : null; } inout(TypeEnum) isTypeEnum() { return ty == Tenum ? cast(typeof(return))this : null; } inout(TypeClass) isTypeClass() { return ty == Tclass ? cast(typeof(return))this : null; } inout(TypeTuple) isTypeTuple() { return ty == Ttuple ? cast(typeof(return))this : null; } inout(TypeSlice) isTypeSlice() { return ty == Tslice ? cast(typeof(return))this : null; } inout(TypeNull) isTypeNull() { return ty == Tnull ? cast(typeof(return))this : null; } inout(TypeMixin) isTypeMixin() { return ty == Tmixin ? cast(typeof(return))this : null; } inout(TypeTraits) isTypeTraits() { return ty == Ttraits ? cast(typeof(return))this : null; } } override void accept(Visitor v) { v.visit(this); } } // missing functionality in constructor, but that's ok // since the class is needed only for its size; need to add all method definitions extern (C++) final class TypeBasic : Type { const(char)* dstring; uint flags; extern (D) this(TY ty) { super(ty); const(char)* d; uint flags = 0; switch (ty) { case Tvoid: d = Token.toChars(TOK.void_); break; case Tint8: d = Token.toChars(TOK.int8); flags |= TFlags.integral; break; case Tuns8: d = Token.toChars(TOK.uns8); flags |= TFlags.integral | TFlags.unsigned; break; case Tint16: d = Token.toChars(TOK.int16); flags |= TFlags.integral; break; case Tuns16: d = Token.toChars(TOK.uns16); flags |= TFlags.integral | TFlags.unsigned; break; case Tint32: d = Token.toChars(TOK.int32); flags |= TFlags.integral; break; case Tuns32: d = Token.toChars(TOK.uns32); flags |= TFlags.integral | TFlags.unsigned; break; case Tfloat32: d = Token.toChars(TOK.float32); flags |= TFlags.floating | TFlags.real_; break; case Tint64: d = Token.toChars(TOK.int64); flags |= TFlags.integral; break; case Tuns64: d = Token.toChars(TOK.uns64); flags |= TFlags.integral | TFlags.unsigned; break; case Tint128: d = Token.toChars(TOK.int128); flags |= TFlags.integral; break; case Tuns128: d = Token.toChars(TOK.uns128); flags |= TFlags.integral | TFlags.unsigned; break; case Tfloat64: d = Token.toChars(TOK.float64); flags |= TFlags.floating | TFlags.real_; break; case Tfloat80: d = Token.toChars(TOK.float80); flags |= TFlags.floating | TFlags.real_; break; case Timaginary32: d = Token.toChars(TOK.imaginary32); flags |= TFlags.floating | TFlags.imaginary; break; case Timaginary64: d = Token.toChars(TOK.imaginary64); flags |= TFlags.floating | TFlags.imaginary; break; case Timaginary80: d = Token.toChars(TOK.imaginary80); flags |= TFlags.floating | TFlags.imaginary; break; case Tcomplex32: d = Token.toChars(TOK.complex32); flags |= TFlags.floating | TFlags.complex; break; case Tcomplex64: d = Token.toChars(TOK.complex64); flags |= TFlags.floating | TFlags.complex; break; case Tcomplex80: d = Token.toChars(TOK.complex80); flags |= TFlags.floating | TFlags.complex; break; case Tbool: d = "bool"; flags |= TFlags.integral | TFlags.unsigned; break; case Tchar: d = Token.toChars(TOK.char_); flags |= TFlags.integral | TFlags.unsigned; break; case Twchar: d = Token.toChars(TOK.wchar_); flags |= TFlags.integral | TFlags.unsigned; break; case Tdchar: d = Token.toChars(TOK.dchar_); flags |= TFlags.integral | TFlags.unsigned; break; default: assert(0); } this.dstring = d; this.flags = flags; merge(); } override bool isscalar() const { return (flags & (TFlags.integral | TFlags.floating)) != 0; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeError : Type { extern (D) this() { super(Terror); } override Type syntaxCopy() { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeNull : Type { extern (D) this() { super(Tnull); } override Type syntaxCopy() { // No semantic analysis done, no need to copy return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class TypeVector : Type { Type basetype; extern (D) this(Type basetype) { super(Tvector); this.basetype = basetype; } override Type syntaxCopy() { return new TypeVector(basetype.syntaxCopy()); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeEnum : Type { EnumDeclaration sym; extern (D) this(EnumDeclaration sym) { super(Tenum); this.sym = sym; } override Type syntaxCopy() { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeTuple : Type { Parameters* arguments; extern (D) this(Parameters* arguments) { super(Ttuple); this.arguments = arguments; } extern (D) this(Expressions* exps) { super(Ttuple); auto arguments = new Parameters(); if (exps) { arguments.setDim(exps.dim); for (size_t i = 0; i < exps.dim; i++) { Expression e = (*exps)[i]; if (e.type.ty == Ttuple) e.error("cannot form tuple of tuples"); auto arg = new Parameter(STC.undefined_, e.type, null, null, null); (*arguments)[i] = arg; } } this.arguments = arguments; } override Type syntaxCopy() { Parameters* args = Parameter.arraySyntaxCopy(arguments); Type t = new TypeTuple(args); t.mod = mod; return t; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeClass : Type { ClassDeclaration sym; AliasThisRec att = AliasThisRec.fwdref; extern (D) this (ClassDeclaration sym) { super(Tclass); this.sym = sym; } override Type syntaxCopy() { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeStruct : Type { StructDeclaration sym; AliasThisRec att = AliasThisRec.fwdref; bool inuse = false; extern (D) this(StructDeclaration sym) { super(Tstruct); this.sym = sym; } override Type syntaxCopy() { return this; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeReference : TypeNext { extern (D) this(Type t) { super(Treference, t); // BUG: what about references to static arrays? } override Type syntaxCopy() { Type t = next.syntaxCopy(); if (t == next) t = this; else { t = new TypeReference(t); t.mod = mod; } return t; } override void accept(Visitor v) { v.visit(this); } } extern (C++) abstract class TypeNext : Type { Type next; final extern (D) this(TY ty, Type next) { super(ty); this.next = next; } override final Type nextOf() { return next; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeSlice : TypeNext { Expression lwr; Expression upr; extern (D) this(Type next, Expression lwr, Expression upr) { super(Tslice, next); this.lwr = lwr; this.upr = upr; } override Type syntaxCopy() { Type t = new TypeSlice(next.syntaxCopy(), lwr.syntaxCopy(), upr.syntaxCopy()); t.mod = mod; return t; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class TypeDelegate : TypeNext { extern (D) this(Type t) { super(Tfunction, t); ty = Tdelegate; } override Type syntaxCopy() { Type t = next.syntaxCopy(); if (t == next) t = this; else { t = new TypeDelegate(t); t.mod = mod; } return t; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypePointer : TypeNext { extern (D) this(Type t) { super(Tpointer, t); } override Type syntaxCopy() { Type t = next.syntaxCopy(); if (t == next) t = this; else { t = new TypePointer(t); t.mod = mod; } return t; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class TypeFunction : TypeNext { // .next is the return type ParameterList parameterList; // function parameters private enum FunctionFlag : uint { none = 0, isnothrow = 0x0001, // nothrow isnogc = 0x0002, // is @nogc isproperty = 0x0004, // can be called without parentheses isref = 0x0008, // returns a reference isreturn = 0x0010, // 'this' is returned by ref isscope = 0x0020, // 'this' is scope isreturninferred= 0x0040, // 'this' is return from inference isscopeinferred = 0x0080, // 'this' is scope from inference islive = 0x0100, // is @live incomplete = 0x0200, // return type or default arguments removed inoutParam = 0x0400, // inout on the parameters inoutQual = 0x0800, // inout on the qualifier } LINK linkage; // calling convention FunctionFlag funcFlags; TRUST trust; // level of trust PURE purity = PURE.impure; byte inuse; Expressions* fargs; // function arguments extern (D) this(ParameterList pl, Type treturn, LINK linkage, StorageClass stc = 0) { super(Tfunction, treturn); assert(VarArg.none <= pl.varargs && pl.varargs <= VarArg.typesafe); this.parameterList = pl; this.linkage = linkage; if (stc & STC.pure_) this.purity = PURE.fwdref; if (stc & STC.nothrow_) this.isnothrow = true; if (stc & STC.nogc) this.isnogc = true; if (stc & STC.property) this.isproperty = true; if (stc & STC.live) this.islive = true; if (stc & STC.ref_) this.isref = true; if (stc & STC.return_) this.isreturn = true; if (stc & STC.scope_) this.isScopeQual = true; this.trust = TRUST.default_; if (stc & STC.safe) this.trust = TRUST.safe; if (stc & STC.system) this.trust = TRUST.system; if (stc & STC.trusted) this.trust = TRUST.trusted; } override Type syntaxCopy() { Type treturn = next ? next.syntaxCopy() : null; Parameters* params = Parameter.arraySyntaxCopy(parameterList.parameters); auto t = new TypeFunction(ParameterList(params, parameterList.varargs), treturn, linkage); t.mod = mod; t.isnothrow = isnothrow; t.isnogc = isnogc; t.purity = purity; t.isproperty = isproperty; t.isref = isref; t.isreturn = isreturn; t.isScopeQual = isScopeQual; t.isreturninferred = isreturninferred; t.isscopeinferred = isscopeinferred; t.isInOutParam = isInOutParam; t.isInOutQual = isInOutQual; t.trust = trust; t.fargs = fargs; return t; } /// set or get if the function has the `nothrow` attribute bool isnothrow() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.isnothrow) != 0; } /// ditto void isnothrow(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.isnothrow; else funcFlags &= ~FunctionFlag.isnothrow; } /// set or get if the function has the `@nogc` attribute bool isnogc() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.isnogc) != 0; } /// ditto void isnogc(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.isnogc; else funcFlags &= ~FunctionFlag.isnogc; } /// set or get if the function has the `@property` attribute bool isproperty() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.isproperty) != 0; } /// ditto void isproperty(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.isproperty; else funcFlags &= ~FunctionFlag.isproperty; } /// set or get if the function has the `ref` attribute bool isref() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.isref) != 0; } /// ditto void isref(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.isref; else funcFlags &= ~FunctionFlag.isref; } /// set or get if the function has the `return` attribute bool isreturn() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.isreturn) != 0; } /// ditto void isreturn(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.isreturn; else funcFlags &= ~FunctionFlag.isreturn; } /// set or get if the function has the `scope` attribute bool isScopeQual() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.isscope) != 0; } /// ditto void isScopeQual(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.isscope; else funcFlags &= ~FunctionFlag.isscope; } /// set or get if the function has the `return` attribute inferred bool isreturninferred() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.isreturninferred) != 0; } /// ditto void isreturninferred(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.isreturninferred; else funcFlags &= ~FunctionFlag.isreturninferred; } /// set or get if the function has the `scope` attribute inferred bool isscopeinferred() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.isscopeinferred) != 0; } /// ditoo void isscopeinferred(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.isscopeinferred; else funcFlags &= ~FunctionFlag.isscopeinferred; } /// set or get if the function has the `@live` attribute bool islive() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.islive) != 0; } /// ditto void islive(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.islive; else funcFlags &= ~FunctionFlag.islive; } /// set or get if the return type or the default arguments are removed bool incomplete() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.incomplete) != 0; } /// ditto void incomplete(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.incomplete; else funcFlags &= ~FunctionFlag.incomplete; } /// set or get if the function has the `inout` on the parameters bool isInOutParam() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.inoutParam) != 0; } /// ditto void isInOutParam(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.inoutParam; else funcFlags &= ~FunctionFlag.inoutParam; } /// set or get if the function has the `inout` on the parameters bool isInOutQual() const pure nothrow @safe @nogc { return (funcFlags & FunctionFlag.inoutQual) != 0; } /// ditto void isInOutQual(bool v) pure nothrow @safe @nogc { if (v) funcFlags |= FunctionFlag.inoutQual; else funcFlags &= ~FunctionFlag.inoutQual; } /// Returns: `true` the function is `isInOutQual` or `isInOutParam` ,`false` otherwise. bool iswild() const pure nothrow @safe @nogc { return (funcFlags & (FunctionFlag.inoutParam | FunctionFlag.inoutQual)) != 0; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class TypeArray : TypeNext { final extern (D) this(TY ty, Type next) { super(ty, next); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeDArray : TypeArray { extern (D) this(Type t) { super(Tarray, t); } override Type syntaxCopy() { Type t = next.syntaxCopy(); if (t == next) t = this; else { t = new TypeDArray(t); t.mod = mod; } return t; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeAArray : TypeArray { Type index; Loc loc; extern (D) this(Type t, Type index) { super(Taarray, t); this.index = index; } override Type syntaxCopy() { Type t = next.syntaxCopy(); Type ti = index.syntaxCopy(); if (t == next && ti == index) t = this; else { t = new TypeAArray(t, ti); t.mod = mod; } return t; } override Expression toExpression() { Expression e = next.toExpression(); if (e) { Expression ei = index.toExpression(); if (ei) return new ArrayExp(loc, e, ei); } return null; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeSArray : TypeArray { Expression dim; final extern (D) this(Type t, Expression dim) { super(Tsarray, t); this.dim = dim; } override Type syntaxCopy() { Type t = next.syntaxCopy(); Expression e = dim.syntaxCopy(); t = new TypeSArray(t, e); t.mod = mod; return t; } override Expression toExpression() { Expression e = next.toExpression(); if (e) e = new ArrayExp(dim.loc, e, dim); return e; } override void accept(Visitor v) { v.visit(this); } } extern (C++) abstract class TypeQualified : Type { Objects idents; Loc loc; final extern (D) this(TY ty, Loc loc) { super(ty); this.loc = loc; } final void addIdent(Identifier id) { idents.push(id); } final void addInst(TemplateInstance ti) { idents.push(ti); } final void addIndex(RootObject e) { idents.push(e); } final void syntaxCopyHelper(TypeQualified t) { idents.setDim(t.idents.dim); for (size_t i = 0; i < idents.dim; i++) { RootObject id = t.idents[i]; if (id.dyncast() == DYNCAST.dsymbol) { TemplateInstance ti = cast(TemplateInstance)id; ti = cast(TemplateInstance)ti.syntaxCopy(null); id = ti; } else if (id.dyncast() == DYNCAST.expression) { Expression e = cast(Expression)id; e = e.syntaxCopy(); id = e; } else if (id.dyncast() == DYNCAST.type) { Type tx = cast(Type)id; tx = tx.syntaxCopy(); id = tx; } idents[i] = id; } } final Expression toExpressionHelper(Expression e, size_t i = 0) { for (; i < idents.dim; i++) { RootObject id = idents[i]; switch (id.dyncast()) { case DYNCAST.identifier: e = new DotIdExp(e.loc, e, cast(Identifier)id); break; case DYNCAST.dsymbol: auto ti = (cast(Dsymbol)id).isTemplateInstance(); assert(ti); e = new DotTemplateInstanceExp(e.loc, e, ti.name, ti.tiargs); break; case DYNCAST.type: // Bugzilla 1215 e = new ArrayExp(loc, e, new TypeExp(loc, cast(Type)id)); break; case DYNCAST.expression: // Bugzilla 1215 e = new ArrayExp(loc, e, cast(Expression)id); break; default: assert(0); } } return e; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class TypeTraits : Type { TraitsExp exp; Loc loc; extern (D) this(const ref Loc loc, TraitsExp exp) { super(Tident); this.loc = loc; this.exp = exp; } override void accept(Visitor v) { v.visit(this); } override Type syntaxCopy() { TraitsExp te = cast(TraitsExp) exp.syntaxCopy(); TypeTraits tt = new TypeTraits(loc, te); tt.mod = mod; return tt; } } extern (C++) final class TypeMixin : Type { Loc loc; Expressions* exps; extern (D) this(const ref Loc loc, Expressions* exps) { super(Tmixin); this.loc = loc; this.exps = exps; } override Type syntaxCopy() { static Expressions* arraySyntaxCopy(Expressions* exps) { Expressions* a = null; if (exps) { a = new Expressions(exps.dim); foreach (i, e; *exps) { (*a)[i] = e ? e.syntaxCopy() : null; } } return a; } return new TypeMixin(loc, arraySyntaxCopy(exps)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeIdentifier : TypeQualified { Identifier ident; extern (D) this(const ref Loc loc, Identifier ident) { super(Tident, loc); this.ident = ident; } override Type syntaxCopy() { auto t = new TypeIdentifier(loc, ident); t.syntaxCopyHelper(this); t.mod = mod; return t; } override Expression toExpression() { return toExpressionHelper(new IdentifierExp(loc, ident)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeReturn : TypeQualified { extern (D) this(const ref Loc loc) { super(Treturn, loc); } override Type syntaxCopy() { auto t = new TypeReturn(loc); t.syntaxCopyHelper(this); t.mod = mod; return t; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeTypeof : TypeQualified { Expression exp; extern (D) this(const ref Loc loc, Expression exp) { super(Ttypeof, loc); this.exp = exp; } override Type syntaxCopy() { auto t = new TypeTypeof(loc, exp.syntaxCopy()); t.syntaxCopyHelper(this); t.mod = mod; return t; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeInstance : TypeQualified { TemplateInstance tempinst; final extern (D) this(const ref Loc loc, TemplateInstance tempinst) { super(Tinstance, loc); this.tempinst = tempinst; } override Type syntaxCopy() { auto t = new TypeInstance(loc, cast(TemplateInstance)tempinst.syntaxCopy(null)); t.syntaxCopyHelper(this); t.mod = mod; return t; } override Expression toExpression() { return toExpressionHelper(new ScopeExp(loc, tempinst)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) abstract class Expression : ASTNode { TOK op; ubyte size; ubyte parens; Type type; Loc loc; final extern (D) this(const ref Loc loc, TOK op, int size) { this.loc = loc; this.op = op; this.size = cast(ubyte)size; } Expression syntaxCopy() { return copy(); } final void error(const(char)* format, ...) const { if (type != Type.terror) { va_list ap; va_start(ap, format); verror(loc, format, ap); va_end(ap); } } final Expression copy() { Expression e; if (!size) { assert(0); } e = cast(Expression)mem.xmalloc(size); return cast(Expression)memcpy(cast(void*)e, cast(void*)this, size); } override final DYNCAST dyncast() const { return DYNCAST.expression; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DeclarationExp : Expression { Dsymbol declaration; extern (D) this(const ref Loc loc, Dsymbol declaration) { super(loc, TOK.declaration, __traits(classInstanceSize, DeclarationExp)); this.declaration = declaration; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class IntegerExp : Expression { dinteger_t value; extern (D) this(const ref Loc loc, dinteger_t value, Type type) { super(loc, TOK.int64, __traits(classInstanceSize, IntegerExp)); assert(type); if (!type.isscalar()) { if (type.ty != Terror) error("integral constant must be scalar type, not %s", type.toChars()); type = Type.terror; } this.type = type; setInteger(value); } void setInteger(dinteger_t value) { this.value = value; normalize(); } void normalize() { /* 'Normalize' the value of the integer to be in range of the type */ switch (type.toBasetype().ty) { case Tbool: value = (value != 0); break; case Tint8: value = cast(d_int8)value; break; case Tchar: case Tuns8: value = cast(d_uns8)value; break; case Tint16: value = cast(d_int16)value; break; case Twchar: case Tuns16: value = cast(d_uns16)value; break; case Tint32: value = cast(d_int32)value; break; case Tdchar: case Tuns32: value = cast(d_uns32)value; break; case Tint64: value = cast(d_int64)value; break; case Tuns64: value = cast(d_uns64)value; break; case Tpointer: if (Target.ptrsize == 8) goto case Tuns64; if (Target.ptrsize == 4) goto case Tuns32; if (Target.ptrsize == 2) goto case Tuns16; assert(0); default: break; } } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class NewAnonClassExp : Expression { Expression thisexp; // if !=null, 'this' for class being allocated Expressions* newargs; // Array of Expression's to call new operator ClassDeclaration cd; // class being instantiated Expressions* arguments; // Array of Expression's to call class constructor extern (D) this(const ref Loc loc, Expression thisexp, Expressions* newargs, ClassDeclaration cd, Expressions* arguments) { super(loc, TOK.newAnonymousClass, __traits(classInstanceSize, NewAnonClassExp)); this.thisexp = thisexp; this.newargs = newargs; this.cd = cd; this.arguments = arguments; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class IsExp : Expression { Type targ; Identifier id; // can be null Type tspec; // can be null TemplateParameters* parameters; TOK tok; // ':' or '==' TOK tok2; // 'struct', 'union', etc. extern (D) this(const ref Loc loc, Type targ, Identifier id, TOK tok, Type tspec, TOK tok2, TemplateParameters* parameters) { super(loc, TOK.is_, __traits(classInstanceSize, IsExp)); this.targ = targ; this.id = id; this.tok = tok; this.tspec = tspec; this.tok2 = tok2; this.parameters = parameters; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class RealExp : Expression { real_t value; extern (D) this(const ref Loc loc, real_t value, Type type) { super(loc, TOK.float64, __traits(classInstanceSize, RealExp)); this.value = value; this.type = type; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class NullExp : Expression { extern (D) this(const ref Loc loc, Type type = null) { super(loc, TOK.null_, __traits(classInstanceSize, NullExp)); this.type = type; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeidExp : Expression { RootObject obj; extern (D) this(const ref Loc loc, RootObject o) { super(loc, TOK.typeid_, __traits(classInstanceSize, TypeidExp)); this.obj = o; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TraitsExp : Expression { Identifier ident; Objects* args; extern (D) this(const ref Loc loc, Identifier ident, Objects* args) { super(loc, TOK.traits, __traits(classInstanceSize, TraitsExp)); this.ident = ident; this.args = args; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class StringExp : Expression { union { char* string; // if sz == 1 wchar* wstring; // if sz == 2 dchar* dstring; // if sz == 4 } // (const if ownedByCtfe == OwnedBy.code) size_t len; // number of code units ubyte sz = 1; // 1: char, 2: wchar, 4: dchar char postfix = 0; // 'c', 'w', 'd' extern (D) this(const ref Loc loc, const(void)[] string) { super(loc, TOK.string_, __traits(classInstanceSize, StringExp)); this.string = cast(char*)string.ptr; this.len = string.length; this.sz = 1; // work around LDC bug #1286 } extern (D) this(const ref Loc loc, const(void)[] string, size_t len, ubyte sz, char postfix = 0) { super(loc, TOK.string_, __traits(classInstanceSize, StringExp)); this.string = cast(char*)string; this.len = len; this.postfix = postfix; this.sz = 1; // work around LDC bug #1286 } /********************************************** * Write the contents of the string to dest. * Use numberOfCodeUnits() to determine size of result. * Params: * dest = destination * tyto = encoding type of the result * zero = add terminating 0 */ void writeTo(void* dest, bool zero, int tyto = 0) const { int encSize; switch (tyto) { case 0: encSize = sz; break; case Tchar: encSize = 1; break; case Twchar: encSize = 2; break; case Tdchar: encSize = 4; break; default: assert(0); } if (sz == encSize) { memcpy(dest, string, len * sz); if (zero) memset(dest + len * sz, 0, sz); } else assert(0); } extern (D) const(char)[] toStringz() const { auto nbytes = len * sz; char* s = cast(char*)mem.xmalloc_noscan(nbytes + sz); writeTo(s, true); return s[0 .. nbytes]; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class NewExp : Expression { Expression thisexp; // if !=null, 'this' for class being allocated Expressions* newargs; // Array of Expression's to call new operator Type newtype; Expressions* arguments; // Array of Expression's extern (D) this(const ref Loc loc, Expression thisexp, Expressions* newargs, Type newtype, Expressions* arguments) { super(loc, TOK.new_, __traits(classInstanceSize, NewExp)); this.thisexp = thisexp; this.newargs = newargs; this.newtype = newtype; this.arguments = arguments; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AssocArrayLiteralExp : Expression { Expressions* keys; Expressions* values; extern (D) this(const ref Loc loc, Expressions* keys, Expressions* values) { super(loc, TOK.assocArrayLiteral, __traits(classInstanceSize, AssocArrayLiteralExp)); assert(keys.dim == values.dim); this.keys = keys; this.values = values; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ArrayLiteralExp : Expression { Expression basis; Expressions* elements; extern (D) this(const ref Loc loc, Expressions* elements) { super(loc, TOK.arrayLiteral, __traits(classInstanceSize, ArrayLiteralExp)); this.elements = elements; } extern (D) this(const ref Loc loc, Expression e) { super(loc, TOK.arrayLiteral, __traits(classInstanceSize, ArrayLiteralExp)); elements = new Expressions(); elements.push(e); } extern (D) this(const ref Loc loc, Expression basis, Expressions* elements) { super(loc, TOK.arrayLiteral, __traits(classInstanceSize, ArrayLiteralExp)); this.basis = basis; this.elements = elements; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class FuncExp : Expression { FuncLiteralDeclaration fd; TemplateDeclaration td; TOK tok; extern (D) this(const ref Loc loc, Dsymbol s) { super(loc, TOK.function_, __traits(classInstanceSize, FuncExp)); this.td = s.isTemplateDeclaration(); this.fd = s.isFuncLiteralDeclaration(); if (td) { assert(td.literal); assert(td.members && td.members.dim == 1); fd = (*td.members)[0].isFuncLiteralDeclaration(); } tok = fd.tok; // save original kind of function/delegate/(infer) assert(fd.fbody); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class IntervalExp : Expression { Expression lwr; Expression upr; extern (D) this(const ref Loc loc, Expression lwr, Expression upr) { super(loc, TOK.interval, __traits(classInstanceSize, IntervalExp)); this.lwr = lwr; this.upr = upr; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TypeExp : Expression { extern (D) this(const ref Loc loc, Type type) { super(loc, TOK.type, __traits(classInstanceSize, TypeExp)); this.type = type; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ScopeExp : Expression { ScopeDsymbol sds; extern (D) this(const ref Loc loc, ScopeDsymbol sds) { super(loc, TOK.scope_, __traits(classInstanceSize, ScopeExp)); this.sds = sds; assert(!sds.isTemplateDeclaration()); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class IdentifierExp : Expression { Identifier ident; final extern (D) this(const ref Loc loc, Identifier ident) { super(loc, TOK.identifier, __traits(classInstanceSize, IdentifierExp)); this.ident = ident; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class UnaExp : Expression { Expression e1; final extern (D) this(const ref Loc loc, TOK op, int size, Expression e1) { super(loc, op, size); this.e1 = e1; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class DefaultInitExp : Expression { final extern (D) this(const ref Loc loc, TOK op, int size) { super(loc, op, size); } override void accept(Visitor v) { v.visit(this); } } extern (C++) abstract class BinExp : Expression { Expression e1; Expression e2; final extern (D) this(const ref Loc loc, TOK op, int size, Expression e1, Expression e2) { super(loc, op, size); this.e1 = e1; this.e2 = e2; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DsymbolExp : Expression { Dsymbol s; bool hasOverloads; extern (D) this(const ref Loc loc, Dsymbol s, bool hasOverloads = true) { super(loc, TOK.dSymbol, __traits(classInstanceSize, DsymbolExp)); this.s = s; this.hasOverloads = hasOverloads; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TemplateExp : Expression { TemplateDeclaration td; FuncDeclaration fd; extern (D) this(const ref Loc loc, TemplateDeclaration td, FuncDeclaration fd = null) { super(loc, TOK.template_, __traits(classInstanceSize, TemplateExp)); //printf("TemplateExp(): %s\n", td.toChars()); this.td = td; this.fd = fd; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class SymbolExp : Expression { Declaration var; bool hasOverloads; final extern (D) this(const ref Loc loc, TOK op, int size, Declaration var, bool hasOverloads) { super(loc, op, size); assert(var); this.var = var; this.hasOverloads = hasOverloads; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class VarExp : SymbolExp { extern (D) this(const ref Loc loc, Declaration var, bool hasOverloads = true) { if (var.isVarDeclaration()) hasOverloads = false; super(loc, TOK.variable, __traits(classInstanceSize, VarExp), var, hasOverloads); this.type = var.type; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TupleExp : Expression { Expression e0; Expressions* exps; extern (D) this(const ref Loc loc, Expression e0, Expressions* exps) { super(loc, TOK.tuple, __traits(classInstanceSize, TupleExp)); //printf("TupleExp(this = %p)\n", this); this.e0 = e0; this.exps = exps; } extern (D) this(const ref Loc loc, Expressions* exps) { super(loc, TOK.tuple, __traits(classInstanceSize, TupleExp)); //printf("TupleExp(this = %p)\n", this); this.exps = exps; } extern (D) this(const ref Loc loc, TupleDeclaration tup) { super(loc, TOK.tuple, __traits(classInstanceSize, TupleExp)); this.exps = new Expressions(); this.exps.reserve(tup.objects.dim); for (size_t i = 0; i < tup.objects.dim; i++) { RootObject o = (*tup.objects)[i]; if (Dsymbol s = getDsymbol(o)) { Expression e = new DsymbolExp(loc, s); this.exps.push(e); } else if (o.dyncast() == DYNCAST.expression) { auto e = (cast(Expression)o).copy(); e.loc = loc; // Bugzilla 15669 this.exps.push(e); } else if (o.dyncast() == DYNCAST.type) { Type t = cast(Type)o; Expression e = new TypeExp(loc, t); this.exps.push(e); } else { error("%s is not an expression", o.toChars()); } } } extern (C++) Dsymbol isDsymbol(RootObject o) { if (!o || o.dyncast || DYNCAST.dsymbol) return null; return cast(Dsymbol)o; } extern (C++) Dsymbol getDsymbol(RootObject oarg) { Dsymbol sa; Expression ea = isExpression(oarg); if (ea) { // Try to convert Expression to symbol if (ea.op == TOK.variable) sa = (cast(VarExp)ea).var; else if (ea.op == TOK.function_) { if ((cast(FuncExp)ea).td) sa = (cast(FuncExp)ea).td; else sa = (cast(FuncExp)ea).fd; } else if (ea.op == TOK.template_) sa = (cast(TemplateExp)ea).td; else sa = null; } else { // Try to convert Type to symbol Type ta = isType(oarg); if (ta) sa = ta.toDsymbol(null); else sa = isDsymbol(oarg); // if already a symbol } return sa; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DollarExp : IdentifierExp { extern (D) this(const ref Loc loc) { super(loc, Id.dollar); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class ThisExp : Expression { final extern (D) this(const ref Loc loc) { super(loc, TOK.this_, __traits(classInstanceSize, ThisExp)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class SuperExp : ThisExp { extern (D) this(const ref Loc loc) { super(loc); op = TOK.super_; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AddrExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, TOK.address, __traits(classInstanceSize, AddrExp), e); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class PreExp : UnaExp { extern (D) this(TOK op, Loc loc, Expression e) { super(loc, op, __traits(classInstanceSize, PreExp), e); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class PtrExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, TOK.star, __traits(classInstanceSize, PtrExp), e); } extern (D) this(const ref Loc loc, Expression e, Type t) { super(loc, TOK.star, __traits(classInstanceSize, PtrExp), e); type = t; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class NegExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, TOK.negate, __traits(classInstanceSize, NegExp), e); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class UAddExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, TOK.uadd, __traits(classInstanceSize, UAddExp), e); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class NotExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, TOK.not, __traits(classInstanceSize, NotExp), e); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ComExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, TOK.tilde, __traits(classInstanceSize, ComExp), e); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DeleteExp : UnaExp { bool isRAII; extern (D) this(const ref Loc loc, Expression e, bool isRAII) { super(loc, TOK.delete_, __traits(classInstanceSize, DeleteExp), e); this.isRAII = isRAII; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CastExp : UnaExp { Type to; ubyte mod = cast(ubyte)~0; extern (D) this(const ref Loc loc, Expression e, Type t) { super(loc, TOK.cast_, __traits(classInstanceSize, CastExp), e); this.to = t; } extern (D) this(const ref Loc loc, Expression e, ubyte mod) { super(loc, TOK.cast_, __traits(classInstanceSize, CastExp), e); this.mod = mod; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CallExp : UnaExp { Expressions* arguments; extern (D) this(const ref Loc loc, Expression e, Expressions* exps) { super(loc, TOK.call, __traits(classInstanceSize, CallExp), e); this.arguments = exps; } extern (D) this(const ref Loc loc, Expression e) { super(loc, TOK.call, __traits(classInstanceSize, CallExp), e); } extern (D) this(const ref Loc loc, Expression e, Expression earg1) { super(loc, TOK.call, __traits(classInstanceSize, CallExp), e); auto arguments = new Expressions(); if (earg1) { arguments.setDim(1); (*arguments)[0] = earg1; } this.arguments = arguments; } extern (D) this(const ref Loc loc, Expression e, Expression earg1, Expression earg2) { super(loc, TOK.call, __traits(classInstanceSize, CallExp), e); auto arguments = new Expressions(); arguments.setDim(2); (*arguments)[0] = earg1; (*arguments)[1] = earg2; this.arguments = arguments; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DotIdExp : UnaExp { Identifier ident; extern (D) this(const ref Loc loc, Expression e, Identifier ident) { super(loc, TOK.dotIdentifier, __traits(classInstanceSize, DotIdExp), e); this.ident = ident; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AssertExp : UnaExp { Expression msg; extern (D) this(const ref Loc loc, Expression e, Expression msg = null) { super(loc, TOK.assert_, __traits(classInstanceSize, AssertExp), e); this.msg = msg; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class MixinExp : Expression { Expressions* exps; extern (D) this(const ref Loc loc, Expressions* exps) { super(loc, TOK.mixin_, __traits(classInstanceSize, MixinExp)); this.exps = exps; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ImportExp : UnaExp { extern (D) this(const ref Loc loc, Expression e) { super(loc, TOK.import_, __traits(classInstanceSize, ImportExp), e); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DotTemplateInstanceExp : UnaExp { TemplateInstance ti; extern (D) this(const ref Loc loc, Expression e, Identifier name, Objects* tiargs) { super(loc, TOK.dotTemplateInstance, __traits(classInstanceSize, DotTemplateInstanceExp), e); this.ti = new TemplateInstance(loc, name, tiargs); } extern (D) this(const ref Loc loc, Expression e, TemplateInstance ti) { super(loc, TOK.dotTemplateInstance, __traits(classInstanceSize, DotTemplateInstanceExp), e); this.ti = ti; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ArrayExp : UnaExp { Expressions* arguments; extern (D) this(const ref Loc loc, Expression e1, Expression index = null) { super(loc, TOK.array, __traits(classInstanceSize, ArrayExp), e1); arguments = new Expressions(); if (index) arguments.push(index); } extern (D) this(const ref Loc loc, Expression e1, Expressions* args) { super(loc, TOK.array, __traits(classInstanceSize, ArrayExp), e1); arguments = args; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class FuncInitExp : DefaultInitExp { extern (D) this(const ref Loc loc) { super(loc, TOK.functionString, __traits(classInstanceSize, FuncInitExp)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class PrettyFuncInitExp : DefaultInitExp { extern (D) this(const ref Loc loc) { super(loc, TOK.prettyFunction, __traits(classInstanceSize, PrettyFuncInitExp)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class FileInitExp : DefaultInitExp { extern (D) this(const ref Loc loc, TOK tok) { super(loc, tok, __traits(classInstanceSize, FileInitExp)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class LineInitExp : DefaultInitExp { extern (D) this(const ref Loc loc) { super(loc, TOK.line, __traits(classInstanceSize, LineInitExp)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ModuleInitExp : DefaultInitExp { extern (D) this(const ref Loc loc) { super(loc, TOK.moduleString, __traits(classInstanceSize, ModuleInitExp)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CommaExp : BinExp { const bool isGenerated; bool allowCommaExp; extern (D) this(const ref Loc loc, Expression e1, Expression e2, bool generated = true) { super(loc, TOK.comma, __traits(classInstanceSize, CommaExp), e1, e2); allowCommaExp = isGenerated = generated; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class PostExp : BinExp { extern (D) this(TOK op, Loc loc, Expression e) { super(loc, op, __traits(classInstanceSize, PostExp), e, new IntegerExp(loc, 1, Type.tint32)); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class PowExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.pow, __traits(classInstanceSize, PowExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class MulExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.mul, __traits(classInstanceSize, MulExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DivExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.div, __traits(classInstanceSize, DivExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ModExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.mod, __traits(classInstanceSize, ModExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AddExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.add, __traits(classInstanceSize, AddExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class MinExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.min, __traits(classInstanceSize, MinExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CatExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.concatenate, __traits(classInstanceSize, CatExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ShlExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.leftShift, __traits(classInstanceSize, ShlExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ShrExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.rightShift, __traits(classInstanceSize, ShrExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class UshrExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.unsignedRightShift, __traits(classInstanceSize, UshrExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class EqualExp : BinExp { extern (D) this(TOK op, Loc loc, Expression e1, Expression e2) { super(loc, op, __traits(classInstanceSize, EqualExp), e1, e2); assert(op == TOK.equal || op == TOK.notEqual); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class InExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.in_, __traits(classInstanceSize, InExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class IdentityExp : BinExp { extern (D) this(TOK op, Loc loc, Expression e1, Expression e2) { super(loc, op, __traits(classInstanceSize, IdentityExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CmpExp : BinExp { extern (D) this(TOK op, Loc loc, Expression e1, Expression e2) { super(loc, op, __traits(classInstanceSize, CmpExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AndExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.and, __traits(classInstanceSize, AndExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class XorExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.xor, __traits(classInstanceSize, XorExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class OrExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.or, __traits(classInstanceSize, OrExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class LogicalExp : BinExp { extern (D) this(const ref Loc loc, TOK op, Expression e1, Expression e2) { super(loc, op, __traits(classInstanceSize, LogicalExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CondExp : BinExp { Expression econd; extern (D) this(const ref Loc loc, Expression econd, Expression e1, Expression e2) { super(loc, TOK.question, __traits(classInstanceSize, CondExp), e1, e2); this.econd = econd; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AssignExp : BinExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.assign, __traits(classInstanceSize, AssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class BinAssignExp : BinExp { final extern (D) this(const ref Loc loc, TOK op, int size, Expression e1, Expression e2) { super(loc, op, size, e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AddAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.addAssign, __traits(classInstanceSize, AddAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class MinAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.minAssign, __traits(classInstanceSize, MinAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class MulAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.mulAssign, __traits(classInstanceSize, MulAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DivAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.divAssign, __traits(classInstanceSize, DivAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ModAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.modAssign, __traits(classInstanceSize, ModAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class PowAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.powAssign, __traits(classInstanceSize, PowAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class AndAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.andAssign, __traits(classInstanceSize, AndAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class OrAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.orAssign, __traits(classInstanceSize, OrAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class XorAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.xorAssign, __traits(classInstanceSize, XorAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ShlAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.leftShiftAssign, __traits(classInstanceSize, ShlAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ShrAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.rightShiftAssign, __traits(classInstanceSize, ShrAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class UshrAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.unsignedRightShiftAssign, __traits(classInstanceSize, UshrAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class CatAssignExp : BinAssignExp { extern (D) this(const ref Loc loc, Expression e1, Expression e2) { super(loc, TOK.concatenateAssign, __traits(classInstanceSize, CatAssignExp), e1, e2); } override void accept(Visitor v) { v.visit(this); } } extern (C++) class TemplateParameter : ASTNode { Loc loc; Identifier ident; final extern (D) this(const ref Loc loc, Identifier ident) { this.loc = loc; this.ident = ident; } TemplateParameter syntaxCopy(){ return null;} override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TemplateAliasParameter : TemplateParameter { Type specType; RootObject specAlias; RootObject defaultAlias; extern (D) this(const ref Loc loc, Identifier ident, Type specType, RootObject specAlias, RootObject defaultAlias) { super(loc, ident); this.ident = ident; this.specType = specType; this.specAlias = specAlias; this.defaultAlias = defaultAlias; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class TemplateTypeParameter : TemplateParameter { Type specType; Type defaultType; final extern (D) this(const ref Loc loc, Identifier ident, Type specType, Type defaultType) { super(loc, ident); this.ident = ident; this.specType = specType; this.defaultType = defaultType; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TemplateTupleParameter : TemplateParameter { extern (D) this(const ref Loc loc, Identifier ident) { super(loc, ident); this.ident = ident; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TemplateValueParameter : TemplateParameter { Type valType; Expression specValue; Expression defaultValue; extern (D) this(const ref Loc loc, Identifier ident, Type valType, Expression specValue, Expression defaultValue) { super(loc, ident); this.ident = ident; this.valType = valType; this.specValue = specValue; this.defaultValue = defaultValue; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class TemplateThisParameter : TemplateTypeParameter { extern (D) this(const ref Loc loc, Identifier ident, Type specType, Type defaultType) { super(loc, ident, specType, defaultType); } override void accept(Visitor v) { v.visit(this); } } extern (C++) abstract class Condition : ASTNode { Loc loc; final extern (D) this(const ref Loc loc) { this.loc = loc; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class StaticForeach : RootObject { Loc loc; ForeachStatement aggrfe; ForeachRangeStatement rangefe; final extern (D) this(const ref Loc loc, ForeachStatement aggrfe, ForeachRangeStatement rangefe) in { assert(!!aggrfe ^ !!rangefe); } do { this.loc = loc; this.aggrfe = aggrfe; this.rangefe = rangefe; } } extern (C++) final class StaticIfCondition : Condition { Expression exp; final extern (D) this(const ref Loc loc, Expression exp) { super(loc); this.exp = exp; } override void accept(Visitor v) { v.visit(this); } } extern (C++) class DVCondition : Condition { uint level; Identifier ident; Module mod; final extern (D) this(const ref Loc loc, Module mod, uint level, Identifier ident) { super(loc); this.mod = mod; this.ident = ident; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class DebugCondition : DVCondition { extern (D) this(const ref Loc loc, Module mod, uint level, Identifier ident) { super(loc, mod, level, ident); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class VersionCondition : DVCondition { extern (D) this(const ref Loc loc, Module mod, uint level, Identifier ident) { super(loc, mod, level, ident); } override void accept(Visitor v) { v.visit(this); } } enum InitKind : ubyte { void_, error, struct_, array, exp, } extern (C++) class Initializer : ASTNode { Loc loc; InitKind kind; final extern (D) this(const ref Loc loc, InitKind kind) { this.loc = loc; this.kind = kind; } // this should be abstract and implemented in child classes Expression toExpression(Type t = null) { return null; } final ExpInitializer isExpInitializer() { return kind == InitKind.exp ? cast(ExpInitializer)cast(void*)this : null; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ExpInitializer : Initializer { Expression exp; extern (D) this(const ref Loc loc, Expression exp) { super(loc, InitKind.exp); this.exp = exp; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class StructInitializer : Initializer { Identifiers field; Initializers value; extern (D) this(const ref Loc loc) { super(loc, InitKind.struct_); } void addInit(Identifier field, Initializer value) { this.field.push(field); this.value.push(value); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class ArrayInitializer : Initializer { Expressions index; Initializers value; uint dim; Type type; extern (D) this(const ref Loc loc) { super(loc, InitKind.array); } void addInit(Expression index, Initializer value) { this.index.push(index); this.value.push(value); dim = 0; type = null; } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class VoidInitializer : Initializer { extern (D) this(const ref Loc loc) { super(loc, InitKind.void_); } override void accept(Visitor v) { v.visit(this); } } extern (C++) final class Tuple : RootObject { Objects objects; // kludge for template.isType() override DYNCAST dyncast() const { return DYNCAST.tuple; } override const(char)* toChars() const { return objects.toChars(); } } struct BaseClass { Type type; } struct ModuleDeclaration { Loc loc; Identifier id; Identifiers *packages; bool isdeprecated; Expression msg; extern (D) this(const ref Loc loc, Identifiers* packages, Identifier id, Expression msg, bool isdeprecated) { this.loc = loc; this.packages = packages; this.id = id; this.msg = msg; this.isdeprecated = isdeprecated; } extern (C++) const(char)* toChars() const { OutBuffer buf; if (packages && packages.dim) { for (size_t i = 0; i < packages.dim; i++) { const Identifier pid = (*packages)[i]; buf.writestring(pid.toString()); buf.writeByte('.'); } } buf.writestring(id.toString()); return buf.extractChars(); } } struct Prot { enum Kind : ubyte { undefined, none, private_, package_, protected_, public_, export_, } Kind kind; Package pkg; } struct Scope { } static extern (C++) Tuple isTuple(RootObject o) { //return dynamic_cast<Tuple *>(o); if (!o || o.dyncast() != DYNCAST.tuple) return null; return cast(Tuple)o; } static extern (C++) Type isType(RootObject o) { if (!o || o.dyncast() != DYNCAST.type) return null; return cast(Type)o; } static extern (C++) Expression isExpression(RootObject o) { if (!o || o.dyncast() != DYNCAST.expression) return null; return cast(Expression)o; } static extern (C++) TemplateParameter isTemplateParameter(RootObject o) { if (!o || o.dyncast() != DYNCAST.templateparameter) return null; return cast(TemplateParameter)o; } static const(char)* protectionToChars(Prot.Kind kind) { final switch (kind) { case Prot.Kind.undefined: return null; case Prot.Kind.none: return "none"; case Prot.Kind.private_: return "private"; case Prot.Kind.package_: return "package"; case Prot.Kind.protected_: return "protected"; case Prot.Kind.public_: return "public"; case Prot.Kind.export_: return "export"; } } static bool stcToBuffer(OutBuffer* buf, StorageClass stc) { bool result = false; if ((stc & (STC.return_ | STC.scope_)) == (STC.return_ | STC.scope_)) stc &= ~STC.scope_; while (stc) { const(char)* p = stcToChars(stc); if (!p) // there's no visible storage classes break; if (!result) result = true; else buf.writeByte(' '); buf.writestring(p); } return result; } static extern (C++) Expression typeToExpression(Type t) { return t.toExpression; } static const(char)* stcToChars(ref StorageClass stc) { struct SCstring { StorageClass stc; TOK tok; const(char)* id; } __gshared SCstring* table = [ SCstring(STC.auto_, TOK.auto_), SCstring(STC.scope_, TOK.scope_), SCstring(STC.static_, TOK.static_), SCstring(STC.extern_, TOK.extern_), SCstring(STC.const_, TOK.const_), SCstring(STC.final_, TOK.final_), SCstring(STC.abstract_, TOK.abstract_), SCstring(STC.synchronized_, TOK.synchronized_), SCstring(STC.deprecated_, TOK.deprecated_), SCstring(STC.override_, TOK.override_), SCstring(STC.lazy_, TOK.lazy_), SCstring(STC.alias_, TOK.alias_), SCstring(STC.out_, TOK.out_), SCstring(STC.in_, TOK.in_), SCstring(STC.manifest, TOK.enum_), SCstring(STC.immutable_, TOK.immutable_), SCstring(STC.shared_, TOK.shared_), SCstring(STC.nothrow_, TOK.nothrow_), SCstring(STC.wild, TOK.inout_), SCstring(STC.pure_, TOK.pure_), SCstring(STC.ref_, TOK.ref_), SCstring(STC.tls), SCstring(STC.gshared, TOK.gshared), SCstring(STC.nogc, TOK.at, "@nogc"), SCstring(STC.property, TOK.at, "@property"), SCstring(STC.safe, TOK.at, "@safe"), SCstring(STC.trusted, TOK.at, "@trusted"), SCstring(STC.system, TOK.at, "@system"), SCstring(STC.live, TOK.at, "@live"), SCstring(STC.disable, TOK.at, "@disable"), SCstring(STC.future, TOK.at, "@__future"), SCstring(0, TOK.reserved) ]; for (int i = 0; table[i].stc; i++) { StorageClass tbl = table[i].stc; assert(tbl & STCStorageClass); if (stc & tbl) { stc &= ~tbl; if (tbl == STC.tls) // TOKtls was removed return "__thread"; TOK tok = table[i].tok; if (tok == TOK.at) return table[i].id; else return Token.toChars(tok); } } //printf("stc = %llx\n", stc); return null; } static const(char)* linkageToChars(LINK linkage) { final switch (linkage) { case LINK.default_: case LINK.system: return null; case LINK.d: return "D"; case LINK.c: return "C"; case LINK.cpp: return "C++"; case LINK.windows: return "Windows"; case LINK.pascal: return "Pascal"; case LINK.objc: return "Objective-C"; } } struct Target { extern (C++) __gshared int ptrsize; extern (C++) static Type va_listType(const ref Loc loc, Scope* sc) { if (global.params.isWindows) { return Type.tchar.pointerTo(); } else if (global.params.isLinux || global.params.isFreeBSD || global.params.isOpenBSD || global.params.isDragonFlyBSD || global.params.isSolaris || global.params.isOSX) { if (global.params.is64bit) { return (new TypeIdentifier(Loc.initial, Identifier.idPool("__va_list_tag"))).pointerTo(); } else { return Type.tchar.pointerTo(); } } else { assert(0); } } } }
D
/******************************************************************************* * D ncurses panel class wrappers * * Authors: Matthew Soucy, msoucy@csh.rit.edu * Date: Jan 11, 2013 * Version: 0.0.1 */ module metus.dncurses.extras.panel; import metus.dncurses.window; private import ncp = deimos.ncurses.panel; /// ncurses panel wrapper class class Panel { private: Window m_win; Panel m_above; Panel m_below; ncp.PANEL* m_raw; public: alias m_win this; /** * Create a Panel around a window * * Params: * win = The window to wrap */ this(Window win...) { m_win = win; m_raw = ncp.new_panel(win.raw); } ~this() { ncp.del_panel(m_raw); } /** * Hide a panel from being displayed */ void hide() { if(ncp.hide_panel(m_raw) == nc.ERR) { throw new NCursesException("Cannot hide panel"); } } /** * Display a panel */ void show() { if(ncp.show_panel(m_raw) == nc.ERR) { throw new NCursesException("Cannot show panel"); } } /** * Check to see if a panel is hidden * Returns: true if the panel is hidden, false otherwise */ bool hidden() @property { return !!ncp.panel_hidden(m_raw); } /** * Move a panel to the top of the display stack */ void top() { if(ncp.top_panel(m_raw) == nc.ERR) { throw new NCursesException("Cannot move panel to top"); } } /** * Move a panel to the bottom of the display stack */ void bottom() { if(ncp.bottom_panel(m_raw) == nc.ERR) { throw new NCursesException("Cannot move panel to bottom"); } } /** * Get the panel directly above this panel * * Returns: The panel above */ Panel above() @property pure nothrow {return m_above;} /** * Get the panel directly below this panel * * Returns: The panel below */ Panel below() @property pure nothrow {return m_below;} //////////////////////////////////////////////////////////////////////////// // Override Window functions //////////////////////////////////////////////////////////////////////////// /** * Move the current window * * The current window is moved relative to the screen. * Coordinates are given for the top left corner of the window * * Params: * @param y The row to move to * @param x The column to move to */ void move(int y, int x) { if(ncp.move_panel(m_raw, y, x) != nc.OK) { throw new NCursesException("Could not move panel to correct location"); } } /** * Refresh the panel display stack */ void refresh() { ncp.update_panels(); if(nc.doupdate() != nc.OK) { throw new NCursesException("Could not refresh window"); } } }
D
module dlangide.ui.wspanel; import dlangui; import dlangide.workspace.workspace; import dlangide.workspace.project; import dlangide.ui.commands; enum ProjectItemType : int { None, SourceFile, SourceFolder, Project, Workspace } interface SourceFileSelectionHandler { bool onSourceFileSelected(ProjectSourceFile file, bool activate); } interface WorkspaceActionHandler { bool onWorkspaceAction(const Action a); } class WorkspacePanel : DockWindow { protected Workspace _workspace; protected TreeWidget _tree; /// handle source file selection change Signal!SourceFileSelectionHandler sourceFileSelectionListener; Signal!WorkspaceActionHandler workspaceActionListener; this(string id) { super(id); workspace = null; //layoutWidth = 200; _caption.text = "Workspace Explorer"d; } bool selectItem(ProjectItem projectItem) { if (projectItem) { TreeItem item = _tree.findItemById(projectItem.filename); if (item) { _tree.selectItem(item); return true; } } else { _tree.clearSelection(); return true; } return false; } void onTreeItemSelected(TreeItems source, TreeItem selectedItem, bool activated) { if (!selectedItem) return; if (_workspace) { // save selected item id ProjectItem item = cast(ProjectItem)selectedItem.objectParam; if (item) { string id = item.filename; if (id) _workspace.selectedWorkspaceItem = id; } } if (selectedItem.intParam == ProjectItemType.SourceFile) { // file selected if (sourceFileSelectionListener.assigned) { ProjectSourceFile sourceFile = cast(ProjectSourceFile)selectedItem.objectParam; if (sourceFile) { sourceFileSelectionListener(sourceFile, activated); } } } else if (selectedItem.intParam == ProjectItemType.SourceFolder) { // folder selected } } override protected Widget createBodyWidget() { _tree = new TreeWidget("wstree", ScrollBarMode.Auto, ScrollBarMode.Auto); _tree.layoutHeight(FILL_PARENT).layoutHeight(FILL_PARENT); _tree.selectionChange = &onTreeItemSelected; _tree.expandedChange.connect(&onTreeExpandedStateChange); _tree.fontSize = 16; _tree.noCollapseForSingleTopLevelItem = true; _tree.popupMenu = &onTreeItemPopupMenu; _workspacePopupMenu = new MenuItem(); _workspacePopupMenu.add(ACTION_PROJECT_FOLDER_REFRESH, ACTION_FILE_WORKSPACE_CLOSE); _projectPopupMenu = new MenuItem(); _projectPopupMenu.add(ACTION_PROJECT_SET_STARTUP, ACTION_PROJECT_FOLDER_REFRESH, ACTION_FILE_NEW_SOURCE_FILE, //ACTION_PROJECT_FOLDER_OPEN_ITEM, ACTION_PROJECT_BUILD, ACTION_PROJECT_REBUILD, ACTION_PROJECT_CLEAN, ACTION_PROJECT_UPDATE_DEPENDENCIES, ACTION_PROJECT_REVEAL_IN_EXPLORER, ACTION_PROJECT_SETTINGS, //ACTION_PROJECT_FOLDER_REMOVE_ITEM ); _folderPopupMenu = new MenuItem(); _folderPopupMenu.add(ACTION_FILE_NEW_SOURCE_FILE, ACTION_PROJECT_FOLDER_REFRESH, ACTION_PROJECT_FOLDER_OPEN_ITEM, //ACTION_PROJECT_FOLDER_REMOVE_ITEM, //ACTION_PROJECT_FOLDER_RENAME_ITEM ); _filePopupMenu = new MenuItem(); _filePopupMenu.add(ACTION_FILE_NEW_SOURCE_FILE, ACTION_PROJECT_FOLDER_REFRESH, ACTION_PROJECT_FOLDER_OPEN_ITEM, ACTION_PROJECT_FOLDER_REMOVE_ITEM, //ACTION_PROJECT_FOLDER_RENAME_ITEM ); return _tree; } protected MenuItem _workspacePopupMenu; protected MenuItem _projectPopupMenu; protected MenuItem _folderPopupMenu; protected MenuItem _filePopupMenu; protected string _popupMenuSelectedItemId; protected void onPopupMenuItem(MenuItem item) { if (item.action) handleAction(item.action); } protected MenuItem onTreeItemPopupMenu(TreeItems source, TreeItem selectedItem) { MenuItem menu = null; _popupMenuSelectedItemId = selectedItem.id; if (selectedItem.intParam == ProjectItemType.SourceFolder) { menu = _folderPopupMenu; } else if (selectedItem.intParam == ProjectItemType.SourceFile) { menu = _filePopupMenu; } else if (selectedItem.intParam == ProjectItemType.Project) { menu = _projectPopupMenu; } else if (selectedItem.intParam == ProjectItemType.Workspace) { menu = _workspacePopupMenu; } if (menu && menu.subitemCount) { for (int i = 0; i < menu.subitemCount; i++) { Action a = menu.subitem(i).action.clone(); a.objectParam = selectedItem.objectParam; menu.subitem(i).action = a; //menu.subitem(i).menuItemAction = &handleAction; } //menu.onMenuItem = &onPopupMenuItem; //menu.menuItemClick = &onPopupMenuItem; menu.menuItemAction = &handleAction; menu.updateActionState(this); return menu; } return null; } @property Workspace workspace() { return _workspace; } /// returns currently selected project item @property ProjectItem selectedProjectItem() { TreeItem ti = _tree.items.selectedItem; if (!ti) return null; Object obj = ti.objectParam; if (!obj) return null; return cast(ProjectItem)obj; } ProjectSourceFile findSourceFileItem(string filename, bool fullFileName=true) { if (_workspace) return _workspace.findSourceFileItem(filename, fullFileName); return null; } void addProjectItems(TreeItem root, ProjectItem items) { for (int i = 0; i < items.childCount; i++) { ProjectItem child = items.child(i); if (child.isFolder) { TreeItem p = root.newChild(child.filename, child.name, "folder"); p.intParam = ProjectItemType.SourceFolder; p.objectParam = child; if (restoreItemState(child.filename)) p.expand(); else p.collapse(); addProjectItems(p, child); } else { string icon = "text-other"; if (child.isDSourceFile) icon = "text-d"; if (child.isJsonFile) icon = "text-json"; if (child.isDMLFile) icon = "text-dml"; TreeItem p = root.newChild(child.filename, child.name, icon); p.intParam = ProjectItemType.SourceFile; p.objectParam = child; } } } void updateDefault() { TreeItem defaultItem = null; if (_workspace && _tree.items.childCount && _workspace.startupProject) { for (int i = 0; i < _tree.items.child(0).childCount; i++) { TreeItem p = _tree.items.child(0).child(i); if (p.objectParam is _workspace.startupProject) defaultItem = p; } } _tree.items.setDefaultItem(defaultItem); } protected bool[string] _itemStates; protected bool _itemStatesDirty; protected void readExpandedStateFromWorkspace() { _itemStates.clear(); if (_workspace) { string[] items = _workspace.expandedItems; foreach(item; items) _itemStates[item] = true; } } protected void saveItemState(string itemPath, bool expanded) { bool changed = restoreItemState(itemPath) != expanded; if (!_itemStatesDirty && changed) _itemStatesDirty = true; if (changed) { if (expanded) { _itemStates[itemPath] = true; } else { _itemStates.remove(itemPath); } string[] items; items.assumeSafeAppend; foreach(k,v; _itemStates) { items ~= k; } _workspace.expandedItems = items; } debug Log.d("stored Expanded state ", expanded, " for ", itemPath); } protected bool restoreItemState(string itemPath) { if (auto p = itemPath in _itemStates) { debug Log.d("restored Expanded state for ", itemPath); return *p; } return false; } void onTreeExpandedStateChange(TreeItems source, TreeItem item) { bool expanded = item.expanded; ProjectItem prjItem = cast(ProjectItem)item.objectParam; if (prjItem) { string fn = prjItem.filename; debug Log.d("onTreeExpandedStateChange expanded=", expanded, " fn=", fn); saveItemState(fn, expanded); } } void reloadItems() { _tree.expandedChange.disconnect(&onTreeExpandedStateChange); _tree.clearAllItems(); if (_workspace) { TreeItem defaultItem = null; TreeItem root = _tree.items.newChild(_workspace.filename, _workspace.name, "project-development"); root.intParam = ProjectItemType.Workspace; foreach(project; _workspace.projects) { TreeItem p = root.newChild(project.filename, project.name, project.isDependency ? "project-d-dependency" : "project-d"); p.intParam = ProjectItemType.Project; p.objectParam = project; if (restoreItemState(project.filename)) p.expand(); else p.collapse(); if (project && _workspace.startupProject is project) defaultItem = p; addProjectItems(p, project.items); } _tree.items.setDefaultItem(defaultItem); } else { _tree.items.newChild("none", "No workspace"d, "project-development"); } _tree.expandedChange.connect(&onTreeExpandedStateChange); // expand default project if no information about expanded items if (!_itemStates.length) { if (_workspace && _workspace.startupProject) { string fn = _workspace.startupProject.filename; TreeItem startupProjectItem = _tree.items.findItemById(fn); if (startupProjectItem) { startupProjectItem.expand(); saveItemState(fn, true); } } } if (_workspace) { // restore selection string id = _workspace.selectedWorkspaceItem; _tree.selectItem(id); } updateDefault(); } @property void workspace(Workspace w) { _workspace = w; readExpandedStateFromWorkspace(); reloadItems(); } /// override to handle specific actions override bool handleAction(const Action a) { if (workspaceActionListener.assigned) return workspaceActionListener(a); return false; } override protected bool onCloseButtonClick(Widget source) { hide(); return true; } /// hide workspace panel void hide() { visibility = Visibility.Gone; parent.layout(parent.pos); } // activate workspace panel if hidden void activate() { if (visibility == Visibility.Gone) { visibility = Visibility.Visible; parent.layout(parent.pos); } setFocus(); } }
D
/Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/Objects-normal/x86_64/ProductCategory+CoreDataProperties.o : /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Wireframe/CategoryListWireFrame.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/CoreDataStore.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/AppDelegate.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/Heady+CoreDataModel.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Util.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryTableViewCell.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Protocols/CategoryListProtocol.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Remote/CategoryListRemoteDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Local/CategoriesLocalDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/ViewController.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Presenter/CategoryListPresenter.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/PersistanceError.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Interactor/CategoryListInteractor.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataProperties.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataClass.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Constants.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Product.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Variant.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryListView.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/ProductCategory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/PKHUD.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/CoreData.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/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-umbrella.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-Swift.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/Objects-normal/x86_64/ProductCategory+CoreDataProperties~partial.swiftmodule : /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Wireframe/CategoryListWireFrame.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/CoreDataStore.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/AppDelegate.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/Heady+CoreDataModel.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Util.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryTableViewCell.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Protocols/CategoryListProtocol.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Remote/CategoryListRemoteDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Local/CategoriesLocalDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/ViewController.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Presenter/CategoryListPresenter.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/PersistanceError.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Interactor/CategoryListInteractor.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataProperties.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataClass.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Constants.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Product.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Variant.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryListView.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/ProductCategory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/PKHUD.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/CoreData.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/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-umbrella.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-Swift.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/Objects-normal/x86_64/ProductCategory+CoreDataProperties~partial.swiftdoc : /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Wireframe/CategoryListWireFrame.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/CoreDataStore.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/AppDelegate.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/Heady+CoreDataModel.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Util.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryTableViewCell.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Protocols/CategoryListProtocol.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Remote/CategoryListRemoteDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Local/CategoriesLocalDataManager.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/ViewController.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Presenter/CategoryListPresenter.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/PersistanceError.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/Interactor/CategoryListInteractor.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataProperties.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Heady.build/Debug-iphonesimulator/Heady.build/DerivedSources/CoreDataGenerated/Heady/ProductCategory+CoreDataClass.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Common/Constants.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Product.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/Variant.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Categories/View/CategoryListView.swift /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/Heady/Entities/ProductCategory.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/PKHUD.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/CoreData.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/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-umbrella.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Headers/PKHUD-Swift.h /Users/deepapatil/Desktop/Heady_Assignment/iOS/Heady/build/Debug-iphonesimulator/PKHUD/PKHUD.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
# FIXED PROFILES/gatt_uuid.obj: C:/ti/simplelink/ble_sdk_2_02_01_18/src/host/gatt_uuid.c PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/comdef.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/hal_types.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/../_common/cc26xx/_hal_types.h PROFILES/gatt_uuid.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/stdint.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/inc/hal_defs.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/osal.h PROFILES/gatt_uuid.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/limits.h PROFILES/gatt_uuid.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/yvals.h PROFILES/gatt_uuid.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/stdarg.h PROFILES/gatt_uuid.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/linkage.h PROFILES/gatt_uuid.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/_lock.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/OSAL_Memory.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/OSAL_Timers.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/icall/src/inc/ICall.h PROFILES/gatt_uuid.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/stdbool.h PROFILES/gatt_uuid.obj: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/stdlib.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/inc/hal_assert.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/hal_types.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/gatt.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/bcomdef.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/att.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/l2cap.h PROFILES/gatt_uuid.obj: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/gatt_uuid.h C:/ti/simplelink/ble_sdk_2_02_01_18/src/host/gatt_uuid.c: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/comdef.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/hal_types.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/../_common/cc26xx/_hal_types.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/stdint.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/inc/hal_defs.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/osal.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/limits.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/yvals.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/stdarg.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/linkage.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/_lock.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/OSAL_Memory.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc/OSAL_Timers.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/icall/src/inc/ICall.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/stdbool.h: C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9/include/stdlib.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/inc/hal_assert.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/hal_types.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/gatt.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/bcomdef.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/att.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/l2cap.h: c:/ti/simplelink/ble_sdk_2_02_01_18/src/inc/gatt_uuid.h:
D
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.0 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ module vtkAtom; static import vtkd_im; static import core.stdc.config; static import std.conv; static import std.string; static import std.conv; static import std.string; static import SWIGTYPE_p_ostream; static import vtkIndent; static import vtkMolecule; static import SWIGTYPE_p_float; static import SWIGTYPE_p_double; static import vtkVector3f; class vtkAtom { private void* swigCPtr; protected bool swigCMemOwn; public this(void* cObject, bool ownCObject) { swigCPtr = cObject; swigCMemOwn = ownCObject; } public static void* swigGetCPtr(vtkAtom obj) { return (obj is null) ? null : obj.swigCPtr; } mixin vtkd_im.SwigOperatorDefinitions; ~this() { dispose(); } public void dispose() { synchronized(this) { if (swigCPtr !is null) { if (swigCMemOwn) { swigCMemOwn = false; vtkd_im.delete_vtkAtom(cast(void*)swigCPtr); } swigCPtr = null; } } } public void PrintSelf(SWIGTYPE_p_ostream.SWIGTYPE_p_ostream os, vtkIndent.vtkIndent indent) { vtkd_im.vtkAtom_PrintSelf(cast(void*)swigCPtr, SWIGTYPE_p_ostream.SWIGTYPE_p_ostream.swigGetCPtr(os), vtkIndent.vtkIndent.swigGetCPtr(indent)); if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); } public long GetId() const { auto ret = vtkd_im.vtkAtom_GetId(cast(void*)swigCPtr); return ret; } public vtkMolecule.vtkMolecule GetMolecule() { void* cPtr = vtkd_im.vtkAtom_GetMolecule(cast(void*)swigCPtr); vtkMolecule.vtkMolecule ret = (cPtr is null) ? null : new vtkMolecule.vtkMolecule(cPtr, false); return ret; } public ushort GetAtomicNumber() const { auto ret = vtkd_im.vtkAtom_GetAtomicNumber(cast(void*)swigCPtr); return ret; } public void SetAtomicNumber(ushort atomicNum) { vtkd_im.vtkAtom_SetAtomicNumber(cast(void*)swigCPtr, atomicNum); } public void GetPosition(SWIGTYPE_p_float.SWIGTYPE_p_float pos) const { vtkd_im.vtkAtom_GetPosition__SWIG_0(cast(void*)swigCPtr, SWIGTYPE_p_float.SWIGTYPE_p_float.swigGetCPtr(pos)); } public void GetPosition(SWIGTYPE_p_double.SWIGTYPE_p_double pos) const { vtkd_im.vtkAtom_GetPosition__SWIG_1(cast(void*)swigCPtr, SWIGTYPE_p_double.SWIGTYPE_p_double.swigGetCPtr(pos)); } public void SetPosition(SWIGTYPE_p_float.SWIGTYPE_p_float pos) { vtkd_im.vtkAtom_SetPosition__SWIG_0(cast(void*)swigCPtr, SWIGTYPE_p_float.SWIGTYPE_p_float.swigGetCPtr(pos)); } public void SetPosition(float x, float y, float z) { vtkd_im.vtkAtom_SetPosition__SWIG_1(cast(void*)swigCPtr, x, y, z); } public vtkVector3f.vtkVector3f GetPosition() const { vtkVector3f.vtkVector3f ret = new vtkVector3f.vtkVector3f(vtkd_im.vtkAtom_GetPosition__SWIG_2(cast(void*)swigCPtr), true); return ret; } public void SetPosition(vtkVector3f.vtkVector3f pos) { vtkd_im.vtkAtom_SetPosition__SWIG_2(cast(void*)swigCPtr, vtkVector3f.vtkVector3f.swigGetCPtr(pos)); if (vtkd_im.SwigPendingException.isPending) throw vtkd_im.SwigPendingException.retrieve(); } }
D
/Users/pravalika/Desktop/BlockIT/build/BlockIT.build/Debug-iphonesimulator/BlockIT.build/Objects-normal/x86_64/AppDelegate.o : /Users/pravalika/Desktop/BlockIT/BlockIT/SharedFile.swift /Users/pravalika/Desktop/BlockIT/BlockIT/AppDelegate.swift /Users/pravalika/Desktop/BlockIT/BlockIT/MainViewController.swift /Users/pravalika/Desktop/BlockIT/BlockIT/LoginViewController.swift /Users/pravalika/Desktop/BlockIT/BlockIT/SignUpViewController.swift /Users/pravalika/Desktop/BlockIT/BlockIT/ListViewController.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/CoreData.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 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/pravalika/Desktop/BlockIT/build/BlockIT.build/Debug-iphonesimulator/BlockIT.build/Objects-normal/x86_64/AppDelegate~partial.swiftmodule : /Users/pravalika/Desktop/BlockIT/BlockIT/SharedFile.swift /Users/pravalika/Desktop/BlockIT/BlockIT/AppDelegate.swift /Users/pravalika/Desktop/BlockIT/BlockIT/MainViewController.swift /Users/pravalika/Desktop/BlockIT/BlockIT/LoginViewController.swift /Users/pravalika/Desktop/BlockIT/BlockIT/SignUpViewController.swift /Users/pravalika/Desktop/BlockIT/BlockIT/ListViewController.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/CoreData.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 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/pravalika/Desktop/BlockIT/build/BlockIT.build/Debug-iphonesimulator/BlockIT.build/Objects-normal/x86_64/AppDelegate~partial.swiftdoc : /Users/pravalika/Desktop/BlockIT/BlockIT/SharedFile.swift /Users/pravalika/Desktop/BlockIT/BlockIT/AppDelegate.swift /Users/pravalika/Desktop/BlockIT/BlockIT/MainViewController.swift /Users/pravalika/Desktop/BlockIT/BlockIT/LoginViewController.swift /Users/pravalika/Desktop/BlockIT/BlockIT/SignUpViewController.swift /Users/pravalika/Desktop/BlockIT/BlockIT/ListViewController.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/CoreData.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 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module example; import std.conv, std.stdio; import imaged.jpeg, imaged.png, imaged.image; import derelict.opengl.gl; import glui.window, glui.event, glui.truetype, glui.widget.base, glui.widget.tree; int main() { Window("window1", WindowState(0,0,1000,700), Flag!"Create".yes, Flag!"Show".yes); Window.makeCurrent("window1"); Window().setTitle("GLUI"); auto droidFont = loadFont("../media/fonts/DroidSansMono.ttf", 12); glViewport(0,0,1000,700); glClearColor(0,0,0,1); WidgetRoot root = new WidgetRoot(Window("window1")); scope(exit) root.destroy(); //auto highlighter = new DSyntaxHighlighter; auto textl = root.create!WidgetText(null, "font", droidFont, "dim", [480, 680], "pos", [10,10], "texture", loadTexture("../media/images/dark1.png"), "bordercolor", RGBA(1,1,1,1), "scrollBackground", RGBA(0,0,0,.2), "scrollForeground", RGBA(.6,.6,.6,.8), "editable", true, "vscroll", true, "drag", true); auto layout = root.create!WidgetTree(null, "dim", [300, 400], "pos", [500,10], "background", RGBA(207,169,219,255), "bordercolor", RGBA(1,1,1,1), "resize", ResizeFlag.X | ResizeFlag.Y, "clipToScrollBar", false, "scrollFade", false, "scrollforeground", RGBA(0,0,0,1), "scrollborder", RGBA(1,1,1,1)); foreach(i; 0..5) { auto branch = layout.root.create!WidgetLabel(null, "font", droidFont, "text", "Level 0, Item " ~ i.to!string, "dim", [200,25], "background", RGBA(133,86,206,255)); layout.add(null, branch, Flag!"NoUpdate".yes); foreach(j; 0..5) { auto lab = root.create!WidgetLabel(null, "font", droidFont, "text", "Level 1, Item " ~ j.to!string, "dim", [200,20], "fixedwidth", true, "cornerRadius", 15, "bordercolor", RGBA(0,0,0,1), "background", RGBA(86,123,204,255)); layout.add(branch, lab, Flag!"NoUpdate".yes); foreach(k; 0..5) { auto leaf = root.create!WidgetLabel(null, "font", droidFont, "text", "Level 2, Item " ~ k.to!string, "dim", [200,25], "background", RGBA(153,31,131,255)); layout.add(lab, leaf, Flag!"NoUpdate".yes); } } } layout.update(); bool finish = false; while (!finish) { root.poll(); if (Window().keyState().keys[KEY.KC_ESCAPE]) finish = true; } return 0; }
D
func void B_RestartFreeze() { if((Npc_GetLastHitSpellID(self) == SPL_IceCube) || (Npc_GetLastHitSpellID(self) == SPL_IceWave)) { Npc_SetStateTime(self,0); }; }; func void B_StopMagicFreeze() { Npc_PercEnable(self,PERC_ASSESSMAGIC,B_AssessMagic); Npc_ClearAIQueue(self); AI_Standup(self); if(self.guild < GIL_SEPERATOR_HUM) { B_AssessDamage(); } else { Npc_SetTempAttitude(self,ATT_HOSTILE); }; }; func int ZS_MagicFreeze() { Npc_PercEnable(self,PERC_ASSESSMAGIC,B_RestartFreeze); Npc_StopAni(self,"S_FIRE_VICTIM"); if(!C_BodyStateContains(self,BS_UNCONSCIOUS)) { AI_PlayAniBS(self,"T_STAND_2_FREEZE_VICTIM",BS_UNCONSCIOUS); }; self.aivar[AIV_FreezeStateTime] = 0; }; func int ZS_MagicFreeze_Loop() { if(Npc_GetStateTime(self) > SPL_TIME_FREEZE) { B_StopMagicFreeze(); return LOOP_END; }; if(Npc_GetStateTime(self) != self.aivar[AIV_FreezeStateTime]) { self.aivar[AIV_FreezeStateTime] = Npc_GetStateTime(self); if(self.attribute[ATR_HITPOINTS] > (self.attribute[ATR_HITPOINTS] - SPL_FREEZE_DAMAGE)) { if((self.guild == GIL_FIREGOLEM) || (self.aivar[AIV_MM_REAL_ID] == ID_FIREWARAN) || (self.aivar[AIV_MM_REAL_ID] == ID_DRAGON_FIRE)) { B_MagicHurtNpc(other,self,SPL_FREEZE_DAMAGE * 2); return LOOP_CONTINUE; }; if((self.guild == GIL_ICEGOLEM) || (self.aivar[AIV_MM_REAL_ID] == ID_DRAGON_ICE)) { B_MagicHurtNpc(other,self,SPL_FREEZE_DAMAGE / 2); return LOOP_CONTINUE; }; B_MagicHurtNpc(other,self,SPL_FREEZE_DAMAGE); }; }; return LOOP_CONTINUE; }; func void ZS_MagicFreeze_End() { };
D
/Users/abdirrahman/Desktop/snakegame/target/rls/debug/deps/ordered_float-7da7a5b3e7ed20b9.rmeta: /Users/abdirrahman/.cargo/registry/src/github.com-1ecc6299db9ec823/ordered-float-1.1.0/src/lib.rs /Users/abdirrahman/Desktop/snakegame/target/rls/debug/deps/ordered_float-7da7a5b3e7ed20b9.d: /Users/abdirrahman/.cargo/registry/src/github.com-1ecc6299db9ec823/ordered-float-1.1.0/src/lib.rs /Users/abdirrahman/.cargo/registry/src/github.com-1ecc6299db9ec823/ordered-float-1.1.0/src/lib.rs:
D
module dinu.command.command; import dinu; __gshared: enum Type { none, script, desktop, history, file, directory, output, special, bashCompletion, processInfo } class Command { string name; Type type; string color; string parameter; protected this(){} this(string name){ this.name = name; type = Type.file; color = options.colorFile; } string serialize(){ return name; } string text(){ return name; } string filterText(){ return name; } string hint(){ return ""; } size_t score(){ return 0; } abstract void run(); int draw(DrawingContext dc, int[2] pos, bool selected){ int origX = pos.x; pos.x += dc.text(pos, text, color); pos.x += dc.text(pos, ' ' ~ parameter, options.colorInput); return pos.x-origX; } void spawnCommand(string command, string arguments=""){ options.configPath.execute(type.to!string, serialize.replace("!", "\\!"), command, arguments.replace("!", "\\!")); } }
D
/++ Old version of my http implementation. I no longer work on this, use http2.d instead. +/ deprecated module arsd.http; import std.socket; // FIXME: check Transfer-Encoding: gzip always version(with_openssl) { pragma(lib, "crypto"); pragma(lib, "ssl"); } ubyte[] getBinary(string url, string[string] cookies = null) { auto hr = httpRequest("GET", url, null, cookies); if(hr.code != 200) throw new Exception(format("HTTP answered %d instead of 200 on %s", hr.code, url)); return hr.content; } /** Gets a textual document, ignoring headers. Throws on non-text or error. */ string get(string url, string[string] cookies = null) { auto hr = httpRequest("GET", url, null, cookies); if(hr.code != 200) throw new Exception(format("HTTP answered %d instead of 200 on %s", hr.code, url)); if(hr.contentType.indexOf("text/") == -1) throw new Exception(hr.contentType ~ " is bad content for conversion to string"); return cast(string) hr.content; } static import std.uri; string post(string url, string[string] args, string[string] cookies = null) { string content; foreach(name, arg; args) { if(content.length) content ~= "&"; content ~= std.uri.encode(name) ~ "=" ~ std.uri.encode(arg); } auto hr = httpRequest("POST", url, cast(ubyte[]) content, cookies, ["Content-Type: application/x-www-form-urlencoded"]); if(hr.code != 200) throw new Exception(format("HTTP answered %d instead of 200", hr.code)); if(hr.contentType.indexOf("text/") == -1) throw new Exception(hr.contentType ~ " is bad content for conversion to string"); return cast(string) hr.content; } struct HttpResponse { int code; string contentType; string[string] cookies; string[] headers; ubyte[] content; } import std.string; static import std.algorithm; import std.conv; struct UriParts { string original; string method; string host; ushort port; string path; bool useHttps; this(string uri) { original = uri; if(uri[0 .. 8] == "https://") useHttps = true; else if(uri[0..7] != "http://") throw new Exception("You must use an absolute, http or https URL."); version(with_openssl) {} else if(useHttps) throw new Exception("openssl support not compiled in try -version=with_openssl"); int start = useHttps ? 8 : 7; auto posSlash = uri[start..$].indexOf("/"); if(posSlash != -1) posSlash += start; if(posSlash == -1) posSlash = uri.length; auto posColon = uri[start..$].indexOf(":"); if(posColon != -1) posColon += start; if(useHttps) port = 443; else port = 80; if(posColon != -1 && posColon < posSlash) { host = uri[start..posColon]; port = to!ushort(uri[posColon+1..posSlash]); } else host = uri[start..posSlash]; path = uri[posSlash..$]; if(path == "") path = "/"; } } HttpResponse httpRequest(string method, string uri, const(ubyte)[] content = null, string[string] cookies = null, string[] headers = null) { import std.socket; auto u = UriParts(uri); // auto f = openNetwork(u.host, u.port); auto f = new TcpSocket(); f.connect(new InternetAddress(u.host, u.port)); void delegate(string) write = (string d) { f.send(d); }; char[4096] readBuffer; // rawRead actually blocks until it can fill up the whole buffer... which is broken as far as http goes so one char at a time i guess. slow lol char[] delegate() read = () { size_t num = f.receive(readBuffer); return readBuffer[0..num]; }; version(with_openssl) { import deimos.openssl.ssl; SSL* ssl; SSL_CTX* ctx; if(u.useHttps) { void sslAssert(bool ret){ if (!ret){ throw new Exception("SSL_ERROR"); } } SSL_library_init(); OpenSSL_add_all_algorithms(); SSL_load_error_strings(); ctx = SSL_CTX_new(SSLv3_client_method()); sslAssert(!(ctx is null)); ssl = SSL_new(ctx); SSL_set_fd(ssl, f.handle); sslAssert(SSL_connect(ssl) != -1); write = (string d) { SSL_write(ssl, d.ptr, cast(uint)d.length); }; read = () { auto len = SSL_read(ssl, readBuffer.ptr, readBuffer.length); return readBuffer[0 .. len]; }; } } HttpResponse response = doHttpRequestOnHelpers(write, read, method, uri, content, cookies, headers, u.useHttps); version(with_openssl) { if(u.useHttps) { SSL_free(ssl); SSL_CTX_free(ctx); } } return response; } /** Executes a generic http request, returning the full result. The correct formatting of the parameters are the caller's responsibility. Content-Length is added automatically, but YOU must give Content-Type! */ HttpResponse doHttpRequestOnHelpers(void delegate(string) write, char[] delegate() read, string method, string uri, const(ubyte)[] content = null, string[string] cookies = null, string[] headers = null, bool https = false) in { assert(method == "POST" || method == "GET"); } body { auto u = UriParts(uri); write(format("%s %s HTTP/1.1\r\n", method, u.path)); write(format("Host: %s\r\n", u.host)); write(format("Connection: close\r\n")); if(content !is null) write(format("Content-Length: %d\r\n", content.length)); if(cookies !is null) { string cookieHeader = "Cookie: "; bool first = true; foreach(k, v; cookies) { if(first) first = false; else cookieHeader ~= "; "; cookieHeader ~= std.uri.encodeComponent(k) ~ "=" ~ std.uri.encodeComponent(v); } write(format("%s\r\n", cookieHeader)); } if(headers !is null) foreach(header; headers) write(format("%s\r\n", header)); write("\r\n"); if(content !is null) write(cast(string) content); string buffer; string readln() { auto idx = buffer.indexOf("\r\n"); if(idx == -1) { auto more = read(); if(more.length == 0) { // end of file or something auto ret = buffer; buffer = null; return ret; } buffer ~= more; return readln(); } auto ret = buffer[0 .. idx + 2]; // + the \r\n if(idx + 2 < buffer.length) buffer = buffer[idx + 2 .. $]; else buffer = null; return ret; } HttpResponse hr; cont: string l = readln(); if(l[0..9] != "HTTP/1.1 ") throw new Exception("Not talking to a http server"); hr.code = to!int(l[9..12]); // HTTP/1.1 ### OK if(hr.code == 100) { // continue do { l = readln(); } while(l.length > 1); goto cont; } bool chunked = false; auto line = readln(); while(line.length) { if(line.strip.length == 0) break; hr.headers ~= line; if(line.startsWith("Content-Type: ")) hr.contentType = line[14..$-1]; if(line.startsWith("Set-Cookie: ")) { auto hdr = line["Set-Cookie: ".length .. $-1]; auto semi = hdr.indexOf(";"); if(semi != -1) hdr = hdr[0 .. semi]; auto equal = hdr.indexOf("="); string name, value; if(equal == -1) { name = hdr; // doesn't this mean erase the cookie? } else { name = hdr[0 .. equal]; value = hdr[equal + 1 .. $]; } name = std.uri.decodeComponent(name); value = std.uri.decodeComponent(value); hr.cookies[name] = value; } if(line.startsWith("Transfer-Encoding: chunked")) chunked = true; line = readln(); } // there might be leftover stuff in the line buffer ubyte[] response = cast(ubyte[]) buffer.dup; auto part = read(); while(part.length) { response ~= part; part = read(); } if(chunked) { // read the hex length, stopping at a \r\n, ignoring everything between the new line but after the first non-valid hex character // read binary data of that length. it is our content // repeat until a zero sized chunk // then read footers as headers. int state = 0; int size; int start = 0; for(int a = 0; a < response.length; a++) { final switch(state) { case 0: // reading hex char c = response[a]; if((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F')) { // just keep reading } else { int power = 1; size = 0; for(int b = a-1; b >= start; b--) { char cc = response[b]; if(cc >= 'a' && cc <= 'z') cc -= 0x20; int val = 0; if(cc >= '0' && cc <= '9') val = cc - '0'; else val = cc - 'A' + 10; size += power * val; power *= 16; } state++; continue; } break; case 1: // reading until end of line char c = response[a]; if(c == '\n') { if(size == 0) state = 3; else state = 2; } break; case 2: // reading data hr.content ~= response[a..a+size]; a += size; a+= 1; // skipping a 13 10 start = a + 1; state = 0; break; case 3: // reading footers goto done; // FIXME } } } else hr.content = response; done: return hr; } /* void main(string args[]) { write(post("http://arsdnet.net/bugs.php", ["test" : "hey", "again" : "what"])); } */ version(none): struct Url { string url; } struct BasicAuth { string username; string password; } /* When you send something, it creates a request and sends it asynchronously. The request object auto request = new HttpRequest(); // set any properties here // synchronous usage auto reply = request.perform(); // async usage, type 1: request.send(); request2.send(); // wait until the first one is done, with the second one still in-flight auto response = request.waitForCompletion(); // async usage, type 2: request.onDataReceived = (HttpRequest hr) { if(hr.state == HttpRequest.State.complete) { // use hr.responseData } }; request.send(); // send, using the callback // before terminating, be sure you wait for your requests to finish! request.waitForCompletion(); */ class HttpRequest { private static { // we manage the actual connections. When a request is made on a particular // host, we try to reuse connections. We may open more than one connection per // host to do parallel requests. // // The key is the *domain name*. Multiple domains on the same address will have separate connections. Socket[][string] socketsPerHost; // only one request can be active on a given socket (at least HTTP < 2.0) so this is that HttpRequest[Socket] activeRequestOnSocket; HttpRequest[] pending; // and these are the requests that are waiting SocketSet readSet; void advanceConnections() { if(readSet is null) readSet = new SocketSet(); // are there pending requests? let's try to send them readSet.reset(); // active requests need to be read or written to foreach(sock, request; activeRequestOnSocket) readSet.add(sock); // check the other sockets just for EOF, if they close, take them out of our list, // we'll reopen if needed upon request. auto got = Socket.select(readSet, writeSet, null, 10.seconds /* timeout */); if(got == 0) /* timeout */ {} else if(got == -1) /* interrupted */ {} else /* ready */ {} // call select(), do what needs to be done // no requests are active, send the ones pending connection now // we've completed a request, are there any more pending connection? if so, send them now auto readSet = new SocketSet(); } } this() { addConnection(this); } ~this() { removeConnection(this); } HttpResponse responseData; HttpRequestParameters parameters; private HttpClient parentClient; size_t bodyBytesSent; size_t bodyBytesReceived; State state; /// Called when data is received. Check the state to see what data is available. void delegate(AsynchronousHttpRequest) onDataReceived; enum State { /// The request has not yet been sent unsent, /// The send() method has been called, but no data is /// sent on the socket yet because the connection is busy. pendingAvailableConnection, /// The headers are being sent now sendingHeaders, /// The body is being sent now sendingBody, /// The request has been sent but we haven't received any response yet waitingForResponse, /// We have received some data and are currently receiving headers readingHeaders, /// All headers are available but we're still waiting on the body readingBody, /// The request is complete. complete, /// The request is aborted, either by the abort() method, or as a result of the server disconnecting aborted } /// Sends now and waits for the request to finish, returning the response. HttpResponse perform() { send(); return waitForCompletion(); } /// Sends the request asynchronously. void send() { if(state != State.unsent && state != State.aborted) return; // already sent responseData = HttpResponse.init; bodyBytesSent = 0; bodyBytesReceived = 0; state = State.pendingAvailableConnection; HttpResponse.advanceConnections(); } /// Waits for the request to finish or timeout, whichever comes furst. HttpResponse waitForCompletion() { while(state != State.aborted && state != State.complete) HttpResponse.advanceConnections(); return responseData; } /// Aborts this request. /// Due to the nature of the HTTP protocol, aborting one request will result in all subsequent requests made on this same connection to be aborted as well. void abort() { parentClient.close(); } } struct HttpRequestParameters { Duration timeout; // debugging bool useHttp11 = true; bool acceptGzip = true; // the request itself HttpVerb method; string host; string uri; string userAgent; string[string] cookies; string[] headers; /// do not duplicate host, content-length, content-type, or any others that have a specific property string contentType; ubyte[] bodyData; } interface IHttpClient { } enum HttpVerb { GET, HEAD, POST, PUT, DELETE, OPTIONS, TRACE, CONNECT } /* Usage: auto client = new HttpClient("localhost", 80); // relative links work based on the current url client.get("foo/bar"); client.get("baz"); // gets foo/baz auto request = client.get("rofl"); auto response = request.waitForCompletion(); */ /// HttpClient keeps cookies, location, and some other state to reuse connections, when possible, like a web browser. class HttpClient { /* Protocol restrictions, useful to disable when debugging servers */ bool useHttp11 = true; bool useGzip = true; /// Automatically follow a redirection? bool followLocation = false; @property Url location() { return currentUrl; } /// High level function that works similarly to entering a url /// into a browser. /// /// Follows locations, updates the current url. AsynchronousHttpRequest navigateTo(Url where) { currentUrl = where.basedOn(currentUrl); assert(0); } private Url currentUrl; this() { } this(Url url) { open(url); } this(string host, ushort port = 80, bool useSsl = false) { open(host, port); } // FIXME: add proxy // FIXME: some kind of caching void open(Url url) { } void open(string host, ushort port = 80, bool useSsl = false) { } void close() { socket.close(); } void setCookie(string name, string value) { } void clearCookies() { } HttpResponse sendSynchronously() { auto request = sendAsynchronously(); return request.waitForCompletion(); } AsynchronousHttpRequest sendAsynchronously() { } string method; string host; ushort port; string uri; string[] headers; ubyte[] requestBody; string userAgent; /* inter-request state */ string[string] cookies; } // FIXME: websocket
D
/Users/hazuki/Desktop/13/la/lifeistech/Count/DerivedData/Count/Build/Intermediates.noindex/Count.build/Debug-iphonesimulator/Count.build/Objects-normal/x86_64/ViewController.o : /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.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/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hazuki/Desktop/13/la/lifeistech/Count/DerivedData/Count/Build/Intermediates.noindex/Count.build/Debug-iphonesimulator/Count.build/Objects-normal/x86_64/ViewController~partial.swiftmodule : /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.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/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hazuki/Desktop/13/la/lifeistech/Count/DerivedData/Count/Build/Intermediates.noindex/Count.build/Debug-iphonesimulator/Count.build/Objects-normal/x86_64/ViewController~partial.swiftdoc : /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.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/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hazuki/Desktop/13/la/lifeistech/Count/DerivedData/Count/Build/Intermediates.noindex/Count.build/Debug-iphonesimulator/Count.build/Objects-normal/x86_64/ViewController~partial.swiftsourceinfo : /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/Count/Count/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.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/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.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 module gtkD.gtkc.giotypes; public import gtkD.gtkc.glibtypes; public import gtkD.gtkc.gobjecttypes; /** * Flags used when querying a GFileInfo. * G_FILE_QUERY_INFO_NONE */ public enum GFileQueryInfoFlags { NONE = 0, NOFOLLOW_SYMLINKS = (1 << 0) /+*< nick=nofollow-symlinks >+/ } alias GFileQueryInfoFlags FileQueryInfoFlags; /** * Flags used when an operation may create a file. * G_FILE_CREATE_NONE */ public enum GFileCreateFlags { NONE = 0, PRIVATE = (1 << 0), REPLACE_DESTINATION = (1 << 1) } alias GFileCreateFlags FileCreateFlags; /** * Flags used when copying or moving files. * G_FILE_COPY_NONE */ public enum GFileCopyFlags { NONE = 0, /+*< nick=none >+/ OVERWRITE = (1 << 0), BACKUP = (1 << 1), NOFOLLOW_SYMLINKS = (1 << 2), ALL_METADATA = (1 << 3), NO_FALLBACK_FOR_MOVE = (1 << 4), TARGET_DEFAULT_PERMS = (1 << 5) } alias GFileCopyFlags FileCopyFlags; /** * Flags used to set what a GFileMonitor will watch for. * G_FILE_MONITOR_NONE */ public enum GFileMonitorFlags { NONE = 0, WATCH_MOUNTS = (1 << 0) } alias GFileMonitorFlags FileMonitorFlags; /** * Indicates a hint from the file system whether files should be * previewed in a file manager. Returned as the value of the key * G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW. * G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS */ public enum GFilesystemPreviewType { TYPE_IF_ALWAYS = 0, TYPE_IF_LOCAL, TYPE_NEVER } alias GFilesystemPreviewType FilesystemPreviewType; /** * The data types for file attributes. * G_FILE_ATTRIBUTE_TYPE_INVALID */ public enum GFileAttributeType { TYPE_INVALID = 0, TYPE_STRING, TYPE_BYTE_STRING, /+* zero terminated string of non-zero bytes +/ TYPE_BOOLEAN, TYPE_UINT32, TYPE_INT32, TYPE_UINT64, TYPE_INT64, TYPE_OBJECT, TYPE_STRINGV } alias GFileAttributeType FileAttributeType; /** * Flags specifying the behaviour of an attribute. * G_FILE_ATTRIBUTE_INFO_NONE */ public enum GFileAttributeInfoFlags { NONE = 0, COPY_WITH_FILE = (1 << 0), COPY_WHEN_MOVED = (1 << 1) } alias GFileAttributeInfoFlags FileAttributeInfoFlags; /** * Used by g_file_set_attributes_from_info() when setting file attributes. * G_FILE_ATTRIBUTE_STATUS_UNSET */ public enum GFileAttributeStatus { UNSET = 0, SET, ERROR_SETTING } alias GFileAttributeStatus FileAttributeStatus; /** * Indicates the file's on-disk type. * G_FILE_TYPE_UNKNOWN */ public enum GFileType { TYPE_UNKNOWN = 0, TYPE_REGULAR, TYPE_DIRECTORY, TYPE_SYMBOLIC_LINK, TYPE_SPECIAL, /+* socket, fifo, blockdev, chardev +/ TYPE_SHORTCUT, TYPE_MOUNTABLE } alias GFileType FileType; /** * Error codes returned by GIO functions. * G_IO_ERROR_FAILED */ public enum GIOErrorEnum { FAILED, NOT_FOUND, EXISTS, IS_DIRECTORY, NOT_DIRECTORY, NOT_EMPTY, NOT_REGULAR_FILE, NOT_SYMBOLIC_LINK, NOT_MOUNTABLE_FILE, FILENAME_TOO_LONG, INVALID_FILENAME, TOO_MANY_LINKS, NO_SPACE, INVALID_ARGUMENT, PERMISSION_DENIED, NOT_SUPPORTED, NOT_MOUNTED, ALREADY_MOUNTED, CLOSED, CANCELLED, PENDING, READ_ONLY, CANT_CREATE_BACKUP, WRONG_ETAG, TIMED_OUT, WOULD_RECURSE, BUSY, WOULD_BLOCK, HOST_NOT_FOUND, WOULD_MERGE, FAILED_HANDLED, TOO_MANY_OPEN_FILES, NOT_INITIALIZED, ADDRESS_IN_USE } alias GIOErrorEnum IOErrorEnum; /** * GAskPasswordFlags are used to request specific information from the * user, or to notify the user of their choices in an authentication * situation. * G_ASK_PASSWORD_NEED_PASSWORD */ public enum GAskPasswordFlags { NEED_PASSWORD = (1 << 0), NEED_USERNAME = (1 << 1), NEED_DOMAIN = (1 << 2), SAVING_SUPPORTED = (1 << 3), ANONYMOUS_SUPPORTED = (1 << 4) } alias GAskPasswordFlags AskPasswordFlags; /** * GPasswordSave is used to indicate the lifespan of a saved password. * Gvfs stores passwords in the Gnome keyring when this flag allows it * to, and later retrieves it again from there. * G_PASSWORD_SAVE_NEVER */ public enum GPasswordSave { NEVER, FOR_SESSION, PERMANENTLY } alias GPasswordSave PasswordSave; /** * GMountOperationResult is returned as a result when a request for * information is send by the mounting operation. * G_MOUNT_OPERATION_HANDLED */ public enum GMountOperationResult { HANDLED, ABORTED, UNHANDLED } alias GMountOperationResult MountOperationResult; /** * Specifies what type of event a monitor event is. * G_FILE_MONITOR_EVENT_CHANGED */ public enum GFileMonitorEvent { CHANGED, CHANGES_DONE_HINT, DELETED, CREATED, ATTRIBUTE_CHANGED, PRE_UNMOUNT, UNMOUNTED } alias GFileMonitorEvent FileMonitorEvent; /** * GOutputStreamSpliceFlags determine how streams should be spliced. * G_OUTPUT_STREAM_SPLICE_NONE */ public enum GOutputStreamSpliceFlags { NONE = 0, CLOSE_SOURCE = (1 << 0), CLOSE_TARGET = (1 << 1) } alias GOutputStreamSpliceFlags OutputStreamSpliceFlags; /** * GDataStreamByteOrder is used to ensure proper endianness of streaming data sources * across various machine architectures. * G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN */ public enum GDataStreamByteOrder { BIG_ENDIAN, LITTLE_ENDIAN, HOST_ENDIAN } alias GDataStreamByteOrder DataStreamByteOrder; /** * GDataStreamNewlineType is used when checking for or setting the line endings for a given file. * G_DATA_STREAM_NEWLINE_TYPE_LF */ public enum GDataStreamNewlineType { TYPE_LF, TYPE_CR, TYPE_CR_LF, TYPE_ANY } alias GDataStreamNewlineType DataStreamNewlineType; /** * Flags used when creating a GAppInfo. * G_APP_INFO_CREATE_NONE */ public enum GAppInfoCreateFlags { NONE = 0, /+*< nick=none >+/ NEEDS_TERMINAL = (1 << 0), /+*< nick=needs-terminal >+/ SUPPORTS_URIS = (1 << 1) /+*< nick=supports-uris >+/ } alias GAppInfoCreateFlags AppInfoCreateFlags; /** * Flags used when mounting a mount. * G_MOUNT_MOUNT_NONE */ public enum GMountMountFlags { NONE = 0 } alias GMountMountFlags MountMountFlags; /** * Flags used when an unmounting a mount. * G_MOUNT_UNMOUNT_NONE */ public enum GMountUnmountFlags { NONE = 0, FORCE = (1 << 0) } alias GMountUnmountFlags MountUnmountFlags; /** * Flags used when starting a drive. * G_DRIVE_START_NONE */ public enum GDriveStartFlags { NONE = 0 } alias GDriveStartFlags DriveStartFlags; /** * Enumeration describing how a drive can be started/stopped. * G_DRIVE_START_STOP_TYPE_UNKNOWN */ public enum GDriveStartStopType { TYPE_UNKNOWN, TYPE_SHUTDOWN, TYPE_NETWORK, TYPE_MULTIDISK, TYPE_PASSWORD } alias GDriveStartStopType DriveStartStopType; /** * GEmblemOrigin is used to add information about the origin of the emblem * to GEmblem. * G_EMBLEM_ORIGIN_UNKNOWN */ public enum GEmblemOrigin { UNKNOWN, DEVICE, LIVEMETADATA, TAG } alias GEmblemOrigin EmblemOrigin; /** * Flags used when creating a GSocket. Some protocols may not implement * all the socket types. * G_SOCKET_TYPE_INVALID */ public enum GSocketType { TYPE_INVALID, TYPE_STREAM, TYPE_DATAGRAM, TYPE_SEQPACKET } alias GSocketType SocketType; /** * A protocol identifier is specified when creating a GSocket, which is a * family/type specific identifier, where 0 means the default protocol for * the particular family/type. * This enum contains a set of commonly available and used protocols. You * can also pass any other identifiers handled by the platform in order to * use protocols not listed here. * G_SOCKET_PROTOCOL_UNKNOWN */ public enum GSocketProtocol { UNKNOWN = -1, DEFAULT = 0, TCP = 6, UDP = 17, SCTP = 132 } alias GSocketProtocol SocketProtocol; /** * Flags used in g_socket_receive_message() and g_socket_send_message(). * The flags listed in the enum are some commonly available flags, but the * values used for them are the same as on the platform, and any other flags * are passed in/out as is. So to use a platform specific flag, just include * the right system header and pass in the flag. * G_SOCKET_MSG_NONE */ public enum GSocketMsgFlags { NONE, OOB = 1, PEEK = 2, DONTROUTE = 4 } alias GSocketMsgFlags SocketMsgFlags; /** * The protocol family of a GSocketAddress. (These values are * identical to the system defines AF_INET, AF_INET6 and AF_UNIX, * if available.) * G_SOCKET_FAMILY_INVALID */ public enum GSocketFamily { INVALID, UNIX = 1, IPV4 = 2, IPV6 = 23 } alias GSocketFamily SocketFamily; /** * An error code used with G_RESOLVER_ERROR in a GError returned * from a GResolver routine. * G_RESOLVER_ERROR_NOT_FOUND */ public enum GResolverError { NOT_FOUND, TEMPORARY_FAILURE, INTERNAL } alias GResolverError ResolverError; /** * Main Gtk struct. * A handle to an object implementing the GFileIface interface. * Generally stores a location within the file system. Handles do not * necessarily represent files or directories that currently exist. */ public struct GFile {} /** * An interface for writing VFS file handles. * GTypeInterface g_iface; */ public struct GFileIface { GTypeInterface gIface; /+* Virtual Table +/ extern(C) GFile * function(GFile *file) dup; extern(C) uint function(GFile *file) hash; extern(C) int function(GFile *file1,GFile *file2) equal; extern(C) int function(GFile *file) isNative; extern(C) int function(GFile *file,char *uriScheme) hasUriScheme; extern(C) char * function(GFile *file) getUriScheme; extern(C) char * function(GFile *file) getBasename; extern(C) char * function(GFile *file) getPath; extern(C) char * function(GFile *file) getUri; extern(C) char * function(GFile *file) getParseName; extern(C) GFile * function(GFile *file) getParent; extern(C) int function(GFile *prefix,GFile *file) prefixMatches; extern(C) char * function(GFile *parent,GFile *descendant) getRelativePath; extern(C) GFile * function(GFile *file,char *relativePath) resolveRelativePath; extern(C) GFile * function(GFile *file,char *displayName,GError **error) getChildForDisplayName; extern(C) GFileEnumerator * function(GFile *file,char *attributes,GFileQueryInfoFlags flags,GCancellable *cancellable,GError **error) enumerateChildren; extern(C) void function(GFile *file,char *attributes,GFileQueryInfoFlags flags,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) enumerateChildrenAsync; extern(C) GFileEnumerator * function(GFile *file,GAsyncResult *res,GError **error) enumerateChildrenFinish; extern(C) GFileInfo * function(GFile *file,char *attributes,GFileQueryInfoFlags flags,GCancellable *cancellable,GError **error) queryInfo; extern(C) void function(GFile *file,char *attributes,GFileQueryInfoFlags flags,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) queryInfoAsync; extern(C) GFileInfo * function(GFile *file,GAsyncResult *res,GError **error) queryInfoFinish; extern(C) GFileInfo * function(GFile *file,char *attributes,GCancellable *cancellable,GError **error) queryFilesystemInfo; extern(C) void function(GFile *file,char *attributes,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) queryFilesystemInfoAsync; extern(C) GFileInfo * function(GFile *file,GAsyncResult *res,GError **error) queryFilesystemInfoFinis; extern(C) GMount * function(GFile *file,GCancellable *cancellable,GError **error) findEnclosingMount; extern(C) void function(GFile *file,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) findEnclosingMountAsync; extern(C) GMount * function(GFile *file,GAsyncResult *res,GError **error) findEnclosingMountFinish; extern(C) GFile * function(GFile *file,char *displayName,GCancellable *cancellable,GError **error) setDisplayName; extern(C) void function(GFile *file,char *displayName,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) setDisplayNameAsync; extern(C) GFile * function(GFile *file,GAsyncResult *res,GError **error) setDisplayNameFinish; extern(C) GFileAttributeInfoList * function(GFile *file,GCancellable *cancellable,GError **error) querySettableAttributes; extern(C) void function() _QuerySettableAttributesAsync; extern(C) void function() _QuerySettableAttributesFinish; extern(C) GFileAttributeInfoList * function(GFile *file,GCancellable *cancellable,GError **error) queryWritableNamespaces; extern(C) void function() _QueryWritableNamespacesAsync; extern(C) void function() _QueryWritableNamespacesFinish; extern(C) int function(GFile *file,char *attribute,GFileAttributeType type,void* valueP,GFileQueryInfoFlags flags,GCancellable *cancellable,GError **error) setAttribute; extern(C) int function(GFile *file,GFileInfo *info,GFileQueryInfoFlags flags,GCancellable *cancellable,GError **error) setAttributesFromInfo; extern(C) void function(GFile *file,GFileInfo *info,GFileQueryInfoFlags flags,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) setAttributesAsync; extern(C) int function(GFile *file,GAsyncResult *result,GFileInfo **info,GError **error) setAttributesFinish; extern(C) GFileInputStream * function(GFile *file,GCancellable *cancellable,GError **error) readFn; extern(C) void function(GFile *file,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) readAsync; extern(C) GFileInputStream * function(GFile *file,GAsyncResult *res,GError **error) readFinish; extern(C) GFileOutputStream * function(GFile *file,GFileCreateFlags flags,GCancellable *cancellable,GError **error) appendTo; extern(C) void function(GFile *file,GFileCreateFlags flags,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) appendToAsync; extern(C) GFileOutputStream * function(GFile *file,GAsyncResult *res,GError **error) appendToFinish; extern(C) GFileOutputStream * function(GFile *file,GFileCreateFlags flags,GCancellable *cancellable,GError **error) create; extern(C) void function(GFile *file,GFileCreateFlags flags,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) createAsync; extern(C) GFileOutputStream * function(GFile *file,GAsyncResult *res,GError **error) createFinish; extern(C) GFileOutputStream * function(GFile *file,char *etag,int makeBackup,GFileCreateFlags flags,GCancellable *cancellable,GError **error) replace; extern(C) void function(GFile *file,char *etag,int makeBackup,GFileCreateFlags flags,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) replaceAsync; extern(C) GFileOutputStream * function(GFile *file,GAsyncResult *res,GError **error) replaceFinish; extern(C) int function(GFile *file,GCancellable *cancellable,GError **error) deleteFile; extern(C) void function() _DeleteFileAsync; extern(C) void function() _DeleteFileFinish; extern(C) int function(GFile *file,GCancellable *cancellable,GError **error) trash; extern(C) void function() _TrashAsync; extern(C) void function() _TrashFinish; extern(C) int function(GFile *file,GCancellable *cancellable,GError **error) makeDirectory; extern(C) void function() _MakeDirectoryAsync; extern(C) void function() _MakeDirectoryFinish; extern(C) int function(GFile *file,char *symlinkValue,GCancellable *cancellable,GError **error) makeSymbolicLink; extern(C) void function() _MakeSymbolicLinkAsync; extern(C) void function() _MakeSymbolicLinkFinish; extern(C) int function(GFile *source,GFile *destination,GFileCopyFlags flags,GCancellable *cancellable,GFileProgressCallback progressCallback,void* progressCallbackData,GError **error) copy; extern(C) void function(GFile *source,GFile *destination,GFileCopyFlags flags,int ioPriority,GCancellable *cancellable,GFileProgressCallback progressCallback,void* progressCallbackData,GAsyncReadyCallback callback,void* userData) copyAsync; extern(C) int function(GFile *file,GAsyncResult *res,GError **error) copyFinish; extern(C) int function(GFile *source,GFile *destination,GFileCopyFlags flags,GCancellable *cancellable,GFileProgressCallback progressCallback,void* progressCallbackData,GError **error) move; extern(C) void function() _MoveAsync; extern(C) void function() _MoveFinish; extern(C) void function(GFile *file,GMountMountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) mountMountable; extern(C) GFile * function(GFile *file,GAsyncResult *result,GError **error) mountMountableFinish; extern(C) void function(GFile *file,GMountUnmountFlags flags,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) unmountMountable; extern(C) int function(GFile *file,GAsyncResult *result,GError **error) unmountMountableFinish; extern(C) void function(GFile *file,GMountUnmountFlags flags,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) ejectMountable; extern(C) int function(GFile *file,GAsyncResult *result,GError **error) ejectMountableFinish; extern(C) void function(GFile *location,GMountMountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) mountEnclosingVolume; extern(C) int function(GFile *location,GAsyncResult *result,GError **error) mountEnclosingVolumeFinish; extern(C) GFileMonitor * function(GFile *file,GFileMonitorFlags flags,GCancellable *cancellable,GError **error) monitorDir; extern(C) GFileMonitor * function(GFile *file,GFileMonitorFlags flags,GCancellable *cancellable,GError **error) monitorFile; extern(C) GFileIOStream * function(GFile *file,GCancellable *cancellable,GError **error) openReadwrite; extern(C) void function(GFile *file,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) openReadwriteAsync; extern(C) GFileIOStream * function(GFile *file,GAsyncResult *res,GError **error) openReadwriteFinish; extern(C) GFileIOStream * function(GFile *file,GFileCreateFlags flags,GCancellable *cancellable,GError **error) createReadwrite; extern(C) void function(GFile *file,GFileCreateFlags flags,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) createReadwriteAsync; extern(C) GFileIOStream * function(GFile *file,GAsyncResult *res,GError **error) createReadwriteFinish; extern(C) GFileIOStream * function(GFile *file,char *etag,int makeBackup,GFileCreateFlags flags,GCancellable *cancellable,GError **error) replaceReadwrite; extern(C) void function(GFile *file,char *etag,int makeBackup,GFileCreateFlags flags,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) replaceReadwriteAsync; extern(C) GFileIOStream * function(GFile *file,GAsyncResult *res,GError **error) replaceReadwriteFinish; extern(C) void function(GFile *file,GDriveStartFlags flags,GMountOperation *startOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) startMountable; extern(C) int function(GFile *file,GAsyncResult *result,GError **error) startMountableFinish; extern(C) void function(GFile *file,GMountUnmountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) stopMountable; extern(C) int function(GFile *file,GAsyncResult *result,GError **error) stopMountableFinish; int supportsThreadContexts; extern(C) void function(GFile *file,GMountUnmountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) unmountMountableWithOperation; extern(C) int function(GFile *file,GAsyncResult *result,GError **error) unmountMountableWithOperationFinish; extern(C) void function(GFile *file,GMountUnmountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) ejectMountableWithOperation; extern(C) int function(GFile *file,GAsyncResult *result,GError **error) ejectMountableWithOperationFinish; extern(C) void function(GFile *file,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) pollMountable; extern(C) int function(GFile *file,GAsyncResult *result,GError **error) pollMountableFinish; } /** * Information about a specific attribute. * char *name; */ public struct GFileAttributeInfo { char *name; GFileAttributeType type; GFileAttributeInfoFlags flags; } /** * Main Gtk struct. * Acts as a lightweight registry for possible valid file attributes. * The registry stores Key-Value pair formats as GFileAttributeInfos. * GFileAttributeInfo *infos; */ public struct GFileAttributeInfoList { GFileAttributeInfo *infos; int nInfos; } /** * Determines if a string matches a file attribute. */ public struct GFileAttributeMatcher {} /** * Main Gtk struct. * Stores information about a file system object referenced by a GFile. */ public struct GFileInfo {} /** * Main Gtk struct. * A per matched file iterator. */ public struct GFileEnumerator {} /** * Main Gtk struct. * Class for providing authentication methods for mounting operations, * such as mounting a file locally, or authenticating with a server. */ public struct GMountOperation {} /** * Main Gtk struct. * Watches for changes to a file. */ public struct GFileMonitor {} /** * Main Gtk struct. * Allows actions to be cancelled. */ public struct GCancellable {} /** * Main Gtk struct. * Holds results information for an asynchronous operation, * usually passed directly to a asynchronous _finish() operation. */ public struct GAsyncResult {} /** * Interface definition for GAsyncResult. * GTypeInterface g_iface; */ public struct GAsyncResultIface { GTypeInterface gIface; /+* Virtual Table +/ extern(C) void* function(GAsyncResult *asyncResult) getUserData; extern(C) GObject * function(GAsyncResult *asyncResult) getSourceObject; } /** * Main Gtk struct. * Opaque class for definining and scheduling IO jobs. */ public struct GIOSchedulerJob {} /** * Main Gtk struct. * A simple implementation of GAsyncResult. */ public struct GSimpleAsyncResult {} /** * Main Gtk struct. * Seek object for streaming operations. */ public struct GSeekable {} /** * Provides an interface for implementing seekable functionality on I/O Streams. * GTypeInterface g_iface; */ public struct GSeekableIface { GTypeInterface gIface; /+* Virtual Table +/ extern(C) long function(GSeekable *seekable) tell; extern(C) int function(GSeekable *seekable) canSeek; extern(C) int function(GSeekable *seekable,long offset,GSeekType type,GCancellable *cancellable,GError **error) seek; extern(C) int function(GSeekable *seekable) canTruncate; extern(C) int function(GSeekable *seekable,long offset,GCancellable *cancellable,GError **error) truncateFn; /+* TODO: Async seek/truncate +/ } /** * Main Gtk struct. * Base class for streaming input operations. */ public struct GInputStream {} /** * Main Gtk struct. * Base class for writing output. * All classes derived from GOutputStream should implement synchronous * writing, splicing, flushing and closing streams, but may implement * asynchronous versions. */ public struct GOutputStream {} /** * Main Gtk struct. * Base class for read-write streams. */ public struct GIOStream {} /** * Main Gtk struct. * A subclass of GInputStream for opened files. This adds * a few file-specific operations and seeking. * GFileInputStream implements GSeekable. */ public struct GFileInputStream {} /** * Main Gtk struct. * A subclass of GOutputStream for opened files. This adds * a few file-specific operations and seeking and truncating. * GFileOutputStream implements GSeekable. */ public struct GFileOutputStream {} /** * Main Gtk struct. * A subclass of GIOStream for opened files. This adds * a few file-specific operations and seeking and truncating. * GFileIOStream implements GSeekable. */ public struct GFileIOStream {} /** * Main Gtk struct. * A base class for all input streams that work on an underlying stream. */ public struct GFilterInputStream {} /** * Main Gtk struct. * A base class for all output streams that work on an underlying stream. */ public struct GFilterOutputStream {} /** * Main Gtk struct. * Implements GInputStream for arbitrary memory chunks. */ public struct GMemoryInputStream {} /** * Main Gtk struct. * Implements GOutputStream for arbitrary memory chunks. */ public struct GMemoryOutputStream {} /** * Main Gtk struct. * Implements GFilterInputStream with a sized input buffer. */ public struct GBufferedInputStream {} /** * Main Gtk struct. * An implementation of GFilterOutputStream with a sized buffer. */ public struct GBufferedOutputStream {} /** * Main Gtk struct. * An implementation of GBufferedInputStream that allows for high-level * data manipulation of arbitrary data (including binary operations). */ public struct GDataInputStream {} /** * Main Gtk struct. * An implementation of GBufferedOutputStream that allows for high-level * data manipulation of arbitrary data (including binary operations). */ public struct GDataOutputStream {} /** * Main Gtk struct. * Implements GInputStream for reading from selectable unix file descriptors */ public struct GUnixInputStream {} /** * Main Gtk struct. * Implements GOutputStream for outputting to selectable unix file descriptors */ public struct GUnixOutputStream {} /** * Main Gtk struct. * Information about an installed application and methods to launch * it (with file arguments). */ public struct GAppInfo {} /** * Application Information interface, for operating system portability. * GTypeInterface g_iface; */ public struct GAppInfoIface { GTypeInterface gIface; /+* Virtual Table +/ extern(C) GAppInfo * function(GAppInfo *appinfo) dup; extern(C) int function(GAppInfo *appinfo1,GAppInfo *appinfo2) equal; extern(C) char * function(GAppInfo *appinfo) getId; extern(C) char * function(GAppInfo *appinfo) getName; extern(C) char * function(GAppInfo *appinfo) getDescription; extern(C) char * function(GAppInfo *appinfo) getExecutable; extern(C) GIcon * function(GAppInfo *appinfo) getIcon; extern(C) int function(GAppInfo *appinfo,GList *filenames,GAppLaunchContext *launchContext,GError **error) launch; extern(C) int function(GAppInfo *appinfo) supportsUris; extern(C) int function(GAppInfo *appinfo) supportsFiles; extern(C) int function(GAppInfo *appinfo,GList *uris,GAppLaunchContext *launchContext,GError **error) launchUris; extern(C) int function(GAppInfo *appinfo) shouldShow; /+* For changing associations +/ extern(C) int function(GAppInfo *appinfo,char *contentType,GError **error) setAsDefaultForType; extern(C) int function(GAppInfo *appinfo,char *extension,GError **error) setAsDefaultForExtension; extern(C) int function(GAppInfo *appinfo,char *contentType,GError **error) addSupportsType; extern(C) int function(GAppInfo *appinfo) canRemoveSupportsType; extern(C) int function(GAppInfo *appinfo,char *contentType,GError **error) removeSupportsType; extern(C) int function(GAppInfo *appinfo) canDelete; extern(C) int function(GAppInfo *appinfo) doDelete; extern(C) char * function(GAppInfo *appinfo) getCommandline; } /** * Integrating the launch with the launching application. This is used to * handle for instance startup notification and launching the new application * on the same screen as the launching window. */ public struct GAppLaunchContext {} /** * Main Gtk struct. * Information about an installed application from a desktop file. */ public struct GDesktopAppInfo {} /** * Interface that is used by backends to associate default * handlers with URI schemes. */ public struct GDesktopAppInfoLookup {} /** * Main Gtk struct. * A Volume Monitor that watches for volume events. */ public struct GVolumeMonitor {} /** * Main Gtk struct. * Opaque mountable volume object. */ public struct GVolume {} /** * Interface for implementing operations for mountable volumes. * GTypeInterface g_iface; */ public struct GVolumeIface { GTypeInterface gIface; /+* signals +/ extern(C) void function(GVolume *volume) changed; extern(C) void function(GVolume *volume) removed; /+* Virtual Table +/ extern(C) char * function(GVolume *volume) getName; extern(C) GIcon * function(GVolume *volume) getIcon; extern(C) char * function(GVolume *volume) getUuid; extern(C) GDrive * function(GVolume *volume) getDrive; extern(C) GMount * function(GVolume *volume) getMount; extern(C) int function(GVolume *volume) canMount; extern(C) int function(GVolume *volume) canEject; extern(C) void function(GVolume *volume,GMountMountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) mountFn; extern(C) int function(GVolume *volume,GAsyncResult *result,GError **error) mountFinish; extern(C) void function(GVolume *volume,GMountUnmountFlags flags,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) eject; extern(C) int function(GVolume *volume,GAsyncResult *result,GError **error) ejectFinish; extern(C) char * function(GVolume *volume,char *kind) getIdentifier; extern(C) char ** function(GVolume *volume) enumerateIdentifiers; extern(C) int function(GVolume *volume) shouldAutomount; extern(C) GFile * function(GVolume *volume) getActivationRoot; extern(C) void function(GVolume *volume,GMountUnmountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) ejectWithOperation; extern(C) int function(GVolume *volume,GAsyncResult *result,GError **error) ejectWithOperationFinish; } /** * Main Gtk struct. * A handle to an object implementing the GMountIface interface. */ public struct GMount {} /** * Interface for implementing operations for mounts. * GTypeInterface g_iface; */ public struct GMountIface { GTypeInterface gIface; /+* signals +/ extern(C) void function(GMount *mount) changed; extern(C) void function(GMount *mount) unmounted; /+* Virtual Table +/ extern(C) GFile * function(GMount *mount) getRoot; extern(C) char * function(GMount *mount) getName; extern(C) GIcon * function(GMount *mount) getIcon; extern(C) char * function(GMount *mount) getUuid; extern(C) GVolume * function(GMount *mount) getVolume; extern(C) GDrive * function(GMount *mount) getDrive; extern(C) int function(GMount *mount) canUnmount; extern(C) int function(GMount *mount) canEject; extern(C) void function(GMount *mount,GMountUnmountFlags flags,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) unmount; extern(C) int function(GMount *mount,GAsyncResult *result,GError **error) unmountFinish; extern(C) void function(GMount *mount,GMountUnmountFlags flags,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) eject; extern(C) int function(GMount *mount,GAsyncResult *result,GError **error) ejectFinish; extern(C) void function(GMount *mount,GMountMountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) remount; extern(C) int function(GMount *mount,GAsyncResult *result,GError **error) remountFinish; extern(C) void function(GMount *mount,int forceRescan,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) guessContentType; extern(C) char ** function(GMount *mount,GAsyncResult *result,GError **error) guessContentTypeFinish; extern(C) char ** function(GMount *mount,int forceRescan,GCancellable *cancellable,GError **error) guessContentTypeSync; /+* Signal, not VFunc +/ extern(C) void function(GMount *mount) preUnmount; extern(C) void function(GMount *mount,GMountUnmountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) unmountWithOperation; extern(C) int function(GMount *mount,GAsyncResult *result,GError **error) unmountWithOperationFinish; extern(C) void function(GMount *mount,GMountUnmountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) ejectWithOperation; extern(C) int function(GMount *mount,GAsyncResult *result,GError **error) ejectWithOperationFinish; } /** * Main Gtk struct. * Opaque drive object. */ public struct GDrive {} /** * Interface for creating GDrive implementations. * GTypeInterface g_iface; */ public struct GDriveIface { GTypeInterface gIface; /+* signals +/ extern(C) void function(GDrive *drive) changed; extern(C) void function(GDrive *drive) disconnected; extern(C) void function(GDrive *drive) ejectButton; /+* Virtual Table +/ extern(C) char * function(GDrive *drive) getName; extern(C) GIcon * function(GDrive *drive) getIcon; extern(C) int function(GDrive *drive) hasVolumes; extern(C) GList * function(GDrive *drive) getVolumes; extern(C) int function(GDrive *drive) isMediaRemovable; extern(C) int function(GDrive *drive) hasMedia; extern(C) int function(GDrive *drive) isMediaCheckAutomatic; extern(C) int function(GDrive *drive) canEject; extern(C) int function(GDrive *drive) canPollForMedia; extern(C) void function(GDrive *drive,GMountUnmountFlags flags,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) eject; extern(C) int function(GDrive *drive,GAsyncResult *result,GError **error) ejectFinish; extern(C) void function(GDrive *drive,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) pollForMedia; extern(C) int function(GDrive *drive,GAsyncResult *result,GError **error) pollForMediaFinish; extern(C) char * function(GDrive *drive,char *kind) getIdentifier; extern(C) char ** function(GDrive *drive) enumerateIdentifiers; extern(C) GDriveStartStopType function(GDrive *drive) getStartStopType; extern(C) int function(GDrive *drive) canStart; extern(C) int function(GDrive *drive) canStartDegraded; extern(C) void function(GDrive *drive,GDriveStartFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) start; extern(C) int function(GDrive *drive,GAsyncResult *result,GError **error) startFinish; extern(C) int function(GDrive *drive) canStop; extern(C) void function(GDrive *drive,GMountUnmountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) stop; extern(C) int function(GDrive *drive,GAsyncResult *result,GError **error) stopFinish; /+* signal, not VFunc +/ extern(C) void function(GDrive *drive) stopButton; extern(C) void function(GDrive *drive,GMountUnmountFlags flags,GMountOperation *mountOperation,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) ejectWithOperation; extern(C) int function(GDrive *drive,GAsyncResult *result,GError **error) ejectWithOperationFinish; } /** * Implementation of the GMount interface for Unix systems. */ public struct GUnixMount {} /** * Defines a Unix mount point (e.g. /dev). * This corresponds roughly to a fstab entry. */ public struct GUnixMountPoint {} /** * Main Gtk struct. * Defines a Unix mount entry (e.g. /media/cdrom). * This corresponds roughly to a mtab entry. */ public struct GUnixMountEntry {} /** * Watches GUnixMounts for changes. */ public struct GUnixMountMonitor {} /** * Main Gtk struct. * An abstract type that specifies an icon. */ public struct GIcon {} /** * GIconIface is used to implement GIcon types for various * different systems. See GThemedIcon and GLoadableIcon for * examples of how to implement this interface. * GTypeInterface g_iface; */ public struct GIconIface { GTypeInterface gIface; /+* Virtual Table +/ extern(C) uint function(GIcon *icon) hash; extern(C) int function(GIcon *icon1,GIcon *icon2) equal; extern(C) int function(GIcon *icon,GPtrArray *tokens,int *outVersion) toTokens; extern(C) GIcon * function(char **tokens,int numTokens,int versio,GError **error) fromTokens; } /** * Main Gtk struct. * Gets an icon for a GFile. Implements GLoadableIcon. */ public struct GFileIcon {} /** * Main Gtk struct. * Generic type for all kinds of icons that can be loaded * as a stream. */ public struct GLoadableIcon {} /** * Interface for icons that can be loaded as a stream. * GTypeInterface g_iface; */ public struct GLoadableIconIface { GTypeInterface gIface; /+* Virtual Table +/ extern(C) GInputStream * function(GLoadableIcon *icon,int size,char **type,GCancellable *cancellable,GError **error) load; extern(C) void function(GLoadableIcon *icon,int size,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) loadAsync; extern(C) GInputStream * function(GLoadableIcon *icon,GAsyncResult *res,char **type,GError **error) loadFinish; } /** * Main Gtk struct. * An implementation of GIcon for themed icons. */ public struct GThemedIcon {} /** * Main Gtk struct. * An implementation of GIcon for icons with emblems. */ public struct GEmblemedIcon {} /** * Main Gtk struct. * An object for Emblems */ public struct GEmblem {} /** * Main Gtk struct. * Interface for initializable objects. * Since 2.22 */ public struct GInitable {} /** * Provides an interface for initializing object such that initialization * may fail. * GTypeInterface g_iface; */ public struct GInitableIface { GTypeInterface gIface; /+* Virtual Table +/ extern(C) int function(GInitable *initable,GCancellable *cancellable,GError **error) init; } /** * Main Gtk struct. * Interface for asynchronously initializable objects. * Since 2.22 */ public struct GAsyncInitable {} /** * Provides an interface for asynchronous initializing object such that * initialization may fail. * GTypeInterface g_iface; */ public struct GAsyncInitableIface { GTypeInterface gIface; /+* Virtual Table +/ extern(C) void function(GAsyncInitable *initable,int ioPriority,GCancellable *cancellable,GAsyncReadyCallback callback,void* userData) initAsync; extern(C) int function(GAsyncInitable *initable,GAsyncResult *res,GError **error) initFinish; } /** * Main Gtk struct. * A lowlevel network socket object. * Since 2.22 */ public struct GSocket {} /** * Structure used for scatter/gather data input. * You generally pass in an array of GInputVectors * and the operation will store the read data starting in the * first buffer, switching to the next as needed. * gpointer buffer; */ public struct GInputVector { void* buffer; uint size; } /** * Structure used for scatter/gather data output. * You generally pass in an array of GOutputVectors * and the operation will use all the buffers as if they were * one buffer. * gconstpointer buffer; */ public struct GOutputVector { void* buffer; uint size; } /** * Main Gtk struct. * An IPv4 or IPv6 internet address. */ public struct GInetAddress {} /** * Main Gtk struct. * A socket endpoint address, corresponding to struct sockaddr * or one of its subtypes. */ public struct GSocketAddress {} /** * Main Gtk struct. * An IPv4 or IPv6 socket address, corresponding to a struct * sockaddr_in or struct sockaddr_in6. */ public struct GInetSocketAddress {} /** * Main Gtk struct. * A UNIX-domain (local) socket address, corresponding to a * struct sockaddr_un. */ public struct GUnixSocketAddress {} /** * Main Gtk struct. * Base class for socket-type specific control messages that can be sent and * received over GSocket. */ public struct GSocketControlMessage {} /** * Main Gtk struct. */ public struct GUnixFDMessage {} /** * Main Gtk struct. * The object that handles DNS resolution. Use g_resolver_get_default() * to get the default resolver. */ public struct GResolver {} /** * Interface for objects that contain or generate GSocketAddresses. */ public struct GSocketConnectable {} /** * Provides an interface for returning a GSocketAddressEnumerator * GTypeInterface g_iface; */ public struct GSocketConnectableIface { GTypeInterface gIface; /+* Virtual Table +/ extern(C) GSocketAddressEnumerator * function(GSocketConnectable *connectable) enumerate; } /** * Main Gtk struct. * Enumerator type for objects that contain or generate * GSocketAddresses. */ public struct GSocketAddressEnumerator {} /** * Main Gtk struct. * A GSocketConnectable for resolving a hostname and connecting to * that host. */ public struct GNetworkAddress {} /** * Main Gtk struct. * A GSocketConnectable for resolving a SRV record and connecting to * that service. */ public struct GNetworkService {} /** * Main Gtk struct. * A single target host/port that a network service is running on. */ public struct GSrvTarget {} /** * Main Gtk struct. * A helper class for network servers to listen for and accept connections. * Since 2.22 */ public struct GSocketClient {} /** * Main Gtk struct. * A socket connection GIOStream object for connection-oriented sockets. * Since 2.22 */ public struct GSocketConnection {} /** * A GSocketConnection for UNIX domain socket connections. * Since 2.22 */ public struct GTcpConnection {} public struct GUnixConnection {} /** * Main Gtk struct. */ public struct GSocketListener {} /** * Main Gtk struct. * A helper class for handling accepting incomming connections in the * glib mainloop. * Since 2.22 */ public struct GSocketService {} /** * Main Gtk struct. * A helper class for handling accepting incomming connections in the * glib mainloop and handling them in a thread. * Since 2.22 */ public struct GThreadedSocketService {} /** * Main Gtk struct. * Completes filenames based on files that exist within the file system. */ public struct GFilenameCompleter {} /** * Main Gtk struct. * Virtual File System object. */ public struct GVfs {} /** * Main Gtk struct. * Opaque module base class for extending GIO. */ public struct GIOModule {} /** * Main Gtk struct. */ public struct GIOExtension {} public struct GIOExtensionPoint {} /* * When doing file operations that may take a while, such as moving * a file or copying a file, a progress callback is used to pass how * far along that operation is to the application. * current_num_bytes : * the current number of bytes in the operation. * total_num_bytes : * the total number of bytes in the operation. * user_data : * user data passed to the callback. */ // void (*GFileProgressCallback) (goffset current_num_bytes, goffset total_num_bytes, gpointer user_data); public typedef extern(C) void function (long, long, void*) GFileProgressCallback; /* * When loading the partial contents of a file with g_file_load_partial_contents_async(), * it may become necessary to determine if any more data from the file should be loaded. * A GFileReadMoreCallback function facilitates this by returning TRUE if more data * should be read, or FALSE otherwise. * file_contents : * the data as currently read. * file_size : * the size of the data currently read. * callback_data : * data passed to the callback. * Returns : * TRUE if more data should be read back. FALSE otherwise. */ // gboolean (*GFileReadMoreCallback) (const char *file_contents, goffset file_size, gpointer callback_data); public typedef extern(C) int function (char*, long, void*) GFileReadMoreCallback; /* * Type definition for a function that will be called back when an asynchronous * operation within GIO has been completed. * source_object : * the object the asynchronous operation was started with. * res : * a GAsyncResult. * user_data : * user data passed to the callback. */ // void (*GAsyncReadyCallback) (GObject *source_object, GAsyncResult *res, gpointer user_data); public typedef extern(C) void function (GObject*, GAsyncResult*, void*) GAsyncReadyCallback; /* * I/O Job function. * Note that depending on whether threads are available, the * GIOScheduler may run jobs in separate threads or in an idle * in the mainloop. * Long-running jobs should periodically check the cancellable * to see if they have been cancelled. * job : * a GIOSchedulerJob. * cancellable : * optional GCancellable object, NULL to ignore. * user_data : * the data to pass to callback function * Returns : * TRUE if this function should be called again to * complete the job, FALSE if the job is complete (or cancelled) */ // gboolean (*GIOSchedulerJobFunc) (GIOSchedulerJob *job, GCancellable *cancellable, gpointer user_data); public typedef extern(C) int function (GIOSchedulerJob*, GCancellable*, void*) GIOSchedulerJobFunc; /* * Simple thread function that runs an asynchronous operation and * checks for cancellation. * res : * a GSimpleAsyncResult. * object : * a GObject. * cancellable : * optional GCancellable object, NULL to ignore. */ // void (*GSimpleAsyncThreadFunc) (GSimpleAsyncResult *res, GObject *object, GCancellable *cancellable); public typedef extern(C) void function (GSimpleAsyncResult*, GObject*, GCancellable*) GSimpleAsyncThreadFunc; /* * Changes the size of the memory block pointed to by data to * size bytes. * The function should have the same semantics as realloc(). * data : * memory block to reallocate * size : * size to reallocate data to * Returns : * a pointer to the reallocated memory */ // gpointer (*GReallocFunc) (gpointer data, gsize size); public typedef extern(C) void* function (void*, uint) GReallocFunc; /* * This is the function type of the callback used for the GSource * returned by g_socket_create_source(). * socket : * the GSocket * condition : * the current condition at the source fired. * user_data : * data passed in by the user. * Returns : * it should return FALSE if the source should be removed. * Since 2.22 */ // gboolean (*GSocketSourceFunc) (GSocket *socket, GIOCondition condition, gpointer user_data); public typedef extern(C) int function (GSocket*, GIOCondition, void*) GSocketSourceFunc;
D
/home/onki/Downloads/Fraunhofer_work/ruct+c/rustbook/app/target/release/build/syn-c75a48b9789f234e/build_script_build-c75a48b9789f234e: /home/onki/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.40/build.rs /home/onki/Downloads/Fraunhofer_work/ruct+c/rustbook/app/target/release/build/syn-c75a48b9789f234e/build_script_build-c75a48b9789f234e.d: /home/onki/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.40/build.rs /home/onki/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.40/build.rs:
D
/Users/harukikondo/git/RustPractice/rustSample/target/debug/build/syn-63cbb18b1f0419a1/build_script_build-63cbb18b1f0419a1: /Users/harukikondo/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.73/build.rs /Users/harukikondo/git/RustPractice/rustSample/target/debug/build/syn-63cbb18b1f0419a1/build_script_build-63cbb18b1f0419a1.d: /Users/harukikondo/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.73/build.rs /Users/harukikondo/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.73/build.rs:
D
interface IFileGateway { void open(string filename, string mode); bool isOpen(); string getFilename(); void close(); }
D
module imports.diag10089b; void chunks(Source)(Source source, size_t chunkSize) { }
D
module android.java.android.hardware.Sensor; public import android.java.android.hardware.Sensor_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!Sensor; import import0 = android.java.java.lang.Class;
D
func void b_interruptmob(var string mobsi) { var int randomize_mob; AI_UseMob(self,mobsi,-1); randomize_mob = Hlp_Random(7); if((randomize_mob == 1) && !c_npcisboss(self)) { AI_PlayAni(self,"T_BORINGKICK"); }; if(randomize_mob == 2) { AI_PlayAni(self,"T_SEARCH"); }; if(randomize_mob == 3) { AI_PlayAni(self,"R_SCRATCHHEAD"); }; if(randomize_mob == 4) { AI_PlayAni(self,"R_LEGSHAKE"); }; if(randomize_mob == 5) { AI_PlayAni(self,"R_SCRATCHRSHOULDER"); }; if(randomize_mob == 6) { AI_PlayAni(self,"R_SCRATCHLSHOULDER"); }; Npc_SetStateTime(self,0); AI_UseMob(self,mobsi,1); self.aivar[AIV_DONTUSEMOB] = 1; };
D
/******************************************************************//** * \file src/gui/mytimer.d * \brief Definitions of TimedEvent and MyTimer * * <i>Copyright (c) 2012</i> Danny Arends<br> * Last modified May, 2012<br> * First written Dec, 2011<br> * Written in the D Programming Language (http://www.digitalmars.com/d) **********************************************************************/ module gui.mytimer; import std.array, std.stdio, std.conv; import sdl.sdlfunctions; import gl.gl_1_0; alias void delegate(int) TimeFunc; struct TimedEvent{ this(TimeFunc toexecute, int period = 1000){ this.period = period; this.toexecute = toexecute; } int period = 1000; /* 1 second */ TimeFunc toexecute; /* what do we execute */ int checks = 0; /* Number of times we check */ int t0 = 0; /* T0 for time determination */ } class MyTimer{ void update(){ t = SDL_GetTicks(); for(auto x = 0; x < monitored.length;x++){ monitored[x].checks++; if(t - monitored[x].t0 >= monitored[x].period) { writeln("Executing ", monitored[x].toexecute, " after ", monitored[x].checks); monitored[x].toexecute(monitored[x].checks); monitored[x].t0 = t; monitored[x].checks = 0; } } } void addTimedEvent(TimedEvent t){ monitored ~= t; } private: GLint t = 0; /* t for time determination */ TimedEvent[] monitored; }
D
/** * D header file for POSIX. * * Copyright: Copyright Sean Kelly 2005 - 2009. * License: $(WEB www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Sean Kelly, Alex Rønne Petersen * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition */ /* Copyright Sean Kelly 2005 - 2009. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at * http://www.boost.org/LICENSE_1_0.txt) */ module core.sys.posix.sys.socket; private import core.sys.posix.config; public import core.sys.posix.sys.types; // for ssize_t public import core.sys.posix.sys.uio; // for iovec version (OSX) version = Darwin; else version (iOS) version = Darwin; else version (TVOS) version = Darwin; else version (WatchOS) version = Darwin; version (Posix): extern (C) nothrow @nogc: // // Required // /* socklen_t sa_family_t struct sockaddr { sa_family_t sa_family; char sa_data[]; } struct sockaddr_storage { sa_family_t ss_family; } struct msghdr { void* msg_name; socklen_t msg_namelen; struct iovec* msg_iov; int msg_iovlen; void* msg_control; socklen_t msg_controllen; int msg_flags; } struct iovec {} // from core.sys.posix.sys.uio struct cmsghdr { socklen_t cmsg_len; int cmsg_level; int cmsg_type; } SCM_RIGHTS CMSG_DATA(cmsg) CMSG_NXTHDR(mhdr,cmsg) CMSG_FIRSTHDR(mhdr) struct linger { int l_onoff; int l_linger; } SOCK_DGRAM SOCK_SEQPACKET SOCK_STREAM SOL_SOCKET SO_ACCEPTCONN SO_BROADCAST SO_DEBUG SO_DONTROUTE SO_ERROR SO_KEEPALIVE SO_LINGER SO_OOBINLINE SO_RCVBUF SO_RCVLOWAT SO_RCVTIMEO SO_REUSEADDR SO_SNDBUF SO_SNDLOWAT SO_SNDTIMEO SO_TYPE SOMAXCONN MSG_CTRUNC MSG_DONTROUTE MSG_EOR MSG_OOB MSG_PEEK MSG_TRUNC MSG_WAITALL AF_INET AF_UNIX AF_UNSPEC SHUT_RD SHUT_RDWR SHUT_WR int accept(int, sockaddr*, socklen_t*); int bind(int, in sockaddr*, socklen_t); int connect(int, in sockaddr*, socklen_t); int getpeername(int, sockaddr*, socklen_t*); int getsockname(int, sockaddr*, socklen_t*); int getsockopt(int, int, int, void*, socklen_t*); int listen(int, int); ssize_t recv(int, void*, size_t, int); ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*); ssize_t recvmsg(int, msghdr*, int); ssize_t send(int, in void*, size_t, int); ssize_t sendmsg(int, in msghdr*, int); ssize_t sendto(int, in void*, size_t, int, in sockaddr*, socklen_t); int setsockopt(int, int, int, in void*, socklen_t); int shutdown(int, int); int socket(int, int, int); int sockatmark(int); int socketpair(int, int, int, ref int[2]); */ version( CRuntime_Glibc ) { // Some of the constants below and from the Bionic section are really from // the linux kernel headers. alias uint socklen_t; alias ushort sa_family_t; struct sockaddr { sa_family_t sa_family; byte[14] sa_data; } private enum : size_t { _SS_SIZE = 128, _SS_PADSIZE = _SS_SIZE - (c_ulong.sizeof * 2) } struct sockaddr_storage { sa_family_t ss_family; c_ulong __ss_align; byte[_SS_PADSIZE] __ss_padding; } struct msghdr { void* msg_name; socklen_t msg_namelen; iovec* msg_iov; size_t msg_iovlen; void* msg_control; size_t msg_controllen; int msg_flags; } struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; static if( false /* (!is( __STRICT_ANSI__ ) && __GNUC__ >= 2) || __STDC_VERSION__ >= 199901L */ ) { ubyte[1] __cmsg_data; } } enum : uint { SCM_RIGHTS = 0x01 } static if( false /* (!is( __STRICT_ANSI__ ) && __GNUC__ >= 2) || __STDC_VERSION__ >= 199901L */ ) { extern (D) ubyte[1] CMSG_DATA( cmsghdr* cmsg ) pure nothrow @nogc { return cmsg.__cmsg_data; } } else { extern (D) inout(ubyte)* CMSG_DATA( inout(cmsghdr)* cmsg ) pure nothrow @nogc { return cast(ubyte*)( cmsg + 1 ); } } private inout(cmsghdr)* __cmsg_nxthdr(inout(msghdr)*, inout(cmsghdr)*) pure nothrow @nogc; extern (D) inout(cmsghdr)* CMSG_NXTHDR(inout(msghdr)* msg, inout(cmsghdr)* cmsg) pure nothrow @nogc { return __cmsg_nxthdr(msg, cmsg); } extern (D) inout(cmsghdr)* CMSG_FIRSTHDR( inout(msghdr)* mhdr ) pure nothrow @nogc { return ( cast(size_t)mhdr.msg_controllen >= cmsghdr.sizeof ? cast(inout(cmsghdr)*) mhdr.msg_control : cast(inout(cmsghdr)*) null ); } extern (D) { size_t CMSG_ALIGN( size_t len ) pure nothrow @nogc { return (len + size_t.sizeof - 1) & cast(size_t) (~(size_t.sizeof - 1)); } size_t CMSG_LEN( size_t len ) pure nothrow @nogc { return CMSG_ALIGN(cmsghdr.sizeof) + len; } } extern (D) size_t CMSG_SPACE(size_t len) pure nothrow @nogc { return CMSG_ALIGN(len) + CMSG_ALIGN(cmsghdr.sizeof); } struct linger { int l_onoff; int l_linger; } version (X86) { enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 18, SO_RCVTIMEO = 20, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 19, SO_SNDTIMEO = 21, SO_TYPE = 3 } } else version (X86_64) { enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 18, SO_RCVTIMEO = 20, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 19, SO_SNDTIMEO = 21, SO_TYPE = 3 } } else version (MIPS32) { enum { SOCK_DGRAM = 1, SOCK_SEQPACKET = 5, SOCK_STREAM = 2, } enum { SOL_SOCKET = 0xffff } enum { SO_ACCEPTCONN = 0x1009, SO_BROADCAST = 0x0020, SO_DEBUG = 0x0001, SO_DONTROUTE = 0x0010, SO_ERROR = 0x1007, SO_KEEPALIVE = 0x0008, SO_LINGER = 0x0080, SO_OOBINLINE = 0x0100, SO_RCVBUF = 0x1002, SO_RCVLOWAT = 0x1004, SO_RCVTIMEO = 0x1006, SO_REUSEADDR = 0x0004, SO_SNDBUF = 0x1001, SO_SNDLOWAT = 0x1003, SO_SNDTIMEO = 0x1005, SO_TYPE = 0x1008, } } else version (MIPS64) { enum { SOCK_DGRAM = 1, SOCK_SEQPACKET = 5, SOCK_STREAM = 2, } enum { SOL_SOCKET = 0xffff } enum { SO_ACCEPTCONN = 0x1009, SO_BROADCAST = 0x0020, SO_DEBUG = 0x0001, SO_DONTROUTE = 0x0010, SO_ERROR = 0x1007, SO_KEEPALIVE = 0x0008, SO_LINGER = 0x0080, SO_OOBINLINE = 0x0100, SO_RCVBUF = 0x1002, SO_RCVLOWAT = 0x1004, SO_RCVTIMEO = 0x1006, SO_REUSEADDR = 0x0004, SO_SNDBUF = 0x1001, SO_SNDLOWAT = 0x1003, SO_SNDTIMEO = 0x1005, SO_TYPE = 0x1008, } } else version (PPC) { enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 16, SO_RCVTIMEO = 18, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 17, SO_SNDTIMEO = 19, SO_TYPE = 3 } } else version (PPC64) { enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 16, SO_RCVTIMEO = 18, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 17, SO_SNDTIMEO = 19, SO_TYPE = 3 } } else version (AArch64) { enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 18, SO_RCVTIMEO = 20, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 19, SO_SNDTIMEO = 21, SO_TYPE = 3 } } else version (ARM) { enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 18, SO_RCVTIMEO = 20, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 19, SO_SNDTIMEO = 21, SO_TYPE = 3 } } else version (SPARC64) { enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 18, SO_RCVTIMEO = 20, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 19, SO_SNDTIMEO = 21, SO_TYPE = 3 } } else version (SystemZ) { enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 18, SO_RCVTIMEO = 20, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 19, SO_SNDTIMEO = 21, SO_TYPE = 3 } } else static assert(0, "unimplemented"); enum { SOMAXCONN = 128 } enum : uint { MSG_CTRUNC = 0x08, MSG_DONTROUTE = 0x04, MSG_EOR = 0x80, MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_TRUNC = 0x20, MSG_WAITALL = 0x100, MSG_NOSIGNAL = 0x4000 } enum { AF_APPLETALK = 5, AF_INET = 2, AF_IPX = 4, AF_UNIX = 1, AF_UNSPEC = 0, PF_APPLETALK = AF_APPLETALK, PF_IPX = AF_IPX } enum int SOCK_RDM = 4; enum { SHUT_RD, SHUT_WR, SHUT_RDWR } int accept(int, sockaddr*, socklen_t*); int bind(int, in sockaddr*, socklen_t); int connect(int, in sockaddr*, socklen_t); int getpeername(int, sockaddr*, socklen_t*); int getsockname(int, sockaddr*, socklen_t*); int getsockopt(int, int, int, void*, socklen_t*); int listen(int, int); ssize_t recv(int, void*, size_t, int); ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*); ssize_t recvmsg(int, msghdr*, int); ssize_t send(int, in void*, size_t, int); ssize_t sendmsg(int, in msghdr*, int); ssize_t sendto(int, in void*, size_t, int, in sockaddr*, socklen_t); int setsockopt(int, int, int, in void*, socklen_t); int shutdown(int, int); int socket(int, int, int); int sockatmark(int); int socketpair(int, int, int, ref int[2]); } else version( Darwin ) { alias uint socklen_t; alias ubyte sa_family_t; struct sockaddr { ubyte sa_len; sa_family_t sa_family; byte[14] sa_data; } private enum : size_t { _SS_PAD1 = long.sizeof - ubyte.sizeof - sa_family_t.sizeof, _SS_PAD2 = 128 - ubyte.sizeof - sa_family_t.sizeof - _SS_PAD1 - long.sizeof } struct sockaddr_storage { ubyte ss_len; sa_family_t ss_family; byte[_SS_PAD1] __ss_pad1; long __ss_align; byte[_SS_PAD2] __ss_pad2; } struct msghdr { void* msg_name; socklen_t msg_namelen; iovec* msg_iov; int msg_iovlen; void* msg_control; socklen_t msg_controllen; int msg_flags; } struct cmsghdr { socklen_t cmsg_len; int cmsg_level; int cmsg_type; } enum : uint { SCM_RIGHTS = 0x01 } /+ CMSG_DATA(cmsg) ((unsigned char *)(cmsg) + \ ALIGN(sizeof(struct cmsghdr))) CMSG_NXTHDR(mhdr, cmsg) \ (((unsigned char *)(cmsg) + ALIGN((cmsg)->cmsg_len) + \ ALIGN(sizeof(struct cmsghdr)) > \ (unsigned char *)(mhdr)->msg_control +(mhdr)->msg_controllen) ? \ (struct cmsghdr *)0 /* NULL */ : \ (struct cmsghdr *)((unsigned char *)(cmsg) + ALIGN((cmsg)->cmsg_len))) CMSG_FIRSTHDR(mhdr) ((struct cmsghdr *)(mhdr)->msg_control) +/ struct linger { int l_onoff; int l_linger; } enum { SOCK_DGRAM = 2, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum : uint { SOL_SOCKET = 0xffff } enum : uint { SO_ACCEPTCONN = 0x0002, SO_BROADCAST = 0x0020, SO_DEBUG = 0x0001, SO_DONTROUTE = 0x0010, SO_ERROR = 0x1007, SO_KEEPALIVE = 0x0008, SO_LINGER = 0x1080, SO_NOSIGPIPE = 0x1022, // non-standard SO_OOBINLINE = 0x0100, SO_RCVBUF = 0x1002, SO_RCVLOWAT = 0x1004, SO_RCVTIMEO = 0x1006, SO_REUSEADDR = 0x0004, SO_SNDBUF = 0x1001, SO_SNDLOWAT = 0x1003, SO_SNDTIMEO = 0x1005, SO_TYPE = 0x1008 } enum { SOMAXCONN = 128 } enum : uint { MSG_CTRUNC = 0x20, MSG_DONTROUTE = 0x4, MSG_EOR = 0x8, MSG_OOB = 0x1, MSG_PEEK = 0x2, MSG_TRUNC = 0x10, MSG_WAITALL = 0x40 } enum { AF_APPLETALK = 16, AF_INET = 2, AF_IPX = 23, AF_UNIX = 1, AF_UNSPEC = 0, PF_APPLETALK = AF_APPLETALK, PF_IPX = AF_IPX } enum { SHUT_RD, SHUT_WR, SHUT_RDWR } int accept(int, sockaddr*, socklen_t*); int bind(int, in sockaddr*, socklen_t); int connect(int, in sockaddr*, socklen_t); int getpeername(int, sockaddr*, socklen_t*); int getsockname(int, sockaddr*, socklen_t*); int getsockopt(int, int, int, void*, socklen_t*); int listen(int, int); ssize_t recv(int, void*, size_t, int); ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*); ssize_t recvmsg(int, msghdr*, int); ssize_t send(int, in void*, size_t, int); ssize_t sendmsg(int, in msghdr*, int); ssize_t sendto(int, in void*, size_t, int, in sockaddr*, socklen_t); int setsockopt(int, int, int, in void*, socklen_t); int shutdown(int, int); int socket(int, int, int); int sockatmark(int); int socketpair(int, int, int, ref int[2]); } else version( FreeBSD ) { alias uint socklen_t; alias ubyte sa_family_t; struct sockaddr { ubyte sa_len; sa_family_t sa_family; byte[14] sa_data; } private { enum _SS_ALIGNSIZE = long.sizeof; enum _SS_MAXSIZE = 128; enum _SS_PAD1SIZE = _SS_ALIGNSIZE - ubyte.sizeof - sa_family_t.sizeof; enum _SS_PAD2SIZE = _SS_MAXSIZE - ubyte.sizeof - sa_family_t.sizeof - _SS_PAD1SIZE - _SS_ALIGNSIZE; } struct sockaddr_storage { ubyte ss_len; sa_family_t ss_family; byte[_SS_PAD1SIZE] __ss_pad1; long __ss_align; byte[_SS_PAD2SIZE] __ss_pad2; } struct msghdr { void* msg_name; socklen_t msg_namelen; iovec* msg_iov; int msg_iovlen; void* msg_control; socklen_t msg_controllen; int msg_flags; } struct cmsghdr { socklen_t cmsg_len; int cmsg_level; int cmsg_type; } enum : uint { SCM_RIGHTS = 0x01 } private // <machine/param.h> { enum _ALIGNBYTES = /+c_int+/ int.sizeof - 1; extern (D) size_t _ALIGN( size_t p ) { return (p + _ALIGNBYTES) & ~_ALIGNBYTES; } } extern (D) ubyte* CMSG_DATA( cmsghdr* cmsg ) { return cast(ubyte*) cmsg + _ALIGN( cmsghdr.sizeof ); } extern (D) cmsghdr* CMSG_NXTHDR( msghdr* mhdr, cmsghdr* cmsg ) { if( cmsg == null ) { return CMSG_FIRSTHDR( mhdr ); } else { if( cast(ubyte*) cmsg + _ALIGN( cmsg.cmsg_len ) + _ALIGN( cmsghdr.sizeof ) > cast(ubyte*) mhdr.msg_control + mhdr.msg_controllen ) return null; else return cast(cmsghdr*) (cast(ubyte*) cmsg + _ALIGN( cmsg.cmsg_len )); } } extern (D) cmsghdr* CMSG_FIRSTHDR( msghdr* mhdr ) { return mhdr.msg_controllen >= cmsghdr.sizeof ? cast(cmsghdr*) mhdr.msg_control : null; } struct linger { int l_onoff; int l_linger; } enum { SOCK_DGRAM = 2, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum : uint { SOL_SOCKET = 0xffff } enum : uint { SO_ACCEPTCONN = 0x0002, SO_BROADCAST = 0x0020, SO_DEBUG = 0x0001, SO_DONTROUTE = 0x0010, SO_ERROR = 0x1007, SO_KEEPALIVE = 0x0008, SO_LINGER = 0x0080, SO_NOSIGPIPE = 0x0800, // non-standard SO_OOBINLINE = 0x0100, SO_RCVBUF = 0x1002, SO_RCVLOWAT = 0x1004, SO_RCVTIMEO = 0x1006, SO_REUSEADDR = 0x0004, SO_SNDBUF = 0x1001, SO_SNDLOWAT = 0x1003, SO_SNDTIMEO = 0x1005, SO_TYPE = 0x1008 } enum { SOMAXCONN = 128 } enum : uint { MSG_CTRUNC = 0x20, MSG_DONTROUTE = 0x4, MSG_EOR = 0x8, MSG_OOB = 0x1, MSG_PEEK = 0x2, MSG_TRUNC = 0x10, MSG_WAITALL = 0x40, MSG_NOSIGNAL = 0x20000 } enum { AF_APPLETALK = 16, AF_INET = 2, AF_IPX = 23, AF_UNIX = 1, AF_UNSPEC = 0 } enum { SHUT_RD = 0, SHUT_WR = 1, SHUT_RDWR = 2 } int accept(int, sockaddr*, socklen_t*); int bind(int, in sockaddr*, socklen_t); int connect(int, in sockaddr*, socklen_t); int getpeername(int, sockaddr*, socklen_t*); int getsockname(int, sockaddr*, socklen_t*); int getsockopt(int, int, int, void*, socklen_t*); int listen(int, int); ssize_t recv(int, void*, size_t, int); ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*); ssize_t recvmsg(int, msghdr*, int); ssize_t send(int, in void*, size_t, int); ssize_t sendmsg(int, in msghdr*, int); ssize_t sendto(int, in void*, size_t, int, in sockaddr*, socklen_t); int setsockopt(int, int, int, in void*, socklen_t); int shutdown(int, int); int socket(int, int, int); int sockatmark(int); int socketpair(int, int, int, ref int[2]); } else version(NetBSD) { alias uint socklen_t; alias ubyte sa_family_t; struct sockaddr { ubyte sa_len; sa_family_t sa_family; byte[14] sa_data; } private { enum _SS_ALIGNSIZE = long.sizeof; enum _SS_MAXSIZE = 128; enum _SS_PAD1SIZE = _SS_ALIGNSIZE - ubyte.sizeof - sa_family_t.sizeof; enum _SS_PAD2SIZE = _SS_MAXSIZE - ubyte.sizeof - sa_family_t.sizeof - _SS_PAD1SIZE - _SS_ALIGNSIZE; } struct sockaddr_storage { ubyte ss_len; sa_family_t ss_family; byte[_SS_PAD1SIZE] __ss_pad1; long __ss_align; byte[_SS_PAD2SIZE] __ss_pad2; } struct msghdr { void* msg_name; socklen_t msg_namelen; iovec* msg_iov; int msg_iovlen; void* msg_control; socklen_t msg_controllen; int msg_flags; } struct cmsghdr { socklen_t cmsg_len; int cmsg_level; int cmsg_type; } enum : uint { SCM_RIGHTS = 0x01 } private // <machine/param.h> { enum _ALIGNBYTES = /+c_int+/ int.sizeof - 1; extern (D) size_t _ALIGN( size_t p ) { return (p + _ALIGNBYTES) & ~_ALIGNBYTES; } } extern (D) ubyte* CMSG_DATA( cmsghdr* cmsg ) { return cast(ubyte*) cmsg + _ALIGN( cmsghdr.sizeof ); } extern (D) cmsghdr* CMSG_NXTHDR( msghdr* mhdr, cmsghdr* cmsg ) { if( cmsg == null ) { return CMSG_FIRSTHDR( mhdr ); } else { if( cast(ubyte*) cmsg + _ALIGN( cmsg.cmsg_len ) + _ALIGN( cmsghdr.sizeof ) > cast(ubyte*) mhdr.msg_control + mhdr.msg_controllen ) return null; else return cast(cmsghdr*) (cast(ubyte*) cmsg + _ALIGN( cmsg.cmsg_len )); } } extern (D) cmsghdr* CMSG_FIRSTHDR( msghdr* mhdr ) { return mhdr.msg_controllen >= cmsghdr.sizeof ? cast(cmsghdr*) mhdr.msg_control : null; } struct linger { int l_onoff; int l_linger; } enum { SOCK_DGRAM = 2, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum : uint { SOL_SOCKET = 0xffff } enum : uint { SO_DEBUG = 0x0001, /* turn on debugging info recording */ SO_ACCEPTCONN = 0x0002, /* socket has had listen() */ SO_REUSEADDR = 0x0004, /* allow local address reuse */ SO_KEEPALIVE = 0x0008, /* keep connections alive */ SO_DONTROUTE = 0x0010, /* just use interface addresses */ SO_BROADCAST = 0x0020, /* permit sending of broadcast msgs */ SO_USELOOPBACK = 0x0040, /* bypass hardware when possible */ SO_LINGER = 0x0080, /* linger on close if data present */ SO_OOBINLINE = 0x0100, /* leave received OOB data in line */ SO_REUSEPORT = 0x0200, /* allow local address & port reuse */ /* SO_OTIMESTAMP 0x0400 */ SO_NOSIGPIPE = 0x0800, /* no SIGPIPE from EPIPE */ SO_ACCEPTFILTER = 0x1000, /* there is an accept filter */ SO_TIMESTAMP = 0x2000, /* timestamp received dgram traffic */ /* * Additional options, not kept in so_options. */ SO_SNDBUF = 0x1001, /* send buffer size */ SO_RCVBUF = 0x1002, /* receive buffer size */ SO_SNDLOWAT = 0x1003, /* send low-water mark */ SO_RCVLOWAT = 0x1004, /* receive low-water mark */ /* SO_OSNDTIMEO 0x1005 */ /* SO_ORCVTIMEO 0x1006 */ SO_ERROR = 0x1007, /* get error status and clear */ SO_TYPE = 0x1008, /* get socket type */ SO_OVERFLOWED = 0x1009, /* datagrams: return packets dropped */ SO_NOHEADER = 0x100a, /* user supplies no header to kernel; * kernel removes header and supplies * payload */ SO_SNDTIMEO = 0x100b, /* send timeout */ SO_RCVTIMEO = 0x100c /* receive timeout */ } enum { SOMAXCONN = 128 } enum : uint { MSG_OOB = 0x0001, /* process out-of-band data */ MSG_PEEK = 0x0002, /* peek at incoming message */ MSG_DONTROUTE = 0x0004, /* send without using routing tables */ MSG_EOR = 0x0008, /* data completes record */ MSG_TRUNC = 0x0010, /* data discarded before delivery */ MSG_CTRUNC = 0x0020, /* control data lost before delivery */ MSG_WAITALL = 0x0040, /* wait for full request or error */ MSG_DONTWAIT = 0x0080, /* this message should be nonblocking */ MSG_BCAST = 0x0100, /* this message was rcvd using link-level brdcst */ MSG_MCAST = 0x0200, /* this message was rcvd using link-level mcast */ MSG_NOSIGNAL = 0x0400 /* do not generate SIGPIPE on EOF */ } enum { AF_APPLETALK = 16, AF_INET = 2, AF_IPX = 23, AF_UNIX = 1, AF_UNSPEC = 0 } enum { SHUT_RD = 0, SHUT_WR = 1, SHUT_RDWR = 2 } int accept(int, sockaddr*, socklen_t*); int bind(int, in sockaddr*, socklen_t); int connect(int, in sockaddr*, socklen_t); int getpeername(int, sockaddr*, socklen_t*); int getsockname(int, sockaddr*, socklen_t*); int getsockopt(int, int, int, void*, socklen_t*); int listen(int, int); ssize_t recv(int, void*, size_t, int); ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*); ssize_t recvmsg(int, msghdr*, int); ssize_t send(int, in void*, size_t, int); ssize_t sendmsg(int, in msghdr*, int); ssize_t sendto(int, in void*, size_t, int, in sockaddr*, socklen_t); int setsockopt(int, int, int, in void*, socklen_t); int shutdown(int, int); int socket(int, int, int); int sockatmark(int); int socketpair(int, int, int, ref int[2]); } else version (Solaris) { alias uint socklen_t; alias ushort sa_family_t; struct sockaddr { sa_family_t sa_family; char[14] sa_data; } alias double sockaddr_maxalign_t; private { enum _SS_ALIGNSIZE = sockaddr_maxalign_t.sizeof; enum _SS_MAXSIZE = 256; enum _SS_PAD1SIZE = _SS_ALIGNSIZE - sa_family_t.sizeof; enum _SS_PAD2SIZE = _SS_MAXSIZE - sa_family_t.sizeof + _SS_PAD1SIZE + _SS_ALIGNSIZE; } struct sockaddr_storage { sa_family_t ss_family; char[_SS_PAD1SIZE] _ss_pad1; sockaddr_maxalign_t _ss_align; char[_SS_PAD2SIZE] _ss_pad2; } struct msghdr { void* msg_name; socklen_t msg_namelen; iovec* msg_iov; int msg_iovlen; void* msg_control; socklen_t msg_controllen; int msg_flags; } struct cmsghdr { socklen_t cmsg_len; int cmsg_level; int cmsg_type; } enum : uint { SCM_RIGHTS = 0x1010 } // FIXME: CMSG_DATA, CMSG_NXTHDR, CMSG_FIRSTHDR missing struct linger { int l_onoff; int l_linger; } enum { SOCK_STREAM = 2, SOCK_DGRAM = 1, SOCK_RDM = 5, SOCK_SEQPACKET = 6, } enum : uint { SOL_SOCKET = 0xffff } enum : uint { SO_ACCEPTCONN = 0x0002, SO_BROADCAST = 0x0020, SO_DEBUG = 0x0001, SO_DONTROUTE = 0x0010, SO_ERROR = 0x1007, SO_KEEPALIVE = 0x0008, SO_LINGER = 0x0080, SO_OOBINLINE = 0x0100, SO_RCVBUF = 0x1002, SO_RCVLOWAT = 0x1004, SO_RCVTIMEO = 0x1006, SO_REUSEADDR = 0x0004, SO_SNDBUF = 0x1001, SO_SNDLOWAT = 0x1003, SO_SNDTIMEO = 0x1005, SO_TYPE = 0x1008, SO_USELOOPBACK = 0x0040, // non-standard SO_DGRAM_ERRIND = 0x0200, // non-standard SO_RECVUCRED = 0x0400, // non-standard } enum { SOMAXCONN = 128 } enum : uint { MSG_CTRUNC = 0x10, MSG_DONTROUTE = 0x4, MSG_EOR = 0x8, MSG_OOB = 0x1, MSG_PEEK = 0x2, MSG_TRUNC = 0x20, MSG_WAITALL = 0x40 } enum { AF_IPX = 23, AF_APPLETALK = 16, AF_INET = 2, AF_UNIX = 1, AF_UNSPEC = 0 } enum { SHUT_RD, SHUT_WR, SHUT_RDWR } int accept(int, sockaddr*, socklen_t*); int bind(int, in sockaddr*, socklen_t); int connect(int, in sockaddr*, socklen_t); int getpeername(int, sockaddr*, socklen_t*); int getsockname(int, sockaddr*, socklen_t*); int getsockopt(int, int, int, void*, socklen_t*); int listen(int, int); ssize_t recv(int, void*, size_t, int); ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*); ssize_t recvmsg(int, msghdr*, int); ssize_t send(int, in void*, size_t, int); ssize_t sendmsg(int, in msghdr*, int); ssize_t sendto(int, in void*, size_t, int, in sockaddr*, socklen_t); int setsockopt(int, int, int, in void*, socklen_t); int shutdown(int, int); int socket(int, int, int); int sockatmark(int); int socketpair(int, int, int, ref int[2]); } else version( CRuntime_Bionic ) { alias int socklen_t; alias ushort sa_family_t; struct sockaddr { sa_family_t sa_family; byte[14] sa_data; } private enum size_t _K_SS_MAXSIZE = 128; struct sockaddr_storage { ushort ss_family; byte[_K_SS_MAXSIZE - ushort.sizeof] __data; } enum : uint { SCM_RIGHTS = 0x01 } private enum _ALIGNBYTES = c_long.sizeof - 1; extern (D) { size_t CMSG_ALIGN( size_t len ) { return (len + _ALIGNBYTES) & ~_ALIGNBYTES; } void* CMSG_DATA( cmsghdr* cmsg ) { return cast(void*) (cast(char*) cmsg + CMSG_ALIGN( cmsghdr.sizeof )); } cmsghdr* CMSG_NXTHDR( msghdr* mhdr, cmsghdr* cmsg ) { cmsghdr* __ptr = cast(cmsghdr*) ((cast(ubyte*) cmsg) + CMSG_ALIGN(cmsg.cmsg_len)); return cast(c_ulong)( cast(char*)(__ptr+1) - cast(char*) mhdr.msg_control) > mhdr.msg_controllen ? null : __ptr; } cmsghdr* CMSG_FIRSTHDR( msghdr* mhdr ) { return mhdr.msg_controllen >= cmsghdr.sizeof ? cast(cmsghdr*) mhdr.msg_control : null; } } struct linger { int l_onoff; int l_linger; } struct msghdr { void* msg_name; int msg_namelen; iovec* msg_iov; __kernel_size_t msg_iovlen; void* msg_control; __kernel_size_t msg_controllen; uint msg_flags; } struct cmsghdr { __kernel_size_t cmsg_len; int cmsg_level; int cmsg_type; } version (X86) { alias uint __kernel_size_t; enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 18, SO_RCVTIMEO = 20, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 19, SO_SNDTIMEO = 21, SO_TYPE = 3 } } else version (ARM) { alias uint __kernel_size_t; enum { SOCK_DGRAM = 2, SOCK_SEQPACKET = 5, SOCK_STREAM = 1 } enum { SOL_SOCKET = 1 } enum { SO_ACCEPTCONN = 30, SO_BROADCAST = 6, SO_DEBUG = 1, SO_DONTROUTE = 5, SO_ERROR = 4, SO_KEEPALIVE = 9, SO_LINGER = 13, SO_OOBINLINE = 10, SO_RCVBUF = 8, SO_RCVLOWAT = 18, SO_RCVTIMEO = 20, SO_REUSEADDR = 2, SO_SNDBUF = 7, SO_SNDLOWAT = 19, SO_SNDTIMEO = 21, SO_TYPE = 3 } } else { static assert(false, "Architecture not supported."); } enum { SOMAXCONN = 128 } enum : uint { MSG_CTRUNC = 0x08, MSG_DONTROUTE = 0x04, MSG_EOR = 0x80, MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_TRUNC = 0x20, MSG_WAITALL = 0x100 } enum { AF_APPLETALK = 5, AF_INET = 2, AF_IPX = 4, AF_UNIX = 1, AF_UNSPEC = 0 } enum { SHUT_RD, SHUT_WR, SHUT_RDWR } enum SOCK_RDM = 4; int accept(int, sockaddr*, socklen_t*); int bind(int, in sockaddr*, int); int connect(int, in sockaddr*, socklen_t); int getpeername(int, sockaddr*, socklen_t*); int getsockname(int, sockaddr*, socklen_t*); int getsockopt(int, int, int, void*, socklen_t*); int listen(int, int); ssize_t recv(int, void*, size_t, uint); ssize_t recvfrom(int, void*, size_t, uint, in sockaddr*, socklen_t*); int recvmsg(int, msghdr*, uint); ssize_t send(int, in void*, size_t, uint); int sendmsg(int, in msghdr*, uint); ssize_t sendto(int, in void*, size_t, int, in sockaddr*, socklen_t); int setsockopt(int, int, int, in void*, socklen_t); int shutdown(int, int); int socket(int, int, int); int socketpair(int, int, int, ref int[2]); } else { static assert(false, "Unsupported platform"); } // // IPV6 (IP6) // /* AF_INET6 */ version( CRuntime_Glibc ) { enum { AF_INET6 = 10 } } else version( Darwin ) { enum { AF_INET6 = 30 } } else version( FreeBSD ) { enum { AF_INET6 = 28 } } else version(NetBSD) { enum { AF_INET6 = 24 } } else version (Solaris) { enum { AF_INET6 = 26, } } else version( CRuntime_Bionic ) { enum { AF_INET6 = 10 } } else { static assert(false, "Unsupported platform"); } // // Raw Sockets (RS) // /* SOCK_RAW */ version( CRuntime_Glibc ) { enum { SOCK_RAW = 3 } } else version( Darwin ) { enum { SOCK_RAW = 3 } } else version( FreeBSD ) { enum { SOCK_RAW = 3 } } else version(NetBSD) { enum { SOCK_RAW = 3 } } else version (Solaris) { enum { SOCK_RAW = 4, } } else version( CRuntime_Bionic ) { enum { SOCK_RAW = 3 } } else { static assert(false, "Unsupported platform"); }
D
/Users/laurin/Documents/School/fbxpollenfallen/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/AxisRendererBase.o : /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/Legend.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/Description.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/LegendEntry.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/laurin/Documents/School/fbxpollenfallen/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/laurin/Documents/School/fbxpollenfallen/build/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/laurin/Documents/School/fbxpollenfallen/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/AxisRendererBase~partial.swiftmodule : /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/Legend.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/Description.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/LegendEntry.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/laurin/Documents/School/fbxpollenfallen/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/laurin/Documents/School/fbxpollenfallen/build/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Users/laurin/Documents/School/fbxpollenfallen/build/Pods.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/AxisRendererBase~partial.swiftdoc : /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/Legend.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/MarkerImage.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/Range.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/AxisBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/ComponentBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/Fill.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/Platform.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/Description.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/IMarker.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/Transformer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Renderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Animation/Animator.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Filters/DataApproximator.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/XAxis.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/YAxis.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/ChartUtils.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Highlight/Highlight.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/MarkerView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/PieChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/LineChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/BarChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/RadarChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/laurin/Documents/School/fbxpollenfallen/Pods/Charts/Source/Charts/Components/LegendEntry.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/laurin/Documents/School/fbxpollenfallen/Pods/Target\ Support\ Files/Charts/Charts-umbrella.h /Users/laurin/Documents/School/fbxpollenfallen/build/Pods.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap
D
/** * D header file for NetBSD. * * Copyright: Copyright Martin Nowak 2012. * License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). * Authors: Martin Nowak * * http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/include/dlfcn.h */ module core.sys.netbsd.dlfcn; public import core.sys.posix.dlfcn; version (NetBSD): extern (C): nothrow: @nogc: enum __BSD_VISIBLE = true; /* * Modes and flags for dlopen(). */ static assert(RTLD_LAZY == 1); static assert(RTLD_NOW == 2); static assert(RTLD_GLOBAL == 0x100); static assert(RTLD_LOCAL == 0x200); //enum RTLD_TRACE = 0x200; enum RTLD_NODELETE = 0x01000; enum RTLD_NOLOAD = 0x02000; /* * Request arguments for dlinfo(). */ enum RTLD_DI_LINKMAP = 3; /* Obtain link map. */ enum RTLD_DI_SERINFO = 5; /* Obtain search path info. */ enum RTLD_DI_SERINFOSIZE = 6; /* ... query for required space. */ enum RTLD_DI_ORIGIN = 7; /* Obtain object origin */ enum RTLD_DI_MAX = RTLD_DI_ORIGIN; /* * Special handle arguments for dlsym()/dlinfo(). */ enum RTLD_NEXT = cast(void *)-1; /* Search subsequent objects. */ enum RTLD_DEFAULT = cast(void *)-2; /* Use default search algorithm. */ enum RTLD_SELF = cast(void *)-3; /* Search the caller itself. */ static if (__BSD_VISIBLE) { /* * Structure filled in by dladdr(). */ struct Dl_info { const(char) *dli_fname; /* Pathname of shared object. */ void *dli_fbase; /* Base address of shared object. */ const(char) *dli_sname; /* Name of nearest symbol. */ void *dli_saddr; /* Address of nearest symbol. */ } /*- * The actual type declared by this typedef is immaterial, provided that * it is a function pointer. Its purpose is to provide a return type for * dlfunc() which can be cast to a function pointer type without depending * on behavior undefined by the C standard, which might trigger a compiler * diagnostic. We intentionally declare a unique type signature to force * a diagnostic should the application not cast the return value of dlfunc() * appropriately. */ struct __dlfunc_arg { int __dlfunc_dummy; } alias dlfunc_t = void function(__dlfunc_arg); /* * Structures, returned by the RTLD_DI_SERINFO dlinfo() request. */ struct Dl_serpath { char * dls_name; /* single search path entry */ uint dls_flags; /* path information */ } struct Dl_serinfo { size_t dls_size; /* total buffer size */ uint dls_cnt; /* number of path entries */ Dl_serpath[1] dls_serpath; /* there may be more than one */ } } private template __externC(RT, P...) { alias __externC = extern(C) RT function(P) nothrow @nogc; } /* XSI functions first. */ static assert(is(typeof(&dlclose) == __externC!(int, void*))); static assert(is(typeof(&dlerror) == __externC!(char*))); static assert(is(typeof(&dlopen) == __externC!(void*, const char*, int))); static assert(is(typeof(&dlsym) == __externC!(void*, void*, const char*))); static if (__BSD_VISIBLE) { //void* fdlopen(int, int); int dladdr(const(void)*, Dl_info*); //dlfunc_t dlfunc(void*, const(char)*); int dlinfo(void*, int, void*); /+void dllockinit(void* _context, void* function(void* _context) _lock_create, void function(void* _lock) _rlock_acquire, void function(void* _lock) _wlock_acquire, void function(void* _lock) _lock_release, void function(void* _lock) _lock_destroy, void function(void* _context) _context_destroy);+/ void* dlvsym(void*, const(char)*, const(char)*); }
D
// PERMUTE_ARGS: int magicVariable() { if (__ctfe) return 3; version(GNU) { version(X86) asm { "nop"; } else version(X86_64) asm { "nop"; } else static assert(""); } else asm { nop; } return 2; } static assert(magicVariable()==3); void main() { assert(!__ctfe); assert(magicVariable()==2); } // https://issues.dlang.org/show_bug.cgi?id=991 -- invalid. // https://issues.dlang.org/show_bug.cgi?id=3500 -- is this related to 2127? // Tests for ^^ // TODO: These tests should not require import std.math. import std.math; // Test float ^^ int static assert( 27.0 ^^ 5 == 27.0 * 27.0 * 27.0 * 27.0 * 27.0); static assert( 2.0 ^^ 3 == 8.0); static assert( 2.0 ^^ 4 == 16.0); static assert( 2 ^^ 4 == 16); // Check the typing rules. static assert( is (typeof(2.0^^7) == double)); static assert( is (typeof(7^^3) == int)); static assert( is (typeof(7L^^3) == long)); static assert( is (typeof(7^^3L) == long)); enum short POW_SHORT_1 = 3; enum short POW_SHORT_3 = 7; static assert( is (typeof(POW_SHORT_1 * POW_SHORT_1) == typeof(POW_SHORT_1*POW_SHORT_1))); static assert( is (typeof(7.0^^3) == double)); static assert( is (typeof(7.0L^^3) == real)); static assert( is (typeof(7.0f^^3) == float)); static assert( is (typeof(POW_SHORT_1^^3.1) == double)); static assert( is (typeof(POW_SHORT_1^^3.1f) == float)); static assert( is (typeof(2.1f ^^ POW_SHORT_1) == float)); static assert( is (typeof(7.0f^^3.1) == double)); static assert( is (typeof(7.0^^3.1f) == double)); static assert( is (typeof(7.0f^^3.1f) == float)); static assert( is (typeof(7.0f^^3.1L) == real)); static assert( is (typeof(7.0L^^3.1f) == real)); // Check typing for special cases static assert( is (typeof(7.0f^^2) == float)); static assert( is (typeof(7.0f^^2.0) == double)); static assert( is (typeof(7.0f^^8.0) == double)); static assert( is (typeof(1^^0.5f) == float)); static assert( is (typeof(7^^0.5f) == float)); static assert( is (typeof(3L^^0.5) == double)); static assert( is (typeof(123^^17.0f) == float)); static assert(POW_SHORT_1 ^^ 2 == 9); static assert(4.0 ^^ POW_SHORT_1 == 4.0*4.0*4.0); static assert(4.0 ^^ 7.0 == 4.0*4.0*4.0*4.0*4.0*4.0*4.0); // ^^ has higher precedence than multiply static assert( 2 * 2 ^^ 3 + 1 == 17); static assert( 2 ^^ 3 * 2 + 1 == 17); // ^^ has higher precedence than negate static assert( -2 ^^ 3 * 2 - 1 == -17); // ^^ is right associative static assert( 2 ^^ 3 ^^ 2 == 2 ^^ 9); static assert( 2.0 ^^ -3 ^^ 2 == 2.0 ^^ -9); // 1 ^^ n is always 1, even if n is negative static assert( 1 ^^ -5 == 1); // -1 ^^ n gets transformed into n & 1 ? -1 : 1 // even if n is negative static assert( (-1) ^^ -5 == -1); static assert( (-1) ^^ -4 == 1); static assert( (-1) ^^ 0 == 1); // n ^^ 0 is always 1 static assert( (-5) ^^ 0 == 1); // n ^^ 1 is always n static assert( 6.0 ^^ 1 == 6.0); // n ^^ -1.0 gets transformed into 1.0 / n, even if n is negative static assert( (-4) ^^ -1.0 == 1.0 / -4); static assert( 9 ^^ -1.0 == 1.0 / 9); // Other integers raised to negative powers create an error static assert( !is(typeof(2 ^^ -5))); static assert( !is(typeof((-2) ^^ -4))); // https://issues.dlang.org/show_bug.cgi?id=3535 struct StructWithCtor { this(int _n) { n = _n; x = 5; } this(int _n, float _x) { n = _n; x = _x; } int n; float x; } int containsAsm() { version(GNU) { version(X86) asm { "nop"; } else version(X86_64) asm { "nop"; } else static assert(""); } else asm { nop; } return 0; } enum A = StructWithCtor(1); enum B = StructWithCtor(7, 2.3); static assert(A.n == 1); static assert(A.x == 5.0); static assert(B.n == 7); static assert(B.x == 2.3); int bazra(int x) { StructWithCtor p = StructWithCtor(4); return p.n ^^ 3; } static assert(bazra(14)==64); void moreCommaTests() { (containsAsm(), containsAsm()); auto k = containsAsm(); for (int i=0; i< k^^2; i+=StructWithCtor(1).n) {} } // Test copy constructors struct CopyTest { double x; this(double a) { x = a * 10.0;} this(this) { x+=2.0;} } struct CopyTest2 { int x; int x1; int x2; int x3; this(int a) { x = a * 2; x1 = 3;} this(this) { x1+=17;} } const CopyTest z = CopyTest(5.3); /+ // TODO: This is not yet supported. But it // generates an error message instead of wrong-code. const CopyTest w = z; static assert(z.x==55.0); +/ int copytest1() { CopyTest z = CopyTest(3.4); CopyTest w = z; assert(w.x == 36.0); CopyTest2 q = CopyTest2(7); CopyTest2 q2 = q; CopyTest2 q3 = q2; assert(q3.x1 == 37); return 123; } static assert(copytest1()==123); // This must not cause a segfault alias int FILTH; struct Filth { struct Impl { FILTH * handle = null; this(FILTH* h, uint r, string n) { handle = h; } } Impl * p; this(string name, in char[] stdioOpenmode = "rb") { } ~this() { if (!p) return; } this(this) { if (!p) return; } } struct InputByChar { private Filth _f; this(Filth f) { _f = f; } } static int nastyForCtfe=4; // Can't use a global variable static assert(!is(typeof( (){ static assert(0!=nastyForCtfe^^2); }))); int anotherPowTest() { double x = 5.0; return x^^4 > 2.0 ? 3: 2; }
D
// This source code is in the public domain. // Open a Single File Using a Dialog import std.stdio; import gtk.MainWindow; import gtk.Box; import gtk.Main; import gtk.Menu; import gtk.MenuBar; import gtk.MenuItem; import gtk.Widget; import gdk.Event; import gtk.FileChooserDialog; import gtk.Window; import gtk.Widget; void main(string[] args) { TestRigWindow testRigWindow; Main.init(args); testRigWindow = new TestRigWindow(); Main.run(); } // main() class TestRigWindow : MainWindow { string title = "Open a File Using a Dialog"; this() { super(title); setDefaultSize(640, 480); addOnDestroy(&quitApp); AppBox appBox = new AppBox(this); add(appBox); showAll(); } // this() void quitApp(Widget w) { // do other exit stuff here if necessary Main.quit(); } // quitApp() } // testRigWindow class AppBox : Box { int padding = 10; MyMenuBar menuBar; this(Window parentWindow) { super(Orientation.VERTICAL, padding); menuBar = new MyMenuBar(parentWindow); packStart(menuBar, false, false, 0); } // this() } // class AppBox class MyMenuBar : MenuBar { string fileHeaderLabel = "File"; FileHeader fileHeader; this(Window parentWindow) { super(); fileHeader = new FileHeader(fileHeaderLabel, parentWindow); append(fileHeader); } // this() } // class MyMenuBar class FileHeader : MenuItem { FileMenu fileMenu; // arg: a Menu object this(string headerTitle, Window parentWindow) { super(headerTitle); fileMenu = new FileMenu(parentWindow); setSubmenu(fileMenu); } // this() } // class FileHeader class FileMenu : Menu { FileOpenItem fileOpenItem; // arg: an array of items this(Window parentWindow) { super(); fileOpenItem = new FileOpenItem(parentWindow); append(fileOpenItem); } // this() } // class FileMenu class FileOpenItem : MenuItem { string itemLabel = "Open"; FileChooserDialog fileChooserDialog; Window parentWindow; string filename; this(Window extParentWindow) { super(itemLabel); addOnActivate(&doSomething); parentWindow = extParentWindow; } // this() void doSomething(MenuItem mi) { int response; FileChooserAction action = FileChooserAction.OPEN; FileChooserDialog dialog = new FileChooserDialog("Open a File", parentWindow, action, null, null); response = dialog.run(); if(response == ResponseType.OK) { filename = dialog.getFilename(); openFile(filename); } else { writeln("cancelled."); } dialog.destroy(); } // doSomething() void openFile(string filename) { writeln("file to open: ", filename); } // openFile() } // class FileOpenItem
D
module dsl._; public import dsl.ast._; public import dsl.semantic._; public import dsl.syntax._; public import dsl.utils._;
D
module android.java.java.util.prefs.PreferenceChangeListener; public import android.java.java.util.prefs.PreferenceChangeListener_d_interface; import arsd.jni : ImportExportImpl; mixin ImportExportImpl!PreferenceChangeListener; import import1 = android.java.java.lang.Class;
D
import std.stdio, std.string, std.process; immutable header=q"EOS # Correlation function parameters ns=202 nmu=100 smax = 202.0 # Tree parameters minPart=500 # Job parameters nworkers=23 # jobs --- D filename R filename prefix [noRR] # prefix the parameters by job (followed by anything --- the code will sort into lexical order) # separate by spaces, if there is an optional 4th parameter == noRR, skip the RR in this case EOS"; immutable qsub=q"EOS #PBS -q regular #PBS -l mppwidth=1536 #PBS -l walltime=1:00:00 #PBS -j oe #PBS -o ngc.$PBS_JOBID.out cd $PBS_O_WORKDIR setenv CRAY_ROOTFS DSL module unload xt-shmem module load gsl aprun -n 64 -N 1 -d 24 ./do_smu_asyncio.x recon_ngc_%d.ini EOS"; void main(string[] args) { auto fstr = "recon_ngc_%d"; foreach (iblock; 1..10) { auto ff = File(format(fstr,iblock)~".ini","w"); immutable formatstr="job%03d=../recon_ngc/qpm_ngc_%03d.shift ../recon_ngc/qpm_ngc_%03d_random.shift recon_ngc/qpm_ngc_recon_%03d"; ff.write(header); foreach (i;(iblock*10)+1..(iblock+1)*10+1) { if (i==1) continue; ff.writef(formatstr,i,i,i,i); //if (i > 1) ff.write(" noRR"); ff.writeln; } ff.close(); // Force the close here! auto qsubfn = format(fstr,iblock)~".qsub"; ff = File(qsubfn,"w"); ff.writeln(format(qsub,iblock)); ff.close(); auto st = execute(["qsub",qsubfn]); writeln(st.output); } }
D
module UnrealScript.TribesGame.TrGame_TrStorm; import ScriptClasses; import UnrealScript.Helpers; import UnrealScript.TribesGame.TrStormCarrierShield; import UnrealScript.Engine.PlayerReplicationInfo; import UnrealScript.TribesGame.TrGame; import UnrealScript.TribesGame.TrStormControlPoint; import UnrealScript.TribesGame.TrStormCore; extern(C++) interface TrGame_TrStorm : TrGame { public extern(D): private static __gshared ScriptClass mStaticClass; @property final static ScriptClass StaticClass() { mixin(MGSCC("Class TribesGame.TrGame_TrStorm")); } private static __gshared TrGame_TrStorm mDefaultProperties; @property final static TrGame_TrStorm DefaultProperties() { mixin(MGDPC("TrGame_TrStorm", "TrGame_TrStorm TribesGame.Default__TrGame_TrStorm")); } static struct Functions { private static __gshared { ScriptFunction mPostBeginPlay; ScriptFunction mMissileFired; ScriptFunction mTick; ScriptFunction mExplodeMissile; ScriptFunction mTakeHealthDamage; ScriptFunction mCarrierDestroyed; ScriptFunction mTakeDamageFromCore; ScriptFunction mCheckEndGame; ScriptFunction mEndGame; ScriptFunction mDetermineWinningTeam; } public @property static final { ScriptFunction PostBeginPlay() { mixin(MGF("mPostBeginPlay", "Function TribesGame.TrGame_TrStorm.PostBeginPlay")); } ScriptFunction MissileFired() { mixin(MGF("mMissileFired", "Function TribesGame.TrGame_TrStorm.MissileFired")); } ScriptFunction Tick() { mixin(MGF("mTick", "Function TribesGame.TrGame_TrStorm.Tick")); } ScriptFunction ExplodeMissile() { mixin(MGF("mExplodeMissile", "Function TribesGame.TrGame_TrStorm.ExplodeMissile")); } ScriptFunction TakeHealthDamage() { mixin(MGF("mTakeHealthDamage", "Function TribesGame.TrGame_TrStorm.TakeHealthDamage")); } ScriptFunction CarrierDestroyed() { mixin(MGF("mCarrierDestroyed", "Function TribesGame.TrGame_TrStorm.CarrierDestroyed")); } ScriptFunction TakeDamageFromCore() { mixin(MGF("mTakeDamageFromCore", "Function TribesGame.TrGame_TrStorm.TakeDamageFromCore")); } ScriptFunction CheckEndGame() { mixin(MGF("mCheckEndGame", "Function TribesGame.TrGame_TrStorm.CheckEndGame")); } ScriptFunction EndGame() { mixin(MGF("mEndGame", "Function TribesGame.TrGame_TrStorm.EndGame")); } ScriptFunction DetermineWinningTeam() { mixin(MGF("mDetermineWinningTeam", "Function TribesGame.TrGame_TrStorm.DetermineWinningTeam")); } } } struct Missile { private ubyte __buffer__[9]; public extern(D): private static __gshared ScriptStruct mStaticClass; @property final static ScriptStruct StaticClass() { mixin(MGSCS("ScriptStruct TribesGame.TrGame_TrStorm.Missile")); } @property final auto ref { ubyte TargetTeam() { mixin(MGPS("ubyte", 8)); } float RemainingFlightTime() { mixin(MGPS("float", 4)); } TrStormControlPoint FiredFrom() { mixin(MGPS("TrStormControlPoint", 0)); } } } struct Carrier { private ubyte __buffer__[9]; public extern(D): private static __gshared ScriptStruct mStaticClass; @property final static ScriptStruct StaticClass() { mixin(MGSCS("ScriptStruct TribesGame.TrGame_TrStorm.Carrier")); } @property final auto ref { ubyte TeamNum() { mixin(MGPS("ubyte", 8)); } int CoreHealth() { mixin(MGPS("int", 4)); } int ShieldHealth() { mixin(MGPS("int", 0)); } } } static struct MatchEnding { private static __gshared ScriptState mStaticClass; @property final static ScriptState StaticClass() { mixin(MGSCSA("State TribesGame.TrGame_TrStorm.MatchEnding")); } } @property final auto ref { ScriptArray!(TrGame_TrStorm.Missile) m_fActiveMissiles() { mixin(MGPC("ScriptArray!(TrGame_TrStorm.Missile)", 1480)); } float MatchEndingTime() { mixin(MGPC("float", 1520)); } int m_nMaxCoreHealth() { mixin(MGPC("int", 1516)); } int m_nMaxShieldHealth() { mixin(MGPC("int", 1512)); } TrStormCore m_CarrierCore() { mixin(MGPC("TrStormCore", 1504)); } TrStormCarrierShield m_CarrierShields() { mixin(MGPC("TrStormCarrierShield", 1496)); } float m_fMissileDamageAmount() { mixin(MGPC("float", 1492)); } TrGame_TrStorm.Carrier m_Carriers() { mixin(MGPC("TrGame_TrStorm.Carrier", 1456)); } } final: void PostBeginPlay() { (cast(ScriptObject)this).ProcessEvent(Functions.PostBeginPlay, cast(void*)0, cast(void*)0); } void MissileFired(TrStormControlPoint FiredFrom, float TimeTillExplosion, ubyte TargetTeam) { ubyte params[9]; params[] = 0; *cast(TrStormControlPoint*)params.ptr = FiredFrom; *cast(float*)&params[4] = TimeTillExplosion; params[8] = TargetTeam; (cast(ScriptObject)this).ProcessEvent(Functions.MissileFired, params.ptr, cast(void*)0); } void Tick(float DeltaTime) { ubyte params[4]; params[] = 0; *cast(float*)params.ptr = DeltaTime; (cast(ScriptObject)this).ProcessEvent(Functions.Tick, params.ptr, cast(void*)0); } void ExplodeMissile(ubyte TeamNum) { ubyte params[1]; params[] = 0; params[0] = TeamNum; (cast(ScriptObject)this).ProcessEvent(Functions.ExplodeMissile, params.ptr, cast(void*)0); } void TakeHealthDamage(ubyte TeamNum, int DamageAmount) { ubyte params[8]; params[] = 0; params[0] = TeamNum; *cast(int*)&params[4] = DamageAmount; (cast(ScriptObject)this).ProcessEvent(Functions.TakeHealthDamage, params.ptr, cast(void*)0); } void CarrierDestroyed(ubyte TeamNum) { ubyte params[1]; params[] = 0; params[0] = TeamNum; (cast(ScriptObject)this).ProcessEvent(Functions.CarrierDestroyed, params.ptr, cast(void*)0); } void TakeDamageFromCore(ubyte TeamNum, int DamageAmount) { ubyte params[8]; params[] = 0; params[0] = TeamNum; *cast(int*)&params[4] = DamageAmount; (cast(ScriptObject)this).ProcessEvent(Functions.TakeDamageFromCore, params.ptr, cast(void*)0); } bool CheckEndGame(PlayerReplicationInfo Winner, ScriptString Reason) { ubyte params[20]; params[] = 0; *cast(PlayerReplicationInfo*)params.ptr = Winner; *cast(ScriptString*)&params[4] = Reason; (cast(ScriptObject)this).ProcessEvent(Functions.CheckEndGame, params.ptr, cast(void*)0); return *cast(bool*)&params[16]; } void EndGame(PlayerReplicationInfo Winner, ScriptString Reason) { ubyte params[16]; params[] = 0; *cast(PlayerReplicationInfo*)params.ptr = Winner; *cast(ScriptString*)&params[4] = Reason; (cast(ScriptObject)this).ProcessEvent(Functions.EndGame, params.ptr, cast(void*)0); } int DetermineWinningTeam() { ubyte params[4]; params[] = 0; (cast(ScriptObject)this).ProcessEvent(Functions.DetermineWinningTeam, params.ptr, cast(void*)0); return *cast(int*)params.ptr; } }
D
// RUNNABLE_PHOBOS_TEST // import std.math; void foo(T)(T[] b) { b[] = b[] ^^ 4; } void main() { double[] a = [10]; foo(a); assert(a[0] == 10000); }
D
/Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/NetworkReachabilityManager.o : /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/MultipartFormData.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Timeline.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Alamofire.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Response.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/TaskDelegate.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/SessionDelegate.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/ParameterEncoding.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Validation.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/ResponseSerialization.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/SessionManager.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/AFError.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Notifications.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Result.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Request.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/ServerTrustPolicy.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/slitovchenko/Documents/Smack/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/NetworkReachabilityManager~partial.swiftmodule : /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/MultipartFormData.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Timeline.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Alamofire.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Response.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/TaskDelegate.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/SessionDelegate.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/ParameterEncoding.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Validation.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/ResponseSerialization.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/SessionManager.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/AFError.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Notifications.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Result.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Request.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/ServerTrustPolicy.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/slitovchenko/Documents/Smack/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/NetworkReachabilityManager~partial.swiftdoc : /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/MultipartFormData.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Timeline.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Alamofire.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Response.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/TaskDelegate.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/SessionDelegate.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/ParameterEncoding.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Validation.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/ResponseSerialization.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/SessionManager.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/AFError.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Notifications.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Result.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/Request.swift /Users/slitovchenko/Documents/Smack/Pods/Alamofire/Source/ServerTrustPolicy.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/slitovchenko/Documents/Smack/Pods/Target\ Support\ Files/Alamofire/Alamofire-umbrella.h /Users/slitovchenko/Documents/Smack/DerivedData/Smack/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/* * expressionunit.d * * This module parses expressions. * */ module parsing.d.andexprunit; import parsing.parseunit; import parsing.token; import parsing.d.tokens; import parsing.d.nodes; import parsing.d.cmpexprunit; import io.console; import djehuty; class AndExprUnit : ParseUnit { override bool tokenFound(Token current) { switch (current.type) { case DToken.And: if (this.state == 1) { Console.putln("AND"); this.state = 0; break; } // Fall through goto default; default: lexer.push(current); if (this.state == 1) { // Done. return false; } auto tree = expand!(CmpExprUnit)(); this.state = 1; break; } return true; } protected: string cur_string = ""; static const string _common_error_msg = ""; static const string[] _common_error_usages = null; }
D
/** * Does name mangling for `extern(D)` symbols. * * Specification: $(LINK2 https://dlang.org/spec/abi.html#name_mangling, Name Mangling) * * Copyright: Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, http://www.digitalmars.com * 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/dmangle.d, _dmangle.d) * Documentation: https://dlang.org/phobos/dmd_dmangle.html * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dmangle.d * References: https://dlang.org/blog/2017/12/20/ds-newfangled-name-mangling/ */ module dmd.dmangle; /****************************************************************************** * Returns exact mangled name of function. */ extern (C++) const(char)* mangleExact(FuncDeclaration fd) { if (!fd.mangleString) { OutBuffer buf; scope Mangler v = new Mangler(&buf); v.mangleExact(fd); fd.mangleString = buf.extractChars(); } return fd.mangleString; } extern (C++) void mangleToBuffer(Type t, OutBuffer* buf) { if (t.deco) buf.writestring(t.deco); else { scope Mangler v = new Mangler(buf, t); v.visitWithMask(t, 0); } } extern (C++) void mangleToBuffer(Expression e, OutBuffer* buf) { scope Mangler v = new Mangler(buf); e.accept(v); } extern (C++) void mangleToBuffer(Dsymbol s, OutBuffer* buf) { scope Mangler v = new Mangler(buf); s.accept(v); } extern (C++) void mangleToBuffer(TemplateInstance ti, OutBuffer* buf) { scope Mangler v = new Mangler(buf); v.mangleTemplateInstance(ti); } /****************************************************************************** * Mangle function signatures ('this' qualifier, and parameter types) * to check conflicts in function overloads. * It's different from fd.type.deco. For example, fd.type.deco would be null * if fd is an auto function. * * Params: * buf = `OutBuffer` to write the mangled function signature to * fd = `FuncDeclaration` to mangle */ void mangleToFuncSignature(ref OutBuffer buf, FuncDeclaration fd) { auto tf = fd.type.isTypeFunction(); scope Mangler v = new Mangler(&buf); MODtoDecoBuffer(&buf, tf.mod); foreach (idx, param; tf.parameterList) param.accept(v); buf.writeByte('Z' - tf.parameterList.varargs); } /// Returns: `true` if the given character is a valid mangled character package bool isValidMangling(dchar c) nothrow { return c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c != 0 && strchr("$%().:?@[]_", c) || isUniAlpha(c); } // valid mangled characters unittest { assert('a'.isValidMangling); assert('B'.isValidMangling); assert('2'.isValidMangling); assert('@'.isValidMangling); assert('_'.isValidMangling); } // invalid mangled characters unittest { assert(!'-'.isValidMangling); assert(!0.isValidMangling); assert(!'/'.isValidMangling); assert(!'\\'.isValidMangling); } /********************************************** * Convert a string representing a type (the deco) and * return its equivalent Type. * Params: * deco = string containing the deco * Returns: * null for failed to convert * Type for succeeded */ public Type decoToType(const(char)[] deco) { //printf("decoToType(): %.*s\n", cast(int)deco.length, deco.ptr); if (auto sv = Type.stringtable.lookup(deco)) { if (sv.value) { Type t = cast(Type)sv.value; assert(t.deco); return t; } } return null; } /***************************************** private ***************************************/ private: import core.stdc.ctype; import core.stdc.stdio; import core.stdc.string; import dmd.aggregate; import dmd.arraytypes; import dmd.dclass; import dmd.declaration; import dmd.dmodule; import dmd.dsymbol; import dmd.dtemplate; import dmd.expression; import dmd.func; import dmd.globals; import dmd.id; import dmd.identifier; import dmd.mtype; import dmd.root.ctfloat; import dmd.root.outbuffer; import dmd.root.aav; import dmd.root.string; import dmd.root.stringtable; import dmd.target; import dmd.tokens; import dmd.utf; import dmd.visitor; private immutable char[TMAX] mangleChar = [ Tchar : 'a', Tbool : 'b', Tcomplex80 : 'c', Tfloat64 : 'd', Tfloat80 : 'e', Tfloat32 : 'f', Tint8 : 'g', Tuns8 : 'h', Tint32 : 'i', Timaginary80 : 'j', Tuns32 : 'k', Tint64 : 'l', Tuns64 : 'm', Tnull : 'n', Timaginary32 : 'o', Timaginary64 : 'p', Tcomplex32 : 'q', Tcomplex64 : 'r', Tint16 : 's', Tuns16 : 't', Twchar : 'u', Tvoid : 'v', Tdchar : 'w', // x // const // y // immutable Tint128 : 'z', // zi Tuns128 : 'z', // zk Tarray : 'A', Ttuple : 'B', Tclass : 'C', Tdelegate : 'D', Tenum : 'E', Tfunction : 'F', // D function Tsarray : 'G', Taarray : 'H', // I // in // J // out // K // ref // L // lazy // M // has this, or scope // N // Nh:vector Ng:wild Nn:noreturn // O // shared Tpointer : 'P', // Q // Type/symbol/identifier backward reference Treference : 'R', Tstruct : 'S', // T // Ttypedef // U // C function // W // Windows function // X // variadic T t...) // Y // variadic T t,...) // Z // not variadic, end of parameters // '@' shouldn't appear anywhere in the deco'd names Tnone : '@', Tident : '@', Tinstance : '@', Terror : '@', Ttypeof : '@', Tslice : '@', Treturn : '@', Tvector : '@', Ttraits : '@', Tmixin : '@', Tnoreturn : '@', // becomes 'Nn' ]; unittest { foreach (i, mangle; mangleChar) { if (mangle == char.init) { fprintf(stderr, "ty = %u\n", cast(uint)i); assert(0); } } } /*********************** * Mangle basic type ty to buf. */ private void tyToDecoBuffer(OutBuffer* buf, int ty) { const c = mangleChar[ty]; buf.writeByte(c); if (c == 'z') buf.writeByte(ty == Tint128 ? 'i' : 'k'); } /********************************* * Mangling for mod. */ private void MODtoDecoBuffer(OutBuffer* buf, MOD mod) { switch (mod) { case 0: break; case MODFlags.const_: buf.writeByte('x'); break; case MODFlags.immutable_: buf.writeByte('y'); break; case MODFlags.shared_: buf.writeByte('O'); break; case MODFlags.shared_ | MODFlags.const_: buf.writestring("Ox"); break; case MODFlags.wild: buf.writestring("Ng"); break; case MODFlags.wildconst: buf.writestring("Ngx"); break; case MODFlags.shared_ | MODFlags.wild: buf.writestring("ONg"); break; case MODFlags.shared_ | MODFlags.wildconst: buf.writestring("ONgx"); break; default: assert(0); } } private extern (C++) final class Mangler : Visitor { alias visit = Visitor.visit; public: static assert(Key.sizeof == size_t.sizeof); AssocArray!(Type, size_t) types; // Type => (offset+1) in buf AssocArray!(Identifier, size_t) idents; // Identifier => (offset+1) in buf OutBuffer* buf; Type rootType; extern (D) this(OutBuffer* buf, Type rootType = null) { this.buf = buf; this.rootType = rootType; } /** * writes a back reference with the relative position encoded with base 26 * using upper case letters for all digits but the last digit which uses * a lower case letter. * The decoder has to look up the referenced position to determine * whether the back reference is an identifer (starts with a digit) * or a type (starts with a letter). * * Params: * pos = relative position to encode */ void writeBackRef(size_t pos) { buf.writeByte('Q'); enum base = 26; size_t mul = 1; while (pos >= mul * base) mul *= base; while (mul >= base) { auto dig = cast(ubyte)(pos / mul); buf.writeByte('A' + dig); pos -= dig * mul; mul /= base; } buf.writeByte('a' + cast(ubyte)pos); } /** * Back references a non-basic type * * The encoded mangling is * 'Q' <relative position of first occurrence of type> * * Params: * t = the type to encode via back referencing * * Returns: * true if the type was found. A back reference has been encoded. * false if the type was not found. The current position is saved for later back references. */ bool backrefType(Type t) { if (t.isTypeBasic()) return false; /** * https://issues.dlang.org/show_bug.cgi?id=21591 * * Special case for unmerged TypeFunctions: use the generic merged * function type as backref cache key to avoid missed backrefs. * * Merging is based on mangling, so we need to avoid an infinite * recursion by excluding the case where `t` is the root type passed to * `mangleToBuffer()`. */ if (t != rootType) { if (t.ty == Tfunction || t.ty == Tdelegate || (t.ty == Tpointer && t.nextOf().ty == Tfunction)) { t = t.merge2(); } } return backrefImpl(types, t); } /** * Back references a single identifier * * The encoded mangling is * 'Q' <relative position of first occurrence of type> * * Params: * id = the identifier to encode via back referencing * * Returns: * true if the identifier was found. A back reference has been encoded. * false if the identifier was not found. The current position is saved for later back references. */ bool backrefIdentifier(Identifier id) { return backrefImpl(idents, id); } private extern(D) bool backrefImpl(T)(ref AssocArray!(T, size_t) aa, T key) { auto p = aa.getLvalue(key); if (*p) { const offset = *p - 1; writeBackRef(buf.length - offset); return true; } *p = buf.length + 1; return false; } void mangleSymbol(Dsymbol s) { s.accept(this); } void mangleType(Type t) { if (!backrefType(t)) t.accept(this); } void mangleIdentifier(Identifier id, Dsymbol s) { if (!backrefIdentifier(id)) toBuffer(id.toString(), s); } //////////////////////////////////////////////////////////////////////////// /************************************************** * Type mangling */ void visitWithMask(Type t, ubyte modMask) { if (modMask != t.mod) { MODtoDecoBuffer(buf, t.mod); } mangleType(t); } override void visit(Type t) { tyToDecoBuffer(buf, t.ty); } override void visit(TypeNext t) { visit(cast(Type)t); visitWithMask(t.next, t.mod); } override void visit(TypeVector t) { buf.writestring("Nh"); visitWithMask(t.basetype, t.mod); } override void visit(TypeSArray t) { visit(cast(Type)t); if (t.dim) buf.print(t.dim.toInteger()); if (t.next) visitWithMask(t.next, t.mod); } override void visit(TypeDArray t) { visit(cast(Type)t); if (t.next) visitWithMask(t.next, t.mod); } override void visit(TypeAArray t) { visit(cast(Type)t); visitWithMask(t.index, 0); visitWithMask(t.next, t.mod); } override void visit(TypeFunction t) { //printf("TypeFunction.toDecoBuffer() t = %p %s\n", t, t.toChars()); //static int nest; if (++nest == 50) *(char*)0=0; mangleFuncType(t, t, t.mod, t.next); } void mangleFuncType(TypeFunction t, TypeFunction ta, ubyte modMask, Type tret) { //printf("mangleFuncType() %s\n", t.toChars()); if (t.inuse && tret) { // printf("TypeFunction.mangleFuncType() t = %s inuse\n", t.toChars()); t.inuse = 2; // flag error to caller return; } t.inuse++; if (modMask != t.mod) MODtoDecoBuffer(buf, t.mod); char mc; final switch (t.linkage) { case LINK.default_: case LINK.system: case LINK.d: mc = 'F'; break; case LINK.c: mc = 'U'; break; case LINK.windows: mc = 'W'; break; case LINK.cpp: mc = 'R'; break; case LINK.objc: mc = 'Y'; break; } buf.writeByte(mc); if (ta.purity) buf.writestring("Na"); if (ta.isnothrow) buf.writestring("Nb"); if (ta.isref) buf.writestring("Nc"); if (ta.isproperty) buf.writestring("Nd"); if (ta.isnogc) buf.writestring("Ni"); if (ta.isreturn && !ta.isreturninferred) buf.writestring("Nj"); else if (ta.isScopeQual && !ta.isscopeinferred) buf.writestring("Nl"); if (ta.islive) buf.writestring("Nm"); switch (ta.trust) { case TRUST.trusted: buf.writestring("Ne"); break; case TRUST.safe: buf.writestring("Nf"); break; default: break; } // Write argument types foreach (idx, param; t.parameterList) param.accept(this); //if (buf.data[buf.length - 1] == '@') assert(0); buf.writeByte('Z' - t.parameterList.varargs); // mark end of arg list if (tret !is null) visitWithMask(tret, 0); t.inuse--; } override void visit(TypeIdentifier t) { visit(cast(Type)t); auto name = t.ident.toString(); buf.print(cast(int)name.length); buf.writestring(name); } override void visit(TypeEnum t) { visit(cast(Type)t); mangleSymbol(t.sym); } override void visit(TypeStruct t) { //printf("TypeStruct.toDecoBuffer('%s') = '%s'\n", t.toChars(), name); visit(cast(Type)t); mangleSymbol(t.sym); } override void visit(TypeClass t) { //printf("TypeClass.toDecoBuffer('%s' mod=%x) = '%s'\n", t.toChars(), mod, name); visit(cast(Type)t); mangleSymbol(t.sym); } override void visit(TypeTuple t) { //printf("TypeTuple.toDecoBuffer() t = %p, %s\n", t, t.toChars()); visit(cast(Type)t); Parameter._foreach(t.arguments, (idx, param) { param.accept(this); return 0; }); buf.writeByte('Z'); } override void visit(TypeNull t) { visit(cast(Type)t); } override void visit(TypeNoreturn t) { buf.writestring("Nn"); } //////////////////////////////////////////////////////////////////////////// void mangleDecl(Declaration sthis) { mangleParent(sthis); assert(sthis.ident); mangleIdentifier(sthis.ident, sthis); if (FuncDeclaration fd = sthis.isFuncDeclaration()) { mangleFunc(fd, false); } else if (sthis.type) { visitWithMask(sthis.type, 0); } else assert(0); } void mangleParent(Dsymbol s) { //printf("mangleParent() %s %s\n", s.kind(), s.toChars()); Dsymbol p; if (TemplateInstance ti = s.isTemplateInstance()) p = ti.isTemplateMixin() ? ti.parent : ti.tempdecl.parent; else p = s.parent; if (p) { uint localNum = s.localNum; mangleParent(p); auto ti = p.isTemplateInstance(); if (ti && !ti.isTemplateMixin()) { localNum = ti.tempdecl.localNum; mangleTemplateInstance(ti); } else if (p.getIdent()) { mangleIdentifier(p.ident, s); if (FuncDeclaration f = p.isFuncDeclaration()) mangleFunc(f, true); } else buf.writeByte('0'); /* There can be multiple different declarations in the same * function that have the same mangled name. * This results in localNum having a non-zero number, which * is used to add a fake parent of the form `__Sddd` to make * the mangled names unique. * https://issues.dlang.org/show_bug.cgi?id=20565 */ if (localNum) { uint ndigits = 1; auto n = localNum; while (n >= 10) { n /= 10; ++ndigits; } buf.printf("%u__S%u", ndigits + 4, localNum); } } } void mangleFunc(FuncDeclaration fd, bool inParent) { //printf("deco = '%s'\n", fd.type.deco ? fd.type.deco : "null"); //printf("fd.type = %s\n", fd.type.toChars()); if (fd.needThis() || fd.isNested()) buf.writeByte('M'); if (!fd.type || fd.type.ty == Terror) { // never should have gotten here, but could be the result of // failed speculative compilation buf.writestring("9__error__FZ"); //printf("[%s] %s no type\n", fd.loc.toChars(), fd.toChars()); //assert(0); // don't mangle function until semantic3 done. } else if (inParent) { TypeFunction tf = fd.type.isTypeFunction(); TypeFunction tfo = fd.originalType.isTypeFunction(); mangleFuncType(tf, tfo, 0, null); } else { visitWithMask(fd.type, 0); } } /************************************************************ * Write length prefixed string to buf. */ extern (D) void toBuffer(const(char)[] id, Dsymbol s) { const len = id.length; if (buf.length + len >= 8 * 1024 * 1024) // 8 megs ought be enough for anyone s.error("excessive length %llu for symbol, possible recursive expansion?", cast(ulong)(buf.length + len)); else { buf.print(len); buf.writestring(id); } } /************************************************************ * Try to obtain an externally mangled identifier from a declaration. * If the declaration is at global scope or mixed in at global scope, * the user might want to call it externally, so an externally mangled * name is returned. Member functions or nested functions can't be called * externally in C, so in that case null is returned. C++ does support * namespaces, so extern(C++) always gives a C++ mangled name. * * See also: https://issues.dlang.org/show_bug.cgi?id=20012 * * Params: * d = declaration to mangle * * Returns: * an externally mangled name or null if the declaration cannot be called externally */ extern (D) static const(char)[] externallyMangledIdentifier(Declaration d) { const par = d.toParent(); //toParent() skips over mixin templates if (!par || par.isModule() || d.linkage == LINK.cpp) { if (d.linkage != LINK.d && d.localNum) d.error("the same declaration cannot be in multiple scopes with non-D linkage"); final switch (d.linkage) { case LINK.d: break; case LINK.c: case LINK.windows: case LINK.objc: return d.ident.toString(); case LINK.cpp: { const p = target.cpp.toMangle(d); return p.toDString(); } case LINK.default_: case LINK.system: d.error("forward declaration"); return d.ident.toString(); } } return null; } override void visit(Declaration d) { //printf("Declaration.mangle(this = %p, '%s', parent = '%s', linkage = %d)\n", // d, d.toChars(), d.parent ? d.parent.toChars() : "null", d.linkage); if (const id = externallyMangledIdentifier(d)) { buf.writestring(id); return; } buf.writestring("_D"); mangleDecl(d); debug { const slice = (*buf)[]; assert(slice.length); for (size_t pos; pos < slice.length; ) { dchar c; auto ppos = pos; const s = utf_decodeChar(slice, pos, c); assert(s is null, s); assert(c.isValidMangling, "The mangled name '" ~ slice ~ "' " ~ "contains an invalid character: " ~ slice[ppos..pos]); } } } /****************************************************************************** * Normally FuncDeclaration and FuncAliasDeclaration have overloads. * If and only if there is no overloads, mangle() could return * exact mangled name. * * module test; * void foo(long) {} // _D4test3fooFlZv * void foo(string) {} // _D4test3fooFAyaZv * * // from FuncDeclaration.mangle(). * pragma(msg, foo.mangleof); // prints unexact mangled name "4test3foo" * // by calling Dsymbol.mangle() * * // from FuncAliasDeclaration.mangle() * pragma(msg, __traits(getOverloads, test, "foo")[0].mangleof); // "_D4test3fooFlZv" * pragma(msg, __traits(getOverloads, test, "foo")[1].mangleof); // "_D4test3fooFAyaZv" * * If a function has no overloads, .mangleof property still returns exact mangled name. * * void bar() {} * pragma(msg, bar.mangleof); // still prints "_D4test3barFZv" * // by calling FuncDeclaration.mangleExact(). */ override void visit(FuncDeclaration fd) { if (fd.isUnique()) mangleExact(fd); else visit(cast(Dsymbol)fd); } // ditto override void visit(FuncAliasDeclaration fd) { FuncDeclaration f = fd.toAliasFunc(); FuncAliasDeclaration fa = f.isFuncAliasDeclaration(); if (!fd.hasOverloads && !fa) { mangleExact(f); return; } if (fa) { mangleSymbol(fa); return; } visit(cast(Dsymbol)fd); } override void visit(OverDeclaration od) { if (od.overnext) { visit(cast(Dsymbol)od); return; } if (FuncDeclaration fd = od.aliassym.isFuncDeclaration()) { if (fd.isUnique()) { mangleExact(fd); return; } } if (TemplateDeclaration td = od.aliassym.isTemplateDeclaration()) { if (td.overnext is null) { mangleSymbol(td); return; } } visit(cast(Dsymbol)od); } void mangleExact(FuncDeclaration fd) { assert(!fd.isFuncAliasDeclaration()); if (fd.mangleOverride) { buf.writestring(fd.mangleOverride); return; } if (fd.isMain()) { buf.writestring("_Dmain"); return; } if (fd.isWinMain() || fd.isDllMain()) { buf.writestring(fd.ident.toString()); return; } visit(cast(Declaration)fd); } override void visit(VarDeclaration vd) { if (vd.mangleOverride) { buf.writestring(vd.mangleOverride); return; } visit(cast(Declaration)vd); } override void visit(AggregateDeclaration ad) { ClassDeclaration cd = ad.isClassDeclaration(); Dsymbol parentsave = ad.parent; if (cd) { /* These are reserved to the compiler, so keep simple * names for them. */ if (cd.ident == Id.Exception && cd.parent.ident == Id.object || cd.ident == Id.TypeInfo || cd.ident == Id.TypeInfo_Struct || cd.ident == Id.TypeInfo_Class || cd.ident == Id.TypeInfo_Tuple || cd == ClassDeclaration.object || cd == Type.typeinfoclass || cd == Module.moduleinfo || strncmp(cd.ident.toChars(), "TypeInfo_", 9) == 0) { // Don't mangle parent ad.parent = null; } } visit(cast(Dsymbol)ad); ad.parent = parentsave; } override void visit(TemplateInstance ti) { version (none) { printf("TemplateInstance.mangle() %p %s", ti, ti.toChars()); if (ti.parent) printf(" parent = %s %s", ti.parent.kind(), ti.parent.toChars()); printf("\n"); } if (!ti.tempdecl) ti.error("is not defined"); else mangleParent(ti); if (ti.isTemplateMixin() && ti.ident) mangleIdentifier(ti.ident, ti); else mangleTemplateInstance(ti); } void mangleTemplateInstance(TemplateInstance ti) { TemplateDeclaration tempdecl = ti.tempdecl.isTemplateDeclaration(); assert(tempdecl); // Use "__U" for the symbols declared inside template constraint. const char T = ti.members ? 'T' : 'U'; buf.printf("__%c", T); mangleIdentifier(tempdecl.ident, tempdecl); auto args = ti.tiargs; size_t nparams = tempdecl.parameters.dim - (tempdecl.isVariadic() ? 1 : 0); for (size_t i = 0; i < args.dim; i++) { auto o = (*args)[i]; Type ta = isType(o); Expression ea = isExpression(o); Dsymbol sa = isDsymbol(o); Tuple va = isTuple(o); //printf("\to [%d] %p ta %p ea %p sa %p va %p\n", i, o, ta, ea, sa, va); if (i < nparams && (*tempdecl.parameters)[i].specialization()) buf.writeByte('H'); // https://issues.dlang.org/show_bug.cgi?id=6574 if (ta) { buf.writeByte('T'); visitWithMask(ta, 0); } else if (ea) { // Don't interpret it yet, it might actually be an alias template parameter. // Only constfold manifest constants, not const/immutable lvalues, see https://issues.dlang.org/show_bug.cgi?id=17339. enum keepLvalue = true; ea = ea.optimize(WANTvalue, keepLvalue); if (auto ev = ea.isVarExp()) { sa = ev.var; ea = null; goto Lsa; } if (auto et = ea.isThisExp()) { sa = et.var; ea = null; goto Lsa; } if (auto ef = ea.isFuncExp()) { if (ef.td) sa = ef.td; else sa = ef.fd; ea = null; goto Lsa; } buf.writeByte('V'); if (ea.op == TOK.tuple) { ea.error("tuple is not a valid template value argument"); continue; } // Now that we know it is not an alias, we MUST obtain a value uint olderr = global.errors; ea = ea.ctfeInterpret(); if (ea.op == TOK.error || olderr != global.errors) continue; /* Use type mangling that matches what it would be for a function parameter */ visitWithMask(ea.type, 0); ea.accept(this); } else if (sa) { Lsa: sa = sa.toAlias(); if (sa.isDeclaration() && !sa.isOverDeclaration()) { Declaration d = sa.isDeclaration(); if (auto fad = d.isFuncAliasDeclaration()) d = fad.toAliasFunc(); if (d.mangleOverride) { buf.writeByte('X'); toBuffer(d.mangleOverride, d); continue; } if (const id = externallyMangledIdentifier(d)) { buf.writeByte('X'); toBuffer(id, d); continue; } if (!d.type || !d.type.deco) { ti.error("forward reference of %s `%s`", d.kind(), d.toChars()); continue; } } buf.writeByte('S'); mangleSymbol(sa); } else if (va) { assert(i + 1 == args.dim); // must be last one args = &va.objects; i = -cast(size_t)1; } else assert(0); } buf.writeByte('Z'); } override void visit(Dsymbol s) { version (none) { printf("Dsymbol.mangle() '%s'", s.toChars()); if (s.parent) printf(" parent = %s %s", s.parent.kind(), s.parent.toChars()); printf("\n"); } mangleParent(s); if (s.ident) mangleIdentifier(s.ident, s); else toBuffer(s.toString(), s); //printf("Dsymbol.mangle() %s = %s\n", s.toChars(), id); } //////////////////////////////////////////////////////////////////////////// override void visit(Expression e) { e.error("expression `%s` is not a valid template value argument", e.toChars()); } override void visit(IntegerExp e) { const v = e.toInteger(); if (cast(sinteger_t)v < 0) { buf.writeByte('N'); buf.print(-v); } else { buf.writeByte('i'); buf.print(v); } } override void visit(RealExp e) { buf.writeByte('e'); realToMangleBuffer(e.value); } void realToMangleBuffer(real_t value) { /* Rely on %A to get portable mangling. * Must munge result to get only identifier characters. * * Possible values from %A => mangled result * NAN => NAN * -INF => NINF * INF => INF * -0X1.1BC18BA997B95P+79 => N11BC18BA997B95P79 * 0X1.9P+2 => 19P2 */ if (CTFloat.isNaN(value)) { buf.writestring("NAN"); // no -NAN bugs return; } if (value < CTFloat.zero) { buf.writeByte('N'); value = -value; } if (CTFloat.isInfinity(value)) { buf.writestring("INF"); return; } char[36] buffer = void; // 'A' format yields [-]0xh.hhhhp+-d const n = CTFloat.sprint(buffer.ptr, 'A', value); assert(n < buffer.length); foreach (const c; buffer[2 .. n]) { switch (c) { case '-': buf.writeByte('N'); break; case '+': case '.': break; default: buf.writeByte(c); break; } } } override void visit(ComplexExp e) { buf.writeByte('c'); realToMangleBuffer(e.toReal()); buf.writeByte('c'); // separate the two realToMangleBuffer(e.toImaginary()); } override void visit(NullExp e) { buf.writeByte('n'); } override void visit(StringExp e) { char m; OutBuffer tmp; const(char)[] q; /* Write string in UTF-8 format */ switch (e.sz) { case 1: m = 'a'; q = e.peekString(); break; case 2: { m = 'w'; const slice = e.peekWstring(); for (size_t u = 0; u < e.len;) { dchar c; if (const s = utf_decodeWchar(slice, u, c)) e.error("%.*s", cast(int)s.length, s.ptr); else tmp.writeUTF8(c); } q = tmp[]; break; } case 4: { m = 'd'; const slice = e.peekDstring(); foreach (c; slice) { if (!utf_isValidDchar(c)) e.error("invalid UCS-32 char \\U%08x", c); else tmp.writeUTF8(c); } q = tmp[]; break; } default: assert(0); } buf.reserve(1 + 11 + 2 * q.length); buf.writeByte(m); buf.print(q.length); buf.writeByte('_'); // nbytes <= 11 auto slice = buf.allocate(2 * q.length); foreach (i, c; q) { char hi = (c >> 4) & 0xF; slice[i * 2] = cast(char)(hi < 10 ? hi + '0' : hi - 10 + 'a'); char lo = c & 0xF; slice[i * 2 + 1] = cast(char)(lo < 10 ? lo + '0' : lo - 10 + 'a'); } } override void visit(ArrayLiteralExp e) { const dim = e.elements ? e.elements.dim : 0; buf.writeByte('A'); buf.print(dim); foreach (i; 0 .. dim) { e[i].accept(this); } } override void visit(AssocArrayLiteralExp e) { const dim = e.keys.dim; buf.writeByte('A'); buf.print(dim); foreach (i; 0 .. dim) { (*e.keys)[i].accept(this); (*e.values)[i].accept(this); } } override void visit(StructLiteralExp e) { const dim = e.elements ? e.elements.dim : 0; buf.writeByte('S'); buf.print(dim); foreach (i; 0 .. dim) { Expression ex = (*e.elements)[i]; if (ex) ex.accept(this); else buf.writeByte('v'); // 'v' for void } } override void visit(FuncExp e) { if (e.td) mangleSymbol(e.td); else mangleSymbol(e.fd); } //////////////////////////////////////////////////////////////////////////// override void visit(Parameter p) { if (p.storageClass & STC.scope_ && !(p.storageClass & STC.scopeinferred)) buf.writeByte('M'); // 'return inout ref' is the same as 'inout ref' if ((p.storageClass & (STC.return_ | STC.wild)) == STC.return_ && !(p.storageClass & STC.returninferred)) buf.writestring("Nk"); switch (p.storageClass & (STC.IOR | STC.lazy_)) { case 0: break; case STC.in_: buf.writeByte('I'); break; case STC.in_ | STC.ref_: buf.writestring("IK"); break; case STC.out_: buf.writeByte('J'); break; case STC.ref_: buf.writeByte('K'); break; case STC.lazy_: buf.writeByte('L'); break; default: debug { printf("storageClass = x%llx\n", p.storageClass & (STC.IOR | STC.lazy_)); } assert(0); } visitWithMask(p.type, (p.storageClass & STC.in_) ? MODFlags.const_ : 0); } }
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.opengl.gl; public { import derelict.opengl.glfuncs; import derelict.opengl.gltypes; } private { import derelict.util.loader; import derelict.util.exception; import derelict.util.compat; import derelict.opengl.extloader; version(Windows) import derelict.opengl.wgl; version(darwin) version = MacOSX; version(OSX) version = MacOSX; version (MacOSX) import derelict.opengl.cgl; version(linux) version = GLX; version(FreeBSD) version = freebsd; version(freebsd) version = GLX; version(GLX) import derelict.opengl.glx; } enum GLVersion { None, GL11 = 11, GL12 = 12, GL13 = 13, GL14 = 14, GL15 = 15, GL20 = 20, GL21 = 21, MaxClassic = 21, GL30 = 30, GL31 = 31, GL32 = 32, GL33 = 33, GL40 = 40, MaxModern = 40, HighestSupported = 40 } class DerelictGLLoader : SharedLibLoader { private: this() { super( "opengl32.dll", "libGL.so.2,libGL.so.1,libGL.so", "../Frameworks/OpenGL.framework/OpenGL, /Library/Frameworks/OpenGL.framework/OpenGL, /System/Library/Frameworks/OpenGL.framework/OpenGL" ); } GLVersion findMaxAvailable() { string verstr = toDString(glGetString(GL_VERSION)); if(verstr.findStr("4.0") == 0) return GLVersion.GL40; else if(verstr.findStr("3.3") == 0) return GLVersion.GL33; else if(verstr.findStr("3.2") == 0) return GLVersion.GL32; else if(verstr.findStr("3.1") == 0) return GLVersion.GL31; else if(verstr.findStr("3.0") == 0) return GLVersion.GL30; else if(verstr.findStr("2.1") == 0) return GLVersion.GL21; else if(verstr.findStr("2.0") == 0) return GLVersion.GL20; else if(verstr.findStr("1.5") == 0) return GLVersion.GL15; else if(verstr.findStr("1.4") == 0) return GLVersion.GL14; else if(verstr.findStr("1.3") == 0) return GLVersion.GL13; else if(verstr.findStr("1.2") == 0) return GLVersion.GL12; else if(verstr.findStr("1.1") == 0) return GLVersion.GL11; // assume new version of OpenGL // TODO this needs to be more robust -- check to make sure that there this // is a valid version number and actually is higher than the highest supported return GLVersion.HighestSupported; } GLVersion _maxVersion; public: GLVersion maxVersion() { return _maxVersion; } void loadExtensions() { if(!hasValidContext()) throw new DerelictException("An OpenGL context must be created and activated before attempting to load extensions."); extLoadAll(); } string[] loadedExtensionNames() { return getLoadedExtensionNames(); } string[] notLoadedExtensionNames() { return getNotLoadedExtensionNames(); } bool isExtensionSupported(string extName) { if(!hasValidContext()) throw new DerelictException("An OpenGL context must be created and activated before attempting to check for supported extensions."); return extIsSupported(extName); } bool isExtensionLoaded(string extName) { if(!hasValidContext()) throw new DerelictException("An OpenGL context must be created and activated, and extensions must be loaded, before checking for loaded extensions."); return (GLExtensionState.Loaded == extGetState(extName)); } GLExtensionState getExtensionState(string extName) { if(!hasValidContext()) throw new DerelictException("An OpenGL context must be created and activated, and extensions must be loaded, before chacking extension state."); return extGetState(extName); } alias loadClassicVersions loadExtendedVersions; GLVersion loadClassicVersions(GLVersion targetVersion = GLVersion.GL11) { if(!hasValidContext()) throw new DerelictException("An OpenGL context must be created and activated before attempting to load extended versions."); GLVersion maxAvail = findMaxAvailable(); if(maxAvail < targetVersion) throw new DerelictException("Required GL version " ~ versionToString(targetVersion) ~ " is not available."); bool doThrow = false; // gl 1.2 if(maxAvail >= GLVersion.GL12) { doThrow = (targetVersion >= GLVersion.GL12); bindExtendedFunc(cast(void**)&glDrawRangeElements, "glDrawRangeElements", doThrow); bindExtendedFunc(cast(void**)&glTexImage3D, "glTexImage3D", doThrow); bindExtendedFunc(cast(void**)&glTexSubImage3D, "glTexSubImage3D", doThrow); bindExtendedFunc(cast(void**)&glCopyTexSubImage3D, "glCopyTexSubImage3D", doThrow); /* GL_ARB_imaging bindExtendedFunc(cast(void**)&glColorTable, "glColorTable", doThrow); bindExtendedFunc(cast(void**)&glColorSubTable, "glColorSubTable", doThrow); bindExtendedFunc(cast(void**)&glColorTableParameteriv, "glColorTableParameteriv", doThrow); bindExtendedFunc(cast(void**)&glColorTableParameterfv, "glColorTableParameterfv", doThrow); bindExtendedFunc(cast(void**)&glCopyColorSubTable, "glCopyColorSubTable", doThrow); bindExtendedFunc(cast(void**)&glCopyColorTable, "glCopyColorTable", doThrow); bindExtendedFunc(cast(void**)&glGetColorTable, "glGetColorTable", doThrow); bindExtendedFunc(cast(void**)&glGetColorTableParameterfv, "glGetColorTableParameterfv", doThrow); bindExtendedFunc(cast(void**)&glGetColorTableParameteriv, "glGetColorTableParameteriv", doThrow); bindExtendedFunc(cast(void**)&glHistogram, "glHistogram", doThrow); bindExtendedFunc(cast(void**)&glResetHistogram, "glResetHistogram", doThrow); bindExtendedFunc(cast(void**)&glGetHistogram, "glGetHistogram", doThrow); bindExtendedFunc(cast(void**)&glGetHistogramParameterfv, "glGetHistogramParameterfv", doThrow); bindExtendedFunc(cast(void**)&glGetHistogramParameteriv, "glGetHistogramParameteriv", doThrow); bindExtendedFunc(cast(void**)&glMinmax, "glMinmax", doThrow); bindExtendedFunc(cast(void**)&glResetMinmax, "glResetMinmax", doThrow); bindExtendedFunc(cast(void**)&glGetMinmax, "glGetMinmax", doThrow); bindExtendedFunc(cast(void**)&glGetMinmaxParameterfv, "glGetMinmaxParameterfv", doThrow); bindExtendedFunc(cast(void**)&glGetMinmaxParameteriv, "glGetMinmaxParameteriv", doThrow); bindExtendedFunc(cast(void**)&glConvolutionFilter1D, "glConvolutionFilter1D", doThrow); bindExtendedFunc(cast(void**)&glConvolutionFilter2D, "glConvolutionFilter2D", doThrow); bindExtendedFunc(cast(void**)&glConvolutionParameterf, "glConvolutionParameterf", doThrow); bindExtendedFunc(cast(void**)&glConvolutionParameterfv, "glConvolutionParameterfv", doThrow); bindExtendedFunc(cast(void**)&glConvolutionParameteri, "glConvolutionParameteri", doThrow); bindExtendedFunc(cast(void**)&glConvolutionParameteriv, "glConvolutionParameteriv", doThrow); bindExtendedFunc(cast(void**)&glCopyConvolutionFilter1D, "glCopyConvolutionFilter1D", doThrow); bindExtendedFunc(cast(void**)&glCopyConvolutionFilter2D, "glCopyConvolutionFilter2D", doThrow); bindExtendedFunc(cast(void**)&glGetConvolutionFilter, "glGetConvolutionFilter", doThrow); bindExtendedFunc(cast(void**)&glGetConvolutionParameterfv, "glGetConvolutionParameterfv", doThrow); bindExtendedFunc(cast(void**)&glGetConvolutionParameteriv, "glGetConvolutionParameteriv", doThrow); bindExtendedFunc(cast(void**)&glSeparableFilter2D, "glSeparableFilter2D", doThrow); bindExtendedFunc(cast(void**)&glGetSeparableFilter, "glGetSeparableFilter", doThrow); */ _maxVersion = GLVersion.GL12; } // gl 1.3 if(maxAvail >= GLVersion.GL13) { doThrow = (targetVersion >= GLVersion.GL13); bindExtendedFunc(cast(void**)&glActiveTexture, "glActiveTexture", doThrow); bindExtendedFunc(cast(void**)&glClientActiveTexture, "glClientActiveTexture", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord1d, "glMultiTexCoord1d", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord1dv, "glMultiTexCoord1dv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord1f, "glMultiTexCoord1f", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord1fv, "glMultiTexCoord1fv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord1i, "glMultiTexCoord1i", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord1iv, "glMultiTexCoord1iv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord1s, "glMultiTexCoord1s", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord1sv, "glMultiTexCoord1sv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord2d, "glMultiTexCoord2d", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord2dv, "glMultiTexCoord2dv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord2f, "glMultiTexCoord2f", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord2fv, "glMultiTexCoord2fv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord2i, "glMultiTexCoord2i", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord2iv, "glMultiTexCoord2iv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord2s, "glMultiTexCoord2s", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord2sv, "glMultiTexCoord2sv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord3d, "glMultiTexCoord3d", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord3dv, "glMultiTexCoord3d", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord3f, "glMultiTexCoord3f", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord3fv, "glMultiTexCoord3fv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord3i, "glMultiTexCoord3i", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord3iv, "glMultiTexCoord3iv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord3s, "glMultiTexCoord3s", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord3sv, "glMultiTexCoord3sv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord4d, "glMultiTexCoord4d", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord4dv, "glMultiTexCoord4dv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord4f, "glMultiTexCoord4f", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord4fv, "glMultiTexCoord4fv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord4i, "glMultiTexCoord4i", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord4iv, "glMultiTexCoord4iv", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord4s, "glMultiTexCoord4s", doThrow); bindExtendedFunc(cast(void**)&glMultiTexCoord4sv, "glMultiTexCoord4sv", doThrow); bindExtendedFunc(cast(void**)&glLoadTransposeMatrixd, "glLoadTransposeMatrixd", doThrow); bindExtendedFunc(cast(void**)&glLoadTransposeMatrixf, "glLoadTransposeMatrixf", doThrow); bindExtendedFunc(cast(void**)&glMultTransposeMatrixd, "glMultTransposeMatrixd", doThrow); bindExtendedFunc(cast(void**)&glMultTransposeMatrixf, "glMultTransposeMatrixf", doThrow); bindExtendedFunc(cast(void**)&glSampleCoverage, "glSampleCoverage", doThrow); bindExtendedFunc(cast(void**)&glCompressedTexImage1D, "glCompressedTexImage1D", doThrow); bindExtendedFunc(cast(void**)&glCompressedTexImage2D, "glCompressedTexImage2D", doThrow); bindExtendedFunc(cast(void**)&glCompressedTexImage3D, "glCompressedTexImage3D", doThrow); bindExtendedFunc(cast(void**)&glCompressedTexSubImage1D, "glCompressedTexSubImage1D", doThrow); bindExtendedFunc(cast(void**)&glCompressedTexSubImage2D, "glCompressedTexSubImage2D", doThrow); bindExtendedFunc(cast(void**)&glCompressedTexSubImage3D, "glCompressedTexSubImage3D", doThrow); bindExtendedFunc(cast(void**)&glGetCompressedTexImage, "glGetCompressedTexImage", doThrow); _maxVersion = GLVersion.GL13; } if(maxAvail >= GLVersion.GL14) { doThrow = (targetVersion >= GLVersion.GL14); bindExtendedFunc(cast(void**)&glBlendFuncSeparate, "glBlendFuncSeparate", doThrow); bindExtendedFunc(cast(void**)&glFogCoordf, "glFogCoordf", doThrow); bindExtendedFunc(cast(void**)&glFogCoordfv, "glFogCoordfv", doThrow); bindExtendedFunc(cast(void**)&glFogCoordd, "glFogCoordd", doThrow); bindExtendedFunc(cast(void**)&glFogCoorddv, "glFogCoorddv", doThrow); bindExtendedFunc(cast(void**)&glFogCoordPointer, "glFogCoordPointer", doThrow); bindExtendedFunc(cast(void**)&glMultiDrawArrays, "glMultiDrawArrays", doThrow); bindExtendedFunc(cast(void**)&glMultiDrawElements, "glMultiDrawElements", doThrow); bindExtendedFunc(cast(void**)&glPointParameterf, "glPointParameterf", doThrow); bindExtendedFunc(cast(void**)&glPointParameterfv, "glPointParameterfv", doThrow); bindExtendedFunc(cast(void**)&glPointParameteri, "glPointParameteri", doThrow); bindExtendedFunc(cast(void**)&glPointParameteriv, "glPointParameteriv", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3b, "glSecondaryColor3b", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3bv, "glSecondaryColor3bv", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3d, "glSecondaryColor3d", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3dv, "glSecondaryColor3dv", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3f, "glSecondaryColor3f", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3fv, "glSecondaryColor3fv", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3i, "glSecondaryColor3i", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3iv, "glSecondaryColor3iv", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3s, "glSecondaryColor3s", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3sv, "glSecondaryColor3sv", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3ub, "glSecondaryColor3ub", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3ubv, "glSecondaryColor3ubv", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3ui, "glSecondaryColor3ui", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3uiv, "glSecondaryColor3uiv", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3us, "glSecondaryColor3us", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColor3usv, "glSecondaryColor3usv", doThrow); bindExtendedFunc(cast(void**)&glSecondaryColorPointer, "glSecondaryColorPointer", doThrow); bindExtendedFunc(cast(void**)&glWindowPos2d, "glWindowPos2d", doThrow); bindExtendedFunc(cast(void**)&glWindowPos2dv, "glWindowPos2dv", doThrow); bindExtendedFunc(cast(void**)&glWindowPos2f, "glWindowPos2f", doThrow); bindExtendedFunc(cast(void**)&glWindowPos2fv, "glWindowPos2fv", doThrow); bindExtendedFunc(cast(void**)&glWindowPos2i, "glWindowPos2i", doThrow); bindExtendedFunc(cast(void**)&glWindowPos2iv, "glWindowPos2iv", doThrow); bindExtendedFunc(cast(void**)&glWindowPos2s, "glWindowPos2s", doThrow); bindExtendedFunc(cast(void**)&glWindowPos2sv, "glWindowPos2sv", doThrow); bindExtendedFunc(cast(void**)&glWindowPos3d, "glWindowPos3d", doThrow); bindExtendedFunc(cast(void**)&glWindowPos3dv, "glWindowPos3dv", doThrow); bindExtendedFunc(cast(void**)&glWindowPos3f, "glWindowPos3f", doThrow); bindExtendedFunc(cast(void**)&glWindowPos3fv, "glWindowPos3fv", doThrow); bindExtendedFunc(cast(void**)&glWindowPos3i, "glWindowPos3i", doThrow); bindExtendedFunc(cast(void**)&glWindowPos3iv, "glWindowPos3iv", doThrow); bindExtendedFunc(cast(void**)&glWindowPos3s, "glWindowPos3s", doThrow); bindExtendedFunc(cast(void**)&glWindowPos3sv, "glWindowPos3sv", doThrow); bindExtendedFunc(cast(void**)&glBlendEquation, "glBlendEquation", doThrow); bindExtendedFunc(cast(void**)&glBlendColor, "glBlendColor", doThrow); _maxVersion = GLVersion.GL14; } if(maxAvail >= GLVersion.GL15) { doThrow = (targetVersion >= GLVersion.GL15); bindExtendedFunc(cast(void**)&glGenQueries, "glGenQueries", doThrow); bindExtendedFunc(cast(void**)&glDeleteQueries, "glDeleteQueries", doThrow); bindExtendedFunc(cast(void**)&glIsQuery, "glIsQuery", doThrow); bindExtendedFunc(cast(void**)&glBeginQuery, "glBeginQuery", doThrow); bindExtendedFunc(cast(void**)&glEndQuery, "glEndQuery", doThrow); bindExtendedFunc(cast(void**)&glGetQueryiv, "glGetQueryiv", doThrow); bindExtendedFunc(cast(void**)&glGetQueryObjectiv, "glGetQueryObjectiv", doThrow); bindExtendedFunc(cast(void**)&glGetQueryObjectuiv, "glGetQueryObjectuiv", doThrow); bindExtendedFunc(cast(void**)&glBindBuffer, "glBindBuffer", doThrow); bindExtendedFunc(cast(void**)&glDeleteBuffers, "glDeleteBuffers", doThrow); bindExtendedFunc(cast(void**)&glGenBuffers, "glGenBuffers", doThrow); bindExtendedFunc(cast(void**)&glIsBuffer, "glIsBuffer", doThrow); bindExtendedFunc(cast(void**)&glBufferData, "glBufferData", doThrow); bindExtendedFunc(cast(void**)&glBufferSubData, "glBufferSubData", doThrow); bindExtendedFunc(cast(void**)&glGetBufferSubData, "glGetBufferSubData", doThrow); bindExtendedFunc(cast(void**)&glMapBuffer, "glMapBuffer", doThrow); bindExtendedFunc(cast(void**)&glUnmapBuffer, "glUnmapBuffer", doThrow); bindExtendedFunc(cast(void**)&glGetBufferParameteriv, "glGetBufferParameteriv", doThrow); bindExtendedFunc(cast(void**)&glGetBufferPointerv, "glGetBufferPointerv", doThrow); _maxVersion = GLVersion.GL15; } if(maxAvail >= GLVersion.GL20) { doThrow = (targetVersion >= GLVersion.GL20); bindExtendedFunc(cast(void**)&glBlendEquationSeparate, "glBlendEquationSeparate", doThrow); bindExtendedFunc(cast(void**)&glDrawBuffers, "glDrawBuffers", doThrow); bindExtendedFunc(cast(void**)&glStencilOpSeparate, "glStencilOpSeparate", doThrow); bindExtendedFunc(cast(void**)&glStencilFuncSeparate, "glStencilFuncSeparate", doThrow); bindExtendedFunc(cast(void**)&glStencilMaskSeparate, "glStencilMaskSeparate", doThrow); bindExtendedFunc(cast(void**)&glAttachShader, "glAttachShader", doThrow); bindExtendedFunc(cast(void**)&glBindAttribLocation, "glBindAttribLocation", doThrow); bindExtendedFunc(cast(void**)&glCompileShader, "glCompileShader", doThrow); bindExtendedFunc(cast(void**)&glCreateProgram, "glCreateProgram", doThrow); bindExtendedFunc(cast(void**)&glCreateShader, "glCreateShader", doThrow); bindExtendedFunc(cast(void**)&glDeleteProgram, "glDeleteProgram", doThrow); bindExtendedFunc(cast(void**)&glDeleteShader, "glDeleteShader", doThrow); bindExtendedFunc(cast(void**)&glDetachShader, "glDetachShader", doThrow); bindExtendedFunc(cast(void**)&glDisableVertexAttribArray, "glDisableVertexAttribArray", doThrow); bindExtendedFunc(cast(void**)&glEnableVertexAttribArray, "glEnableVertexAttribArray", doThrow); bindExtendedFunc(cast(void**)&glGetActiveAttrib, "glGetActiveAttrib", doThrow); bindExtendedFunc(cast(void**)&glGetActiveUniform, "glGetActiveUniform", doThrow); bindExtendedFunc(cast(void**)&glGetAttachedShaders, "glGetAttachedShaders", doThrow); bindExtendedFunc(cast(void**)&glGetAttribLocation, "glGetAttribLocation", doThrow); bindExtendedFunc(cast(void**)&glGetProgramiv, "glGetProgramiv", doThrow); bindExtendedFunc(cast(void**)&glGetProgramInfoLog, "glGetProgramInfoLog", doThrow); bindExtendedFunc(cast(void**)&glGetShaderiv, "glGetShaderiv", doThrow); bindExtendedFunc(cast(void**)&glGetShaderInfoLog, "glGetShaderInfoLog", doThrow); bindExtendedFunc(cast(void**)&glGetShaderSource, "glGetShaderSource", doThrow); bindExtendedFunc(cast(void**)&glGetUniformLocation, "glGetUniformLocation", doThrow); bindExtendedFunc(cast(void**)&glGetUniformfv, "glGetUniformfv", doThrow); bindExtendedFunc(cast(void**)&glGetUniformiv, "glGetUniformiv", doThrow); bindExtendedFunc(cast(void**)&glGetVertexAttribdv, "glGetVertexAttribdv", doThrow); bindExtendedFunc(cast(void**)&glGetVertexAttribfv, "glGetVertexAttribfv", doThrow); bindExtendedFunc(cast(void**)&glGetVertexAttribiv, "glGetVertexAttribiv", doThrow); bindExtendedFunc(cast(void**)&glGetVertexAttribPointerv, "glGetVertexAttribPointerv", doThrow); bindExtendedFunc(cast(void**)&glIsProgram, "glIsProgram", doThrow); bindExtendedFunc(cast(void**)&glIsShader, "glIsShader", doThrow); bindExtendedFunc(cast(void**)&glLinkProgram, "glLinkProgram", doThrow); bindExtendedFunc(cast(void**)&glShaderSource, "glShaderSource", doThrow); bindExtendedFunc(cast(void**)&glUseProgram, "glUseProgram", doThrow); bindExtendedFunc(cast(void**)&glUniform1f, "glUniform1f", doThrow); bindExtendedFunc(cast(void**)&glUniform2f, "glUniform2f", doThrow); bindExtendedFunc(cast(void**)&glUniform3f, "glUniform3f", doThrow); bindExtendedFunc(cast(void**)&glUniform4f, "glUniform4f", doThrow); bindExtendedFunc(cast(void**)&glUniform1i, "glUniform1i", doThrow); bindExtendedFunc(cast(void**)&glUniform2i, "glUniform2i", doThrow); bindExtendedFunc(cast(void**)&glUniform3i, "glUniform3i", doThrow); bindExtendedFunc(cast(void**)&glUniform4i, "glUniform4i", doThrow); bindExtendedFunc(cast(void**)&glUniform1fv, "glUniform1fv", doThrow); bindExtendedFunc(cast(void**)&glUniform2fv, "glUniform2fv", doThrow); bindExtendedFunc(cast(void**)&glUniform3fv, "glUniform3fv", doThrow); bindExtendedFunc(cast(void**)&glUniform4fv, "glUniform4fv", doThrow); bindExtendedFunc(cast(void**)&glUniform1iv, "glUniform1iv", doThrow); bindExtendedFunc(cast(void**)&glUniform2iv, "glUniform2iv", doThrow); bindExtendedFunc(cast(void**)&glUniform3iv, "glUniform3iv", doThrow); bindExtendedFunc(cast(void**)&glUniform4iv, "glUniform4iv", doThrow); bindExtendedFunc(cast(void**)&glUniformMatrix2fv, "glUniformMatrix2fv", doThrow); bindExtendedFunc(cast(void**)&glUniformMatrix3fv, "glUniformMatrix3fv", doThrow); bindExtendedFunc(cast(void**)&glUniformMatrix4fv, "glUniformMatrix4fv", doThrow); bindExtendedFunc(cast(void**)&glValidateProgram, "glValidateProgram", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib1d, "glVertexAttrib1d", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib1dv, "glVertexAttrib1dv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib1f, "glVertexAttrib1f", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib1fv, "glVertexAttrib1fv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib1s, "glVertexAttrib1s", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib1sv, "glVertexAttrib1sv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib2d, "glVertexAttrib2d", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib2dv, "glVertexAttrib2dv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib2f, "glVertexAttrib2f", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib2fv, "glVertexAttrib2fv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib2s, "glVertexAttrib2s", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib2sv, "glVertexAttrib2sv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib3d, "glVertexAttrib3d", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib3dv, "glVertexAttrib3dv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib3f, "glVertexAttrib3f", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib3fv, "glVertexAttrib3fv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib3s, "glVertexAttrib3s", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib3sv, "glVertexAttrib3sv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4Nbv, "glVertexAttrib4Nbv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4Niv, "glVertexAttrib4Niv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4Nsv, "glVertexAttrib4Nsv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4Nub, "glVertexAttrib4Nub", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4Nubv, "glVertexAttrib4Nubv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4Nuiv, "glVertexAttrib4Nuiv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4Nusv, "glVertexAttrib4Nusv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4bv, "glVertexAttrib4bv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4d, "glVertexAttrib4d", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4dv, "glVertexAttrib4dv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4f, "glVertexAttrib4f", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4fv, "glVertexAttrib4fv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4iv, "glVertexAttrib4iv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4s, "glVertexAttrib4s", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4sv, "glVertexAttrib4sv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4ubv, "glVertexAttrib4ubv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4uiv, "glVertexAttrib4uiv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttrib4usv, "glVertexAttrib4usv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribPointer, "glVertexAttribPointer", doThrow); _maxVersion = GLVersion.GL20; } if(maxAvail >= GLVersion.GL21) { doThrow = (targetVersion >= GLVersion.GL21); bindExtendedFunc(cast(void**)&glUniformMatrix2x3fv, "glUniformMatrix2x3fv", doThrow); bindExtendedFunc(cast(void**)&glUniformMatrix3x2fv, "glUniformMatrix3x2fv", doThrow); bindExtendedFunc(cast(void**)&glUniformMatrix2x4fv, "glUniformMatrix2x4fv", doThrow); bindExtendedFunc(cast(void**)&glUniformMatrix4x2fv, "glUniformMatrix4x2fv", doThrow); bindExtendedFunc(cast(void**)&glUniformMatrix3x4fv, "glUniformMatrix3x4fv", doThrow); bindExtendedFunc(cast(void**)&glUniformMatrix4x3fv, "glUniformMatrix4x3fv", doThrow); _maxVersion = GLVersion.GL21; } return _maxVersion; } GLVersion loadModernVersions(GLVersion targetVersion = GLVersion.GL30) { if(!hasValidContext()) throw new DerelictException("An OpenGL context must be created and activated before attempting to load modern versions."); GLVersion maxAvail = findMaxAvailable(); if(maxAvail < targetVersion) throw new DerelictException("Required GL version " ~ versionToString(targetVersion) ~ " is not available."); bool doThrow = false; // gl 3.0 if(maxAvail >= GLVersion.GL30) { doThrow = (targetVersion >= GLVersion.GL30); bindExtendedFunc(cast(void**)&glBeginConditionalRender, "glBeginConditionalRender", doThrow); bindExtendedFunc(cast(void**)&glBeginTransformFeedback, "glBeginTransformFeedback", doThrow); bindExtendedFunc(cast(void**)&glBindFragDataLocation, "glBindFragDataLocation", doThrow); bindExtendedFunc(cast(void**)&glClampColor, "glClampColor", doThrow); bindExtendedFunc(cast(void**)&glClearBufferfi, "glClearBufferfi", doThrow); bindExtendedFunc(cast(void**)&glClearBufferfv, "glClearBufferfv", doThrow); bindExtendedFunc(cast(void**)&glClearBufferiv, "glClearBufferiv", doThrow); bindExtendedFunc(cast(void**)&glClearBufferuiv, "glClearBufferuiv", doThrow); bindExtendedFunc(cast(void**)&glColorMaski, "glColorMaski", doThrow); bindExtendedFunc(cast(void**)&glDisablei, "glDisablei", doThrow); bindExtendedFunc(cast(void**)&glEnablei, "glEnablei", doThrow); bindExtendedFunc(cast(void**)&glEndConditionalRender, "glEndConditionalRender", doThrow); bindExtendedFunc(cast(void**)&glEndTransformFeedback, "glEndTransformFeedback", doThrow); bindExtendedFunc(cast(void**)&glBindBufferRange, "glBindBufferRange", doThrow); bindExtendedFunc(cast(void**)&glBindBufferBase, "glBindBufferBase", doThrow); bindExtendedFunc(cast(void**)&glGetBooleani_v, "glGetBooleani_v", doThrow); bindExtendedFunc(cast(void**)&glGetIntegeri_v, "glGetIntegeri_v", doThrow); bindExtendedFunc(cast(void**)&glGetFragDataLocation, "glGetFragDataLocation", doThrow); bindExtendedFunc(cast(void**)&glGetStringi, "glGetStringi", doThrow); bindExtendedFunc(cast(void**)&glGetTexParameterIiv, "glGetTexParameterIiv", doThrow); bindExtendedFunc(cast(void**)&glGetTexParameterIuiv, "glGetTexParameterIuiv", doThrow); bindExtendedFunc(cast(void**)&glIsEnabledi, "glIsEnabledi", doThrow); bindExtendedFunc(cast(void**)&glTexParameterIiv, "glTexParameterIiv", doThrow); bindExtendedFunc(cast(void**)&glTexParameterIuiv, "glTexParameterIuiv", doThrow); bindExtendedFunc(cast(void**)&glTransformFeedbackVaryings, "glTransformFeedbackVaryings", doThrow); bindExtendedFunc(cast(void**)&glGetTransformFeedbackVarying, "glGetTransformFeedbackVarying", doThrow); bindExtendedFunc(cast(void**)&glUniform1ui, "glUniform1ui", doThrow); bindExtendedFunc(cast(void**)&glUniform1uiv, "glUniform1uiv", doThrow); bindExtendedFunc(cast(void**)&glUniform2ui, "glUniform2ui", doThrow); bindExtendedFunc(cast(void**)&glUniform2uiv, "glUniform2uiv", doThrow); bindExtendedFunc(cast(void**)&glUniform3ui, "glUniform3ui", doThrow); bindExtendedFunc(cast(void**)&glUniform3uiv, "glUniform3uiv", doThrow); bindExtendedFunc(cast(void**)&glUniform4ui, "glUniform4ui", doThrow); bindExtendedFunc(cast(void**)&glUniform4uiv, "glUniform4uiv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI1i, "glVertexAttribI1i", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI1iv, "glVertexAttribI1iv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI1ui, "glVertexAttribI1ui", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI1uiv, "glVertexAttribI1uiv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI2i, "glVertexAttribI2i", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI2iv, "glVertexAttribI2iv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI2ui, "glVertexAttribI2ui", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI2uiv, "glVertexAttribI2uiv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI3i, "glVertexAttribI3i", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI3iv, "glVertexAttribI3iv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI3ui, "glVertexAttribI3ui", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI3uiv, "glVertexAttribI3uiv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI4bv, "glVertexAttribI4bv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI4i, "glVertexAttribI4i", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI4iv, "glVertexAttribI4iv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI4sv, "glVertexAttribI4sv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI4ubv, "glVertexAttribI4ubv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI4ui, "glVertexAttribI4ui", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI4uiv, "glVertexAttribI4uiv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribI4usv, "glVertexAttribI4usv", doThrow); bindExtendedFunc(cast(void**)&glVertexAttribIPointer, "glVertexAttribIPointer", doThrow); bindExtendedFunc(cast(void**)&glGetVertexAttribIiv, "glGetVertexAttribIiv", doThrow); bindExtendedFunc(cast(void**)&glGetVertexAttribIuiv, "glGetVertexAttribIuiv", doThrow); bindExtendedFunc(cast(void**)&glGetUniformuiv, "glGetUniformuiv", doThrow); bindExtendedFunc(cast(void**)&glGetStringi, "glGetStringi", doThrow); _maxVersion = GLVersion.GL30; } if(maxAvail >= GLVersion.GL31) { bindExtendedFunc(cast(void**)&glDrawArraysInstanced, "glDrawArraysInstanced", doThrow); bindExtendedFunc(cast(void**)&glDrawElementsInstanced, "glDrawElementsInstanced", doThrow); bindExtendedFunc(cast(void**)&glPrimitiveRestartIndex, "glPrimitiveRestartIndex", doThrow); bindExtendedFunc(cast(void**)&glTexBuffer, "glTexBuffer", doThrow); _maxVersion = GLVersion.GL31; } if(maxAvail >= GLVersion.GL32) { bindExtendedFunc(cast(void**)&glFramebufferTexture, "glFramebufferTexture", doThrow); bindExtendedFunc(cast(void**)&glGetBufferParameteri64v, "glGetBufferParameteri64v", doThrow); bindExtendedFunc(cast(void**)&glGetInteger64i_v, "glGetInteger64i_v", doThrow); _maxVersion = GLVersion.GL32; } if(maxAvail >= GLVersion.GL33) { bindExtendedFunc(cast(void**)&glVertexAttribDivisor, "glVertexAttribDivisor", doThrow); _maxVersion = GLVersion.GL33; } if(maxAvail >= GLVersion.GL40) { bindExtendedFunc(cast(void**)&glBlendEquationSeparatei, "glBlendEquationSeparatei", doThrow); bindExtendedFunc(cast(void**)&glBlendEquationi, "glBlendEquationi", doThrow); bindExtendedFunc(cast(void**)&glBlendFuncSeparatei, "glBlendFuncSeparatei", doThrow); bindExtendedFunc(cast(void**)&glBlendFunci, "glBlendFunci", doThrow); bindExtendedFunc(cast(void**)&glMinSampleShading, "glMinSampleShading", doThrow); _maxVersion = GLVersion.GL40; } return _maxVersion; } string versionToString(GLVersion ver) { switch(ver) { case GLVersion.GL40: return "OpenGL Version 4.0"; case GLVersion.GL33: return "OpenGL Version 3.3"; case GLVersion.GL32: return "OpenGL Version 3.2"; case GLVersion.GL31: return "OpenGL Version 3.1"; case GLVersion.GL30: return "OpenGL Version 3.0"; case GLVersion.GL21: return "OpenGL Version 2.1"; case GLVersion.GL20: return "OpenGL Version 2.0"; case GLVersion.GL15: return "OpenGL Version 1.5"; case GLVersion.GL14: return "OpenGL Version 1.4"; case GLVersion.GL13: return "OpenGL Version 1.3"; case GLVersion.GL12: return "OpenGL Version 1.2"; case GLVersion.GL11: return "OpenGL Version 1.1"; case GLVersion.None: return "OpenGL Version None"; default: break; } return "Uknown OpenGL Version"; } bool hasValidContext() { version(Windows) { if(wglGetCurrentContext() is null) return false; } else version(GLX) { if(glXGetCurrentContext() is null) return false; } else version(MacOSX) { if(CGLGetCurrentContext() is null) return false; } else { static assert(0, "DerelictGLLoader.hasValidContext is unimplemented for this platform"); } return true; } protected: override void loadSymbols() { // gl 1.0 bindFunc(cast(void**)&glClearIndex, "glClearIndex"); bindFunc(cast(void**)&glClearColor, "glClearColor"); bindFunc(cast(void**)&glClear, "glClear"); bindFunc(cast(void**)&glIndexMask, "glIndexMask"); bindFunc(cast(void**)&glColorMask, "glColorMask"); bindFunc(cast(void**)&glAlphaFunc, "glAlphaFunc"); bindFunc(cast(void**)&glBlendFunc, "glBlendFunc"); bindFunc(cast(void**)&glLogicOp, "glLogicOp"); bindFunc(cast(void**)&glCullFace, "glCullFace"); bindFunc(cast(void**)&glFrontFace, "glFrontFace"); bindFunc(cast(void**)&glPointSize, "glPointSize"); bindFunc(cast(void**)&glLineWidth, "glLineWidth"); bindFunc(cast(void**)&glLineStipple, "glLineStipple"); bindFunc(cast(void**)&glPolygonMode, "glPolygonMode"); bindFunc(cast(void**)&glPolygonOffset, "glPolygonOffset"); bindFunc(cast(void**)&glPolygonStipple, "glPolygonStipple"); bindFunc(cast(void**)&glGetPolygonStipple, "glGetPolygonStipple"); bindFunc(cast(void**)&glEdgeFlag, "glEdgeFlag"); bindFunc(cast(void**)&glEdgeFlagv, "glEdgeFlagv"); bindFunc(cast(void**)&glScissor, "glScissor"); bindFunc(cast(void**)&glClipPlane, "glClipPlane"); bindFunc(cast(void**)&glGetClipPlane, "glGetClipPlane"); bindFunc(cast(void**)&glDrawBuffer, "glDrawBuffer"); bindFunc(cast(void**)&glReadBuffer, "glReadBuffer"); bindFunc(cast(void**)&glEnable, "glEnable"); bindFunc(cast(void**)&glDisable, "glDisable"); bindFunc(cast(void**)&glIsEnabled, "glIsEnabled"); bindFunc(cast(void**)&glEnableClientState, "glEnableClientState"); bindFunc(cast(void**)&glDisableClientState, "glDisableClientState"); bindFunc(cast(void**)&glGetBooleanv, "glGetBooleanv"); bindFunc(cast(void**)&glGetDoublev, "glGetDoublev"); bindFunc(cast(void**)&glGetFloatv, "glGetFloatv"); bindFunc(cast(void**)&glGetIntegerv, "glGetIntegerv"); bindFunc(cast(void**)&glPushAttrib, "glPushAttrib"); bindFunc(cast(void**)&glPopAttrib, "glPopAttrib"); bindFunc(cast(void**)&glPushClientAttrib, "glPushClientAttrib"); bindFunc(cast(void**)&glPopClientAttrib, "glPopClientAttrib"); bindFunc(cast(void**)&glRenderMode, "glRenderMode"); bindFunc(cast(void**)&glGetError, "glGetError"); bindFunc(cast(void**)&glGetString, "glGetString"); bindFunc(cast(void**)&glFinish, "glFinish"); bindFunc(cast(void**)&glFlush, "glFlush"); bindFunc(cast(void**)&glHint, "glHint"); bindFunc(cast(void**)&glClearDepth, "glClearDepth"); bindFunc(cast(void**)&glDepthFunc, "glDepthFunc"); bindFunc(cast(void**)&glDepthMask, "glDepthMask"); bindFunc(cast(void**)&glDepthRange, "glDepthRange"); bindFunc(cast(void**)&glClearAccum, "glClearAccum"); bindFunc(cast(void**)&glAccum, "glAccum"); bindFunc(cast(void**)&glMatrixMode, "glMatrixMode"); bindFunc(cast(void**)&glOrtho, "glOrtho"); bindFunc(cast(void**)&glFrustum, "glFrustum"); bindFunc(cast(void**)&glViewport, "glViewport"); bindFunc(cast(void**)&glPushMatrix, "glPushMatrix"); bindFunc(cast(void**)&glPopMatrix, "glPopMatrix"); bindFunc(cast(void**)&glLoadIdentity, "glLoadIdentity"); bindFunc(cast(void**)&glLoadMatrixd, "glLoadMatrixd"); bindFunc(cast(void**)&glLoadMatrixf, "glLoadMatrixf"); bindFunc(cast(void**)&glMultMatrixd, "glMultMatrixd"); bindFunc(cast(void**)&glMultMatrixf, "glMultMatrixf"); bindFunc(cast(void**)&glRotated, "glRotated"); bindFunc(cast(void**)&glRotatef, "glRotatef"); bindFunc(cast(void**)&glScaled, "glScaled"); bindFunc(cast(void**)&glScalef, "glScalef"); bindFunc(cast(void**)&glTranslated, "glTranslated"); bindFunc(cast(void**)&glTranslatef, "glTranslatef"); bindFunc(cast(void**)&glIsList, "glIsList"); bindFunc(cast(void**)&glDeleteLists, "glDeleteLists"); bindFunc(cast(void**)&glGenLists, "glGenLists"); bindFunc(cast(void**)&glNewList, "glNewList"); bindFunc(cast(void**)&glEndList, "glEndList"); bindFunc(cast(void**)&glCallList, "glCallList"); bindFunc(cast(void**)&glCallLists, "glCallLists"); bindFunc(cast(void**)&glListBase, "glListBase"); bindFunc(cast(void**)&glBegin, "glBegin"); bindFunc(cast(void**)&glEnd, "glEnd"); bindFunc(cast(void**)&glVertex2d, "glVertex2d"); bindFunc(cast(void**)&glVertex2f, "glVertex2f"); bindFunc(cast(void**)&glVertex2i, "glVertex2i"); bindFunc(cast(void**)&glVertex2s, "glVertex2s"); bindFunc(cast(void**)&glVertex3d, "glVertex3d"); bindFunc(cast(void**)&glVertex3f, "glVertex3f"); bindFunc(cast(void**)&glVertex3i, "glVertex3i"); bindFunc(cast(void**)&glVertex3s, "glVertex3s"); bindFunc(cast(void**)&glVertex4d, "glVertex4d"); bindFunc(cast(void**)&glVertex4f, "glVertex4f"); bindFunc(cast(void**)&glVertex4i, "glVertex4i"); bindFunc(cast(void**)&glVertex4s, "glVertex4s"); bindFunc(cast(void**)&glVertex2dv, "glVertex2dv"); bindFunc(cast(void**)&glVertex2fv, "glVertex2fv"); bindFunc(cast(void**)&glVertex2iv, "glVertex2iv"); bindFunc(cast(void**)&glVertex2sv, "glVertex2sv"); bindFunc(cast(void**)&glVertex3dv, "glVertex3dv"); bindFunc(cast(void**)&glVertex3fv, "glVertex3fv"); bindFunc(cast(void**)&glVertex3iv, "glVertex3iv"); bindFunc(cast(void**)&glVertex3sv, "glVertex3sv"); bindFunc(cast(void**)&glVertex4dv, "glVertex4dv"); bindFunc(cast(void**)&glVertex4fv, "glVertex4fv"); bindFunc(cast(void**)&glVertex4iv, "glVertex4iv"); bindFunc(cast(void**)&glVertex4sv, "glVertex4sv"); bindFunc(cast(void**)&glNormal3b, "glNormal3b"); bindFunc(cast(void**)&glNormal3d, "glNormal3d"); bindFunc(cast(void**)&glNormal3f, "glNormal3f"); bindFunc(cast(void**)&glNormal3i, "glNormal3i"); bindFunc(cast(void**)&glNormal3s, "glNormal3s"); bindFunc(cast(void**)&glNormal3bv, "glNormal3bv"); bindFunc(cast(void**)&glNormal3dv, "glNormal3dv"); bindFunc(cast(void**)&glNormal3fv, "glNormal3fv"); bindFunc(cast(void**)&glNormal3iv, "glNormal3iv"); bindFunc(cast(void**)&glNormal3sv, "glNormal3sv"); bindFunc(cast(void**)&glIndexd, "glIndexd"); bindFunc(cast(void**)&glIndexf, "glIndexf"); bindFunc(cast(void**)&glIndexi, "glIndexi"); bindFunc(cast(void**)&glIndexs, "glIndexs"); bindFunc(cast(void**)&glIndexub, "glIndexub"); bindFunc(cast(void**)&glIndexdv, "glIndexdv"); bindFunc(cast(void**)&glIndexfv, "glIndexfv"); bindFunc(cast(void**)&glIndexiv, "glIndexiv"); bindFunc(cast(void**)&glIndexsv, "glIndexsv"); bindFunc(cast(void**)&glIndexubv, "glIndexubv"); bindFunc(cast(void**)&glColor3b, "glColor3b"); bindFunc(cast(void**)&glColor3d, "glColor3d"); bindFunc(cast(void**)&glColor3f, "glColor3f"); bindFunc(cast(void**)&glColor3i, "glColor3i"); bindFunc(cast(void**)&glColor3s, "glColor3s"); bindFunc(cast(void**)&glColor3ub, "glColor3ub"); bindFunc(cast(void**)&glColor3ui, "glColor3ui"); bindFunc(cast(void**)&glColor3us, "glColor3us"); bindFunc(cast(void**)&glColor4b, "glColor4b"); bindFunc(cast(void**)&glColor4d, "glColor4d"); bindFunc(cast(void**)&glColor4f, "glColor4f"); bindFunc(cast(void**)&glColor4i, "glColor4i"); bindFunc(cast(void**)&glColor4s, "glColor4s"); bindFunc(cast(void**)&glColor4ub, "glColor4ub"); bindFunc(cast(void**)&glColor4ui, "glColor4ui"); bindFunc(cast(void**)&glColor4us, "glColor4us"); bindFunc(cast(void**)&glColor3bv, "glColor3bv"); bindFunc(cast(void**)&glColor3dv, "glColor3dv"); bindFunc(cast(void**)&glColor3fv, "glColor3fv"); bindFunc(cast(void**)&glColor3iv, "glColor3iv"); bindFunc(cast(void**)&glColor3sv, "glColor3sv"); bindFunc(cast(void**)&glColor3ubv, "glColor3ubv"); bindFunc(cast(void**)&glColor3uiv, "glColor3uiv"); bindFunc(cast(void**)&glColor3usv, "glColor3usv"); bindFunc(cast(void**)&glColor4bv, "glColor4bv"); bindFunc(cast(void**)&glColor4dv, "glColor4dv"); bindFunc(cast(void**)&glColor4fv, "glColor4fv"); bindFunc(cast(void**)&glColor4iv, "glColor4iv"); bindFunc(cast(void**)&glColor4sv, "glColor4sv"); bindFunc(cast(void**)&glColor4ubv, "glColor4ubv"); bindFunc(cast(void**)&glColor4uiv, "glColor4uiv"); bindFunc(cast(void**)&glColor4usv, "glColor4usv"); bindFunc(cast(void**)&glTexCoord1d, "glTexCoord1d"); bindFunc(cast(void**)&glTexCoord1f, "glTexCoord1f"); bindFunc(cast(void**)&glTexCoord1i, "glTexCoord1i"); bindFunc(cast(void**)&glTexCoord1s, "glTexCoord1s"); bindFunc(cast(void**)&glTexCoord2d, "glTexCoord2d"); bindFunc(cast(void**)&glTexCoord2f, "glTexCoord2f"); bindFunc(cast(void**)&glTexCoord2i, "glTexCoord2i"); bindFunc(cast(void**)&glTexCoord2s, "glTexCoord2s"); bindFunc(cast(void**)&glTexCoord3d, "glTexCoord3d"); bindFunc(cast(void**)&glTexCoord3f, "glTexCoord3f"); bindFunc(cast(void**)&glTexCoord3i, "glTexCoord3i"); bindFunc(cast(void**)&glTexCoord3s, "glTexCoord3s"); bindFunc(cast(void**)&glTexCoord4d, "glTexCoord4d"); bindFunc(cast(void**)&glTexCoord4f, "glTexCoord4f"); bindFunc(cast(void**)&glTexCoord4i, "glTexCoord4i"); bindFunc(cast(void**)&glTexCoord4s, "glTexCoord4s"); bindFunc(cast(void**)&glTexCoord1dv, "glTexCoord1dv"); bindFunc(cast(void**)&glTexCoord1fv, "glTexCoord1fv"); bindFunc(cast(void**)&glTexCoord1iv, "glTexCoord1iv"); bindFunc(cast(void**)&glTexCoord1sv, "glTexCoord1sv"); bindFunc(cast(void**)&glTexCoord2dv, "glTexCoord2dv"); bindFunc(cast(void**)&glTexCoord2fv, "glTexCoord2fv"); bindFunc(cast(void**)&glTexCoord2iv, "glTexCoord2iv"); bindFunc(cast(void**)&glTexCoord2sv, "glTexCoord2sv"); bindFunc(cast(void**)&glTexCoord3dv, "glTexCoord3dv"); bindFunc(cast(void**)&glTexCoord3fv, "glTexCoord3fv"); bindFunc(cast(void**)&glTexCoord3iv, "glTexCoord3iv"); bindFunc(cast(void**)&glTexCoord3sv, "glTexCoord3sv"); bindFunc(cast(void**)&glTexCoord4dv, "glTexCoord4dv"); bindFunc(cast(void**)&glTexCoord4fv, "glTexCoord4fv"); bindFunc(cast(void**)&glTexCoord4iv, "glTexCoord4iv"); bindFunc(cast(void**)&glTexCoord4sv, "glTexCoord4sv"); bindFunc(cast(void**)&glRasterPos2d, "glRasterPos2d"); bindFunc(cast(void**)&glRasterPos2f, "glRasterPos2f"); bindFunc(cast(void**)&glRasterPos2i, "glRasterPos2i"); bindFunc(cast(void**)&glRasterPos2s, "glRasterPos2s"); bindFunc(cast(void**)&glRasterPos3d, "glRasterPos3d"); bindFunc(cast(void**)&glRasterPos3f, "glRasterPos3f"); bindFunc(cast(void**)&glRasterPos3i, "glRasterPos3i"); bindFunc(cast(void**)&glRasterPos3s, "glRasterPos3s"); bindFunc(cast(void**)&glRasterPos4d, "glRasterPos4d"); bindFunc(cast(void**)&glRasterPos4f, "glRasterPos4f"); bindFunc(cast(void**)&glRasterPos4i, "glRasterPos4i"); bindFunc(cast(void**)&glRasterPos4s, "glRasterPos4s"); bindFunc(cast(void**)&glRasterPos2dv, "glRasterPos2dv"); bindFunc(cast(void**)&glRasterPos2fv, "glRasterPos2fv"); bindFunc(cast(void**)&glRasterPos2iv, "glRasterPos2iv"); bindFunc(cast(void**)&glRasterPos2sv, "glRasterPos2sv"); bindFunc(cast(void**)&glRasterPos3dv, "glRasterPos3dv"); bindFunc(cast(void**)&glRasterPos3fv, "glRasterPos3fv"); bindFunc(cast(void**)&glRasterPos3iv, "glRasterPos3iv"); bindFunc(cast(void**)&glRasterPos3sv, "glRasterPos3sv"); bindFunc(cast(void**)&glRasterPos4dv, "glRasterPos4dv"); bindFunc(cast(void**)&glRasterPos4fv, "glRasterPos4fv"); bindFunc(cast(void**)&glRasterPos4iv, "glRasterPos4iv"); bindFunc(cast(void**)&glRasterPos4sv, "glRasterPos4sv"); bindFunc(cast(void**)&glRectd, "glRectd"); bindFunc(cast(void**)&glRectf, "glRectf"); bindFunc(cast(void**)&glRecti, "glRecti"); bindFunc(cast(void**)&glRects, "glRects"); bindFunc(cast(void**)&glRectdv, "glRectdv"); bindFunc(cast(void**)&glRectfv, "glRectfv"); bindFunc(cast(void**)&glRectiv, "glRectiv"); bindFunc(cast(void**)&glRectsv, "glRectsv"); bindFunc(cast(void**)&glShadeModel, "glShadeModel"); bindFunc(cast(void**)&glLightf, "glLightf"); bindFunc(cast(void**)&glLighti, "glLighti"); bindFunc(cast(void**)&glLightfv, "glLightfv"); bindFunc(cast(void**)&glLightiv, "glLightiv"); bindFunc(cast(void**)&glGetLightfv, "glGetLightfv"); bindFunc(cast(void**)&glGetLightiv, "glGetLightiv"); bindFunc(cast(void**)&glLightModelf, "glLightModelf"); bindFunc(cast(void**)&glLightModeli, "glLightModeli"); bindFunc(cast(void**)&glLightModelfv, "glLightModelfv"); bindFunc(cast(void**)&glLightModeliv, "glLightModeliv"); bindFunc(cast(void**)&glMaterialf, "glMaterialf"); bindFunc(cast(void**)&glMateriali, "glMateriali"); bindFunc(cast(void**)&glMaterialfv, "glMaterialfv"); bindFunc(cast(void**)&glMaterialiv, "glMaterialiv"); bindFunc(cast(void**)&glGetMaterialfv, "glGetMaterialfv"); bindFunc(cast(void**)&glGetMaterialiv, "glGetMaterialiv"); bindFunc(cast(void**)&glColorMaterial, "glColorMaterial"); bindFunc(cast(void**)&glPixelZoom, "glPixelZoom"); bindFunc(cast(void**)&glPixelStoref, "glPixelStoref"); bindFunc(cast(void**)&glPixelStorei, "glPixelStorei"); bindFunc(cast(void**)&glPixelTransferf, "glPixelTransferf"); bindFunc(cast(void**)&glPixelTransferi, "glPixelTransferi"); bindFunc(cast(void**)&glPixelMapfv, "glPixelMapfv"); bindFunc(cast(void**)&glPixelMapuiv, "glPixelMapuiv"); bindFunc(cast(void**)&glPixelMapusv, "glPixelMapusv"); bindFunc(cast(void**)&glGetPixelMapfv, "glGetPixelMapfv"); bindFunc(cast(void**)&glGetPixelMapuiv, "glGetPixelMapuiv"); bindFunc(cast(void**)&glGetPixelMapusv, "glGetPixelMapusv"); bindFunc(cast(void**)&glBitmap, "glBitmap"); bindFunc(cast(void**)&glReadPixels, "glReadPixels"); bindFunc(cast(void**)&glDrawPixels, "glDrawPixels"); bindFunc(cast(void**)&glCopyPixels, "glCopyPixels"); bindFunc(cast(void**)&glStencilFunc, "glStencilFunc"); bindFunc(cast(void**)&glStencilMask, "glStencilMask"); bindFunc(cast(void**)&glStencilOp, "glStencilOp"); bindFunc(cast(void**)&glClearStencil, "glClearStencil"); bindFunc(cast(void**)&glTexGend, "glTexGend"); bindFunc(cast(void**)&glTexGenf, "glTexGenf"); bindFunc(cast(void**)&glTexGeni, "glTexGeni"); bindFunc(cast(void**)&glTexGendv, "glTexGendv"); bindFunc(cast(void**)&glTexGenfv, "glTexGenfv"); bindFunc(cast(void**)&glTexGeniv, "glTexGeniv"); bindFunc(cast(void**)&glTexEnvf, "glTexEnvf"); bindFunc(cast(void**)&glTexEnvi, "glTexEnvi"); bindFunc(cast(void**)&glTexEnvfv, "glTexEnvfv"); bindFunc(cast(void**)&glTexEnviv, "glTexEnviv"); bindFunc(cast(void**)&glGetTexEnvfv, "glGetTexEnvfv"); bindFunc(cast(void**)&glGetTexEnviv, "glGetTexEnviv"); bindFunc(cast(void**)&glTexParameterf, "glTexParameterf"); bindFunc(cast(void**)&glTexParameteri, "glTexParameteri"); bindFunc(cast(void**)&glTexParameterfv, "glTexParameterfv"); bindFunc(cast(void**)&glTexParameteriv, "glTexParameteriv"); bindFunc(cast(void**)&glGetTexParameterfv, "glGetTexParameterfv"); bindFunc(cast(void**)&glGetTexParameteriv, "glGetTexParameteriv"); bindFunc(cast(void**)&glGetTexLevelParameterfv, "glGetTexLevelParameterfv"); bindFunc(cast(void**)&glGetTexLevelParameteriv, "glGetTexLevelParameteriv"); bindFunc(cast(void**)&glTexImage1D, "glTexImage1D"); bindFunc(cast(void**)&glTexImage2D, "glTexImage2D"); bindFunc(cast(void**)&glGetTexImage, "glGetTexImage"); bindFunc(cast(void**)&glMap1d, "glMap1d"); bindFunc(cast(void**)&glMap1f, "glMap1f"); bindFunc(cast(void**)&glMap2d, "glMap2d"); bindFunc(cast(void**)&glMap2f, "glMap2f"); bindFunc(cast(void**)&glGetMapdv, "glGetMapdv"); bindFunc(cast(void**)&glGetMapfv, "glGetMapfv"); bindFunc(cast(void**)&glEvalCoord1d, "glEvalCoord1d"); bindFunc(cast(void**)&glEvalCoord1f, "glEvalCoord1f"); bindFunc(cast(void**)&glEvalCoord1dv, "glEvalCoord1dv"); bindFunc(cast(void**)&glEvalCoord1fv, "glEvalCoord1fv"); bindFunc(cast(void**)&glEvalCoord2d, "glEvalCoord2d"); bindFunc(cast(void**)&glEvalCoord2f, "glEvalCoord2f"); bindFunc(cast(void**)&glEvalCoord2dv, "glEvalCoord2dv"); bindFunc(cast(void**)&glEvalCoord2fv, "glEvalCoord2fv"); bindFunc(cast(void**)&glMapGrid1d, "glMapGrid1d"); bindFunc(cast(void**)&glMapGrid1f, "glMapGrid1f"); bindFunc(cast(void**)&glMapGrid2d, "glMapGrid2d"); bindFunc(cast(void**)&glMapGrid2f, "glMapGrid2f"); bindFunc(cast(void**)&glEvalPoint1, "glEvalPoint1"); bindFunc(cast(void**)&glEvalPoint2, "glEvalPoint2"); bindFunc(cast(void**)&glEvalMesh1, "glEvalMesh1"); bindFunc(cast(void**)&glEvalMesh2, "glEvalMesh2"); bindFunc(cast(void**)&glFogf, "glFogf"); bindFunc(cast(void**)&glFogi, "glFogi"); bindFunc(cast(void**)&glFogfv, "glFogfv"); bindFunc(cast(void**)&glFogiv, "glFogiv"); bindFunc(cast(void**)&glFeedbackBuffer, "glFeedbackBuffer"); bindFunc(cast(void**)&glPassThrough, "glPassThrough"); bindFunc(cast(void**)&glSelectBuffer, "glSelectBuffer"); bindFunc(cast(void**)&glInitNames, "glInitNames"); bindFunc(cast(void**)&glLoadName, "glLoadName"); bindFunc(cast(void**)&glPushName, "glPushName"); bindFunc(cast(void**)&glPopName, "glPopName"); // gl 1.1 bindFunc(cast(void**)&glGenTextures, "glGenTextures"); bindFunc(cast(void**)&glDeleteTextures, "glDeleteTextures"); bindFunc(cast(void**)&glBindTexture, "glBindTexture"); bindFunc(cast(void**)&glPrioritizeTextures, "glPrioritizeTextures"); bindFunc(cast(void**)&glAreTexturesResident, "glAreTexturesResident"); bindFunc(cast(void**)&glIsTexture, "glIsTexture"); bindFunc(cast(void**)&glTexSubImage1D, "glTexSubImage1D"); bindFunc(cast(void**)&glTexSubImage2D, "glTexSubImage2D"); bindFunc(cast(void**)&glCopyTexImage1D, "glCopyTexImage1D"); bindFunc(cast(void**)&glCopyTexImage2D, "glCopyTexImage2D"); bindFunc(cast(void**)&glCopyTexSubImage1D, "glCopyTexSubImage1D"); bindFunc(cast(void**)&glCopyTexSubImage2D, "glCopyTexSubImage2D"); bindFunc(cast(void**)&glVertexPointer, "glVertexPointer"); bindFunc(cast(void**)&glNormalPointer, "glNormalPointer"); bindFunc(cast(void**)&glColorPointer, "glColorPointer"); bindFunc(cast(void**)&glIndexPointer, "glIndexPointer"); bindFunc(cast(void**)&glTexCoordPointer, "glTexCoordPointer"); bindFunc(cast(void**)&glEdgeFlagPointer, "glEdgeFlagPointer"); bindFunc(cast(void**)&glGetPointerv, "glGetPointerv"); bindFunc(cast(void**)&glArrayElement, "glArrayElement"); bindFunc(cast(void**)&glDrawArrays, "glDrawArrays"); bindFunc(cast(void**)&glDrawElements, "glDrawElements"); bindFunc(cast(void**)&glInterleavedArrays, "glInterleavedArrays"); loadPlatformGL(&bindFunc); _maxVersion = GLVersion.GL11; } public void bindExtendedFunc(void** ptr, string funcName, bool doThrow) { version(MacOSX) { bindFunc(ptr, funcName, doThrow); } else { void* func = loadGLSymbol(funcName); if(func is null && doThrow) Derelict_HandleMissingSymbol(lib.name, funcName); else *ptr = func; } } } DerelictGLLoader DerelictGL; static this() { DerelictGL = new DerelictGLLoader(); } static ~this() { if(SharedLibLoader.isAutoUnloadEnabled()) DerelictGL.unload(); }
D
/** Arbitrary precision arithmetic ('bignum') for processors with no asm support * * All functions operate on arrays of uints, stored LSB first. * If there is a destination array, it will be the first parameter. * Currently, all of these functions are subject to change, and are * intended for internal use only. * This module is intended only to assist development of high-speed routines * on currently unsupported processors. * The X86 asm version is about 30 times faster than the D version(DMD). */ /* Copyright Don Clugston 2008 - 2010. * 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.internal.math.biguintnoasm; public: alias uint BigDigit; // A Bignum is an array of BigDigits. // Limits for when to switch between multiplication algorithms. enum : int { KARATSUBALIMIT = 10 }; // Minimum value for which Karatsuba is worthwhile. enum : int { KARATSUBASQUARELIMIT=12 }; // Minimum value for which square Karatsuba is worthwhile /** Multi-byte addition or subtraction * dest[] = src1[] + src2[] + carry (0 or 1). * or dest[] = src1[] - src2[] - carry (0 or 1). * Returns carry or borrow (0 or 1). * Set op == '+' for addition, '-' for subtraction. */ uint multibyteAddSub(char op)(uint[] dest, const(uint) [] src1, const (uint) [] src2, uint carry) { ulong c = carry; for (uint i = 0; i < src2.length; ++i) { static if (op=='+') c = c + src1[i] + src2[i]; else c = cast(ulong)src1[i] - src2[i] - c; dest[i] = cast(uint)c; c = (c>0xFFFF_FFFF); } return cast(uint)c; } unittest { uint [] a = new uint[40]; uint [] b = new uint[40]; uint [] c = new uint[40]; for (int i=0; i<a.length; ++i) { if (i&1) a[i]=0x8000_0000 + i; else a[i]=i; b[i]= 0x8000_0003; } c[19]=0x3333_3333; uint carry = multibyteAddSub!('+')(c[0..18], b[0..18], a[0..18], 0); assert(c[0]==0x8000_0003); assert(c[1]==4); assert(c[19]==0x3333_3333); // check for overrun assert(carry==1); for (int i=0; i<a.length; ++i) { a[i]=b[i]=c[i]=0; } a[8]=0x048D159E; b[8]=0x048D159E; a[10]=0x1D950C84; b[10]=0x1D950C84; a[5] =0x44444444; carry = multibyteAddSub!('-')(a[0..12], a[0..12], b[0..12], 0); assert(a[11]==0); for (int i=0; i<10; ++i) if (i!=5) assert(a[i]==0); for (int q=3; q<36;++q) { for (int i=0; i<a.length; ++i) { a[i]=b[i]=c[i]=0; } a[q-2]=0x040000; b[q-2]=0x040000; carry = multibyteAddSub!('-')(a[0..q], a[0..q], b[0..q], 0); assert(a[q-2]==0); } } /** dest[] += carry, or dest[] -= carry. * op must be '+' or '-' * Returns final carry or borrow (0 or 1) */ uint multibyteIncrementAssign(char op)(uint[] dest, uint carry) { static if (op=='+') { ulong c = carry; c += dest[0]; dest[0] = cast(uint)c; if (c<=0xFFFF_FFFF) return 0; for (uint i = 1; i < dest.length; ++i) { ++dest[i]; if (dest[i]!=0) return 0; } return 1; } else { ulong c = carry; c = dest[0] - c; dest[0] = cast(uint)c; if (c<=0xFFFF_FFFF) return 0; for (uint i = 1; i < dest.length; ++i) { --dest[i]; if (dest[i]!=0xFFFF_FFFF) return 0; } return 1; } } /** dest[] = src[] << numbits * numbits must be in the range 1..31 */ uint multibyteShl(uint [] dest, const(uint) [] src, uint numbits) { ulong c = 0; for(int i=0; i<dest.length; ++i){ c += (cast(ulong)(src[i]) << numbits); dest[i] = cast(uint)c; c >>>= 32; } return cast(uint)c; } /** dest[] = src[] >> numbits * numbits must be in the range 1..31 */ void multibyteShr(uint [] dest, const(uint) [] src, uint numbits) { ulong c = 0; for(ptrdiff_t i=dest.length-1; i>=0; --i){ c += (src[i] >>numbits) + (cast(ulong)(src[i]) << (64 - numbits)); dest[i]= cast(uint)c; c >>>= 32; } } unittest { uint [] aa = [0x1222_2223, 0x4555_5556, 0x8999_999A, 0xBCCC_CCCD, 0xEEEE_EEEE]; multibyteShr(aa[0..$-2], aa, 4); assert(aa[0]==0x6122_2222 && aa[1]==0xA455_5555 && aa[2]==0x0899_9999); assert(aa[3]==0xBCCC_CCCD); aa = [0x1222_2223, 0x4555_5556, 0x8999_999A, 0xBCCC_CCCD, 0xEEEE_EEEE]; multibyteShr(aa[0..$-1], aa, 4); assert(aa[0] == 0x6122_2222 && aa[1]==0xA455_5555 && aa[2]==0xD899_9999 && aa[3]==0x0BCC_CCCC); aa = [0xF0FF_FFFF, 0x1222_2223, 0x4555_5556, 0x8999_999A, 0xBCCC_CCCD, 0xEEEE_EEEE]; multibyteShl(aa[1..4], aa[1..$], 4); assert(aa[0] == 0xF0FF_FFFF && aa[1] == 0x2222_2230 && aa[2]==0x5555_5561 && aa[3]==0x9999_99A4 && aa[4]==0x0BCCC_CCCD); } /** dest[] = src[] * multiplier + carry. * Returns carry. */ uint multibyteMul(uint[] dest, const(uint)[] src, uint multiplier, uint carry) { assert(dest.length==src.length); ulong c = carry; for(int i=0; i<src.length; ++i){ c += cast(ulong)(src[i]) * multiplier; dest[i] = cast(uint)c; c>>=32; } return cast(uint)c; } unittest { uint [] aa = [0xF0FF_FFFF, 0x1222_2223, 0x4555_5556, 0x8999_999A, 0xBCCC_CCCD, 0xEEEE_EEEE]; multibyteMul(aa[1..4], aa[1..4], 16, 0); assert(aa[0] == 0xF0FF_FFFF && aa[1] == 0x2222_2230 && aa[2]==0x5555_5561 && aa[3]==0x9999_99A4 && aa[4]==0x0BCCC_CCCD); } /** * dest[] += src[] * multiplier + carry(0..FFFF_FFFF). * Returns carry out of MSB (0..FFFF_FFFF). */ uint multibyteMulAdd(char op)(uint [] dest, const(uint)[] src, uint multiplier, uint carry) { assert(dest.length == src.length); ulong c = carry; for(int i = 0; i < src.length; ++i){ static if(op=='+') { c += cast(ulong)(multiplier) * src[i] + dest[i]; dest[i] = cast(uint)c; c >>= 32; } else { c += cast(ulong)multiplier * src[i]; ulong t = cast(ulong)dest[i] - cast(uint)c; dest[i] = cast(uint)t; c = cast(uint)((c>>32) - (t>>32)); } } return cast(uint)c; } unittest { uint [] aa = [0xF0FF_FFFF, 0x1222_2223, 0x4555_5556, 0x8999_999A, 0xBCCC_CCCD, 0xEEEE_EEEE]; uint [] bb = [0x1234_1234, 0xF0F0_F0F0, 0x00C0_C0C0, 0xF0F0_F0F0, 0xC0C0_C0C0]; multibyteMulAdd!('+')(bb[1..$-1], aa[1..$-2], 16, 5); assert(bb[0] == 0x1234_1234 && bb[4] == 0xC0C0_C0C0); assert(bb[1] == 0x2222_2230 + 0xF0F0_F0F0+5 && bb[2] == 0x5555_5561+0x00C0_C0C0+1 && bb[3] == 0x9999_99A4+0xF0F0_F0F0 ); } /** Sets result = result[0..left.length] + left * right It is defined in this way to allow cache-efficient multiplication. This function is equivalent to: ---- for (int i = 0; i< right.length; ++i) { dest[left.length + i] = multibyteMulAdd(dest[i..left.length+i], left, right[i], 0); } ---- */ void multibyteMultiplyAccumulate(uint [] dest, const(uint)[] left, const(uint) [] right) { for (int i = 0; i< right.length; ++i) { dest[left.length + i] = multibyteMulAdd!('+')(dest[i..left.length+i], left, right[i], 0); } } /** dest[] /= divisor. * overflow is the initial remainder, and must be in the range 0..divisor-1. */ uint multibyteDivAssign(uint [] dest, uint divisor, uint overflow) { ulong c = cast(ulong)overflow; for(ptrdiff_t i = dest.length-1; i>=0; --i){ c = (c<<32) + cast(ulong)(dest[i]); uint q = cast(uint)(c/divisor); c -= divisor * q; dest[i] = q; } return cast(uint)c; } unittest { uint [] aa = new uint[101]; for (int i=0; i<aa.length; ++i) aa[i] = 0x8765_4321 * (i+3); uint overflow = multibyteMul(aa, aa, 0x8EFD_FCFB, 0x33FF_7461); uint r = multibyteDivAssign(aa, 0x8EFD_FCFB, overflow); for (sizediff_t i=aa.length-1; i>=0; --i) { assert(aa[i] == 0x8765_4321 * (i+3)); } assert(r==0x33FF_7461); } // Set dest[2*i..2*i+1]+=src[i]*src[i] void multibyteAddDiagonalSquares(uint[] dest, const(uint)[] src) { ulong c = 0; for(int i = 0; i < src.length; ++i){ // At this point, c is 0 or 1, since FFFF*FFFF+FFFF_FFFF = 1_0000_0000. c += cast(ulong)(src[i]) * src[i] + dest[2*i]; dest[2*i] = cast(uint)c; c = (c>>=32) + dest[2*i+1]; dest[2*i+1] = cast(uint)c; c >>= 32; } } // Does half a square multiply. (square = diagonal + 2*triangle) void multibyteTriangleAccumulate(uint[] dest, const(uint)[] x) { // x[0]*x[1...$] + x[1]*x[2..$] + ... + x[$-2]x[$-1..$] dest[x.length] = multibyteMul(dest[1 .. x.length], x[1..$], x[0], 0); if (x.length <4) { if (x.length ==3) { ulong c = cast(ulong)(x[$-1]) * x[$-2] + dest[2*x.length-3]; dest[2*x.length-3] = cast(uint)c; c >>= 32; dest[2*x.length-2] = cast(uint)c; } return; } for (int i = 2; i < x.length-2; ++i) { dest[i-1+ x.length] = multibyteMulAdd!('+')( dest[i+i-1 .. i+x.length-1], x[i..$], x[i-1], 0); } // Unroll the last two entries, to reduce loop overhead: ulong c = cast(ulong)(x[$-3]) * x[$-2] + dest[2*x.length-5]; dest[2*x.length-5] = cast(uint)c; c >>= 32; c += cast(ulong)(x[$-3]) * x[$-1] + dest[2*x.length-4]; dest[2*x.length-4] = cast(uint)c; c >>= 32; c += cast(ulong)(x[$-1]) * x[$-2]; dest[2*x.length-3] = cast(uint)c; c >>= 32; dest[2*x.length-2] = cast(uint)c; } void multibyteSquare(BigDigit[] result, const(BigDigit) [] x) { multibyteTriangleAccumulate(result, x); result[$-1] = multibyteShl(result[1..$-1], result[1..$-1], 1); // mul by 2 result[0] = 0; multibyteAddDiagonalSquares(result, x); }
D
instance Mod_1978_PSITPL_Templer_FI (Npc_Default) { // ------ NSC ------ name = "Fanatischer Templer"; guild = GIL_strf; id = 1978; voice = 0; flags = 0; //NPC_FLAG_IMMORTAL oder 0 npctype = NPCTYPE_mt_fanatiker; // ------ Attribute ------ B_SetAttributesToChapter (self, 4); //setzt Attribute und LEVEL entsprechend dem angegebenen Kapitel (1-6) // ------ Kampf-Taktik ------ fight_tactic = FAI_HUMAN_STRONG; // MASTER / STRONG / COWARD // ------ Equippte Waffen ------ //Munition wird automatisch generiert, darf aber angegeben werden EquipItem (self, ItMw_2H_Axe_L_01); // ------ Inventory ------ B_CreateAmbientInv (self); // ------ visuals ------ //Muss NACH Attributen kommen, weil in B_SetNpcVisual die Breite abh. v. STR skaliert wird B_SetNpcVisual (self, MALE, "Hum_Head_Bald", Face_N_Weak_BaalNetbek, BodyTex_N, ITAR_TemplerFanatiker); Mdl_SetModelFatness (self, 0); Mdl_ApplyOverlayMds (self, "Humans_Militia.mds"); // Tired / Militia / Mage / Arrogance / Relaxed // ------ NSC-relevante Talente vergeben ------ B_GiveNpcTalents (self); // ------ Kampf-Talente ------ //Der enthaltene B_AddFightSkill setzt Talent-Ani abhängig von TrefferChance% - alle Kampftalente werden gleichhoch gesetzt B_SetFightSkills (self, 50); //Grenzen für Talent-Level liegen bei 30 und 60 // ------ TA anmelden ------ daily_routine = Rtn_Start_1978; }; FUNC VOID Rtn_Start_1978 () { TA_Stand_WP (08,00,23,00,"FI_50"); TA_Stand_WP (23,00,08,00,"FI_50"); };
D
module euler.solutions.sum_path; import euler.common.solutions; import euler.common.data; long solve_sum_path(int[][] triangle) { auto paths = triangle.back; for (long i = triangle.length - 2; i >= 0; i--) { int[] next_paths; for (int j = 0; j < triangle[i].length; j++) { auto take = paths[j] > paths[j + 1] ? paths[j] : paths[j + 1]; next_paths ~= take + triangle[i][j]; } paths = next_paths; } return paths[0]; }
D
/* Copyright (c) 2018 Timur Gafarov 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 dagon.resource.config; import std.stdio; import std.process; import std.string; import dlib.core.memory; import dlib.filesystem.filesystem; import dlib.filesystem.stdfs; import dagon.core.ownership; import dagon.core.vfs; import dagon.resource.props; class Configuration: Owner { protected: VirtualFileSystem fs; public: Properties props; this(Owner o) { super(o); fs = New!VirtualFileSystem(); fs.mount("."); string homeDirVar = ""; version(Windows) homeDirVar = "APPDATA"; version(Posix) homeDirVar = "HOME"; auto homeDir = environment.get(homeDirVar, ""); if (homeDir.length) { string appdataDir = format("%s/.dagon", homeDir); fs.mount(appdataDir); } props = New!Properties(this); } ~this() { Delete(fs); } bool fromFile(string filename) { FileStat stat; if (fs.stat(filename, stat)) { auto istrm = fs.openForInput(filename); auto input = readText(istrm); Delete(istrm); props.parse(input); Delete(input); return true; } else return false; } }
D
#!/usr/bin/env rdmd -I.. import std.stdio; import std.datetime.stopwatch; import std.conv; import std.functional; enum {RIGHT, DOWN} void main(string[] args) { int width = 20, height = 20; ulong pathCount; StopWatch timer; if (args.length > 2) { width = args[1].parse!int(); height = args[2].parse!int(); } timer.start(); writeln("working"); pathCount = countLatticePaths(width, height); timer.stop(); writeln(pathCount); writefln("finished in %s milliseconds", timer.peek.total!"msecs"()); } ulong countLatticePaths(int width, int height) { int rightCount, downCount; ulong pathCount; pathCount += memoize!takePath(RIGHT, width, height, 0, 0); pathCount += memoize!takePath(DOWN, width, height, 0, 0); return pathCount; } ulong takePath(int direction, int width, int height, int rightCount, int downCount) { ulong pathCount, rightPathCount; if (direction == RIGHT) rightCount++; else if (direction == DOWN) downCount++; if (rightCount < width) { rightPathCount = memoize!takePath(RIGHT, width, height, rightCount, downCount); pathCount += rightPathCount; } if (downCount < height) { if (width - rightCount == height - downCount) { pathCount += rightPathCount; } else { pathCount += memoize!takePath(DOWN, width, height, rightCount, downCount); } } if (rightCount == width && downCount == height) pathCount++; if (direction == RIGHT) rightCount--; if (direction == DOWN) downCount--; return pathCount; }
D
import std.stdio, std.algorithm, std.conv, std.array, std.string, std.math, std.typecons, std.numeric; void main() { auto kx = readln.split.to!(int[]); auto K = kx[0]; auto X = kx[1]; auto i = X-K+1; int[] r; while (i < X+K) { r ~= i++; } writeln(r.to!(string[]).join(" ")); }
D
module external.libc.stdint; alias int8_t = byte; /// alias int16_t = short; /// alias uint8_t = ubyte; /// alias uint16_t = ushort; /// alias int32_t = int; /// alias uint32_t = uint; /// alias int64_t = long; /// alias uint64_t = ulong; /// alias int_least8_t = byte; /// alias uint_least8_t = ubyte; /// alias int_least16_t = short; /// alias uint_least16_t = ushort; /// alias int_least32_t = int; /// alias uint_least32_t = uint; /// alias int_least64_t = long; /// alias uint_least64_t = ulong; /// alias int_fast8_t = byte; /// alias uint_fast8_t = ubyte; /// alias int_fast16_t = int; /// alias uint_fast16_t = uint; /// alias int_fast32_t = int; /// alias uint_fast32_t = uint; /// alias int_fast64_t = long; /// alias uint_fast64_t = ulong; /// alias intptr_t = ptrdiff_t; /// alias uintptr_t = size_t; /// alias intmax_t = long; /// alias uintmax_t = ulong; ///
D
module hunt.framework.http.JsonResponse; // import std.conv; // import std.datetime; // import std.json; // import hunt.logging; // // import hunt.framework.http.cookie; // import hunt.framework.util.String; // import hunt.framework.Version; // import hunt.framework.http.Response; // import hunt.framework.http.Request; // import hunt.http.codec.http.model.HttpHeader; // import hunt.util.Serialize; // /** // * Response represents an HTTP response in JSON format. // * // * Note that this class does not force the returned JSON content to be an // * object. It is however recommended that you do return an object as it // * protects yourself against XSSI and JSON-JavaScript Hijacking. // * // * @see https://www.owasp.org/index.php/OWASP_AJAX_Security_Guidelines#Always_return_JSON_with_an_Object_on_the_outside // * // */ // class JsonResponse : Response // { // this() // { // super(request()); // } // this(T)(T data) // { // super(request()); // this.setJson(data.toJson()); // } // /** // * Get the json_decoded data from the response. // * // * @return JSONValue // */ // // JSONValue getData() // // { // // return parseJSON(getContent()); // // } // /** // * Sets a raw string containing a JSON document to be sent. // * // * @param string data // * // * @return this // */ // JsonResponse setJson(JSONValue data) // { // this.setHeader(HttpHeader.CONTENT_TYPE, JsonContentType); // this.setContent(data.toString()); // return this; // } // }
D
/Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/App.build/Models/Todo.swift.o : /Users/lb/Documents/Project/LearnVapor/Sources/App/configure.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/Models/Todo.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/app.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/Controllers/TodoController.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/routes.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/boot.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOHTTP1.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/SQL.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/FluentSQL.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOOpenSSL.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOTLS.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/SQLite.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/FluentSQLite.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Authentication.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Validation.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 /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Vapor.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/WebSocket.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOWebSocket.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 /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/TemplateKit.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Fluent.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOSHA1/include/c_nio_sha1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/asn1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/tls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dtls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs12.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl23.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509v3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/md5.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs7.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509.h /usr/local/Cellar/libressl/2.7.4/include/openssl/sha.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rsa.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOZlib/include/c_nio_zlib.h /usr/local/Cellar/libressl/2.7.4/include/openssl/obj_mac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/hmac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ec.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/cpp_magic.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rand.h /usr/local/Cellar/libressl/2.7.4/include/openssl/conf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslconf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/lhash.h /usr/local/Cellar/libressl/2.7.4/include/openssl/stack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/safestack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-ssl.git--4203122085816746094/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/crypto.git--6549914863907898371/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bn.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIODarwin/include/c_nio_darwin.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bio.h /usr/local/Cellar/libressl/2.7.4/include/openssl/crypto.h /usr/local/Cellar/libressl/2.7.4/include/openssl/srtp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/evp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/2.7.4/include/openssl/buffer.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/2.7.4/include/openssl/err.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/c-atomics.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/2.7.4/include/openssl/objects.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslv.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOLinux/include/c_nio_linux.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509_vfy.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-zlib-support.git--4783613459776704231/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-ssl-support.git--7591788603050871532/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/checkouts/crypto.git--6549914863907898371/Sources/CBase32/include/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/checkouts/crypto.git--6549914863907898371/Sources/CBcrypt/include/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/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/App.build/Todo~partial.swiftmodule : /Users/lb/Documents/Project/LearnVapor/Sources/App/configure.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/Models/Todo.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/app.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/Controllers/TodoController.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/routes.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/boot.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOHTTP1.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/SQL.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/FluentSQL.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOOpenSSL.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOTLS.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/SQLite.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/FluentSQLite.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Authentication.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Validation.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 /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Vapor.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/WebSocket.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOWebSocket.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 /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/TemplateKit.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Fluent.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOSHA1/include/c_nio_sha1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/asn1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/tls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dtls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs12.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl23.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509v3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/md5.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs7.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509.h /usr/local/Cellar/libressl/2.7.4/include/openssl/sha.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rsa.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOZlib/include/c_nio_zlib.h /usr/local/Cellar/libressl/2.7.4/include/openssl/obj_mac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/hmac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ec.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/cpp_magic.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rand.h /usr/local/Cellar/libressl/2.7.4/include/openssl/conf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslconf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/lhash.h /usr/local/Cellar/libressl/2.7.4/include/openssl/stack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/safestack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-ssl.git--4203122085816746094/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/crypto.git--6549914863907898371/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bn.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIODarwin/include/c_nio_darwin.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bio.h /usr/local/Cellar/libressl/2.7.4/include/openssl/crypto.h /usr/local/Cellar/libressl/2.7.4/include/openssl/srtp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/evp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/2.7.4/include/openssl/buffer.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/2.7.4/include/openssl/err.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/c-atomics.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/2.7.4/include/openssl/objects.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslv.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOLinux/include/c_nio_linux.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509_vfy.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-zlib-support.git--4783613459776704231/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-ssl-support.git--7591788603050871532/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/checkouts/crypto.git--6549914863907898371/Sources/CBase32/include/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/checkouts/crypto.git--6549914863907898371/Sources/CBcrypt/include/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/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/App.build/Todo~partial.swiftdoc : /Users/lb/Documents/Project/LearnVapor/Sources/App/configure.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/Models/Todo.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/app.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/Controllers/TodoController.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/routes.swift /Users/lb/Documents/Project/LearnVapor/Sources/App/boot.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOHTTP1.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/SQL.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/FluentSQL.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOOpenSSL.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIO.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/HTTP.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOTLS.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Async.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Command.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Service.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Console.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/SQLite.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/FluentSQLite.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Logging.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Routing.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/COperatingSystem.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Random.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/URLEncodedForm.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Authentication.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Validation.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 /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Crypto.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Vapor.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOConcurrencyHelpers.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Bits.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOFoundationCompat.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/WebSocket.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/NIOWebSocket.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 /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/DatabaseKit.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/TemplateKit.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Fluent.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/Multipart.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOSHA1/include/c_nio_sha1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/asn1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/tls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dtls1.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs12.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem2.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl23.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509v3.h /usr/local/Cellar/libressl/2.7.4/include/openssl/md5.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pkcs7.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509.h /usr/local/Cellar/libressl/2.7.4/include/openssl/sha.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdsa.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rsa.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOZlib/include/c_nio_zlib.h /usr/local/Cellar/libressl/2.7.4/include/openssl/obj_mac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/hmac.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ec.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/cpp_magic.h /usr/local/Cellar/libressl/2.7.4/include/openssl/rand.h /usr/local/Cellar/libressl/2.7.4/include/openssl/conf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslconf.h /usr/local/Cellar/libressl/2.7.4/include/openssl/dh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ecdh.h /usr/local/Cellar/libressl/2.7.4/include/openssl/lhash.h /usr/local/Cellar/libressl/2.7.4/include/openssl/stack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/safestack.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ssl.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-ssl.git--4203122085816746094/Sources/CNIOOpenSSL/include/c_nio_openssl.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/crypto.git--6549914863907898371/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h /usr/local/Cellar/libressl/2.7.4/include/openssl/pem.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bn.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIODarwin/include/c_nio_darwin.h /usr/local/Cellar/libressl/2.7.4/include/openssl/bio.h /usr/local/Cellar/libressl/2.7.4/include/openssl/crypto.h /usr/local/Cellar/libressl/2.7.4/include/openssl/srtp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/evp.h /usr/local/Cellar/libressl/2.7.4/include/openssl/ossl_typ.h /usr/local/Cellar/libressl/2.7.4/include/openssl/buffer.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOHTTPParser/include/c_nio_http_parser.h /usr/local/Cellar/libressl/2.7.4/include/openssl/err.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOAtomics/include/c-atomics.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslfeatures.h /usr/local/Cellar/libressl/2.7.4/include/openssl/objects.h /usr/local/Cellar/libressl/2.7.4/include/openssl/opensslv.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio.git-8756902686293799568/Sources/CNIOLinux/include/c_nio_linux.h /usr/local/Cellar/libressl/2.7.4/include/openssl/x509_vfy.h /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-zlib-support.git--4783613459776704231/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/checkouts/swift-nio-ssl-support.git--7591788603050871532/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOSHA1.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CCryptoOpenSSL.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOZlib.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIODarwin.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOHTTPParser.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOAtomics.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/x86_64-apple-macosx10.10/debug/CNIOLinux.build/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/checkouts/crypto.git--6549914863907898371/Sources/CBase32/include/module.modulemap /Users/lb/Documents/Project/LearnVapor/.build/checkouts/crypto.git--6549914863907898371/Sources/CBcrypt/include/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
module des.mc.calibrate; public import des.mc.calibrate.point; public import des.mc.calibrate.multipoint;
D
/Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Node.build/Fuzzy/Dictionary+Convertible.swift.o : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Polymorphic.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Polymorphic.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Convenience.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Node.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Equatable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Equatable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeRepresentable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+PathIndexable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeInitializable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UUID+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Schema+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Date+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/String+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Optional+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Bool+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Integer+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UnsignedInteger+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/SchemaWrapper+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Set+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/FloatingPoint+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Array+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Dictionary+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeConvertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Number/Number.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Identifier.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/FuzzyConverter.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Cases.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Literals.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Getters.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Setters.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Errors.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Exports.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Init.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Context.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Fuzzy+Any.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.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 /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.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/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Node.build/Dictionary+Convertible~partial.swiftmodule : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Polymorphic.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Polymorphic.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Convenience.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Node.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Equatable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Equatable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeRepresentable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+PathIndexable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeInitializable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UUID+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Schema+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Date+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/String+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Optional+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Bool+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Integer+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UnsignedInteger+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/SchemaWrapper+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Set+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/FloatingPoint+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Array+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Dictionary+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeConvertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Number/Number.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Identifier.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/FuzzyConverter.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Cases.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Literals.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Getters.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Setters.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Errors.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Exports.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Init.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Context.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Fuzzy+Any.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.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 /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.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/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Node.build/Dictionary+Convertible~partial.swiftdoc : /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Polymorphic.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Polymorphic.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Convenience.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Node.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Equatable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Equatable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeRepresentable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+PathIndexable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+PathIndexable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeInitializable.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UUID+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Schema+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Date+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/String+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Optional+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Bool+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/Integer+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/UnsignedInteger+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/SchemaWrapper+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Set+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Convertibles/FloatingPoint+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Array+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Dictionary+Convertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/NodeConvertible.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Number/Number.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Identifier.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/FuzzyConverter.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Cases.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredDataWrapper/StructuredDataWrapper+Literals.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Getters.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Accessors/Setters.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Errors.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Utilities/Exports.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/StructuredData/StructuredData+Init.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Core/Context.swift /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/checkouts/node.git-9175390252000121167/Sources/Node/Fuzzy/Fuzzy+Any.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/PathIndexable.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Debugging.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 /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/Bits.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/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/AleixDiaz/Desktop/VaporProject/LaSalleChat/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes
D
/Users/sergio.orozco/Documents/RWPickFlavor/DerivedData/RWPickFlavor/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Result.o : /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/MultipartFormData.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Timeline.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Alamofire.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Response.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/TaskDelegate.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/SessionDelegate.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Validation.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/SessionManager.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/AFError.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Notifications.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Result.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Request.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/ServerTrustPolicy.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/sergio.orozco/Documents/RWPickFlavor/Pods/Headers/Public/Alamofire/Alamofire-umbrella.h /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Headers/Public/Alamofire/Alamofire.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sergio.orozco/Documents/RWPickFlavor/DerivedData/RWPickFlavor/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Result~partial.swiftmodule : /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/MultipartFormData.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Timeline.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Alamofire.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Response.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/TaskDelegate.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/SessionDelegate.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Validation.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/SessionManager.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/AFError.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Notifications.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Result.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Request.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/ServerTrustPolicy.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/sergio.orozco/Documents/RWPickFlavor/Pods/Headers/Public/Alamofire/Alamofire-umbrella.h /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Headers/Public/Alamofire/Alamofire.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/sergio.orozco/Documents/RWPickFlavor/DerivedData/RWPickFlavor/Build/Intermediates.noindex/IBDesignables/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Alamofire.build/Objects-normal/x86_64/Result~partial.swiftdoc : /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/MultipartFormData.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Timeline.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Alamofire.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Response.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/TaskDelegate.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/SessionDelegate.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/ParameterEncoding.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Validation.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/ResponseSerialization.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/SessionManager.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/NetworkReachabilityManager.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/AFError.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Notifications.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Result.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/Request.swift /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Alamofire/Source/ServerTrustPolicy.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/sergio.orozco/Documents/RWPickFlavor/Pods/Headers/Public/Alamofire/Alamofire-umbrella.h /Users/sergio.orozco/Documents/RWPickFlavor/Pods/Headers/Public/Alamofire/Alamofire.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
module org.serviio.upnp.service.contentdirectory.command.AbstractListPlaylistsCommand; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import org.serviio.library.entities.AccessGroup; import org.serviio.library.entities.Playlist; import org.serviio.library.local.service.PlaylistService; import org.serviio.library.metadata.MediaFileType; import org.serviio.profile.Profile; import org.serviio.upnp.service.contentdirectory.ObjectType; import org.serviio.upnp.service.contentdirectory.classes.ObjectClassType; public abstract class AbstractListPlaylistsCommand : AbstractEntityContainerCommand!(Playlist) { protected MediaFileType fileType; public this(String objectId, ObjectType objectType, ObjectClassType containerClassType, ObjectClassType itemClassType, Profile rendererProfile, AccessGroup accessGroup, String idPrefix, int startIndex, int count, MediaFileType fileType) { super(objectId, objectType, containerClassType, itemClassType, rendererProfile, accessGroup, idPrefix, startIndex, count); this.fileType = fileType; } protected Set!(ObjectClassType) getSupportedClasses() { return new HashSet!(ObjectClassType)(Arrays.asList(cast(ObjectClassType[])[ ObjectClassType.CONTAINER, ObjectClassType.STORAGE_FOLDER, ObjectClassType.PLAYLIST_CONTAINER ])); } protected List!(Playlist) retrieveEntityList() { List!(Playlist) playlists = PlaylistService.getListOfPlaylistsWithMedia(fileType, accessGroup, startIndex, count); return playlists; } protected Playlist retrieveSingleEntity(Long entityId) { Playlist playlist = PlaylistService.getPlaylist(entityId); return playlist; } public int retrieveItemCount() { return PlaylistService.getNumberOfPlaylistsWithMedia(fileType, accessGroup); } protected String getContainerTitle(Playlist playlist) { return playlist.getTitle(); } } /* Location: D:\Program Files\Serviio\lib\serviio.jar * Qualified Name: org.serviio.upnp.service.contentdirectory.command.AbstractListPlaylistsCommand * JD-Core Version: 0.6.2 */
D
/Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Random/Hash+Random.swift.o : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC+Method.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash+Method.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher+Method.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/ByteStream.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Hash+Random.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Random.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/PseudoRandom.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/LibreSSLError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Helpers.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Random.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 /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Bits.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/chenzuncheng/Desktop/vaporTest/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Hash+Random~partial.swiftmodule : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC+Method.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash+Method.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher+Method.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/ByteStream.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Hash+Random.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Random.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/PseudoRandom.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/LibreSSLError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Helpers.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Random.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 /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Bits.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/chenzuncheng/Desktop/vaporTest/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Crypto.build/Hash+Random~partial.swiftdoc : /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/HMAC/HMAC+Method.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash+Method.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher+Method.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Hash/Hash.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/ByteStream.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Hash+Random.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/Random.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/PseudoRandom.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Cipher/Cipher.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Random/LibreSSLError.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Helpers.swift /Users/chenzuncheng/Desktop/vaporTest/.build/checkouts/crypto.git-7980259129511365902/Sources/Crypto/Essentials/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/libc.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Core.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Random.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 /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/Bits.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/chenzuncheng/Desktop/vaporTest/.build/checkouts/ctls.git-9210868160426949823/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CHTTP.build/module.modulemap /Users/chenzuncheng/Desktop/vaporTest/.build/x86_64-apple-macosx10.10/debug/CSQLite.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
D
import std.stdio; import std.math; import std.conv; import std.algorithm; import sieve; bool isPermutation(int a, int b) { const auto aInit = a; const auto bInit = b; int[] aArray; aArray.length = to!int(floor(log10(a))) + 1; for (int i = 0; i < aArray.length; i++) { aArray[$ - i - 1] = a % 10; a -= aArray[$ - i - 1]; a /= 10; } int length = aArray.length; for (int i = 0; i < length; i++) { int num = b % 10; int index = aArray.countUntil(num); if (index == -1) return false; aArray = aArray[0..index] ~ aArray[index + 1..$]; b -= num; b /= 10; } return true; } void main() { bool[] sieve = Sieve(10_000); int[] shortSieve = ShortenSieve(sieve); foreach (i; shortSieve) { if (i < 1488) continue; foreach (j; 2..(10000 - i) / 2) { if (sieve[i + j - 2] || sieve[i + j + j - 2]) continue; if (isPermutation(i, i + j) && isPermutation(i, i + j + j)) { writeln(i, i + j, i + j + j); return; } } } }
D
hide under a false appearance put a mask on or cover with a mask make unrecognizable cover with a sauce shield from light having its true character concealed with the intent of misleading having markings suggestive of a mask
D
/Users/sa-ta/Documents/MyRusts/RustVue/serverRust/target/rls/debug/deps/main-48a77b529f47bc1b.rmeta: src/bin/main.rs /Users/sa-ta/Documents/MyRusts/RustVue/serverRust/target/rls/debug/deps/main-48a77b529f47bc1b.d: src/bin/main.rs src/bin/main.rs:
D
module nomads; public import d2d; public import nomads.graphics; public import nomads.logic; public import app;
D
module dgl.ext.EXT_texture_array; import dgl.opengl; import dgl.glext; version( D_Version2 ) { import std.string : containsPattern = count; import std.conv; } else { import tango.text.Util : containsPattern; import tango.stdc.stringz : fromStringz; alias char[] string; } private ushort extensionId__ = 36; alias extensionId__ EXT_texture_array; version (DglNoExtSupportAsserts) { } else { version = DglExtSupportAsserts; } static this() { if (__extSupportCheckingFuncs.length <= extensionId__) { __extSupportCheckingFuncs.length = extensionId__ + 1; } __extSupportCheckingFuncs[extensionId__] = &__supported; } version (all) { public { const GLenum GL_TEXTURE_1D_ARRAY_EXT = 0x8C18; const GLenum GL_PROXY_TEXTURE_1D_ARRAY_EXT = 0x8C19; const GLenum GL_TEXTURE_2D_ARRAY_EXT = 0x8C1A; const GLenum GL_PROXY_TEXTURE_2D_ARRAY_EXT = 0x8C1B; const GLenum GL_TEXTURE_BINDING_1D_ARRAY_EXT = 0x8C1C; const GLenum GL_TEXTURE_BINDING_2D_ARRAY_EXT = 0x8C1D; const GLenum GL_MAX_ARRAY_TEXTURE_LAYERS_EXT = 0x88FF; const GLenum GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT = 0x884E; } private { extern (System) { } } public { } private final bool __supported(GL gl_) { auto gl = _getGL(gl_); if (extensionId__ < cast(int)gl.extFuncs.length && gl.extFuncs[extensionId__] !is null) { return gl.extFuncs[extensionId__][0] !is null; } synchronized (gl) { if (extensionId__ < cast(int)gl.extFuncs.length && gl.extFuncs[extensionId__] !is null) { return gl.extFuncs[extensionId__][0] !is null; } if (gl.extFuncs.length <= extensionId__) { gl.extFuncs.length = extensionId__ + 1; version (DglExtSupportAsserts) { gl.extEnabled.length = extensionId__ + 1; } } gl.extFuncs[extensionId__] = loadFunctions__(gl_); return gl.extFuncs[extensionId__][0] !is null; } } private void*[] loadFunctions__(GL gl) { void*[] funcAddr = new void*[1]; { char* extP = gl.GetString(GL_EXTENSIONS); version( D_Version2 ) { string extStr = extP is null ? null : to!(string)(extP); } else { string extStr = extP is null ? null : fromStringz(extP); } if (!extStr.containsPattern("GL_EXT_texture_array")) { funcAddr[0] = null; return funcAddr; } } funcAddr[0] = cast(void*)&gl; return funcAddr; } } else { private final bool __supported(GL gl_) { return false; } }
D
--- src/main.d.orig 2020-12-25 15:36:31 UTC +++ src/main.d @@ -23,6 +23,10 @@ version(linux) { const DIR_SEPARATOR = '/'; } +version(FreeBSD) { + const DIR_SEPARATOR = '/'; +} + version(OSX) { const DIR_SEPARATOR = '/'; }
D
instance MIL_329_Miliz(Npc_Default) { name[0] = NAME_Miliz; guild = GIL_MIL; id = 329; voice = 6; flags = 0; npcType = NPCTYPE_AMBIENT; B_SetAttributesToChapter(self,3); fight_tactic = FAI_HUMAN_STRONG; EquipItem(self,ItMw_1h_Mil_Sword); B_CreateAmbientInv(self); B_SetNpcVisual(self,MALE,"Hum_Head_Bald",Face_N_NormalBart10,BodyTex_N,ITAR_MIL_L); Mdl_SetModelFatness(self,0); Mdl_ApplyOverlayMds(self,"Humans_Militia.mds"); B_GiveNpcTalents(self); B_SetFightSkills(self,40); daily_routine = Rtn_Start_329; }; func void Rtn_Start_329() { TA_Practice_Sword(7,0,20,58,"NW_CITY_HABOUR_KASERN_CENTRE_02"); TA_Smalltalk(20,58,0,0,"NW_CITY_KASERN_BARRACK02_03"); TA_Sleep(0,0,7,0,"NW_CITY_BARRACK01_BED_07"); };
D
/* THIS FILE GENERATED BY bcd.gen */ module bcd.fltk.Fl_GIF_Image; public import bcd.bind; public import bcd.fltk.Fl_Pixmap; public import bcd.fltk.Fl_Image; public import bcd.fltk.Enumerations; extern (C) void _BCD_delete_12Fl_GIF_Image(void *); extern (C) void *_BCD_new__ZN12Fl_GIF_ImageC1EPKc(char *); extern (C) void _BCD_RI_12Fl_GIF_Image(void *cd, void *dd); extern (C) void _BCD_delete_12Fl_GIF_Image__Fl_GIF_Image_R(void *This); extern (C) void *_BCD_new__ZN12Fl_GIF_ImageC1EPKc_R(char *); class Fl_GIF_Image : Fl_Pixmap { this(ifloat ignore) { super(ignore); } this(ifloat ignore, void *x) { super(ignore); __C_data = x; __C_data_owned = false; } ~this() { if (__C_data && __C_data_owned) _BCD_delete_12Fl_GIF_Image(__C_data); __C_data = null; } this(char * filename) { super(cast(ifloat) 0); __C_data = _BCD_new__ZN12Fl_GIF_ImageC1EPKc(filename); __C_data_owned = true; } } class Fl_GIF_Image_R : Fl_GIF_Image { ~this() { if (__C_data && __C_data_owned) _BCD_delete_12Fl_GIF_Image__Fl_GIF_Image_R(__C_data); __C_data = null; } this(char * filename) { super(cast(ifloat) 0); __C_data = _BCD_new__ZN12Fl_GIF_ImageC1EPKc_R(filename); __C_data_owned = true; _BCD_RI_12Fl_GIF_Image(__C_data, cast(void *) this); } }
D
/Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/DerivedData/MentorsBook/Build/Intermediates.noindex/MentorsBook.build/Debug-iphonesimulator/MentorsBook.build/Objects-normal/x86_64/SceneDelegate.o : /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.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/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/DerivedData/MentorsBook/Build/Intermediates.noindex/MentorsBook.build/Debug-iphonesimulator/MentorsBook.build/Objects-normal/x86_64/SceneDelegate~partial.swiftmodule : /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.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/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/DerivedData/MentorsBook/Build/Intermediates.noindex/MentorsBook.build/Debug-iphonesimulator/MentorsBook.build/Objects-normal/x86_64/SceneDelegate~partial.swiftdoc : /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.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/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/DerivedData/MentorsBook/Build/Intermediates.noindex/MentorsBook.build/Debug-iphonesimulator/MentorsBook.build/Objects-normal/x86_64/SceneDelegate~partial.swiftsourceinfo : /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/SceneDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/AppDelegate.swift /Users/hazuki/Desktop/13/la/lifeistech/MentorsBook/MentorsBook/ViewController.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/14.5/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.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/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
D
/** Authors: outland.karasu License: BSL-1.0 */ module karasutk.sdl.exception; import std.exception : basicExceptionCtors; import std.string : fromStringz; import std.traits : isPointer; import bindbc.sdl : SDL_GetError; /** Exception for SDL2 errors. */ @safe class SDLException : Exception { /// mixin basicExceptionCtors; } /** Enforce SDL result. Params: file = file name. line = line no. result = result code. Returns: result code. Throws: SDLException if result is nonzero. */ int enforceSDL(string file = __FILE__, size_t line = __LINE__)(int result) { if (result != 0) { throw createCurrentError(file, line); } return result; } /** Enforce SDL result. Params: file = file name. line = line no. P = pointer type. result = result code. Returns: result code. Throws: SDLException if result is nonzero. */ P enforceSDL(string file = __FILE__, size_t line = __LINE__, P)(scope P result) if (isPointer!P) { if (!result) { throw createCurrentError(file, line); } return result; } /** Enforce SDL result. Params: file = file name. line = line no. result = result flag. Returns: result code. Throws: SDLException if result is false. */ int enforceSDL(string file = __FILE__, size_t line = __LINE__)(bool result) { if (!result) { throw createCurrentError(file, line); } return result; } private: SDLException createCurrentError(string file, size_t line) nothrow { immutable message = fromStringz(SDL_GetError()).idup; return new SDLException(message, file, line); }
D
import colorize; import git.branch; import git.repository; import git.types; import std.stdio; void main() { auto repo = openRepository(".."); repo.iterateBranches(GitBranchType.local, delegate(branch, _) { if (branch.isHead) cwritefln("name: %s".color(fg.green), branch.name); else writeln("name: ", branch.name); return ContinueWalk.yes; }); }
D